Skip to content

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

Siemphony’s repertoire

Registry write under the trust-provider FinalPolicy key

Siemphony@siemphonyhighT1553unverified
AN1246 describes "creation/modification of suspicious registry keys for trust providers"; this rule targets the one such key the technique's own cited source names precisely — the SpectorOps "Subverting Trust" research the brief references documents that WinVerifyTrust's provider dispatch is driven by the DLL and function values under `HKLM\SOFTWARE\Microsoft\Cryptography\Providers\Trust\FinalPolicy\{class-id}`, and that repointing those values to an attacker DLL makes Windows report a tampered binary as validly signed. Any write under that subtree is the selector, since legitimate software essentially never touches it after install. The brief offers Security EventID 4657 for this leg but maps it onto the Sysmon-shaped `registry_set` category, and the rule is written in that vocabulary (`TargetObject` carrying the full key-plus-value path); a native 4657 feed splits that into `ObjectName` and `ObjectValueName` and needs both mapped onto `TargetObject` before this rule can match anything — turning on *Audit Registry* alone does not make 4657 usable here, since the field shape differs, not just the audit policy. The other two analytics in AN1246 — unusual module loads from non-standard locations, and file creation from Sysmon EventID 11 — are not used; a certificate dropped into the machine or user certificate store without ever touching this registry key, e.g. via `certutil -addstore`, is invisible to this rule. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0452, 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 "\\SOFTWARE\\Microsoft\\Cryptography\\Providers\\Trust\\FinalPolicy\\"

Splunk · SPL

Run this as a search.

index=* TargetObject="*\\SOFTWARE\\Microsoft\\Cryptography\\Providers\\Trust\\FinalPolicy\\*"

Elastic · ES|QL

Run this as a search.

FROM logs-*| WHERE TO_LOWER(registry.path) LIKE "*\\\\software\\\\microsoft\\\\cryptography\\\\providers\\\\trust\\\\finalpolicy\\\\*"

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="12">    <!-- Set <if_sid> to the decoder/base rule for windows so this only evaluates relevant events. -->    <field name="TargetObject" type="pcre2">(?i)\\SOFTWARE\\Microsoft\\Cryptography\\Providers\\Trust\\FinalPolicy\\</field>    <description>Registry write under the trust-provider FinalPolicy key</description>    <mitre>      <id>T1553</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.