• Platformchevron right
  • Solutionschevron right
  • Modern NDRchevron right
  • Resourceschevron right
  • Companychevron right

DETECTION OVERVIEW

Impacket WMIExec Activity

Risk Factors

Impacket is an open-source collection of tools for manipulating packets and network protocols such as Windows Management Instrumentation (WMI). An attacker with local administrator privileges can run commands with the WMIExec tool to compromise remote devices, helping the attacker move laterally across the network.

Kill Chain

Lateral Movement

Risk Score

78

Detection diagram
Next in Lateral Movement: Internal Dharma Ransomware File Transfer

Attack Background

WMI, installed by default on Windows operating systems, is a set of specifications from Microsoft for local or remote management of Windows operating system components. Third-party applications can interact with WMI classes and elements contained within them (such as methods, properties, and references) to perform actions on a remote device. Some WMI classes, such as the Win32_Process, can create a process that runs commands.

Impacket is a toolset that includes WMIExec, a python script that creates a semi-interactive shell process for running commands on a remote device with WMI. An attacker inside the network identifies a victim device they want to compromise. The attacker runs WMIExec, which sends a WMI request to the victim. This request includes WMI methods to create a process that runs a command within the request.

Mitigation Options

Block or restrict WMI access to authorized IP addresses in Windows firewall settings
Limit the number of administrator accounts that have WMI privileges
Create separate credentials for administrators by the type of remote activity
Restrict access to specific WMI namespaces to only relative administrative user accounts

MITRE ATT&CK ID

What else can RevealX do for you?