kevmap

Techniques › T1047

T1047 Windows Management Instrumentation

execution — Windows · attack.mitre.org · JSON

1
MITRE detection strategy
1
analytics
52
Sigma rules tagged attack.t1047
2
KEV CVEs mapped here
<p>Adversaries may abuse Windows Management Instrumentation (WMI) to execute malicious commands and payloads. WMI is designed for programmers and is the infrastructure for management data and operations on Windows systems. WMI is an administration feature that provides a uniform environment to access Windows system components.</p><p>The WMI service enables both local and remote access, though the latter is facilitated by Remote Services such as Distributed Component Object Model and Windows Remote Management. Remote WMI over DCOM operates using port 135, whereas WMI over WinRM operates over port 5985 when using HTTP and 5986 for HTTPS.</p><p>An adversary can use WMI to interact with local and remote systems and use it as a means to execute various behaviors, such as gathering information for Discovery as well as Execution of commands and payloads. For example, wmic.exe can be abused by an adversary to delete shadow copies with the command wmic.exe Shadowcopy Delete (i.e., Inhibit System Recovery).</p><p>Note: wmic.exe is deprecated as of January of 2024, with the WMIC feature being “disabled by default” on Windows 11+. WMIC will be removed from subsequent Windows releases and replaced by PowerShell as the primary WMI interface. In addition to PowerShell and tools like wbemtool.exe, COM APIs can also be used to programmatically interact with WMI via C++, .NET, VBScript, etc.</p>

KEV CVEs mapped to this technique · CTID Mappings Explorer

CVEVendor / productMapping typeStateAdded
CVE-2021-44077Zoho ManageEngine ServiceDesk Plus (SDP) / SupportCenter Plus secondary impact Mapped2021-12-01
CVE-2021-40539Zoho ManageEngine secondary impact Mapped2021-11-03

Detection strategy · ATT&CK Enterprise v19.2

Sigma rules · SigmaHQ da9bb07d64, tag attack.t1047

