Skip to content

Siemphony is in beta and still being built. How a rule earns its badge.

Siemphony’s repertoire

Rundll32 proxies JavaScript through mshtml's HTML application runner

Siemphony@siemphonyhighT1218.011verified in lab
AN1308 lists rundll32.exe invoked with a javascript: argument and RunHTMLApplication among its suspicious-invocation indicators. The rule requires both terms together, matching the published LOLBAS chain rundll32.exe javascript:"\..\mshtml,RunHTMLApplication ";... — a syntax with no ordinary Windows or application workflow behind it, unlike a bare rundll32.exe DLL,Function invocation which is far too common to use alone. This is one analytic among a family of rundll32 subtechniques already in this corpus (Regsvcs/Regasm, Verclsid, Mavinject, MMC, Electron, Compiled HTML); none of them share this mshtml script-proxy mechanism. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0475, 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 "javascript:") and ProcessCommandLine contains "RunHTMLApplication")

Splunk · SPL

Run this as a search.

index=* ((Image="*\\rundll32.exe" AND CommandLine="*javascript:*") AND CommandLine="*RunHTMLApplication*")

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 "*javascript:*") AND TO_LOWER(process.command_line) LIKE "*runhtmlapplication*")

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="12">    <!-- 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)javascript:</field>    <field name="CommandLine" type="pcre2">(?i)RunHTMLApplication</field>    <description>Rundll32 proxies JavaScript through mshtml's HTML application runner</description>    <mitre>      <id>T1218.011</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.