PolyglotDuke
- Type
- Downloader
- Capabilities
- Defense evasion
- Platforms
- Windows
PolyglotDuke is a Windows downloader and first-stage implant used by APT29, also known as the Dukes or Cozy Bear, a cyberespionage group attributed to Russia’s Foreign Intelligence Service. It was identified in Operation Ghost, a long-running espionage campaign targeting diplomatic organizations, including foreign affairs ministries in at least three European countries and the Washington, D.C., embassy of a European Union country. The campaign used PolyglotDuke alongside RegDuke, MiniDuke, and FatDuke.
PolyglotDuke retrieves additional payloads from command-and-control servers and can load and execute code through the Windows LoadLibraryW and CreateProcess APIs. It obtains command-and-control addresses through legitimate services such as Twitter, Reddit, and Imgur acting as dead drop resolvers, and uses image steganography to conceal command-and-control information. It stores encrypted JSON configuration data in the Windows Registry and decrypts internal strings using a custom algorithm. These concealment mechanisms reduce the visibility of its configuration and command-and-control infrastructure.
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
16 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
1 technique
Execution
[PolyglotDuke](https://attack.mitre.org/software/S0518) can use <code>LoadLibraryW</code> and <code>CreateProcess</code> to load and execute code.(Citation: ESET Dukes October 2019)
Persistence
1 technique
Persistence
[PolyglotDuke](https://attack.mitre.org/software/S0518) can write encrypted JSON configuration files to the Registry.(Citation: ESET Dukes October 2019)
Stealth
5 techniques
Stealth
[PolyglotDuke](https://attack.mitre.org/software/S0518) can custom encrypt strings.(Citation: ESET Dukes October 2019)
[PolyglotDuke](https://attack.mitre.org/software/S0518) can use steganography to hide C2 information in images.(Citation: ESET Dukes October 2019)
[PolyglotDuke](https://attack.mitre.org/software/S0518) can store encrypted JSON configuration files in the Registry.(Citation: ESET Dukes October 2019)
[PolyglotDuke](https://attack.mitre.org/software/S0518) can use a custom algorithm to decrypt strings used by the malware.(Citation: ESET Dukes October 2019)
[PolyglotDuke](https://attack.mitre.org/software/S0518) can be executed using rundll32.exe.(Citation: ESET Dukes October 2019)
Defense Impairment
1 technique
Defense Impairment
[PolyglotDuke](https://attack.mitre.org/software/S0518) can write encrypted JSON configuration files to the Registry.(Citation: ESET Dukes October 2019)
Command and Control
7 techniques
Command and Control
Command and Control T1001 Data Obfuscation The Dukes use steganography to hide payloads and commands inside valid images.
Command and Control T1008 Fallback Channels The Dukes have multiple C&C servers in case one of them is down.
Command and Control T1071 Standard Application Layer Protocol The Dukes are using HTTP and HTTPS protocols to communicate with the C&C server.
[PolyglotDuke](https://attack.mitre.org/software/S0518) has has used HTTP GET requests in C2 communications.(Citation: ESET Dukes October 2019)
PolyglotDuke fetches public webpages (Twitter, Reddit, Imgur, etc.) to get encrypted strings leading to new C&C server. For RegDuke, they also use Dropbox as a C&C server.
[PolyglotDuke](https://attack.mitre.org/software/S0518) can use Twitter, Reddit, Imgur and other websites to get a C2 URL.(Citation: ESET Dukes October 2019)
[PolyglotDuke](https://attack.mitre.org/software/S0518) can retrieve payloads from the C2 server.(Citation: ESET Dukes October 2019)
Impact
1 technique
Impact
ComRAT has modified Registry values to store encrypted orchestrator code and payloads ... QakBot can modify the Registry to store its configuration information ... Volgmer modifies the Registry to store an encoded configuration file ...
Observables
1 indicator attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
21 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.