Skip to content

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

Siemphony’s repertoire

Local credential registry hive saved or exported to disk

Siemphony@siemphonyhighT1003.002verified in lab
Matches process creation where the command line asks for a copy of one of the three hives needed to recover local account hashes offline — SAM, SYSTEM and SECURITY. Both halves are tested on CommandLine so the rule survives the usual wrappers: `reg save`, `reg.exe save`, the same command behind `cmd /c`, and the PowerShell `HKLM:\` provider form all put the verb and the hive in one string, whereas keying on Image would only catch the bare reg.exe case. MITRE's AN0235 also correlates the SAM and SYSTEM dumps a few minutes apart and watches for the resulting .save file; that TimeWindow join is not expressible in Sigma, so this fires on either hive on its own. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0085, 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 (((ProcessCommandLine contains " save " or ProcessCommandLine contains " export ") and (ProcessCommandLine contains "hklm\\sam" or ProcessCommandLine contains "hklm\\system" or ProcessCommandLine contains "hklm\\security" or ProcessCommandLine contains "hklm:\\sam" or ProcessCommandLine contains "hklm:\\system" or ProcessCommandLine contains "hklm:\\security" or ProcessCommandLine contains "\\registry\\machine\\sam" or ProcessCommandLine contains "\\registry\\machine\\security")) or (ProcessCommandLine contains "\\config\\sam" or ProcessCommandLine contains "\\config\\system" or ProcessCommandLine contains "\\config\\security" or ProcessCommandLine contains "/config/sam" or ProcessCommandLine contains "/config/system" or ProcessCommandLine contains "/config/security"))

Splunk · SPL

Run this as a search.

index=* (((CommandLine="* save *" OR CommandLine="* export *") AND (CommandLine="*hklm\\sam*" OR CommandLine="*hklm\\system*" OR CommandLine="*hklm\\security*" OR CommandLine="*hklm:\\sam*" OR CommandLine="*hklm:\\system*" OR CommandLine="*hklm:\\security*" OR CommandLine="*\\registry\\machine\\sam*" OR CommandLine="*\\registry\\machine\\security*")) OR (CommandLine="*\\config\\sam*" OR CommandLine="*\\config\\system*" OR CommandLine="*\\config\\security*" OR CommandLine="*/config/sam*" OR CommandLine="*/config/system*" OR CommandLine="*/config/security*"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (((TO_LOWER(process.command_line) LIKE "* save *" OR TO_LOWER(process.command_line) LIKE "* export *") AND (TO_LOWER(process.command_line) LIKE "*hklm\\\\sam*" OR TO_LOWER(process.command_line) LIKE "*hklm\\\\system*" OR TO_LOWER(process.command_line) LIKE "*hklm\\\\security*" OR TO_LOWER(process.command_line) LIKE "*hklm:\\\\sam*" OR TO_LOWER(process.command_line) LIKE "*hklm:\\\\system*" OR TO_LOWER(process.command_line) LIKE "*hklm:\\\\security*" OR TO_LOWER(process.command_line) LIKE "*\\\\registry\\\\machine\\\\sam*" OR TO_LOWER(process.command_line) LIKE "*\\\\registry\\\\machine\\\\security*")) OR (TO_LOWER(process.command_line) LIKE "*\\\\config\\\\sam*" OR TO_LOWER(process.command_line) LIKE "*\\\\config\\\\system*" OR TO_LOWER(process.command_line) LIKE "*\\\\config\\\\security*" OR TO_LOWER(process.command_line) LIKE "*/config/sam*" OR TO_LOWER(process.command_line) LIKE "*/config/system*" OR TO_LOWER(process.command_line) LIKE "*/config/security*"))

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="12">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="CommandLine" type="pcre2">(?i)( save | export )</field>    <field name="CommandLine" type="pcre2">(?i)(hklm\\sam|hklm\\system|hklm\\security|hklm:\\sam|hklm:\\system|hklm:\\security|\\registry\\machine\\sam|\\registry\\machine\\security)</field>    <description>Local credential registry hive saved or exported to disk (1/2)</description>    <mitre>      <id>T1003.002</id>    </mitre>  </rule>   <rule id="100001" level="12">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="CommandLine" type="pcre2">(?i)(\\config\\sam|\\config\\system|\\config\\security|/config/sam|/config/system|/config/security)</field>    <description>Local credential registry hive saved or exported to disk (2/2)</description>    <mitre>      <id>T1003.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.