Darkgate
Overview
DarkGate is a sophisticated, modular Malware-as-a-Service (MaaS) threat that functions as a loader, Remote Access Trojan (RAT), and info-stealer. Written in Delphi, it is infamous for its complex infection chains which often involve malicious MSI installers, AutoIt scripts, and LNK files.
What is DarkGate?
Following the takedown of the Qakbot botnet in 2023, DarkGate surged in popularity among cybercriminals looking for a reliable initial access payload. It is heavily obfuscated and includes built-in features for credential theft, keylogging, cryptocurrency mining, and remote desktop control via hVNC.
Infection Vectors & Threat Hunting
DarkGate is primarily distributed via highly targeted phishing emails containing malicious attachments (like PDFs with embedded links) or Microsoft Teams messages. The infection chain frequently uses living-off-the-land binaries (LOLBins) like curl.exe to download an AutoIt script, which then decodes and executes the DarkGate payload in memory. Threat hunters should monitor for unusual executions of AutoIt3.exe and unexpected network connections to dynamic DNS providers.
Known aliases
Threat reports may refer to this family under multiple names:
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_DARKGATE {
meta:
description = "Detects Darkgate (loader)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "darkgate" ascii wide nocase
$s2 = "meh_crypter" ascii wide nocase
$s3 = "dark_gate" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Darkgate Activity
id: 5e3f56b5f6a0042895cf200b1bebc397
status: experimental
description: Detects generic indicators of the darkgate malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*darkgate*"
- "*meh_crypter*"
- "*dark_gate*"
condition: selection
level: mediumContainment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Block indicators of compromise associated with the DarkGate C2 infrastructure.
- Isolate infected hosts immediately as DarkGate enables full remote interactive control (hVNC).
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Avoid relying solely on static file scanning, as DarkGate payloads are often heavily obfuscated and executed strictly in memory.
References & External Analysis
- Search "darkgate" on VirusTotal (External Analysis)
Frequently Asked Questions
What replaced Qakbot?
DarkGate and Pikabot are considered the primary successors used by initial access brokers after Qakbot's takedown.
How is DarkGate distributed?
Primarily through phishing emails and malicious Microsoft Teams messages containing MSI or LNK files.
Related Families (Category: loader)
Explore other malware families in the same category:
Machine-readable
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/darkgate.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Replit, StackBlitz, CodeSandbox, and CodePen.