T1546.003 Windows Management Instrumentation Event Subscription
PersistencePrivilege Escalationon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0086 Detect WMI Event Subscription for Persistence via WmiPrvSE Process and MOF Compilation
AN0236 Windows
Monitor for creation of WMI EventFilter, EventConsumer, and FilterToConsumerBinding objects through WMI or MOF file execution. Detect command-line execution of `mofcomp.exe`, usage of `Register-WmiEvent` via PowerShell, and anomalous child processes of `WmiPrvSE.exe` that indicate triggered execution. Look for lateral anomalies in process lineage and WMI logging channels.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:WMIEventCode=5857, 5858, 5860, 5861 |
|
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:SysmonEventCode=7 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
Content Hub rules tagged with it (0)
No Content Hub rule is tagged with this technique.
In Sigma rules
12 SigmaHQ community rules name it in their tags.
- WMI Backdoor Exchange Transport Agent
- NewActiveScriptEventConsumer Creation Attempt via Wmic.EXE
- Suspicious Encoded Scripts in a WMI Consumer
- WMI Persistence - Command Line Event Consumer
- WMI Persistence - Script Event Consumer File Write
- Potential Remote WMI ActiveScriptEventConsumers Activity
- Powershell WMI Persistence
- WMI ActiveScriptEventConsumers Activity Via Scrcons.EXE DLL Load
- WMI Event Subscription
- WMI Persistence
- WMI Persistence - Script Event Consumer
- WMI Persistence - Security
Mitigations
M1018User Account ManagementM1026Privileged Account ManagementM1040Behavior Prevention on Endpoint
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.