DarkGate Malware Analysis Exposes Decryption Weaknesses and AutoIt Delivery Chain
Malware Intelligence · 3 sources · Updated 4mo ago · First seen Jan 18, 2024

Researchers published new technical findings on DarkGate, showing that defenders can recover key operational data from recent versions of the Windows malware. Kroll reported that DarkGate 5.2.3 uses a flawed method to randomize its custom Base64 alphabet: the shuffle seed is derived from the sum of bytes in a 32-byte hardware ID, reducing the search space to just 1,248 possible alphabets. That weakness allows analysts to brute-force and decode on-disk configuration files and keylogger output without first obtaining the victim-specific hardware ID, exposing details such as domains, ports, versioning, campaign settings, and captured user input. Separate analysis from DCSO CyTec showed that newer DarkGate keylogger logs can also be decrypted by reconstructing the malware’s bot ID from host attributes and the internal_mutex value, then deriving the AES/Rijndael key despite DarkGate’s custom Delphi cryptographic implementation.
A separate campaign analysis traced how DarkGate was delivered through a malicious PDF lure that led victims to download build-x64.msi, an installer signed with a valid certificate. The MSI executed a custom action DLL and abused DLL sideloading via a legitimate iTunesHelper.exe binary to load a malicious CoreFoundation.dll, which decrypted data from sqlite3.dll using the XOR key VzXLKSZE, extracted AutoIt components into c:\temp, and launched a shellcode loader followed by a Delphi-based in-memory loader. The final payload was identified as DarkGate 6.1.9, with extracted configuration including C2 domain prodomainnameeforappru.com, port 443, campaign ID admin888, persistence enabled, and multiple anti-VM and environment checks; the delivery domain selectwendormo9tres[.]com had already been sinkholed at the time of analysis.
Why it matters
Impact assessment
DarkGate remains a high-risk Windows malware threat affecting enterprises and end users exposed to phishing-delivered MSI installers and follow-on in-memory loaders. Impact includes credential theft, keylogging, secondary payload delivery, and persistence, with potential for account compromise, data loss, and broader intrusion enablement.
This story is operationally significant because it combines active campaign tradecraft with new defender advantages: researchers can now recover DarkGate configuration and keylogger data from recent versions without full victim-specific context. Exposure appears targeted through malicious PDF lures rather than indiscriminate worm-like spread, but the delivery chain uses signed installers, legitimate binaries, DLL sideloading, and anti-VM checks, increasing evasion and investigation difficulty.
Supporting details
- Affected platforms: Windows systems.
- Affected populations: organizations and users exposed to phishing/PDF lure workflows and MSI execution.
- Malware capabilities described:
- Backdoor functionality
- Browser information theft
- Keylogging
- Additional payload delivery
- Persistence
- Known campaign activity:
- Avast Threat Labs observed a DarkGate campaign in Q1 2024.
- Delivery used malicious PDF lures and MSI payloads.
- Severity drivers:
- Captured keylogger data may include passwords, emails, and other sensitive typed input.
- Signed MSI and legitimate Apple binary sideloading can reduce user suspicion and bypass weak trust controls.
- In-memory execution and layered loaders complicate containment and forensic recovery.
- Scope:
- Targeted campaign delivery via lure documents and redirect infrastructure.
- Broad defensive relevance because DarkGate config and log decryption weaknesses apply to analyzed versions 5.2.3 and newer keylogger implementations discussed by researchers.
- Exploitation in the wild:
- Yes. The story references observed DarkGate delivery campaigns and extracted live campaign configuration/C2 details.


