Skip to content

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

Siemphony’s repertoire

ClickOnce deployment invoked or abused via rundll32 or dfsvc

Siemphony@siemphonylowT1127.002unverified
Covers the process_creation half of AN0550. The first leg matches the exact command line every ClickOnce launch uses under the hood: rundll32.exe invoking dfshim.dll's ShOpenVerbApplication export, which is how Windows opens an .appref-ms or .application file whether the user double-clicked a legitimate internal line-of-business tool or a malicious lookalike — the command line itself cannot tell the two apart, which is exactly why MITRE's KnownClickOnceApps knob exists. The second leg flags dfsvc.exe, the ClickOnce host service, spawning a process type it has no legitimate reason to spawn; SuspiciousChildList is MITRE's knob, populated here with general-purpose interpreters and LOLBIN staples rather than the deployed application itself. AN0550's other leg — dfsvc.exe loading an unsigned module, observed on Sysmon EventID 7 (image_load) — is a separate event with no join available in lib/sigma and is not attempted here. The brief also maps this analytic onto Security 4688; this rule is written in the Sysmon process_creation vocabulary (Image, ParentImage, CommandLine), so a 4688-only feed needs NewProcessName mapped to Image and ParentProcessName mapped to ParentImage, plus Audit Process Creation and the separate command-line auditing policy enabled, or it returns nothing. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0191, 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 "\\rundll32.exe" and ProcessCommandLine contains "dfshim" and ProcessCommandLine contains "ShOpenVerbApplication") or (InitiatingProcessFolderPath endswith "\\dfsvc.exe" and (FolderPath endswith "\\cmd.exe" or FolderPath endswith "\\powershell.exe" or FolderPath endswith "\\pwsh.exe" or FolderPath endswith "\\wscript.exe" or FolderPath endswith "\\cscript.exe" or FolderPath endswith "\\mshta.exe" or FolderPath endswith "\\rundll32.exe" or FolderPath endswith "\\regsvr32.exe" or FolderPath endswith "\\certutil.exe" or FolderPath endswith "\\bitsadmin.exe")))

Splunk · SPL

Run this as a search.

index=* ((Image="*\\rundll32.exe" AND CommandLine="*dfshim*" AND CommandLine="*ShOpenVerbApplication*") OR (ParentImage="*\\dfsvc.exe" AND (Image="*\\cmd.exe" OR Image="*\\powershell.exe" OR Image="*\\pwsh.exe" OR Image="*\\wscript.exe" OR Image="*\\cscript.exe" OR Image="*\\mshta.exe" OR Image="*\\rundll32.exe" OR Image="*\\regsvr32.exe" OR Image="*\\certutil.exe" OR Image="*\\bitsadmin.exe")))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE ((TO_LOWER(process.executable) LIKE "*\\\\rundll32.exe" AND TO_LOWER(process.command_line) LIKE "*dfshim*" AND TO_LOWER(process.command_line) LIKE "*shopenverbapplication*") OR (TO_LOWER(process.parent.executable) LIKE "*\\\\dfsvc.exe" AND (TO_LOWER(process.executable) LIKE "*\\\\cmd.exe" OR TO_LOWER(process.executable) LIKE "*\\\\powershell.exe" OR TO_LOWER(process.executable) LIKE "*\\\\pwsh.exe" OR TO_LOWER(process.executable) LIKE "*\\\\wscript.exe" OR TO_LOWER(process.executable) LIKE "*\\\\cscript.exe" OR TO_LOWER(process.executable) LIKE "*\\\\mshta.exe" OR TO_LOWER(process.executable) LIKE "*\\\\rundll32.exe" OR TO_LOWER(process.executable) LIKE "*\\\\regsvr32.exe" OR TO_LOWER(process.executable) LIKE "*\\\\certutil.exe" OR TO_LOWER(process.executable) LIKE "*\\\\bitsadmin.exe")))

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. -->  <!-- 2 rules: the Sigma condition ORs across different fields,       which one rule cannot express. Any one matching is a hit. -->  <rule id="100000" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="Image" type="pcre2">(?i)\\rundll32\.exe$</field>    <field name="CommandLine" type="pcre2">(?i)dfshim</field>    <field name="CommandLine" type="pcre2">(?i)ShOpenVerbApplication</field>    <description>ClickOnce deployment invoked or abused via rundll32 or dfsvc (1/2)</description>    <mitre>      <id>T1127.002</id>    </mitre>  </rule>   <rule id="100001" level="5">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="ParentImage" type="pcre2">(?i)\\dfsvc\.exe$</field>    <field name="Image" type="pcre2">(?i)(\\cmd\.exe$|\\powershell\.exe$|\\pwsh\.exe$|\\wscript\.exe$|\\cscript\.exe$|\\mshta\.exe$|\\rundll32\.exe$|\\regsvr32\.exe$|\\certutil\.exe$|\\bitsadmin\.exe$)</field>    <description>ClickOnce deployment invoked or abused via rundll32 or dfsvc (2/2)</description>    <mitre>      <id>T1127.002</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.