GoldOpen Source
ExplorePackagesVulnerabilitiesMCP Servers
Search Gold…⌘KLogin
GoldOpen Source

The authoritative source for production-ready open-source components. Every package, container image, AI model, and MCP server undergoes rigorous verification for security and license compliance.

Explore Gold

  • Explore Everything
  • Packages
  • Gold Packages
  • Container Images
  • AI Models
  • MCP Servers
  • Agent Skills
  • Chip Manufacturers

Security Data & Tools

  • Scan Your Dependencies
  • Trending Threats
  • Threat RSS Feeds
  • CVE Database
  • Actively Exploited (KEV)
  • SGZ Zero-Days
  • CWE Index
  • MITRE ATT&CK
  • Malicious Packages
  • Security Glossary
  • Supply-Chain Report
  • Developers (API & Badge)
  • Chrome Extension
  • Credits & Data Sources

Products

  • The Platform
  • ESSCM
  • Portal
  • TPRM
  • OSM
  • Cowork
  • Code / Runner
  • Guard

Use Cases

  • Know Your Software
  • Auto-Fix Vulnerabilities
  • Asset Discovery
  • AI Governance
  • MCP Server Security
  • Supply Chain Compliance
  • Zero-Day Discovery
  • All Use Cases

Company

  • About
  • Pricing
  • Blog
  • Documentation
  • Safeguard Academy
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 Gold Open Source. All rights reserved.

Built with care bySafeguard
HomeMITRE ATT&CKT1047
MITRE ATT&CK Technique

T1047: Windows Management Instrumentation

Description

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.

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.

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).

**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.

Technique facts

IDT1047
TypeTechnique
TacticExecution
Sub-techniques0
Mitigations4

Platforms

Windows

Mitigations (4)

IDMitigation
  • M1026Privileged Account ManagementPrivileged Account Management focuses on implementing policies, controls, and tools to securely manage privileged accounts (e.g., SYSTEM, root, or administrative accounts). This includes restricting access, limiting the scope of permissions, monitoring privileged account usage, and ensuring accountability through logging and auditing.This mitigation can be implemented through the following measures: Account Permissions and Roles: - Implement RBAC and least privilege principles to allocate permissions securely. - Use tools like Active Directory Group Policies to enforce access restrictions. Credential Security: - Deploy password vaulting tools like CyberArk, HashiCorp Vault, or KeePass for secure storage and rotation of credentials. - Enforce password policies for complexity, uniqueness, and expiration using tools like Microsoft Group Policy Objects (GPO). Multi-Factor Authentication (MFA): - Enforce MFA for all privileged accounts using Duo Security, Okta, or Microsoft Azure AD MFA. Privileged Access Management (PAM): - Use PAM solutions like CyberArk, BeyondTrust, or Thycotic to manage, monitor, and audit privileged access. Auditing and Monitoring: - Integrate activity monitoring into your SIEM (e.g., Splunk or QRadar) to detect and alert on anomalous privileged account usage. Just-In-Time Access: - Deploy JIT solutions like Azure Privileged Identity Management (PIM) or configure ephemeral roles in AWS and GCP to grant time-limited elevated permissions. *Tools for Implementation* Privileged Access Management (PAM): - CyberArk, BeyondTrust, Thycotic, HashiCorp Vault. Credential Management: - Microsoft LAPS (Local Admin Password Solution), Password Safe, HashiCorp Vault, KeePass. Multi-Factor Authentication: - Duo Security, Okta, Microsoft Azure MFA, Google Authenticator. Linux Privilege Management: - sudo configuration, SELinux, AppArmor. Just-In-Time Access: - Azure Privileged Identity Management (PIM), AWS IAM Roles with session constraints, GCP Identity-Aware Proxy.
