Modify Registry is a technique where an attacker changes settings in the Windows Registry. The Registry holds configuration for the system and its software. Changes can help an attacker stay on a machine, hide data or weaken security settings. MITRE ATT&CK tracks it as T1112 under Defense Impairment and Persistence.
Last updated 8 October 2026
Profile MapTechnique
Reconnaissance
Resource Development
Initial Access
Execution
Persistence
Privilege Escalation
Stealth
Defense Impairment
Credential Access
Discovery
Lateral Movement
Collection
Command and Control
Exfiltration
Impact
MITRE IDT1112ATT&CK technique
Detection4ways to spot itAbnormal Registry changes · Changes followed by action
Defences1ways to stop itRestrict Registry permissions
How it works
The Windows Registry stores settings for the operating system and applications. Attackers touch it as part of many other techniques. What they can change depends on the account they hold, because some keys need administrator rights.
MITRE says the built-in Reg utility can be used for local or remote changes. Other tools, such as remote access tools, can also work with the Registry through the Windows API.
The Registry can hold hidden configuration data or payloads. It can also be changed to weaken defenses, for example by enabling macros in Microsoft Office, allowing privilege escalation without a prompt, or making the system keep plaintext credentials in memory.
On a remote system, Registry changes can help run files as part of lateral movement. This needs the remote Registry service to be running and often valid accounts. Attackers may also hide keys so that common tools ignore them.
A real example
MITRE ATT&CK lists these procedure examples:
AADInternals can modify registry keys when setting up a new pass-through authentication agent.
Agent Tesla can gain persistence by modifying registry key entries.
Amadey has overwritten registry keys for persistence.
Avaddon modifies several registry keys for persistence and to bypass user account control.
BlackCat can add a registry key on compromised networks to maintain persistence.
How to detect
Abnormal Registry changes
Look for Registry changes made through the command line, PowerShell, WMI or direct API calls, especially to keys tied to persistence, privilege escalation or defense evasion.
Changes followed by action
Watch for a Registry change that is followed by a service restart or a new process starting.
Sensitive settings
Pay attention to edits of startup-related keys and of security settings such as DLL search behavior.
Detection strategy MITRE lists
DET0280, Behavior-Based Registry Modification Detection on Windows.
How to defend
Restrict Registry permissions
Set proper permissions on Registry hives so users cannot change keys for system components, which can lead to privilege escalation.
Questions
What is the Modify Registry technique?
It is a technique where an attacker changes settings in the Windows Registry, which stores configuration for the operating system and applications. MITRE ATT&CK tracks it as T1112.
Why do attackers change the Windows Registry?
The Registry can hold hidden configuration data or payloads. It can also be changed to weaken defenses, for example by enabling macros in Microsoft Office, allowing privilege escalation without a prompt, or keeping plaintext credentials in memory.
How can defenders detect Registry tampering?
Look for Registry changes made through the command line, PowerShell, WMI or direct API calls, especially to keys tied to persistence or defense evasion. A change followed by a service restart or new process is also worth watching.
How do you defend against malicious Registry changes?
Set proper permissions on Registry hives so users cannot change keys for system components, which can lead to privilege escalation. Narrow permissions limit what an attacker can alter.
SlippyNunchucks hijacked Sogou Input Method requests to deliver DarkVigil (FDMTP) from 1 July 2026. ESET's attack chain, CVE-2026-120422 and what to hunt.
Technical analysis of the BugSleep backdoor attributed to MuddyWater: file transfer, reverse shell commands, scheduled task persistence and detections.
Attributed by Ukraine's Security Service (SSU, 2021) to Russia's FSB, and described by MITRE ATT&CK as a suspected Russian group that has targeted Ukrainian organizations since at least 2013. It mostly gets in through emails with Office files or archives, and a Ukrainian court convicted two members in absentia on 8 October 2024.