Skip to main content
Mallory
← Back to News
loader-delivery-mechanismremote-access-implantcommand-and-control-methodpersistence-method

DarkGate Malware Analysis Exposes Decryption Weaknesses and AutoIt Delivery Chain

Malware Intelligence · 3 sources · Updated 4mo ago · First seen Jan 18, 2024

DarkGate Malware Analysis Exposes Decryption Weaknesses and AutoIt Delivery Chain

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.
Hunt this familyPull IOCs and campaign context straight into your stack.
Get the IOCs
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

4 events · Sep 19, 2023 – Jan 18, 2024
  1. Jan 18, 20243y ago

    Kroll reveals brute-force weakness in DarkGate 5.2.3 encodings

    Kroll analyzed DarkGate version 5.2.3 and found that its shuffled custom base64 alphabet is seeded from the sum of bytes in a 32-byte hardware ID, reducing the search space to 1,248 possible alphabets. Kroll showed this makes it practical to brute force and decode stored configuration files and keylogger output without first recovering the victim-specific hardware ID.

    Brute Forcing DARKGATE Encodings | Cyber Risk | Kroll
  2. 2024

    Analysis identifies final payload as DarkGate 6.1.9

    Analysis of the Q1 2024 campaign determined that the final in-memory payload was DarkGate version 6.1.9. Extracted configuration included the C2 domain prodomainnameeforappru.com on port 443 and showed persistence and environment-checking behavior.

    [QuickNote] DarkGate - Make AutoIt Great Again | 0day in {REA_TEAM}
  3. 2024

    Avast observes Q1 2024 DarkGate PDF-to-MSI campaign

    Avast Threat Labs observed a DarkGate campaign in the first quarter of 2024 that used malicious PDF lures to redirect victims to selectwendormo9tres[.]com and download build-x64.msi. Executing the MSI led to infection through a multi-stage chain involving a signed installer, DLL sideloading via Apple iTunesHelper.exe, AutoIt components, and in-memory loaders.

    [QuickNote] DarkGate - Make AutoIt Great Again | 0day in {REA_TEAM}
  4. Sep 19, 20233y ago

    DCSO analyzes DarkGate's new keylog encryption scheme

    DCSO CyTec published an analysis of newer DarkGate versions that derive keylog encryption keys from a victim-specific bot ID and the internal_mutex value, rather than using a fixed key. The researchers also released tooling in Windows, Python, and Delphi to recover the bot ID, derive the key, and decrypt DarkGate keylog files.

    #ShortAndMalicious - DarkGate. Dissecting DarkGate’s new key log… | by DCSO CyTec Blog | Medium
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Malware

1 linked

Observables

3 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?Pull the IOCs, campaigns, and victimology behind this family, ready to push into your SIEM and EDR.
Hunt This Malware
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.