M1040
Behavior Prevention on EndpointBehavior Prevention on Endpoint refers to the use of technologies and strategies to detect and block potentially malicious activities by analyzing the behavior of processes, files, API calls, and other endpoint events. Rather than relying solely on known signatures, this approach leverages heuristics, machine learning, and real-time monitoring to identify anomalous patterns indicative of an attack. This mitigation can be implemented through the following measures: Suspicious Process Behavior: - Implementation: Use Endpoint Detection and Response (EDR) tools to monitor and block processes exhibiting unusual behavior, such as privilege escalation attempts. - Use Case: An attacker uses a known vulnerability to spawn a privileged process from a user-level application. The endpoint tool detects the abnormal parent-child process relationship and blocks the action. Unauthorized File Access: - Implementation: Leverage Data Loss Prevention (DLP) or endpoint tools to block processes attempting to access sensitive files without proper authorization. - Use Case: A process tries to read or modify a sensitive file located in a restricted directory, such as /etc/shadow on Linux or the SAM registry hive on Windows. The endpoint tool identifies this anomalous behavior and prevents it. Abnormal API Calls: - Implementation: Implement runtime analysis tools to monitor API calls and block those associated with malicious activities. - Use Case: A process dynamically injects itself into another process to hijack its execution. The endpoint detects the abnormal use of APIs like `OpenProcess` and `WriteProcessMemory` and terminates the offending process. Exploit Prevention: - Implementation: Use behavioral exploit prevention tools to detect and block exploits attempting to gain unauthorized access. - Use Case: A buffer overflow exploit is launched against a vulnerable application. The endpoint detects the anomalous memory write operation and halts the process.
  • M1018User Account ManagementUser Account Management involves implementing and enforcing policies for the lifecycle of user accounts, including creation, modification, and deactivation. Proper account management reduces the attack surface by limiting unauthorized access, managing account privileges, and ensuring accounts are used according to organizational policies. This mitigation can be implemented through the following measures: Enforcing the Principle of Least Privilege - Implementation: Assign users only the minimum permissions required to perform their job functions. Regularly audit accounts to ensure no excess permissions are granted. - Use Case: Reduces the risk of privilege escalation by ensuring accounts cannot perform unauthorized actions. Implementing Strong Password Policies - Implementation: Enforce password complexity requirements (e.g., length, character types). Require password expiration every 90 days and disallow password reuse. - Use Case: Prevents adversaries from gaining unauthorized access through password guessing or brute force attacks. Managing Dormant and Orphaned Accounts - Implementation: Implement automated workflows to disable accounts after a set period of inactivity (e.g., 30 days). Remove orphaned accounts (e.g., accounts without an assigned owner) during regular account audits. - Use Case: Eliminates dormant accounts that could be exploited by attackers. Account Lockout Policies - Implementation: Configure account lockout thresholds (e.g., lock accounts after five failed login attempts). Set lockout durations to a minimum of 15 minutes. - Use Case: Mitigates automated attack techniques that rely on repeated login attempts. Multi-Factor Authentication (MFA) for High-Risk Accounts - Implementation: Require MFA for all administrative accounts and high-risk users. Use MFA mechanisms like hardware tokens, authenticator apps, or biometrics. - Use Case: Prevents unauthorized access, even if credentials are stolen. Restricting Interactive Logins - Implementation: Restrict interactive logins for privileged accounts to specific secure systems or management consoles. Use group policies to enforce logon restrictions. - Use Case: Protects sensitive accounts from misuse or exploitation. *Tools for Implementation* Built-in Tools: - Microsoft Active Directory (AD): Centralized account management and RBAC enforcement. - Group Policy Object (GPO): Enforce password policies, logon restrictions, and account lockout policies. Identity and Access Management (IAM) Tools: - Okta: Centralized user provisioning, MFA, and SSO integration. - Microsoft Azure Active Directory: Provides advanced account lifecycle management, role-based access, and conditional access policies. Privileged Account Management (PAM): - CyberArk, BeyondTrust, Thycotic: Manage and monitor privileged account usage, enforce session recording, and JIT access.
  • M1038Execution PreventionPrevent the execution of unauthorized or malicious code on systems by implementing application control, script blocking, and other execution prevention mechanisms. This ensures that only trusted and authorized code is executed, reducing the risk of malware and unauthorized actions. This mitigation can be implemented through the following measures: Application Control: - Use Case: Use tools like AppLocker or Windows Defender Application Control (WDAC) to create whitelists of authorized applications and block unauthorized ones. On Linux, use tools like SELinux or AppArmor to define mandatory access control policies for application execution. - Implementation: Allow only digitally signed or pre-approved applications to execute on servers and endpoints. (e.g., `New-AppLockerPolicy -PolicyType Enforced -FilePath "C:\Policies\AppLocker.xml"`) Script Blocking: - Use Case: Use script control mechanisms to block unauthorized execution of scripts, such as PowerShell or JavaScript. Web Browsers: Use browser extensions or settings to block JavaScript execution from untrusted sources. - Implementation: Configure PowerShell to enforce Constrained Language Mode for non-administrator users. (e.g., `Set-ExecutionPolicy AllSigned`) Executable Blocking: - Use Case: Prevent execution of binaries from suspicious locations, such as `%TEMP%` or `%APPDATA%` directories. - Implementation: Block execution of `.exe`, `.bat`, or `.ps1` files from user-writable directories. Dynamic Analysis Prevention: - Use Case: Use behavior-based execution prevention tools to identify and block malicious activity in real time. - Implemenation: Employ EDR solutions that analyze runtime behavior and block suspicious code execution.
  • Used by groups (43)

    G0009Deep PandaG0016APT29G0019NaikonG0027Threat Group-3390G0030Lotus BlossomG0032Lazarus Group
    View all 43Show fewer
    G0034Sandworm TeamG0037FIN6G0038Stealth FalconG0045menuPassG0046FIN7G0047Gamaredon GroupG0049

    Software using this technique (94)

    S0062DustySkyMalwareS0089BlackEnergyMalwareS0151HALFBAKEDMalwareS0154Cobalt StrikeMalwareS0156KOMPROGOMalwareS0184POWRUNERMalware
    View all 94Show fewer
    S0194PowerSploitToolS0223POWERSTATSMalwareS0237GravityRATMalwareS0241RATANKBAMalwareS0250Koadic

    Reference

    T1047 on MITRE ATT&CK

    MITRE ATT&CK® is a registered trademark of The MITRE Corporation. © 2026 The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation.

    OilRig
    G0050APT32
    G0059Magic Hound
    G0061FIN8
    G0065Leviathan
    G0069MuddyWater
    G0093GALLIUM
    G0096APT41
    G0099APT-C-36
    G0102Wizard Spider
    G0108Blue Mockingbird
    G0112Windshift
    G0114Chimera
    G0119Indrik Spider
    G0129Mustang Panda
    G0143Aquatic Panda
    G1003Ember Bear
    G1006Earth Lusca
    G1016FIN13
    G1017Volt Typhoon
    G1018TA2541
    G1021Cinnamon Tempest
    G1022ToddyCat
    G1032INC Ransom
    G1043BlackByte
    G1044APT42
    G1047Velvet Ant
    G1051Medusa Group
    G1054MirrorFace
    G1055VOID MANTICORE
    G1059NIMBUS MANTICORE
    Tool
    S0251ZebrocyMalware
    S0256MosquitoMalware
    S0264OopsIEMalware
    S0265KazuarMalware
    S0267FELIXROOTMalware
    S0270RogueRobinMalware
    S0283jRATMalware
    S0331Agent TeslaMalware
    S0339MicropsiaMalware
    S0340OctopusMalware
    S0357ImpacketTool
    S0363EmpireTool
    S0365Olympic DestroyerMalware
    S0366WannaCryMalware
    S0367EmotetMalware
    S0368NotPetyaMalware
    S0373AstarothMalware
    S0375RemexiMalware
    S0376HOPLIGHTMalware
    S0378PoshC2Tool
    S0380StoneDrillMalware
    S0381FlawedAmmyyMalware
    S0386UrsnifMalware
    S0396EvilBunnyMalware
    S0449MazeMalware
    S0457NetwalkerMalware
    S0476ValakMalware
    S0483IcedIDMalware
    S0488CrackMapExecTool
    S0496REvilMalware
    S0532LuciferMalware
    S0534BazarMalware
    S0546SharpStageMalware
    S0553MoleNetMalware
    S0559SUNBURSTMalware
    S0568EVILNUMMalware
    S0589SibotMalware
    S0603StuxnetMalware
    S0605EKANSMalware
    S0616DEATHRANSOMMalware
    S0617HELLOKITTYMalware
    S0618FIVEHANDSMalware
    S0640AvaddonMalware
    S0650QakBotMalware
    S0654ProLockMalware
    S0663SysUpdateMalware
    S0673DarkWatchmanMalware
    S0674CharmPowerMalware
    S0688MeteorMalware
    S0692SILENTTRINITYTool
    S0698HermeticWizardMalware
    S1028Action RATMalware
    S1032PyDCryptMalware
    S1039BumblebeeMalware
    S1044FunnyDreamMalware
    S1063Brute Ratel C4Tool
    S1064SVCReadyMalware
    S1066DarkTortillaMalware
    S1068BlackCatMalware
    S1070Black BastaMalware
    S1081BADHATCHMalware
    S1085SardonicMalware
    S1086Snip3Malware
    S1111DarkGateMalware
    S1124SocGholishMalware
    S1129AkiraMalware
    S1130Raspberry RobinMalware
    S1139INC RansomwareMalware
    S1141LunarWebMalware
    S1152IMAPLoaderMalware
    S1155CovenantTool
    S1160LatrodectusMalware
    S1178ShrinkLockerMalware
    S1193TAMECATMalware
    S1199LockBit 2.0Malware
    S1228PUBLOADMalware
    S1239TONESHELLMalware
    S1242QilinMalware
    S9020LODEINFOMalware
    S9026ROAMINGHOUSEMalware
    S9031AshTagMalware
    S9035LAMEHUGMalware
    S9051The Gentlemen RansomwareMalware