Skip to content
Threat Feed
medium advisory

Suspicious Enumeration Commands Spawned via WMIPrvSE

This rule identifies suspicious activity where enumeration commands are spawned via the Windows Management Instrumentation Provider Service (WMIPrvSE) to gather system and network information.

Attackers may abuse the Windows Management Instrumentation (WMI) to execute commands for reconnaissance purposes. This involves spawning native Windows host and network enumeration commands via the Windows Management Instrumentation Provider Service (WMIPrvSE). The goal is to gather information about the system and network environment for situational awareness and potential lateral movement. This activity often occurs after initial access and can be a sign of malicious actors attempting to map the network and identify valuable targets. The rule detects execution of enumeration commands such as arp.exe, ipconfig.exe, and net.exe by wmiprvse.exe, excluding benign use cases to highlight potentially malicious activity.

Attack Chain

  1. The attacker gains initial access to a Windows system (e.g., via phishing or exploiting a vulnerability).
  2. The attacker leverages WMI to execute reconnaissance commands. This is achieved by invoking WMIPrvSE to run commands via Win32_Process creation.
  3. WMIPrvSE spawns enumeration tools such as ipconfig.exe to gather network configuration.
  4. net.exe is executed by WMIPrvSE to discover domain users and groups.
  5. systeminfo.exe is executed by WMIPrvSE to collect detailed system information, including OS version and installed hotfixes.
  6. tasklist.exe is executed to identify running processes on the system.
  7. The gathered information is used to plan further actions, such as lateral movement or privilege escalation.

Impact

Successful exploitation leads to the attacker gaining detailed knowledge of the target system and network environment. This information can be used to facilitate lateral movement, identify valuable data, and ultimately compromise the organization's assets. The impact includes potential data breaches, system compromise, and disruption of services. If the attacker successfully enumerates the environment, it increases the likelihood of a successful attack campaign.

Recommendation

  • Implement the provided Sigma rules to detect enumeration commands spawned via WMIPrvSE (process_creation logs).
  • Review process command line details to understand the specific enumeration command executed and its arguments, focusing on the process.command_line field.
  • Monitor process_creation events with a parent process name of wmiprvse.exe for known enumeration tools (e.g., ipconfig.exe, net.exe, systeminfo.exe).
  • Correlate the event with other logs or alerts from the same host to identify any preceding or subsequent suspicious activities, such as lateral movement or privilege escalation attempts.

Detection coverage 2

Enumeration Command Spawned via WMIPrvSE

medium

Detects native Windows host and network enumeration commands spawned by WMIPrvSE.

sigma tactics: discovery, execution techniques: T1016, T1047 sources: process_creation, windows

Suspicious SC.exe Usage via WMIPrvSE

low

Detects specific usage patterns of sc.exe (Service Control) spawned via WMIPrvSE that are often indicative of malicious activity.

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

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