Execution · ATT&CK v20
T1047 Windows Management Instrumentation
A Execution technique. Running the attacker’s code on a system.
- T1047Technique ID
- ExecutionTactic
- 1Places taught
What the attacker does
The attacker uses Windows Management Instrumentation to run commands, locally or on remote machines (wmic /node: process call create), and sometimes to persist with WMI event subscriptions.
How it shows up in the logs
- Processes with WmiPrvSE.exe as parent, especially cmd.exe or powershell.exe.
- wmic or Invoke-WmiMethod / Invoke-CimMethod with a remote node in process creation logs.
- WMI-Activity Operational 5857, 5860 or 5861 (5861: a permanent event subscription was created).
Questions to ask in triage
- What did WmiPrvSE start, and on which hosts?
- Which account and source host issued the remote call?
- Is there a permanent subscription that will run again?
Read T1047 on attack.mitre.org
Where you meet it in CyberSim
Detection rules in the shift
Alerts tagged with this technique, the way Sentinel tags an analytics rule.
- Remote command execution via WMI
More Execution techniques
- T1059.001 Command and Scripting Interpreter: PowerShell
- T1059.004 Command and Scripting Interpreter: Unix Shell
- T1059.007 Command and Scripting Interpreter: JavaScript
- T1072 Software Deployment Tools
- T1204.002 User Execution: Malicious File
- T1204.004 User Execution: Malicious Copy and Paste
- T1204.005 User Execution: Malicious Library
- T1569.002 System Services: Service Execution
- T1698 Indirect Prompt Injection
Source: MITRE ATT&CK T1047, tactic TA0002.