Skip to main content
Mallory
Malware4 associated actors

WMIEXEC

Tracked since Dec 12, 2025 · Updated 4 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days6 mentions · peak 3 in a dayToday
Vulns0Associated
Actors4Associated
ATT&CK9Techniques
IOCs0Tracked
Capabilities
Lateral movementPost exploitationReconnaissance
Platforms
Windows

WMIExec is a dual-use remote command-execution utility in the open-source Impacket toolkit. It uses Windows Management Instrumentation to execute commands on remote Windows systems and provides remote shell functionality. Attackers commonly use it for post-exploitation and lateral movement with compromised administrative credentials, including NT password hashes. Its characteristic execution behavior redirects standard output and error to timestamp-named files on a Windows administrative share, allowing command results to be retrieved through SMB.

WMIExec supports operator-directed reconnaissance and payload execution on systems accessible to the compromised account. Observed uses include executing commands to identify the current user and moving between hosts after credential compromise. It does not itself establish that credentials were stolen or provide evidence of a particular initial-access mechanism.

The utility has been used by multiple unrelated threat actors, including Volt Typhoon, FIN8, APT41, and the Memento ransomware operators. It has also appeared in intrusions affecting educational organizations in Africa and Latin America and web servers in South Korea. WMIExec is not inherently malicious, and its presence alone does not establish malicious intent or threat-actor attribution.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

4 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
Memento group

In May, the attacker deployed the wmiexec remote shell tool and the secretsdump hash dumping tool to a Windows server.

via fortinet threat signalfortiguard.com
Volt Typhoon

The following is an example of the "dir" command being executed by wmiexec.py.

via cisa advisoriescisa.gov
FIN8

“A command line ending with ‘> \\127.0.0.1\ADMIN$\__<timestamp> 2>&1’ ... is an indicator of wmiexec usage.”

via bitdefender labsbitdefender.com
APT41

APT41 used the WMIEXEC utility to execute whoami commands on remote machines.

via mitre attackattack.mitre.org
MITRE ATT&CK

Techniques & procedures

9 distinct techniques documented for this family, organized by ATT&CK tactic.

Execution

2 techniques
T1047Windows Management InstrumentationEvidence10

edr-win-lat-impacket-wmiexec; edr-win-lat-wmic-remote-node

T1059Command and Scripting InterpreterEvidence1

WMIExec - Microsoft command-line tool that can be used to execute commands on remote computers.

Discovery

1 technique
T1018Remote System DiscoveryEvidence1

APT41 used the WMIEXEC utility to execute whoami commands on remote machines; FIN10 used Meterpreter to enumerate users on remote systems; Operation Wocao enumerated sessions and users on a remote host.

Lateral Movement

6 techniques
T1021Remote ServicesEvidence3

Lateral Movement Techniques • Use RDP, PsExec and WMI

T1021.002SMB/Windows Admin SharesEvidence2

"Block process creations originating from PsExec and WMI commands ... to prevent lateral movement originating from PsExec and WMI, including Impacket’s WMIexec."

T1021.003Distributed Component Object ModelEvidence1

It was followed by the execution of discovery commands using wmiexec in the context of the built-in domain administrator account.

T1021.006Windows Remote ManagementEvidence1

BRONZE PRESIDENT regularly leverages Wmiexec to move laterally. During one intrusion, the threat actors extensively used this tool to execute WMI commands on remote hosts in the environment.

T1550.002Pass the HashEvidence1

«Pass-the-hash через RDP (T1550.002 + T1021.001)»

T1570Lateral Tool TransferEvidence1

...spread laterally via WMIExec and SMBExec to reach the domain controller and propagate EtherRAT across over 11 hosts.

Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors4Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping9Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.