Skip to content

Siemphony is in beta and still being built. What ships today, and what does not.

Siemphony’s repertoire

InstallUtil registers an assembly from a user-writable or remote path

Siemphony@siemphonymediumT1218.004verified in lab
AN0388 asks for InstallUtil.exe run with arguments naming a non-standard or attacker-supplied assembly, and names `AssemblyPathRegex` — "suspicious assemblies, e.g. in temp folders, user profiles" — as the knob that carries the discrimination. This rule implements that on Sysmon EventID 1: the process is InstallUtil.exe and its command line either points at an assembly in a directory an unprivileged user can write to or on a UNC share, or carries the empty-log plus console-suppressed argument pair that the published application control bypass uses. Both directory list and argument pair are authored, populated into MITRE's knob rather than supplied by it. Note the UNC term is written with four backslashes in the YAML because Sigma reads `\\` as one literal backslash — written with two it would degrade to "contains a backslash", which every Windows path satisfies. Two limits: a renamed copy of InstallUtil.exe defeats the filename match, and an assembly dropped into a legitimate application directory before registration matches neither branch, so this rule sees the sloppy staging and not the careful one. The other three sources in the brief are not used — the file-creation leg (EventID 11) and the module-load leg (EventID 7) only become evidence when joined to the execution inside MITRE's `TimeWindow`, which is a cross-event correlation Sigma cannot express, and PowerShell 4103/4104 sees an InstallUtil invocation only when it happened to be typed into PowerShell. Prerequisite: Sysmon is not present in a default install; where this category is fed by Security 4688 instead, both *Audit Process Creation* and the separate *Include command line in process creation events* policy must be enabled and the field names differ — zero rows from an unconfigured feed reads as quiet when it means blind. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0138, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full description

The detection

The 4 SIEM queries below are previews produced by Siemphony’s own translator, not pySigma, and none has been executed against a real backend — review before you deploy.

detection.yml

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where (FolderPath endswith "\\InstallUtil.exe" and ((ProcessCommandLine contains "\\AppData\\Local\\Temp\\" or ProcessCommandLine contains "\\AppData\\Roaming\\" or ProcessCommandLine contains "\\Windows\\Temp\\" or ProcessCommandLine contains "\\ProgramData\\" or ProcessCommandLine contains "\\Users\\Public\\" or ProcessCommandLine contains "\\Downloads\\" or ProcessCommandLine contains "\\PerfLogs\\" or ProcessCommandLine contains "\\\\") or (ProcessCommandLine contains "logfile=" and ProcessCommandLine contains "LogToConsole=false")))

Splunk · SPL

Run this as a search.

index=* (Image="*\\InstallUtil.exe" AND ((CommandLine="*\\AppData\\Local\\Temp\\*" OR CommandLine="*\\AppData\\Roaming\\*" OR CommandLine="*\\Windows\\Temp\\*" OR CommandLine="*\\ProgramData\\*" OR CommandLine="*\\Users\\Public\\*" OR CommandLine="*\\Downloads\\*" OR CommandLine="*\\PerfLogs\\*" OR CommandLine="*\\\\*") OR (CommandLine="*logfile=*" AND CommandLine="*LogToConsole=false*")))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.executable) LIKE "*\\\\installutil.exe" AND ((TO_LOWER(process.command_line) LIKE "*\\\\appdata\\\\local\\\\temp\\\\*" OR TO_LOWER(process.command_line) LIKE "*\\\\appdata\\\\roaming\\\\*" OR TO_LOWER(process.command_line) LIKE "*\\\\windows\\\\temp\\\\*" OR TO_LOWER(process.command_line) LIKE "*\\\\programdata\\\\*" OR TO_LOWER(process.command_line) LIKE "*\\\\users\\\\public\\\\*" OR TO_LOWER(process.command_line) LIKE "*\\\\downloads\\\\*" OR TO_LOWER(process.command_line) LIKE "*\\\\perflogs\\\\*" OR TO_LOWER(process.command_line) LIKE "*\\\\\\\\*") OR (TO_LOWER(process.command_line) LIKE "*logfile=*" AND TO_LOWER(process.command_line) LIKE "*logtoconsole=false*")))

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,process_creation,">  <!-- Rule ids must be unique on your manager; 100000+ is the user range. -->  <rule id="100000" level="7">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)\\InstallUtil\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)((\\AppData\\Local\\Temp\\|\\AppData\\Roaming\\|\\Windows\\Temp\\|\\ProgramData\\|\\Users\\Public\\|\\Downloads\\|\\PerfLogs\\|\\\\)|(?=.*(?:logfile=))(?=.*(?:LogToConsole=false)).*)</field>    <description>InstallUtil registers an assembly from a user-writable or remote path</description>    <mitre>      <id>T1218.004</id>    </mitre>  </rule></group>

Verdicts · reactions · comments

Community

Verdicts from engineers who actually deployed it, and the conversation around it.

Log in to react
Not yet reported on

Nobody has run this in a real environment and said what happened.

Verdicts from engineers who deployed it

0 cast

No verdicts reported yet. The first one is worth more than the tenth — say what you ran it against.

Log in to report a verdict.

Log in to join the discussion.

No comments yet. Someone who deploys this will have something to say about it.