Driver value written under a Print Monitors registry key
Matches a `Driver` value written under any subkey of `HKLM\SYSTEM\CurrentControlSet\Control\Print\Monitors` — the mechanism itself: a port monitor DLL registered here loads into `spoolsv.exe` under SYSTEM at the next boot or spooler restart, regardless of which process wrote the value. The subkey name is deliberately unconstrained because `AddMonitor` lets an adversary create any arbitrarily named subkey under `...\Monitors\`, so the observable is `TargetObject` ending in `\Driver` beneath that path rather than a specific monitor name. AN0580 also lists Sysmon EventID 1 (the calling process of AddMonitor), EventID 7 (spoolsv.exe loading the DLL) and EventID 11 (the DLL landing in System32); of the four, the registry write is the step every path through this technique shares, so it is the one written here rather than a chain across events Sigma cannot join. Sysmon's `registry_set` category carries the full key-plus-value path in a single `TargetObject` field — the match is on the trailing `Driver` value name, not the monitor subkey itself, which is the subkey-vs-value distinction this rule depends on getting right. UNVERIFIED AS AUTHORED — derived from MITRE ATT&CK DET0204, not hand-written and not tested by its author. Any lab result is on this rule's own page.Full descriptionShow less
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 "\\Control\\Print\\Monitors\\" and RegistryKey endswith "\\Driver")
Splunk · SPL
Run this as a search.
index=* (TargetObject="*\\Control\\Print\\Monitors\\*" AND TargetObject="*\\Driver")Elastic · ES|QL
Run this as a search.
FROM logs-*| WHERE (TO_LOWER(registry.path) LIKE "*\\\\control\\\\print\\\\monitors\\\\*" AND TO_LOWER(registry.path) LIKE "*\\\\driver")
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)\\Control\\Print\\Monitors\\</field> <field name="TargetObject" type="pcre2">(?i)\\Driver$</field> <description>Driver value written under a Print Monitors registry key</description> <mitre> <id>T1547.010</id> </mitre> </rule></group>
Verdicts · reactions · comments
Community
Verdicts from engineers who actually deployed it, and the conversation around it.
Nobody has run this in a real environment and said what happened.
Verdicts from engineers who deployed it
0 castNo 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.