What problem does it solve?
Attackers abuse Windows Management Instrumentation (WMI) to execute commands on remote hosts and establish persistence, and these actions blend into legitimate administrative traffic. This Skill gives SOC analysts a structured hunting procedure to surface WmiPrvSE.exe child processes, suspicious command lines, and WMI event subscription persistence from Windows event logs.
Core Features & Use Cases
- Process Creation Analysis: Parse Windows Security Event ID 4688 and Sysmon Event ID 1 to flag processes spawned by WmiPrvSE.exe, indicating remote WMI execution.
- Command Line Inspection: Identify suspicious patterns such as cmd.exe /q /c and output redirection to admin$ shares typical of lateral movement.
- Persistence Detection: Examine WMI-Activity/Operational events (5857, 5860, 5861) and Sysmon EID 19/20/21 for malicious event filter and consumer subscriptions.
- Use Case: During incident response, an analyst runs this hunt across collected EVTX files to produce a JSON report of WMI-spawned processes, subscription alerts, and a lateral movement timeline mapped to MITRE ATT&CK T1047 and T1546.003.
Quick Start
Hunt for WMI-based lateral movement in the collected Windows Security and Sysmon EVTX logs and generate a JSON report of suspicious WmiPrvSE child processes and event subscriptions.