FatDuke
- Type
- Backdoor
- Capabilities
- PersistencePost exploitationDefense evasionReconnaissance
- Platforms
- Windows
FatDuke is a Windows backdoor used by the Dukes, also known as APT29 and Cozy Bear, in the Operation Ghost espionage campaign. It served as the third-stage implant in a multistage platform that also included PolyglotDuke, RegDuke, and MiniDuke. Operation Ghost targeted diplomatic organizations, including ministries of foreign affairs in several European countries and the Washington, DC embassy of a European Union country.
FatDuke provides extensive post-compromise functionality and flexible configuration. It can execute PowerShell scripts, enumerate running processes, identify the compromised computer’s MAC address, and copy local files and directories. It establishes persistence through Windows Registry autorun entries. Its command-and-control communications use AES encryption, support internal proxying, and employ multiple servers per targeted organization for redundancy. It can retrieve the default browser’s user-agent string and reuse it to make malicious traffic resemble the legitimate user’s browsing activity.
FatDuke incorporates substantial obfuscation using opaque predicates and has been frequently recompiled to evade detection. It also supports secure deletion of its own DLL to remove forensic artifacts. The Dukes compartmentalized Operation Ghost infrastructure by avoiding reuse of command-and-control infrastructure across different victim organizations.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
(Citation: ESET Dukes October 2019)(Citation: Secureworks IRON HEMLOCK Profile)
Techniques & procedures
35 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
For the SolarWinds Compromise, APT29 used numerous pieces of malware that were likely developed for or by the group, including SUNBURST, SUNSPOT, Raindrop, and TEARDROP.
Execution
5 techniques
Execution
Persistence T1053 Scheduled Task The Dukes use Scheduled Task to launch malware at startup.
MITRE ATT&CK Mappings: APT29 Execution T1059: Command and Scripting Interpreter .001: PowerShell .003: Windows Command Shell .005: Visual Basic .006: Python .009: Cloud API
[FatDuke](https://attack.mitre.org/software/S0512) has the ability to execute PowerShell scripts.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) can call <code>ShellExecuteW</code> to open the default browser on the URL localhost.(Citation: ESET Dukes October 2019)
Execution T1129 Execution through Module Load Some of their malware load DLL using LoadLibrary Windows API.
Persistence
2 techniques
Persistence
Persistence T1053 Scheduled Task The Dukes use Scheduled Task to launch malware at startup.
[FatDuke](https://attack.mitre.org/software/S0512) has used <code>HKLM\SOFTWARE\Microsoft\CurrentVersion\Run</code> to establish persistence.(Citation: ESET Dukes October 2019)
Privilege Escalation
2 techniques
Privilege Escalation
Persistence T1053 Scheduled Task The Dukes use Scheduled Task to launch malware at startup.
[FatDuke](https://attack.mitre.org/software/S0512) has used <code>HKLM\SOFTWARE\Microsoft\CurrentVersion\Run</code> to establish persistence.(Citation: ESET Dukes October 2019)
Stealth
9 techniques
Stealth
[FatDuke](https://attack.mitre.org/software/S0512) can use base64 encoding, string stacking, and opaque predicates for obfuscation.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) has been regularly repacked by its operators to create large binaries and evade detection.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) has been packed with junk code and strings.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) has attempted to mimic a compromised user's traffic by using the same user agent as the installed browser.(Citation: ESET Dukes October 2019)
MITRE ATT&CK Mappings: APT29 Defense Evasion T1070: Indicator Removal .001: Clear Windows Event Logs .004: File Deletion .006: Timestomp .008: Clear Mailbox Data
[FatDuke](https://attack.mitre.org/software/S0512) can secure delete its DLL.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) can decrypt AES encrypted C2 communications.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) can execute via rundll32.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) can turn itself on or off at random intervals.(Citation: ESET Dukes October 2019)
Discovery
9 techniques
Discovery
[FatDuke](https://attack.mitre.org/software/S0512) can get user agent strings for the default browser from <code>HKCU\Software\Classes\http\shell\open\command</code>.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) can identify the MAC address on the target computer.(Citation: ESET Dukes October 2019)
"REvil can identify the username, machine name..."; "FatDuke can collect the user name, Windows version..."
Discovery T1049 System Network Connections Discovery The Dukes can execute commands like net use to gather information on network connections.
[FatDuke](https://attack.mitre.org/software/S0512) can list running processes on the localhost.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) can collect the user name, Windows version, computer name, and available space on discs from a compromised host.(Citation: ESET Dukes October 2019)
[FatDuke](https://attack.mitre.org/software/S0512) can enumerate directories on target machines.(Citation: ESET Dukes October 2019)
Discovery T1135 Network Share Discovery The Dukes can list network shares.
[FatDuke](https://attack.mitre.org/software/S0512) can turn itself on or off at random intervals.(Citation: ESET Dukes October 2019)
Collection
3 techniques
Collection
[FatDuke](https://attack.mitre.org/software/S0512) can copy files and directories from a compromised host.(Citation: ESET Dukes October 2019)
Collection T1025 Data from Removable Media The Dukes can collect files on removable drives.
Collection T1039 Data from Network Shared Drive The Dukes can collect files on shared drives.
Command and Control
7 techniques
Command and Control
[FatDuke](https://attack.mitre.org/software/S0512) has used several C2 servers per targeted organization.(Citation: ESET Dukes October 2019)
Command and Control T1071 Standard Application Layer Protocol The Dukes are using HTTP and HTTPS protocols to communicate with the C&C server.
[FatDuke](https://attack.mitre.org/software/S0512) can be controlled via a custom C2 protocol over HTTP.(Citation: ESET Dukes October 2019)
Command and Control T1090 Connection Proxy The Dukes can communicate to the C&C server via proxy. They also use named pipes as proxies when a machine is isolated within a network and does not have direct access to the internet.
[FatDuke](https://attack.mitre.org/software/S0512) can used pipes to connect machines with restricted internet access to remote machines via other infected hosts.(Citation: ESET Dukes October 2019)
The content is a catalog of malware and threat groups that encrypt command-and-control communications using algorithms such as DES, AES, RC4, XOR, Blowfish, RSA, Camellia, RC2, RC6, and custom ciphers.
[FatDuke](https://attack.mitre.org/software/S0512) can AES encrypt C2 communications.(Citation: ESET Dukes October 2019)
Exfiltration
1 technique
Exfiltration
Exfiltration T1041 Exfiltration Over Command and Control Channel The Dukes use the C&C channel to exfiltrate stolen data.
Recent activity
45 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.