Author: Thomas Patzke · 2020-05-22 (modified 2023-11-06) · logsource: product=windows category=process_creation · 058f4380-962d-40a5-afce-50207d36d7e2
Detects various execution patterns of the CrackMapExec pentesting framework
Author: Timur Zinniatullin, oscd.community, Swachchhanda Shrawan Poudel · 2019-10-21 (modified 2026-01-24) · logsource: product=windows category=process_creation · 05c36dd6-79d6-4a9a-97da-3db20298ab2d
Detects the execution of WMIC with the "format" flag to potentially load local XSL files. Adversaries abuse this functionality to execute arbitrary files while potentially bypassing application whitelisting defenses. Extensible Stylesheet Language (XSL) files are commonly used to describe the processing and rendering of data within XML files.
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-06-20 (modified 2022-11-25) · logsource: product=windows category=ps_script · 09658312-bc27-4a3b-91c5-e49ab9046d1b
Detects known WMI recon method to look for unquoted service paths, often used by pentest inside of powershell scripts attackers enum scripts
Techniques: T1047
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-06-20 (modified 2023-02-14) · logsource: product=windows category=process_creation · 0b7163dc-7eee-4960-af17-c0cd517f92da
Detects usage of wmic to start or stop a service
Techniques: T1047
Author: Ecco, oscd.community, Jonhnathan Ribeiro, Tim Rauch · 2019-09-03 (modified 2023-02-21) · logsource: product=windows category=process_creation · 10c14723-61c7-4c75-92ca-9af245723ad2
Detects wmiexec/dcomexec/atexec/smbexec from Impacket framework
Techniques: T1047T1021.003
Author: Nasreddine Bencherchali · 2023-02-14 (modified 2025-12-15) · logsource: product=windows category=process_creation · 15434e33-5027-4914-88d5-3d4145ec25a9
Detects the execution of WMIC in order to get a list of firewall and antivirus products
Techniques: T1047
Author: frack113 · 2022-01-01 (modified 2025-12-15) · logsource: product=windows category=process_creation · 221b251a-357a-49a9-920a-271802777cc0
Detects the execution of "wmic" with the "process" flag, which might indicate an attempt to perform reconnaissance on running processes. Adversaries may use wmic to query for running processes and their details as part of their reconnaissance efforts.
Techniques: T1047T1057
Author: Florian Roth (Nextron Systems) · 2020-05-08 (modified 2023-02-13) · logsource: product=windows category=process_creation · 29fd07fc-9cfd-4331-b7fd-cc18dfa21052
Detects specific process characteristics of Maze ransomware word document droppers
Author: Florian Roth (Nextron Systems), Nasreddine Bencherchali (Nextron Systems) · 2020-10-12 (modified 2023-02-14) · logsource: product=windows category=process_creation · 3c89a1e8-0fba-449e-8f1b-8409d6267ec8
Detects WMIC executing "process call create" with suspicious calls to processes such as "rundll32", "regsrv32", etc.
Techniques: T1047
Author: Florian Roth (Nextron Systems) · 2023-02-14 · logsource: product=windows category=process_creation · 3e3ceccd-6c06-48b8-b5ff-ab1d25db8c1d
Detects the execution of WMIC with the "csproduct" which is used to obtain information such as hardware models and vendor information
Techniques: T1047
Author: Florian Roth (Nextron Systems) · 2022-02-25 (modified 2023-03-08) · logsource: product=windows category=process_creation · 42a993dd-bb3e-48c8-b372-4d6684c4106c
This rule detect common flag combinations used by CrackMapExec in order to detect its use even if the binary has been replaced.
Author: Florian Roth (Nextron Systems), Markus Neis, FPT.EagleEye Team, Vadim Khrykov, Cyb3rEng, Michael Haag, Christopher Peacock @securepeacock, @scythe_io · 2018-04-06 (modified 2023-04-24) · logsource: product=windows category=process_creation · 438025f9-5856-4663-83f7-52f878a70a50
Detects a suspicious process spawning from one of the Microsoft Office suite products (Word, Excel, PowerPoint, Publisher, Visio, etc.)
Author: Florian Roth (Nextron Systems) · 2021-09-01 (modified 2023-11-30) · logsource: product=windows category=pipe_created · 493fb4ab-cdcc-4c4f-818c-0e363bd1e4bb
Detects the WMI Event Consumer service scrcons.exe creating a named pipe
Techniques: T1047
Author: Nasreddine Bencherchali (Nextron Systems) · 2023-09-11 · logsource: product=windows category=process_creation · 49d9671b-0a0a-4c09-8280-d215bfd30662
Detects an attempt to terminate a process via "wmic" with the "call terminate" flag. Adversaries may use wmic to terminate security products or other applications on the compromised host. This event is triggered on on attempt and process creation can be either successful or unsuccessful.
Techniques: T1047
Author: Daniel Koifman (KoifSec), Swachchhanda Shrawan Poudel (Nextron Systems) · 2025-11-15 · logsource: product=windows category=process_creation · 4b8f6d3a-9c5e-4f2a-a7d8-6b9c3e5f2a8d
Detects enabling or disabling of Remote Desktop Protocol (RDP) using alternate methods such as WMIC or PowerShell. In PowerShell one-liner commands, the "SetAllowTSConnections" method of the "Win32_TerminalServiceSetting" class may be used to enable or disable RDP. In WMIC, the "rdtoggle" alias or "Win32_TerminalServiceSetting" class may be used for the same purpose.
Techniques: T1021.001T1047
Author: frack113 · 2022-12-11 (modified 2023-02-14) · logsource: product=windows category=process_creation · 51cbac1e-eee3-4a90-b1b7-358efb81fa0a
Detects potential tampering with Windows Defender settings such as adding exclusion using wmic
Techniques: T1047T1685
Author: Michael Haag, Florian Roth (Nextron Systems), juju4, oscd.community · 2019-01-16 (modified 2023-02-14) · logsource: product=windows category=process_creation · 526be59f-a573-4eea-b5f7-f0973207634d
Detects the attempt to create a process via "wmic" with the "process call create" flag, which might indicate an attempt to execute a malicious process on the compromised host. Adversaries may use wmic to execute a process on the compromised host as part of their attack. This event is triggered on on attempt and process creation can be either successful or unsuccessful.
Techniques: T1047
Author: Maxim Pavlunin, Nasreddine Bencherchali (Nextron Systems) · 2020-04-01 (modified 2023-04-12) · logsource: product=windows category=process_creation · 52cad028-0ff0-4854-8f67-d25dfcbc78b4
Detects a suspicious child process of a Microsoft HTML Help (HH.exe)
Author: Thomas Patzke · 2019-12-04 (modified 2024-01-17) · logsource: product=windows service=security · 5af54681-df95-4c26-854f-2565e13cfab0
Detects successful logon attempts performed with WMI
Techniques: T1047
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) · 2020-10-12 (modified 2022-12-02) · logsource: product=windows category=file_event · 614a7e17-5643-4d89-b6fe-f9df1a79641c
Detects a threat actor creating a file named `wbemcomn.dll` in the `C:\Windows\System32\wbem\` directory over the network and loading it for a WMI DLL Hijack scenario.
Techniques: T1047T1021.002
Author: Roberto Rodriguez @Cyb3rWard0g · 2019-08-10 (modified 2026-06-29) · logsource: product=windows category=image_load · 671bb7e3-a020-4824-a00e-2ee5b55f385e
Detects WMI modules being loaded by an uncommon process
Techniques: T1047
Author: Sagie Dulce, Dekel Paz · 2022-01-01 · logsource: product=rpc_firewall category=application · 68050b10-e477-4377-a99b-3721b422d6ef
Detects remote RPC calls that performs remote DCOM operations. These could be abused for lateral movement via DCOM or WMI.
Techniques: T1021.003T1047
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-06-20 (modified 2023-09-11) · logsource: product=windows category=process_creation · 68bcd73b-37ef-49cb-95fc-edc809730be6
Detects known WMI recon method to look for unquoted service paths using wmic. Often used by pentester and attacker enumeration scripts
Techniques: T1047
Author: Markus Neis @Karneades · 2019-04-03 (modified 2023-03-29) · logsource: product=windows category=process_creation · 692f0bec-83ba-4d04-af7e-e884a96059b6
Detects Powershell as a child of the WmiPrvSE process. Which could be a sign of lateral movement via WMI.
Techniques: T1047T1059.001
Author: frack113, Nasreddine Bencherchali (Nextron Systems) · 2023-02-14 (modified 2026-01-07) · logsource: product=windows category=process_creation · 76f55eaa-d27f-4213-9d45-7b0e4b60bbae
An adversary might use WMI to check if a certain remote service is running on a remote device. When the test completes, a service information will be displayed on the screen if it exists. A common feedback message is that "No instance(s) Available" if the service queried is not running. A common error message is "Node - (provided IP or default) ERROR Description =The RPC server is unavailable" if the provided remote host is unreachable
Techniques: T1047
Author: Roberto Rodriguez (Cyb3rWard0g), OTR (Open Threat Research) · 2020-10-12 (modified 2022-10-09) · logsource: product=windows category=image_load · 7707a579-e0d8-4886-a853-ce47e4575aaa
Detects a threat actor creating a file named `wbemcomn.dll` in the `C:\Windows\System32\wbem\` directory over the network and loading it for a WMI DLL Hijack scenario.
Techniques: T1047T1021.002
Author: frack113, Nasreddine Bencherchali (Nextron Systems) · 2023-02-14 (modified 2025-10-22) · logsource: product=windows category=process_creation · 7773b877-5abb-4a3e-b9c9-fd0369b59b00
Detects the execution of WMIC to query information on a remote system
Techniques: T1047
Author: Daniel Koifman (KoifSec) · 2025-07-30 · logsource: product=windows category=process_creation · 7864a175-3654-4824-9f0d-f0da18ab27c0
Detects the use of wmic.exe to modify user account settings and explicitly disable password expiration.
Techniques: T1047T1098
Author: NVISO · 2020-03-26 (modified 2022-12-25) · logsource: product=windows category=ps_script · 8028c2c3-e25a-46e3-827f-bbb5abf181d7
Detects parameters used by WMImplant
Techniques: T1047T1059.001
Author: Florian Roth (Nextron Systems) · 2021-09-01 (modified 2022-10-09) · logsource: product=windows category=wmi_event · 83844185-1c5b-45bc-bcf3-b5bf3084ca5b
Detects suspicious encoded payloads in WMI Event Consumers
Techniques: T1047T1546.003
Author: Vadim Khrykov (ThreatIntel), Cyb3rEng, Florian Roth (Nextron Systems) · 2021-08-23 (modified 2023-11-10) · logsource: product=windows category=process_creation · 8a582fe2-0882-4b89-a82a-da6b2dc32937
Detects suspicious and uncommon child processes of WmiPrvSE
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-06-02 (modified 2023-03-08) · logsource: product=windows category=file_event · 8d5aca11-22b3-4f22-b7ba-90e60533e1fb
Detects the creation of the default output filename used by the wmiexec tool
Techniques: T1047
Author: Markus Neis, Florian Roth, Swachchhanda Shrawan Poudel (Nextron Systems) · 2019-01-16 (modified 2026-01-24) · logsource: product=windows category=process_creation · 8d63dadf-b91b-4187-87b6-34a1114577ea
Detects potential execution of the SquiblyTwo technique that leverages Windows Management Instrumentation (WMI) to execute malicious code remotely. This technique bypasses application whitelisting by using wmic.exe to process malicious XSL (eXtensible Stylesheet Language) scripts that can contain embedded JScript or VBScript. The attack typically works by fetching XSL content from a remote source (using HTTP/HTTPS) and executing it with full trust privileges directly in memory, avoiding disk-based detection mechanisms. This is a common LOLBin (Living Off The Land Binary) technique used for defense evasion and code execution.
Author: Trent Liffick (@tliffick) · 2020-05-14 (modified 2023-08-17) · logsource: product=windows category=registry_set · 92b0b372-a939-44ed-a11b-5136cf680e27
Attempts to detect system changes made by Blue Mockingbird
Techniques: T1112T1047
Author: Bhabesh Raj · 2020-07-14 (modified 2022-12-25) · logsource: product=windows service=windefend · 97b9ce1e-c5ab-11ea-87d0-0242ac130003
Detects blocking of process creations originating from PSExec and WMI commands
Techniques: T1047T1569.002
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-09-08 (modified 2023-02-14) · logsource: product=windows category=process_creation · 9d7ca793-f6bd-471c-8d0f-11e68b2f0d2f
Detects execution of wmic utility with the "computersystem" flag in order to obtain information about the machine such as the domain, username, model, etc.
Techniques: T1047
Author: Swachchhanda Shrawan Poudel (Nextron Systems) · 2025-07-30 (modified 2026-06-19) · logsource: product=windows category=process_creation · a0e417e2-2fa1-40da-b6d2-e094cd5e1191
Detects the usage of wmic.exe to enumerate or read Windows registry via the WMI StdRegProv class read methods (EnumKey, EnumValues, GetStringValue, etc.). While registry reads are common, attackers may use this technique to perform reconnaissance and discover sensitive configuration values, credentials, or installed software. The use of WMI as an alternative to standard tools like reg.exe can indicate an attempt to evade detection focused on traditional registry query commands.
Techniques: T1047T1012
Author: frack113 · 2022-01-28 (modified 2024-07-02) · logsource: product=windows category=process_creation · b53317a0-8acf-4fd1-8de8-a5401e776b96
Detects the removal or uninstallation of an application via "Wmic.EXE".
Techniques: T1047
Author: @neu5ron, SOC Prime · 2020-03-19 (modified 2021-11-27) · logsource: product=zeek service=dce_rpc · b640c0b8-87f8-4daa-aef8-95a24261dd1d
Windows DCE-RPC functions which indicate an execution techniques on the remote system. All credit for the Zeek mapping of the suspicious endpoint/operation field goes to MITRE
Author: Florian Roth (Nextron Systems) · 2021-01-20 (modified 2022-10-09) · logsource: product=windows category=process_creation · b7155193-8a81-4d8f-805d-88de864ca50c
Detects a specific PowerShell command line pattern used by the UNC2452 actors as mentioned in Microsoft and Symantec reports
Techniques: T1059.001T1047
Author: Swachchhanda Shrawan Poudel (Nextron Systems) · 2026-04-27 · logsource: product=windows category=process_creation · c0514f28-fdae-42df-b886-06e2b2bc5b37
Detects changes to service startup type to 'disabled' or 'manual' using the WMIC command-line utility.
Techniques: T1047T1685
Author: Trent Liffick (@tliffick) · 2020-05-14 (modified 2022-10-09) · logsource: product=windows category=process_creation · c3198a27-23a0-4c2c-af19-e5328d49680e
Attempts to detect system changes made by Blue Mockingbird
Techniques: T1112T1047
Author: Daniel Koifman (KoifSec) · 2025-07-30 (modified 2026-06-19) · logsource: product=windows category=process_creation · c453ab7a-1f5c-4716-a3b4-dea8135fb43a
Detects the usage of wmic.exe to modify Windows registry via the WMI StdRegProv class write methods (CreateKey, DeleteKey, SetStringValue, etc.). This behaviour could be potentially suspicious because it uses an alternative method to modify registry keys instead of legitimate registry tools like reg.exe or regedit.exe. Attackers specifically choose this technique to evade detection and bypass security monitoring focused on traditional registry modification commands.
Techniques: T1047T1112
Author: Stephen Lincoln '@slincoln-aiq' (AttackIQ) · 2024-02-02 (modified 2025-10-20) · logsource: product=windows category=process_creation · c79da740-5030-45ec-a2e0-479e824a562c
An adversary might use WMI to discover information about the system, such as the volume name, size, free space, and other disk information. This can be done using the 'wmic' command-line utility and has been observed being used by threat actors such as Volt Typhoon.
Techniques: T1047T1082
Author: Swachchhanda Shrawan Poudel (Nextron Systems) · 2025-02-17 · logsource: product=windows category=process_creation · c80e66d8-1780-48a9-b412-46663fd21ac0
Detects suspicious activity where the WMIC process is used to create an autorun registry entry via reg.exe, which is often indicative of persistence mechanisms employed by malware.
Techniques: T1547.001T1047
Author: Roberto Rodriguez @Cyb3rWard0g · 2019-08-15 (modified 2023-03-23) · logsource: product=windows category=process_creation · d21374ff-f574-44a7-9998-4a8c8bf33d7d
Detects WmiPrvSE spawning a process
Techniques: T1047
Author: Nasreddine Bencherchali (Nextron Systems) · 2022-06-20 (modified 2023-02-14) · logsource: product=windows category=process_creation · dfd2fcb7-8bd5-4daa-b132-5adb61d6ad45
Detects the execution of wmic with the "qfe" flag in order to obtain information about installed hotfix updates on the system. This is often used by pentester and attacker enumeration scripts
Techniques: T1047
Author: Vadim Khrykov, Cyb3rEng · 2021-08-23 (modified 2023-02-14) · logsource: product=windows category=process_creation · e1693bc8-7168-4eab-8718-cdcaa68a1738
Office application called wmic to proxye execution through a LOLBIN process. This is often used to break suspicious parent-child chain (Office app spawns LOLBin).
Author: Michael Haag, Florian Roth (Nextron Systems), juju4, oscd.community, Swachchhanda Shrawan Poudel (Nextron Systems) · 2023-02-14 (modified 2025-03-17) · logsource: product=windows category=process_creation · e568650b-5dcd-4658-8f34-ded0b1e13992
Detects the execution of WMIC in order to get a list of firewall, antivirus and antispywware products. Adversaries often enumerate security products installed on a system to identify security controls and potential ways to evade detection or disable protection mechanisms. This information helps them plan their next attack steps and choose appropriate techniques to bypass security measures.
Techniques: T1047T1082
Author: Maxim Pavlunin · 2020-04-01 (modified 2023-04-12) · logsource: product=windows category=process_creation · e8a95b5e-c891-46e2-b33a-93937d3abc31
Detects a suspicious execution of a Microsoft HTML Help (HH.exe)
Author: Roberto Rodriguez @Cyb3rWard0g, Open Threat Research (OTR) · 2020-10-12 (modified 2022-02-24) · logsource: product=windows service=security · f6c68d5f-e101-4b86-8c84-7d96851fd65c
Detects a threat actor creating a file named `wbemcomn.dll` in the `C:\Windows\System32\wbem\` directory over the network for a WMI DLL Hijack scenario.
Techniques: T1047T1021.002
Author: Sittikorn S · 2021-06-21 (modified 2022-07-14) · logsource: product=windows category=process_creation · f6d1dd2f-b8ce-40ca-bc23-062efb686b34
Detects a suspicious child process of Script Event Consumer (scrcons.exe).
Techniques: T1047