Danabot
Overview
Trojan:Win32/Danabot is a highly sophisticated, massively prevalent banking trojan and Initial Access Broker (IAB) framework written entirely in Delphi. First discovered in 2018, Danabot operates on a modular Architecture-as-a-Service model, allowing various cybercriminal syndicates to purchase access to the botnet and customize it for web injects (banking fraud), credential theft, or deploying secondary payloads like ransomware.
Understanding Danabot
To the victim, a Danabot infection is silent until their bank accounts are drained or ransomware encrypts the network. For a security analyst, Danabot is a formidable, multi-layered threat. It is distinguished by its use of the Delphi programming language (which many modern security tools struggle to analyze as effectively as C++) and its highly modular structure. The initial infection is just a 'loader'; the actual malicious capabilities are downloaded as heavily encrypted plugins on the fly.
Execution and Delphi Modularity
Danabot is primarily distributed via massive malspam campaigns (often using weaponized Office macros or fake invoices) (`T1566.001`). Upon execution, the loader establishes persistence (`T1547.001`) and contacts its C2 infrastructure using an encrypted, custom binary protocol over TCP port 443. It then downloads specialized plugins: a VNC module for remote control (`T1021.001`), a Sniffer module to intercept web traffic (`T1056.004`), and a WebInject module (`T1111`) that modifies banking websites in real-time to steal 2FA tokens and passwords. Danabot frequently utilizes complex Process Hollowing (`T1055.012`) to hide these modules inside legitimate Windows processes.
Indicators of Compromise & Impact
The impact ranges from severe financial fraud to total enterprise compromise (if used to drop ransomware). EDR platforms must look for anomalous child processes (Process Hollowing) and the presence of unrecognized Delphi-compiled binaries in `%AppData%`. Network analysts should hunt for the distinctive, custom binary protocol over port 443 (which is not standard TLS/SSL, despite the port) communicating with known Danabot infrastructure.
MITRE ATT&CK Techniques
Observed techniques used by this family, mapped to the MITRE ATT&CK framework:
| Technique | Name | Tactic |
|---|---|---|
T1055.012 | Process Injection: Process Hollowing | Defense Evasion |
T1111 | Two-Factor Authentication Interception | Credential Access |
T1056.004 | Input Capture: Credential API Hooking | Credential Access |
T1021.001 | Remote Services: Remote Desktop Protocol | Lateral Movement |
T1105 | Ingress Tool Transfer | Command and Control |
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.004: Monitor for unauthorized keylogging, screen capturing, or web browser API hooking. Deploy EDR to detect API hooking.
- T1105: Implement network intrusion detection systems (NIDS) and host-based firewalls to block unauthorized inbound or outbound file transfers.
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_DANABOT {
meta:
description = "Detects Danabot (ransomware)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "danabot" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Danabot Activity
id: 0e3263ebcdc7611ae808f82e58353ac5
status: experimental
description: Detects generic indicators of the danabot malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*danabot*"
condition: selection
level: mediumContainment & Response Steps
Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.
- Instantly isolate the endpoint from the network to halt active financial fraud (WebInjects) and prevent the threat actor from pivoting to other machines.
- Capture a full forensic memory image of the machine to extract the decrypted Delphi plugins and the custom C2 communication keys.
- Assume all credentials entered on the machine (especially banking and corporate VPN credentials) are compromised; initiate immediate password resets.
- Audit network logs for non-TLS traffic operating over TCP port 443 to identify the Danabot C2 infrastructure.
What to Avoid
Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.
- Do not leave the machine online while investigating; the attacker has active VNC access and can manually trigger ransomware deployment.
- Avoid relying solely on static analysis of the initial loader on disk; the true threat lies in the encrypted plugins downloaded into memory.
References & External Analysis
- Search "danabot" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Danabot Ransomware from Windows?
Manual removal of Danabot is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Danabot a virus or a Ransomware?
Danabot is classified as a Ransomware. Unlike traditional viruses that infect files, modern malware like Danabot typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Danabot infection?
Symptoms of Danabot can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Related Families (Category: ransomware)
Explore other malware families in the same category:
Protect Your Network Against Ransomwares
Want to prevent Danabot and similar threats from compromising your organization? Read our comprehensive defensive guide: Ransomware Protection Guide.
Machine-readable
Get this profile as JSON: https://jordan123234-malware-families-explorer.static.hf.space/api/danabot.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, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.