Skip to content
Threat Feed
medium advisory

Detection of Remote WMI Command Execution via WMIC

Detection of WMIC.exe utilization with the node switch, a living-off-the-land technique used by threat actors for lateral movement and remote code execution.

Threat actors frequently use Windows Management Instrumentation (WMI) to perform lateral movement and execute code on remote systems. The wmic.exe utility remains a common choice for these activities due to its availability as a built-in Windows binary. By leveraging the /node switch, an attacker can specify a remote target system to execute processes, gather system information, or interact with WMI objects. This technique is often categorized as living-off-the-land, as it repurposes legitimate administrative functionality for malicious objectives. Observed in campaigns ranging from IcedID distribution to Volt Typhoon infrastructure compromises, this behavior is a high-fidelity indicator of potential unauthorized remote system access or persistent lateral movement attempts. Defenders should prioritize monitoring process creation events that involve wmic.exe with command-line arguments specifying a target node.

Impact

Successful exploitation of WMI for remote execution can result in full system compromise, the deployment of ransomware or modular malware, and the facilitation of further reconnaissance within the environment. This technique has been documented in global attacks against critical infrastructure and enterprise networks, often acting as a bridge for privilege escalation and data exfiltration.

Recommendation

  • Enable Sysmon Event ID 1 or Windows Security Event ID 4688 to capture comprehensive process creation telemetry, including command-line arguments.
  • Deploy the provided Sigma rule to your SIEM to monitor for wmic.exe executions featuring the /node switch.
  • Review administrative usage patterns for WMI, as this activity is frequently performed by legitimate system management tools; baseline these expected behaviors to reduce false positives during investigations.

Immediate actions

Deploy Sigma rule to monitor for WMIC node usage

Detection Engineering 48h

Threat Hunt

Historical search for wmic.exe /node commands

T1047 medium medium confidence hunt now

Data: Process command line logs

Mitigations

Restrict remote WMI access via Group Policy to authorized management stations

medium_term IT Operations

T1047

Detection coverage 1

Detect Remote WMI Command Attempt via WMIC

medium

Detects the execution of wmic.exe using the node switch, which is a common technique for remote process management or lateral movement.

sigma tactics: execution, lateral_movement techniques: T1047 sources: process_creation, windows

Detection queries are available on the platform. Get full rules →