PowerDuke
- Type
- Backdoor
- Capabilities
- PersistencePost exploitationDefense evasionReconnaissance
- Delivery
- Spearphishing
- Platforms
- Windows
PowerDuke is a Windows backdoor used by APT29, also known as The Dukes and Cozy Bear, a cyberespionage group attributed to Russia’s Foreign Intelligence Service. First observed in August 2016, it was deployed in spearphishing campaigns targeting think tanks and nongovernmental organizations, including campaigns following the 2016 U.S. presidential election. Delivery methods included malicious macro-enabled documents and password-protected compressed or encrypted files requiring user interaction.
PowerDuke provides remote system control, downloads additional payloads, and collects user and host information. Its discovery commands enumerate running processes, retrieve the current user’s name and security identifier, obtain domain and NetBIOS information, query system build time, current time and time zone, and retrieve text from the foreground window. It establishes persistence through Registry Run autostart mechanisms and conceals many backdoor payloads in NTFS alternate data streams. It also uses the legitimate Windows Rundll32 utility to load malicious code. A file-removal command overwrites a file with random data before deleting it, supporting artifact cleanup and defense evasion.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
This method of executing code is often used by APT29 and APT32, software like PowerDuke
Techniques & procedures
30 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
2 techniques
Initial Access
an advanced persistent threat (APT) group launched a series of coordinated and well-planned spear phishing campaigns... each of the e-mail messages from the August attacks contained a Microsoft Office Word (.doc) or Excel (.xls) attachment.
Three of the five attack waves contained links to download files from domains that the attackers appear to have control over.
Execution
6 techniques
Execution
Command and Scripting Interpreter (T1059): APT29 uses PowerShell and other scripting languages for executing commands.
This shortcut file contains PowerShell commands that conduct anti-VM checks, drop a backdoor, and launch a clean decoy document.
[PowerDuke](https://attack.mitre.org/software/S0139) runs <code>cmd.exe /c</code> and sends the output to its C2.(Citation: Volexity PowerDuke November 2016)
The attackers inserted macros into the documents designed to install a malware downloader on the system.
Sometimes a user's action may be required to open and Deobfuscate/Decode Files or Information for User Execution.
Inside of this password (8734) protected ZIP file is an executable named: RWP16-038_Norris.exe | Inside of this password protected ZIP file is a Microsoft shortcut file (.LNK)... This shortcut file contains PowerShell commands that conduct anti-VM checks, drop a backdoor, and launch a clean decoy document.
Persistence
3 techniques
Persistence
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
run start a process via CreateProcessW
[PowerDuke](https://attack.mitre.org/software/S0139) achieves persistence by using various Registry Run keys.(Citation: Volexity PowerDuke November 2016)
Privilege Escalation
2 techniques
Privilege Escalation
run start a process via CreateProcessW
[PowerDuke](https://attack.mitre.org/software/S0139) achieves persistence by using various Registry Run keys.(Citation: Volexity PowerDuke November 2016)
Stealth
7 techniques
Stealth
Adversaries may attempt to make an executable or file difficult to discover or analyze by encrypting, encoding, or otherwise obfuscating its contents on the system or in transit.
[PowerDuke](https://attack.mitre.org/software/S0139) uses steganography to hide backdoors in PNG files, which are also encrypted using the Tiny Encryption Algorithm (TEA).(Citation: Volexity PowerDuke November 2016)
[PowerDuke](https://attack.mitre.org/software/S0139) has a command to write random data across a file and delete it.(Citation: Volexity PowerDuke November 2016)
Sometimes a user's action may be required to open and Deobfuscate/Decode Files or Information for User Execution.
[PowerDuke](https://attack.mitre.org/software/S0139) uses rundll32.exe to load.(Citation: Volexity PowerDuke November 2016)
The Macros contain several anti-VM checks designed to avoid executing in virtualized environments.
[PowerDuke](https://attack.mitre.org/software/S0139) hides many of its backdoor payloads in an alternate data stream (ADS).(Citation: Volexity PowerDuke November 2016)
Defense Impairment
1 technique
Defense Impairment
Across the content, malware repeatedly 'adds Registry Run keys', 'creates Registry entries', 'modifies the Windows Registry', or 'overwrites registry keys' to maintain persistence.
Discovery
9 techniques
Discovery
[PowerDuke](https://attack.mitre.org/software/S0139) has a command to get text of the current foreground window.(Citation: Volexity PowerDuke November 2016)
[PowerDuke](https://attack.mitre.org/software/S0139) has a command to get the victim's domain and NetBIOS name.(Citation: Volexity PowerDuke November 2016)
[PowerDuke](https://attack.mitre.org/software/S0139) has commands to get the current user's name and SID.(Citation: Volexity PowerDuke November 2016)
[PowerDuke](https://attack.mitre.org/software/S0139) has a command to list the victim's processes.(Citation: Volexity PowerDuke November 2016)
[PowerDuke](https://attack.mitre.org/software/S0139) has commands to get information about the victim's name, build, version, serial number, and memory usage.(Citation: Volexity PowerDuke November 2016)
[PowerDuke](https://attack.mitre.org/software/S0139) has commands to get the current directory name as well as the size of a file. It also has commands to obtain information about logical drives, drive type, and free space.(Citation: Volexity PowerDuke November 2016)
[PowerDuke](https://attack.mitre.org/software/S0139) has commands to get the time the machine was built, the time, and the time zone.(Citation: Volexity PowerDuke November 2016)
domain get the computer’s domain via NetWkstaGetInfo
The Macros contain several anti-VM checks designed to avoid executing in virtualized environments.
Command and Control
2 techniques
Command and Control
Connects directly to 173.243.80.6:443 for command and control.
[PowerDuke](https://attack.mitre.org/software/S0139) has a command to download a file.(Citation: Volexity PowerDuke November 2016)
Exfiltration
1 technique
Exfiltration
fputp upload file
Impact
1 technique
Impact
[PowerDuke](https://attack.mitre.org/software/S0139) has a command to write random data across a file and delete it.(Citation: Volexity PowerDuke November 2016)
Observables
55 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.