Article
BugSleep Backdoor Technical Analysis
Technical analysis of the BugSleep backdoor attributed to MuddyWater: file transfer, reverse shell commands, scheduled task persistence and detections.
Quick links
Press Enter to search, Esc to close
Attack technique
Modify Registry is a technique where an attacker changes settings in the Windows Registry.
In short
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.
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.
MITRE ATT&CK lists these procedure examples:
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.
Watch for a Registry change that is followed by a service restart or a new process starting.
Pay attention to edits of startup-related keys and of security settings such as DLL search behavior.
DET0280, Behavior-Based Registry Modification Detection on Windows.
Set proper permissions on Registry hives so users cannot change keys for system components, which can lead to privilege escalation.
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.
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.
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.
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.
Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.