Detect WMI event subscription persistence (MITRE T1546.003) by analyzing Sysmon Event IDs 19, 20, and 21 for malicious EventFilter, EventConsumer, and FilterToConsumerBinding creation, cross-referenced against root\subscription namespace contents and Sysinternals Autoruns. Use when hunting WMI-based persistence, triaging a Sysmon alert on these event IDs, or during incident response and purple-team validation of WMI defenses.
Start a fresh conversation. Replace the highlighted placeholders.
Use detecting-wmi-persistence to triage [Sysmon Event IDs 19/20/21 telemetry] from [Windows environment], correlate suspicious filters, consumers, and bindings, and produce documented findings with recommended containment and remediation steps; do not remove anything.
Required inputs
[Sysmon Event IDs 19/20/21 telemetry]
[Windows environment]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: detecting-wmi-persistencedescription: Detect WMI event subscription persistence (MITRE T1546.003) by analyzing Sysmon Event IDs 19, 20, and 21 for malicious EventFilter, EventConsumer, and FilterToConsumerBinding creation, cross-referenced against root\subscription namespace contents and Sysinternals Autoruns. Use when hunting WMI-based persistence, triaging a Sysmon alert on these event IDs, or during incident response and purple-team validation of WMI defenses.domain: cybersecuritysubdomain: threat-huntingtags: - threat-hunting- wmi- persistence- sysmon- t1546.003- mitre-attack- windows- dfirversion: '1.0'author: mahipallicense: Apache-2.0d3fend_techniques: - Application Protocol Command Analysis- Network Isolation- Network Traffic Analysis- Client-server Payload Profiling- Platform Monitoringnist_csf: - DE.CM-01- DE.AE-02- DE.AE-07- ID.RA-05mitre_attack: - T1546.003- T1047- T1059.001
Detecting WMI Persistence
When to Use
When hunting for WMI event subscription persistence (MITRE ATT&CK T1546.003)
After detecting suspicious WMI activity in endpoint telemetry
During incident response to identify attacker persistence mechanisms
When Sysmon alerts trigger on Event IDs 19, 20, or 21
During purple team exercises testing WMI-based persistence