Windows Management Instrumentation
- ID
- T1047
- Tactics
- TA0002 Execution
- Platforms
- Windows
- Data sources
- Process Creation, Network Connection Creation, WMI Creation
- Source
- attack.mitre.org
- MITRE last modified
- 12 May 2026
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.[4] WMI is an administration feature that provides a uniform environment to access Windows system components.
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.[4] Remote WMI over DCOM operates using port 135, whereas WMI over WinRM operates over port 5985 when using HTTP and 5986 for HTTPS.[4] [5]
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.[5] 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).[6]
**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.[7] 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.[7]
Detection
- DET0364 Behavioral Detection Strategy for WMI Execution Abuse on Windows
Data components: Process Creation, Network Connection Creation, WMI Creation
Mitigations (4)
- M1018 User Account Management
By default, only administrators are allowed to connect remotely using WMI. Restrict other users who are allowed to connect, or disallow all users to connect remotely to WMI.
- M1026 Privileged Account Management
Prevent credential overlap across systems of administrator and privileged accounts. [1]
- M1038 Execution Prevention
Use application control configured to block execution of
wmic.exeif it is not required for a given system or network to prevent potential misuse by adversaries. For example, in Windows 10 and Windows Server 2016 and above, Windows Defender Application Control (WDAC) policy rules may be applied to block thewmic.exeapplication and to prevent abuse.[2]- M1040 Behavior Prevention on Endpoint
On Windows 10, enable Attack Surface Reduction (ASR) rules to block processes created by WMI commands from running. Note: many legitimate tools and applications utilize WMI for command execution. [3]
Groups (43)
- G0009 Deep Panda
- G0016 APT29
- G0019 Naikon
- G0027 Threat Group-3390
- G0030 Lotus Blossom
- G0032 Lazarus Group
- G0034 Sandworm Team
- G0037 FIN6
- G0038 Stealth Falcon
- G0045 menuPass
- G0046 FIN7
- G0047 Gamaredon Group
- G0049 OilRig
- G0050 APT32
- G0059 Magic Hound
- G0061 FIN8
- G0065 Leviathan
- G0069 MuddyWater
- G0093 GALLIUM
- G0096 APT41
- G0099 APT-C-36
- G0102 Wizard Spider
- G0108 Blue Mockingbird
- G0112 Windshift
- G0114 Chimera
- G0119 Indrik Spider
- G0129 Mustang Panda
- G0143 Aquatic Panda
- G1003 Ember Bear
- G1006 Earth Lusca
- G1016 FIN13
- G1017 Volt Typhoon
- G1018 TA2541
- G1021 Cinnamon Tempest
- G1022 ToddyCat
- G1032 INC Ransom
- G1043 BlackByte
- G1044 APT42
- G1047 Velvet Ant
- G1051 Medusa Group
- G1054 MirrorFace
- G1055 VOID MANTICORE
- G1059 NIMBUS MANTICORE
Software (94)
- S0062 DustySky
- S0089 BlackEnergy
- S0151 HALFBAKED
- S0154 Cobalt Strike
- S0156 KOMPROGO
- S0184 POWRUNER
- S0194 PowerSploit
- S0223 POWERSTATS
- S0237 GravityRAT
- S0241 RATANKBA
- S0250 Koadic
- S0251 Zebrocy
- S0256 Mosquito
- S0264 OopsIE
- S0265 Kazuar
- S0267 FELIXROOT
- S0270 RogueRobin
- S0283 jRAT
- S0331 Agent Tesla
- S0339 Micropsia
- S0340 Octopus
- S0357 Impacket
- S0363 Empire
- S0365 Olympic Destroyer
- S0366 WannaCry
- S0367 Emotet
- S0368 NotPetya
- S0373 Astaroth
- S0375 Remexi
- S0376 HOPLIGHT
- S0378 PoshC2
- S0380 StoneDrill
- S0381 FlawedAmmyy
- S0386 Ursnif
- S0396 EvilBunny
- S0449 Maze
- S0457 Netwalker
- S0476 Valak
- S0483 IcedID
- S0488 CrackMapExec
- S0496 REvil
- S0532 Lucifer
- S0534 Bazar
- S0546 SharpStage
- S0553 MoleNet
- S0559 SUNBURST
- S0568 EVILNUM
- S0589 Sibot
- S0603 Stuxnet
- S0605 EKANS
- S0616 DEATHRANSOM
- S0617 HELLOKITTY
- S0618 FIVEHANDS
- S0640 Avaddon
- S0650 QakBot
- S0654 ProLock
- S0663 SysUpdate
- S0673 DarkWatchman
- S0674 CharmPower
- S0688 Meteor
Showing 60 of 94. Full list on attack.mitre.org.
References
- FireEye WMI 2015
- Microsoft WDAC
- win10_asr
- WMI 1-3
- Mandiant WMI
- WMI 6
- WMI 7,8
