Skip to main content
T1047Executionhard difficulty

Windows Management Instrumentation

WMI is a trusted, built-in Windows management layer, which is exactly why adversaries use it to execute code locally and remotely while evading application control. It can run commands, query the system, and trigger payloads, often leaving little on disk. The cleanest detection is the WMI provider host wmiprvse.exe spawning shells or network utilities, remote WMI process creation via wmic process call create, and WMI event-subscription entries used for stealthy persistence.

Practice detecting Windows Management Instrumentation on realistic XDR, SIEM alerts in SOCSimulator Operations.

XDRSIEM

What is Windows Management Instrumentation?

Windows Management Instrumentation is documented as technique T1047 in MITRE ATT&CK® v19.1 under the Execution tactic. Detection requires visibility into XDR, SIEM telemetry.

Detection Strategies

The following detection strategies help SOC analysts identify Windows Management Instrumentation activity. These methods apply across XDR, SIEM environments and can be implemented as detection rules, correlation queries, or behavioral analytics in your security platform.

  1. 1

    Monitor for WMI process execution through wmiprvse.exe spawning child processes, as legitimate WMI operations rarely require spawning command interpreters or network utilities as direct children of the WMI provider host.

  2. 2

    Alert on WMI permanent event subscriptions being created or modified, particularly EventFilter, EventConsumer, and FilterToConsumerBinding classes, which are the components of WMI-based persistence mechanisms.

  3. 3

    Detect remote WMI execution by monitoring for DCOM-based connections to port 135 followed by dynamic high port connections between internal hosts, combined with process creation events on the target system.

  4. 4

    Monitor PowerShell Invoke-WMIMethod and Get-WMIObject cmdlets used with ComputerName parameters specifying remote hosts, as these are commonly used for WMI-based lateral movement and remote execution.

  5. 5

    Correlate WMI activity with network connections and file system events, as attackers using WMI for execution typically download and execute payloads that generate secondary indicators detectable through endpoint telemetry.

Example Alerts

These realistic alert examples show what Windows Management Instrumentation looks like in your security tools. Use them to tune detection rules and train analysts to recognize true positives versus false positives in live environments.

CriticalXDR

WMI Used to Execute Payload on Remote Systems

WMI process wmiprvse.exe spawned cmd.exe on 15 systems within 6 minutes, each executing the same Base64-encoded PowerShell command that downloads and runs a remote access tool. The WMI execution was initiated remotely using domain administrator credentials from a compromised server. This WMI-based lateral execution leaves fewer artifacts than PSExec and evades many endpoint security tools.

HighSIEM

Malicious WMI Event Subscription Created for Persistence

WMI activity monitoring detected creation of a new WMI event subscription on workstation WS-DEV-015. The subscription triggers on user logon events and executes a PowerShell script stored within the WMI repository itself, requiring no files on disk. This fileless persistence mechanism survives reboots and evades file-based scanning while maintaining reliable execution on every user authentication.

MediumXDR

WMI Reconnaissance Commands Executed

Sequence of WMI queries executed through wmic.exe collecting system information including installed software, running processes, network configuration, and logged-in user details. These reconnaissance queries were run across 8 different systems using the same compromised service account within a 12-minute window, indicating systematic environment mapping using WMI as a living-off-the-land discovery tool.

Frequently Asked Questions

How do SOC analysts detect Windows Management Instrumentation?
Detection centers on XDR, SIEM telemetry for the execution phase of the attack. Monitor for WMI process execution through wmiprvse.exe spawning child processes, as legitimate WMI operations rarely require spawning command interpreters or network utilities as direct children of the WMI provider host. Alert on WMI permanent event subscriptions being created or modified, particularly EventFilter, EventConsumer, and FilterToConsumerBinding classes, which are the components of WMI-based persistence mechanisms.
What does a Windows Management Instrumentation alert look like?
A representative XDR detection is "WMI Used to Execute Payload on Remote Systems" (critical severity): WMI process wmiprvse.exe spawned cmd.exe on 15 systems within 6 minutes, each executing the same Base64-encoded PowerShell command that downloads and runs a remote access tool. The WMI execution was initiated remotely using domain administrator credentials from a compromised server. This WMI-based lateral execution leaves fewer artifacts than PSExec and evades many endpoint security tools.
Which tools detect Windows Management Instrumentation, and how can I practice?
Windows Management Instrumentation (T1047) is best surfaced with XDR, SIEM telemetry, which exposes the execution signals described above. Practice detecting it on those exact consoles in SOCSimulator Operations, free.
Glossary

What is IOC? SOC Glossary

An Indicator of Compromise (IOC) is an observable artifact, such as a file hash, IP address, domain name, URL, registry …

Read more
Glossary

What is EDR? SOC Glossary

Endpoint Detection and Response (EDR) is a security technology that continuously monitors endpoint activity, recording p…

Read more
Glossary

What is Alert Triage? SOC Glossary

Alert triage is the structured process of reviewing, prioritizing, and investigating security alerts to determine their …

Read more
Glossary

What is TTPs? SOC Glossary

Tactics, Techniques, and Procedures (TTPs) describe the behavioral patterns, methods, and operational processes threat a…

Read more
Career Path

SOC Analyst (Tier 2) Career Guide: Salary & Skills

Tier 2 SOC Analysts handle the investigations that Tier 1 escalates. You dig into multi-stage attacks, coordinate contai…

Read more
Career Path

Incident Responder Career Guide: Salary & Skills

Incident Responders lead the technical response when confirmed breaches happen. You coordinate containment, run forensic…

Read more
Tool

XDR Training Console: SOCSimulator

The XDR console in SOCSimulator replicates the investigation workflow of platforms like CrowdStrike Falcon, Microsoft De…

Read more
Tool

SIEM Training Console: SOCSimulator

The SIEM console in SOCSimulator replicates the workflow of enterprise platforms like Splunk Enterprise Security, Micros…

Read more
Comparison

SOCSimulator Vs. Letsdefend: Platform Comparison

SOCSimulator wins on operational realism. You get multi-tool shift simulation with SLA pressure, noise injection, and al…

Read more
Glossary

SOC Glossary: Security Operations Terminology

Complete glossary of Security Operations Center terminology for aspiring SOC analysts.

Read more
Feature

Shift Mode: Real-Time SOC Simulation

Practice alert triage under realistic time pressure with SLA timers and noise injection.

Read more
Feature

Operations: Guided Training Operations

Structured CTF-style investigation operations covering real-world attack scenarios.

Read more