Skip to content

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

Siemphony’s repertoire

HTML Help spawns a script host or command interpreter

Matches process creation where hh.exe — the Microsoft HTML Help viewer that opens .chm files — is the parent of a script host or command interpreter, the shape AN0968 describes as "hh.exe followed by suspicious child processes or script engine invocation". hh.exe is invoked directly when a user opens a .chm file, so it is the process actually recorded on EID 1, not a wrapper that proxies to something else. The analytic's file-creation, module-load and network legs (Sysmon 11, 7, 3/22) describe a correlation across separate events and a TimeWindow Sigma cannot express, so only the single-event parent-child pair is authored. This is a distinct binary and a distinct parent-child shape from the rest of the T1218 family already in this corpus (cmstp.exe, regsvcs/regasm.exe, verclsid.exe, mavinject.exe, mmc.exe, Electron launcher switches), none of which key on hh.exe. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0342, 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

title: HTML Help spawns a script host or command interpreterid: 2c9b6d39-7aee-491a-b3a9-294810f92c1estatus: experimentaldescription: |  Matches process creation where hh.exe — the Microsoft HTML Help viewer that  opens .chm files — is the parent of a script host or command interpreter,  the shape AN0968 describes as "hh.exe followed by suspicious child processes  or script engine invocation". hh.exe is invoked directly when a user opens a  .chm file, so it is the process actually recorded on EID 1, not a wrapper  that proxies to something else. The analytic's file-creation, module-load  and network legs (Sysmon 11, 7, 3/22) describe a correlation across separate  events and a TimeWindow Sigma cannot express, so only the single-event  parent-child pair is authored. This is a distinct binary and a distinct  parent-child shape from the rest of the T1218 family already in this corpus  (cmstp.exe, regsvcs/regasm.exe, verclsid.exe, mavinject.exe, mmc.exe,  Electron launcher switches), none of which key on hh.exe.  UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0342, not hand-written and not tested by its author. Any lab result is on this rule's own page.references:  - https://attack.mitre.org/techniques/T1218/001  - https://attack.mitre.org/detectionstrategies/DET0342author: Siemphony pipeline (machine-derived from MITRE ATT&CK v19.2)date: 2026-08-16tags:  - attack.defense-evasion  - attack.t1218.001logsource:  category: process_creation  product: windowsdetection:  selection_parent:    ParentImage|endswith: '\hh.exe'  selection_child:    Image|endswith:      - '\powershell.exe'      - '\pwsh.exe'      - '\cmd.exe'      - '\wscript.exe'      - '\cscript.exe'      - '\mshta.exe'      - '\rundll32.exe'  condition: selection_parent and selection_childfalsepositives:  - "Vendor or internal help systems that use the CHM ShortCut/Exec macro feature to add a 'Run Diagnostic' or 'Open Command Prompt' button inside the help window, which spawns cmd.exe or rundll32.exe directly from hh.exe as designed CHM functionality."  - "Helpdesk or troubleshooting-wizard CHM files that invoke cscript.exe or wscript.exe to collect system information when a user clicks a button inside the help viewer, a pattern some enterprise support tooling ships deliberately."  - "Third-party software installers that bundle an interactive CHM wizard whose embedded macro calls powershell.exe or cmd.exe to perform a post-install configuration step from within the help viewer."level: high

Sentinel · KQL

Run this as a search.

DeviceProcessEvents| where (InitiatingProcessFolderPath endswith "\\hh.exe" and (FolderPath endswith "\\powershell.exe" or FolderPath endswith "\\pwsh.exe" or FolderPath endswith "\\cmd.exe" or FolderPath endswith "\\wscript.exe" or FolderPath endswith "\\cscript.exe" or FolderPath endswith "\\mshta.exe" or FolderPath endswith "\\rundll32.exe"))

Splunk · SPL

Run this as a search.

index=* (ParentImage="*\\hh.exe" AND (Image="*\\powershell.exe" OR Image="*\\pwsh.exe" OR Image="*\\cmd.exe" OR Image="*\\wscript.exe" OR Image="*\\cscript.exe" OR Image="*\\mshta.exe" OR Image="*\\rundll32.exe"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(process.parent.executable) LIKE "*\\\\hh.exe" AND (TO_LOWER(process.executable) LIKE "*\\\\powershell.exe" OR TO_LOWER(process.executable) LIKE "*\\\\pwsh.exe" OR TO_LOWER(process.executable) LIKE "*\\\\cmd.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"))

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="ParentImage" type="pcre2">(?i)\\hh\.exe$</field>    <field name="Image" type="pcre2">(?i)(\\powershell\.exe$|\\pwsh\.exe$|\\cmd\.exe$|\\wscript\.exe$|\\cscript\.exe$|\\mshta\.exe$|\\rundll32\.exe$)</field>    <description>HTML Help spawns a script host or command interpreter</description>    <mitre>      <id>T1218.001</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.