Skip to content

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

Siemphony’s repertoire

Msiexec installing a package or DLL from a remote source

Siemphony@siemphonymediumT1218.007verified in lab
Matches process creation of msiexec.exe whose command line names a package reached over HTTP, HTTPS or FTP, a UNC path, or one of the DLL entry-point switches (`/y` DllRegisterServer, `/z` DllUnRegisterServer) — the three argument shapes AN0445 lists under its SuspiciousCommandlinePatterns knob, populated here with the URL schemes, the UNC prefix and the switch letters that LOLBAS documents for this binary. The UNC leg is written as four backslashes in YAML so Sigma sees the two literal backslashes a UNC prefix needs; two would degrade to "contains a backslash", which every local install satisfies. The rest of AN0445 is a correlation the analytic states plainly — the process creation, then a module load, then a connection to a previously-unseen destination inside TimeWindow — and Sigma has no join and no baseline of seen destinations, so only the process-creation leg is written here; the module-load and network legs are deliberately absent rather than faked with a destination list this brief does not supply. The rule is written in the Sysmon-shaped `process_creation` vocabulary (`Image`, `CommandLine`) that the brief's sigmaLogsource selects; fed from Security 4688 instead, it needs *Audit Process Creation* and the separate *Include command line in process creation events* policy, neither of which is on by default, and a pipeline that maps `Image` onto `NewProcessName`. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0158, 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 "\\msiexec.exe" and ((ProcessCommandLine contains "http://" or ProcessCommandLine contains "https://" or ProcessCommandLine contains "ftp://" or ProcessCommandLine contains "\\\\") or (ProcessCommandLine contains "-y " or ProcessCommandLine contains "/y " or ProcessCommandLine contains "–y " or ProcessCommandLine contains "—y " or ProcessCommandLine contains "―y " or ProcessCommandLine contains "-z " or ProcessCommandLine contains "/z " or ProcessCommandLine contains "–z " or ProcessCommandLine contains "—z " or ProcessCommandLine contains "―z ")))

Splunk · SPL

Run this as a search.

index=* (Image="*\\msiexec.exe" AND ((CommandLine="*http://*" OR CommandLine="*https://*" OR CommandLine="*ftp://*" OR CommandLine="*\\\\*") OR (CommandLine="*-y *" OR CommandLine="*/y *" OR CommandLine="*–y *" OR CommandLine="*—y *" OR CommandLine="*―y *" OR CommandLine="*-z *" OR CommandLine="*/z *" OR CommandLine="*–z *" OR CommandLine="*—z *" OR CommandLine="*―z *")))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.executable) LIKE "*\\\\msiexec.exe" AND ((TO_LOWER(process.command_line) LIKE "*http://*" OR TO_LOWER(process.command_line) LIKE "*https://*" OR TO_LOWER(process.command_line) LIKE "*ftp://*" OR TO_LOWER(process.command_line) LIKE "*\\\\\\\\*") OR (TO_LOWER(process.command_line) LIKE "*-y *" OR TO_LOWER(process.command_line) LIKE "*/y *" OR TO_LOWER(process.command_line) LIKE "*–y *" OR TO_LOWER(process.command_line) LIKE "*—y *" OR TO_LOWER(process.command_line) LIKE "*―y *" OR TO_LOWER(process.command_line) LIKE "*-z *" OR TO_LOWER(process.command_line) LIKE "*/z *" OR TO_LOWER(process.command_line) LIKE "*–z *" OR TO_LOWER(process.command_line) LIKE "*—z *" OR TO_LOWER(process.command_line) LIKE "*―z *")))

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)\\msiexec\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)((http://|https://|ftp://|\\\\)|(-y |/y |–y |—y |―y |-z |/z |–z |—z |―z ))</field>    <description>Msiexec installing a package or DLL from a remote source</description>    <mitre>      <id>T1218.007</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.