Skip to content

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

Siemphony’s repertoire

Registry write to an Active Setup StubPath value

Siemphony@siemphonymediumT1547.014unverified
Matches a registry_set event where the target value is StubPath beneath HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components — the single write AN0871 needs to have happened before any of its logon-time correlation can begin, since a StubPath write is what makes a component ID execute at the next interactive logon at all. AN0871 also wants the subsequent process execution (4672/4688) tied to the same logon session within a TimeWindow, and entropy- or signature-scored on the launched binary; Sigma has no cross-event join and no scoring function, so this rule keeps the registry write, which is the one event both cheap to collect and specific to this mechanism — no other persistence technique writes a StubPath value under this exact key. Requires Sysmon with a registry rule covering the Active Setup subtree, or Security auditing with Audit Registry enabled and a SACL placed on the Installed Components key, neither of which a default install carries. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0312, 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.

DeviceRegistryEvents| where (RegistryKey contains "\\Active Setup\\Installed Components\\" and RegistryKey endswith "\\StubPath")

Splunk · SPL

Run this as a search.

index=* (TargetObject="*\\Active Setup\\Installed Components\\*" AND TargetObject="*\\StubPath")

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE (TO_LOWER(registry.path) LIKE "*\\\\active setup\\\\installed components\\\\*" AND TO_LOWER(registry.path) LIKE "*\\\\stubpath")

Wazuh · XML rule

Deploy to your manager — this is a rule, not a search.

<group name="sigma,windows,registry_set,">  <!-- 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="TargetObject" type="pcre2">(?i)\\Active Setup\\Installed Components\\</field>    <field name="TargetObject" type="pcre2">(?i)\\StubPath$</field>    <description>Registry write to an Active Setup StubPath value</description>    <mitre>      <id>T1547.014</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.