MITRE ATT&CKtechnique
T1112 Modify Registry
- Domain
- enterprise
- Tactics
- Defense Impairment, Persistence
- Platforms
- Windows
- Version
- 3.0
- Created
- 2017-05-31
Description
Adversaries may interact with the Windows Registry as part of a variety of other techniques to aid in defense evasion, persistence, and execution.
Access to specific areas of the Registry depends on account permissions, with some keys requiring administrator-level access. The built-in Windows command-line utility Reg may be used for local or remote Registry modification. Other tools, such as remote access tools, may also contain functionality to interact with the Registry through the Windows API.
The Registry may be modified in order to hide configuration information or malicious payloads via Obfuscated Files or Information. The Registry may also be modified to impair defenses, such as by enabling macros for all Microsoft Office products, allowing privilege escalation without alerting the user, increasing the maximum number of allowed outbound requests, and/or modifying systems to store plaintext credentials in memory.
The Registry of a remote system may be modified to aid in execution of files as part of lateral movement. It requires the remote Registry service to be running on the target system. Often Valid Accounts are required, along with access to the remote system's SMB/Windows Admin Shares for RPC communication.
Finally, Registry modifications may also include actions to hide keys, such as prepending key names with a null character, which will cause an error and/or be ignored when read via Reg or other utilities using the Win32 API. Adversaries may abuse these pseudo-hidden keys to conceal payloads/commands used to maintain persistence.
Related
Referenced by MITRE ATT&CK · mitigates (1)
- M1024 Restrict Registry Permissions mitigation
Referenced by MITRE ATT&CK · uses (175)
- S9051 The Gentlemen Ransomware software (malware)
- S9050 Vidar software (malware)
- S9032 MuddyViper software (malware)
- S9023 HiddenFace software (malware)
- S9025 NOOPLDR software (malware)
- S1247 Embargo software (malware)
- C0058 SharePoint ToolShell Exploitation campaign
- G1051 Medusa Group group
- S1242 Qilin software (malware)
- S1230 HIUPAN software (malware)
- S1226 BOOKWORM software (malware)
- S1202 LockBit 3.0 software (malware)
- S1201 TRANSLATEXT software (malware)
- S1199 LockBit 2.0 software (malware)
- G1044 APT42 group
- S1190 Kapeka software (malware)
- S1180 BlackByte Ransomware software (malware)
- S1181 BlackByte 2.0 Ransomware software (malware)
- G1043 BlackByte group
- S1178 ShrinkLocker software (malware)
- S1149 CHIMNEYSWEEP software (malware)
- G1031 Saint Bear group
- S1132 IPsec Helper software (malware)
- S1131 NPPSPY software (tool)
- S1099 Samurai software (malware)
- C0028 2015 Ukraine Electric Power Attack campaign
- S1090 NightClub software (malware)
- G1017 Volt Typhoon group
- S1070 Black Basta software (malware)
- S1068 BlackCat software (malware)
Referenced by CAPEC · att&ck technique (1)
- CAPEC-203 Manipulate Registry Information attack pattern
References
- https://www.cisa.gov/news-events/alerts/2018/03/15/russian-government-cyber-activity-targeting-energy-and-other-critical-infrastructure-sectors CISA Russian Gov Critical Infra 2018
- https://www.cisa.gov/news-events/cybersecurity-advisories/aa23-075a CISA LockBit 2023
- https://arxiv.org/pdf/2102.04796 Avaddon Ransomware 2021
- https://www.microsoft.com/en-us/security/blog/2022/06/13/the-many-lives-of-blackcat-ransomware/ Microsoft BlackCat Jun 2022
- https://technet.microsoft.com/en-us/library/cc732643.aspx Microsoft Reg
- https://technet.microsoft.com/en-us/library/cc754820.aspx Microsoft Remote
- https://posts.specterops.io/hiding-registry-keys-with-psreflect-b18ec5ac8353 SpectorOps Hiding Reg Jul 2017
- https://docs.microsoft.com/sysinternals/downloads/reghide Microsoft Reghide NOV 2006
- https://blog.trendmicro.com/trendlabs-security-intelligence/poweliks-malware-hides-in-windows-registry/ TrendMicro POWELIKS AUG 2014
- https://unit42.paloaltonetworks.com/new-babyshark-malware-targets-u-s-national-security-think-tanks/ Unit42 BabyShark Feb 2019