Skip to content

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

Siemphony’s repertoire

Registry queried for credential-related value names

Siemphony@siemphonymediumT1552.002unverified
Matches a command line that both names a registry-read verb against a local or current-user hive and carries a credential-related keyword, which is AN0694's "command-line executions or API-based registry reads targeting sensitive paths like HKLM or HKCU with keyword filters such as 'password', 'cred', or 'logon'" — the tool and hive gates come straight from the brief's example commands (`reg query HKLM /f password /t REG_SZ /s`, `reg query HKCU /f password /t REG_SZ /s`). MITRE's KeywordMatch knob is populated here with password, passwd, pwd, credential, cred and logon; the brief names the knob, this list is authored, not sourced from MITRE. This is distinct from the published T1012 rule, which matches reg query and the PowerShell registry cmdlets against host/software/security keys and explicitly excludes any credential keyword — the two rules cannot overlap because T1012's key list contains no password-related term. ParentProcessFilter and TimeWindow are not encoded; this is a single process_creation event with no ancestry gate and no correlation to subsequent credential use. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0250, 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 "reg query" or ProcessCommandLine contains "reg.exe query" or ProcessCommandLine contains "Get-ItemProperty" or ProcessCommandLine contains "Get-ItemPropertyValue") and (ProcessCommandLine contains "HKLM" or ProcessCommandLine contains "HKCU" or ProcessCommandLine contains "HKEY_LOCAL_MACHINE" or ProcessCommandLine contains "HKEY_CURRENT_USER")) and (ProcessCommandLine contains "password" or ProcessCommandLine contains "passwd" or ProcessCommandLine contains "pwd" or ProcessCommandLine contains "credential" or ProcessCommandLine contains "cred" or ProcessCommandLine contains "logon"))

Splunk · SPL

Run this as a search.

index=* (((CommandLine="*reg query*" OR CommandLine="*reg.exe query*" OR CommandLine="*Get-ItemProperty*" OR CommandLine="*Get-ItemPropertyValue*") AND (CommandLine="*HKLM*" OR CommandLine="*HKCU*" OR CommandLine="*HKEY_LOCAL_MACHINE*" OR CommandLine="*HKEY_CURRENT_USER*")) AND (CommandLine="*password*" OR CommandLine="*passwd*" OR CommandLine="*pwd*" OR CommandLine="*credential*" OR CommandLine="*cred*" OR CommandLine="*logon*"))

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (((TO_LOWER(process.command_line) LIKE "*reg query*" OR TO_LOWER(process.command_line) LIKE "*reg.exe query*" OR TO_LOWER(process.command_line) LIKE "*get-itemproperty*" OR TO_LOWER(process.command_line) LIKE "*get-itempropertyvalue*") AND (TO_LOWER(process.command_line) LIKE "*hklm*" OR TO_LOWER(process.command_line) LIKE "*hkcu*" OR TO_LOWER(process.command_line) LIKE "*hkey_local_machine*" OR TO_LOWER(process.command_line) LIKE "*hkey_current_user*")) AND (TO_LOWER(process.command_line) LIKE "*password*" OR TO_LOWER(process.command_line) LIKE "*passwd*" OR TO_LOWER(process.command_line) LIKE "*pwd*" OR TO_LOWER(process.command_line) LIKE "*credential*" OR TO_LOWER(process.command_line) LIKE "*cred*" OR TO_LOWER(process.command_line) LIKE "*logon*"))

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="CommandLine" type="pcre2">(?i)(reg query|reg\.exe query|Get-ItemProperty|Get-ItemPropertyValue)</field>    <field name="CommandLine" type="pcre2">(?i)(HKLM|HKCU|HKEY_LOCAL_MACHINE|HKEY_CURRENT_USER)</field>    <field name="CommandLine" type="pcre2">(?i)(password|passwd|pwd|credential|cred|logon)</field>    <description>Registry queried for credential-related value names</description>    <mitre>      <id>T1552.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.