Skip to content
WETNav

Execution · Windows · LOLBAS

installutil.exe

InstallUtil

.NET installer tool shipped with the framework. It can run installer code in a .NET assembly, which is used to run managed payloads under a trusted, signed binary.

Legitimate use

Developers use it to install and uninstall .NET services and components.

Worst caseHigh

Switches

/u

Uninstall mode. Abuse often uses the uninstall path to run custom code.

Medium
/logfile<value>

Sets or disables the install log (logfile= with an empty value turns it off).

Low
/logtoconsole<value>

Controls console logging.

Info

Command lines to worry about

  • High

    InstallUtil running an assembly from a user path

    InstallUtil runs installer or uninstaller code in a .NET assembly from a writable folder, often with logging off. Check the assembly's origin.

    Detection regexinstallutil(\.exe)?\s+.*\/logfile=\s.*\/logtoconsole=false.*\/u\b|installutil(\.exe)?\s+.*\/u\b.*\\(temp|appdata|programdata|public)\\

    T1218.004

Where it is recorded

  • Security4688Process creation with the full command line, when command-line auditing is enabled.
  • Sysmon1Process creation with command line, hashes and parent process.

Community detections

8 SigmaHQ rules for installutil.exe. The explainer checks every pasted command line against all of them.

  • High
    HTML Help HH.EXE Suspicious Child Process

    Detects a suspicious child process of a Microsoft HTML Help (HH.exe)

    T1047T1059.001T1059.003T1059.005by Maxim Pavlunin, Nasreddine Bencherchali (Nextron Systems)

  • High
    Potential PowerShell Execution Via DLL

    Detects potential PowerShell execution from a DLL instead of the usual PowerShell process as seen used in PowerShdll. This detection assumes that PowerShell commands are passed via the CommandLine.

    T1218.011by Markus Neis, Nasreddine Bencherchali (Nextron Systems)

  • High
    Suspicious Microsoft Office Child Process

    Detects a suspicious process spawning from one of the Microsoft Office suite products (Word, Excel, PowerPoint, Publisher, Visio, etc.)

    T1047T1204.002T1218.010by Florian Roth (Nextron Systems), Markus Neis, FPT.EagleEye Team, Vadim Khrykov, Cyb3rEng, Michael Haag, Christopher Peacock @securepeacock, @scythe_io

  • High
    Suspicious Microsoft OneNote Child Process

    Detects suspicious child processes of the Microsoft OneNote application. This may indicate an attempt to execute malicious embedded objects from a .one file.

    T1566T1566.001by Tim Rauch (Nextron Systems), Nasreddine Bencherchali (Nextron Systems), Elastic (idea)

  • Medium
    File Download Via InstallUtil.EXE

    Detects use of .NET InstallUtil.exe in order to download arbitrary files. The files will be written to "%LOCALAPPDATA%\Microsoft\Windows\INetCache\IE\"

    T1218by Nasreddine Bencherchali (Nextron Systems)

  • Medium
    LOLBIN Execution From Abnormal Drive

    Detects LOLBINs executing from an abnormal or uncommon drive such as a mounted ISO.

    by Christopher Peacock '@securepeacock', SCYTHE '@scythe_io', Angelo Violetti - SEC Consult '@angelo_violetti', Aaron Herman

  • Medium
    Potential Defense Evasion Via Binary Rename

    Detects the execution of a renamed binary often used by attackers or malware leveraging new Sysmon OriginalFileName datapoint.

    T1036.003by Matthew Green @mgreen27, Ecco, James Pemberton @4A616D6573, oscd.community, Andreas Hunkeler (@Karneades)

  • Medium
    Suspicious Execution of InstallUtil Without Log

    Uses the .NET InstallUtil.exe application in order to execute image without log

    by frack113

Rules from SigmaHQ (rules/windows/process_creation), Detection Rule License (DRL) 1.1. Each rule links to its source and credits its authors.