MITRE ATT&CK Technique
T1012Query Registry
- First Reported
- Aug 17, 2021
- Latest Reported
- Nov 16, 2026
Official Description
Adversaries may interact with the Windows Registry to gather information about the system, configuration, and installed software.
The Registry contains a significant amount of information about the operating system, configuration, software, and security.(Citation: Wikipedia Windows Registry) Information can easily be queried using the [Reg](https://attack.mitre.org/software/S0075) utility, though other means to access the Registry exist. Some of the information may help adversaries to further their operation within a network. Adversaries may use the information from [Query Registry](https://attack.mitre.org/techniques/T1012) during automated discovery to shape follow-on behaviors, including whether or not the adversary fully infects the target and/or attempts specific actions.
The Registry contains a significant amount of information about the operating system, configuration, software, and security.(Citation: Wikipedia Windows Registry) Information can easily be queried using the [Reg](https://attack.mitre.org/software/S0075) utility, though other means to access the Registry exist. Some of the information may help adversaries to further their operation within a network. Adversaries may use the information from [Query Registry](https://attack.mitre.org/techniques/T1012) during automated discovery to shape follow-on behaviors, including whether or not the adversary fully infects the target and/or attempts specific actions.
- Tactics
- Discovery
- Platforms
- Windows
- MITRE Version
- 1.3
- Last Modified
- May 12, 2026
Reported Context (32)
- The batch file used reg query to retrieve the Windows product name and build. Huntress Details CVE-2026-84869 Exploitation of MSP ScreenConnect Technicians
- The actor attempted to extract registry data. Chinese-Speaking Hackers Exploit WordPress and Other Flaws to Steal Government Data
- The built-in Get-ItemProperty handler reads and enumerates registry values. Zscaler Details SloppyRAT, a New Malware Linked to Ransomware Attacks
- The scripts performed host reconnaissance and enumerated installed security products. ConnectWise Patches Critical ScreenConnect File-Transfer Vulnerability After Worm-Like Campaign
- The payload queried the registry for host reconnaissance. Tampered Exodus Installer Hides Modular RAT with Remote Access and Credential-Theft Features
CVE (19)
Malware (42)
People (14)
Threat Actors (12)
MITRE ATT&CK (149)
Vendors (22)
Products (114)
Tools (40)
Industries (30)
Countries (19)
Note: Related entities, including threat actors, malware, CVEs, MITRE ATT&CK techniques, vendors, products, tools, countries, and industries, are shown when they appear in the same reporting. Their presence does not necessarily mean they were targeted, compromised, vulnerable, responsible for the activity, or directly involved in the incident.
