.. /Setupapi.dll
Star

AWL bypass (INF)
Execute (INF)

Windows Setup Application Programming Interface

Paths:

Resources:

Acknowledgements:

Detections:

AWL bypass

  1. Execute the specified (local or remote) .wsh/.sct script with scrobj.dll in the .inf file by calling an information file directive (section name specified).

    rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 C:\Tools\shady.inf
    Use case
    Run local or remote script(let) code through INF file specification.
    Privileges required
    User
    Operating systems
    Windows 10, Windows 11
    ATT&CK® technique
    T1218.011
    Tags
    Input: INF
    This function was tagged with "Input: INF".

Execute

  1. Launch an executable file via the InstallHinfSection function and .inf file section directive.

    rundll32.exe setupapi.dll,InstallHinfSection DefaultInstall 128 C:\Tools\calc_exe.inf
    Use case
    Load an executable payload.
    Privileges required
    User
    Operating systems
    Windows
    ATT&CK® technique
    T1218.011
    Tags
    Input: INF
    This function was tagged with "Input: INF".