kevmap

TechniquesT1047 › AN1031

AN1031 Analytic 1031

Windows · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Detects adversarial abuse of WMI to execute local or remote commands via WMIC, PowerShell, or COM API through a multi-event chain: process creation, command execution, and corresponding network connection if remote.</p>
Detects
T1047 Windows Management Instrumentation
Part of
DET0364 Behavioral Detection Strategy for WMI Execution Abuse on Windows

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
WinEventLog:SysmonEventCode=1DC0032 Process Creation
WinEventLog:SysmonEventCode=3, 22DC0082 Network Connection Creation
WinEventLog:WMIEventCode=5857, 5858, 5860, 5861DC0008 WMI Creation

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
WMIQueryScopeRestrict detection scope to suspicious WMI namespaces like `\root\cimv2`, `\root\subscription`.
TimeWindowSet maximum allowable time window to correlate WMI process creation and remote connections.
UserContextTune based on interactive vs. system-level execution (e.g., via SYSTEM or low-privileged users).
RemoteDestinationThresholdNumber of unique remote hosts contacted using WMI within a time window.
SuspiciousCommandPatternsRegex patterns to identify adversary-like usage (e.g., `wmic process call`, `powershell Invoke-WmiMethod`).

KEV CVEs whose mapped technique this analytic detects

CVEVendor / productState
CVE-2021-40539Zoho ManageEngineMapped
CVE-2021-44077Zoho ManageEngine ServiceDesk Plus (SDP) / SupportCenter PlusMapped