Detection rules › Sigma
Suspicious Encoded Scripts in a WMI Consumer
Detects suspicious encoded payloads in WMI Event Consumers
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Execution | T1047 Windows Management Instrumentation |
| Persistence | T1546.003 Event Triggered Execution: Windows Management Instrumentation Event Subscription |
| Privilege Escalation | T1546.003 Event Triggered Execution: Windows Management Instrumentation Event Subscription |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 19 | WmiEvent (WmiEventFilter activity detected) |
| Sysmon | 20 | WmiEvent (WmiEventConsumer activity detected) |
| Sysmon | 21 | WmiEvent (WmiEventConsumerToFilter activity detected) |
Stages and Predicates
Stage 1: selection_destination
or:
Destination|contains: 'This program cannot be run in DOS mode'
Destination|contains: 'This program must be run under Win32'
Destination|contains: WriteProcessMemory
Indicators
Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.
| Field | Kind | Values |
|---|---|---|
Destination | match |
|
Neighbors
Broader alternatives (more inclusive than this rule)
These rules match a superset of what this rule catches. They cover the same events plus more. Use them if you want wider coverage and can absorb more false positives.
- WMI Event Subscription (drops 1 filter this rule applies)