HomeCyber SecurityDanabot: Analyzing a fallen empire

Danabot: Analyzing a fallen empire


As introduced by the US Division of Justice – the FBI and US DoD’s Protection Felony Investigative Service (DCIS) have managed to disrupt the infrastructure of the infamous infostealer, Danabot. ESET is without doubt one of the many cybersecurity corporations to take part on this long-term endeavor, turning into concerned again in 2018. Our contribution included offering technical analyses of the malware and its backend infrastructure, in addition to figuring out Danabot’s C&C servers. The joint takedown effort additionally led to the identification of people chargeable for Danabot growth, gross sales, administration, and extra. ESET took half within the effort alongside with Amazon, CrowdStrike, Flashpoint, Google, Intel471, PayPal, Proofpoint, Staff Cymru, Zscaler, Germany’s Bundeskriminalamt, the Netherlands’ Nationwide Police, and the Australian Federal Police.

These regulation enforcement operations had been performed below Operation Endgame – an ongoing world initiative geared toward figuring out, dismantling, and prosecuting cybercriminal networks. Coordinated by Europol and Eurojust, the operation efficiently took down crucial infrastructure used to deploy ransomware by way of malicious software program.

Since Danabot has largely been disrupted, we’ll use this chance to share our insights into the workings of this malware-as-a-service (MaaS) operation, protecting the options used within the newest variations of the malware, the authors’ enterprise mannequin, and an summary of the toolset supplied to associates. Aside from exfiltrating delicate information, we’ve noticed that Danabot can also be used to ship additional malware – together with ransomware – to an already compromised system.

Key factors of the blogpost:

  • ESET Analysis has been monitoring Danabot’s exercise since 2018 as a part of a world effort that resulted in a serious disruption of the malware’s infrastructure.
  • Whereas primarily developed as an infostealer and banking trojan, Danabot additionally has been used to distribute extra malware, together with ransomware.
  • Danabot’s authors promote their toolset by way of underground boards and provide numerous rental choices to potential associates.
  • The everyday toolset offered by Danabot’s authors to their associates consists of an administration panel software, a backconnect device for real-time management of bots, and a proxy server software that relays the communication between the bots and the precise C&C server.
  • Associates can select from numerous choices to generate new Danabot builds, and it’s their accountability to distribute these builds by way of their very own campaigns.

Background

Danabot, which belongs to a bunch of infostealer and/or banking malware households coded within the Delphi programming language, gained prominence in 2018 by being utilized in a spam marketing campaign concentrating on Australian customers. Since then, Danabot has expanded to different markets by way of numerous campaigns, undergone a number of main updates of its internals and backend infrastructure, and skilled each peaks and downturns in recognition amongst cybercriminals.

All through our monitoring since 2018, ESET has tracked and analyzed a considerable variety of distinct samples and recognized greater than 1,000 distinctive C&C servers. Throughout that interval, ESET analyzed numerous Danabot campaigns all around the world, with Poland traditionally being one of the crucial focused international locations, as seen in Determine 1.

Figure 1. Worldwide Danabot detections as seen in ESET telemetry since 2018
Determine 1. Worldwide Danabot detections as seen in ESET telemetry since 2018

Along with typical cybercrime, Danabot has additionally been utilized in much less standard actions equivalent to using compromised machines for launching DDoS assaults. For instance, a DDoS assault in opposition to Ukraine’s Ministry of Protection was noticed by Zscaler quickly after the Russian invasion of Ukraine. A really comparable DDoS module to the one utilized in that assault was additionally utilized by a Danabot operator to focus on a Russian website devoted to Arduino growth. These actions had been in all probability motivated by the affiliate’s personal ambitions and political motivations.

Danabot group introduction

The authors of Danabot function as a single group, providing their device for lease to potential associates, who subsequently make use of it for their very own malicious functions by establishing and managing their very own botnets. The authors have even arrange a help web page on the Tor community with detailed details about the capabilities of their device, as depicted in Determine 2.

Figure 2. Danabot’s features as promoted on its support site
Determine 2. Danabot’s options as promoted on its help website

To amass new clients, Danabot is often promoted in underground boards by the person JimmBee, who acts as one of many fundamental builders and directors of the Danabot malware and its toolset. One other noteworthy individual from the Danabot group is a person identified in underground boards as Onix, who coadministers the Danabot infrastructure and can also be chargeable for gross sales operations.

Characteristic overview

Danabot’s authors have developed an enormous number of options to help clients with their malevolent targets. Probably the most distinguished options supplied by Danabot embody:

  • the power to steal numerous information from browsers, mail shoppers, FTP shoppers, and different well-liked software program,
  • keylogging and display recording,
  • real-time distant management of the victims’ techniques,
  • a FileGrabber command, generally used for stealing cryptocurrency wallets,
  • help for Zeus-like webinjects and type grabbing, and
  • arbitrary payload add and execution.

Apart from using its stealing capabilities, we’ve noticed a wide range of payloads being distributed by way of Danabot over time, equivalent to:

  • SystemBC,
  • Rescoms,
  • Ursnif,
  • Smokeloader,
  • Zloader,
  • Lumma Stealer,
  • RecordBreaker,
  • Latrodectus, and
  • NetSupportManager distant administration device.

Moreover, we’ve encountered cases of Danabot getting used to obtain ransomware onto already compromised techniques. We will identify LockBit, Buran, Disaster, and a NonRansomware variant being pushed on a number of events.

Danabot’s means to obtain and execute arbitrary payloads just isn’t the one characteristic used to distribute extra malware. Danabot was additionally noticed getting used as a device at hand off management of the botnet to a ransomware operator, as reported by Microsoft Menace Intelligence in late 2023.

Distribution strategies

All through its existence, in keeping with our monitoring, Danabot has been a device of alternative for a lot of cybercriminals and every of them has used totally different technique of distribution. Danabot’s builders even partnered with the authors of a number of malware cryptors and loaders, and supplied particular pricing for a distribution bundle to their clients, serving to them with the method. Matanbuchus is an instance of such a promoted loader.

Over time, we’ve seen all types of distribution strategies being utilized by Danabot associates, together with:

  • quite a few variants of electronic mail spam campaigns,
  • different malware equivalent to Smokeloader, DarkGate, and Matanbuchus, and
  • misuse of Google Advertisements.

Lately, out of all distribution mechanisms we noticed, the misuse of Google Advertisements to show seemingly related, however truly malicious, web sites among the many sponsored hyperlinks in Google search outcomes stands out as one of the crucial distinguished strategies to lure victims into downloading Danabot. The preferred ploy is packing the malware with official software program and providing such a package deal by way of bogus software program websites (Determine 3) or web sites falsely promising customers to assist them discover unclaimed funds (Determine 4).

Figure 3. Fake Advanced IP Scanner website leading to Danabot compromise
Determine 3. Pretend Superior IP Scanner web site resulting in Danabot compromise
Figure 4. Fake unclaimed money search site
Determine 4. Pretend unclaimed cash search website

The newest addition to those social engineering methods: misleading web sites providing options for fabricated laptop points, whose solely goal is to lure the sufferer into execution of a malicious command secretly inserted into the person’s clipboard. An instance of such an internet site resulting in downloading of Danabot in Determine 5.

Figure 5. Website luring the victim into execution of malicious command
Determine 5. Web site luring the sufferer into execution of malicious command saved within the person’s clipboard

Infrastructure

Overview

Initially, Danabot’s authors relied on a single centralized server to handle all bots’ connections and all associates’ information, equivalent to command configurations and information collected from their victims. This centralized method definitely had a destructive impression on that server’s efficiency and was extra liable to doable disruptions. That is in all probability one of many the explanation why we noticed a shift within the enterprise and infrastructure fashions in newer variations. Along with renting locations on their very own infrastructure, Danabot’s authors now provide set up of a personal server, as marketed on their help website, to be operated by the affiliate (Determine 6).

Figure 6. Basic offering on Danabot’s support site
Determine 6. Primary providing on Danabot’s help website

The rental choices, as supplied by way of an underground discussion board in July 2023, are illustrated in Determine 7.

Figure 7. Price list for potential Danabot customers
Determine 7. Worth record for potential Danabot clients

It’s price mentioning that, based mostly on our monitoring, the rental of an account on the shared infrastructure managed by Danabot’s authors appears to be the preferred alternative for menace actors.

When associates buy a rental of one of many choices, they’re given instruments and credentials to connect with the C&C server and handle their very own botnet by way of an administration panel. Within the following sections, we cowl the totally different elements of the everyday toolset.

C&C server software

The standalone server software comes within the type of a DLL file and acts because the mind of the botnet. It’s put in on a Home windows server and makes use of a MySQL database for information administration. Bots connect with this server to transmit stolen information and obtain instructions issued by associates. Associates connect with this server through the administration panel software to handle their botnet. This C&C server software is on the market for native set up just for associates paying for the upper tier private server choice. Associates who select to function their botnets on Danabot’s infrastructure as a substitute are given connection particulars to the C&C server already arrange there, and don’t must host their very own C&C server.

Administration panel

The administration panel, displayed in Determine 8, is within the type of a GUI software, and represents an important device from the botnet operator’s perspective. It permits the affiliate to connect with the C&C server and carry out duties equivalent to:

  • handle bots and retrieve statistics of the botnet,
  • subject numerous instructions and superior configuration for bots,
  • conveniently view and export information gathered from victims,
  • handle the notification system and arrange alerts on occasions triggered by bots,
  • generate new Danabot builds, and
  • arrange a sequence of proxy servers for communication between the bots and the C&C server.

We offer extra particulars and examples of essentially the most attention-grabbing capabilities of the administration panel within the upcoming sections.

Figure 8. Administration panel overview
Determine 8. Administration panel overview

Backconnect device

One other necessary device for administration is the standalone utility that permits botnet operators to remotely connect with and management their on-line bots. Out there actions for distant management, as seen within the device, are illustrated in Determine 9. In all probability essentially the most attention-grabbing options for cybercriminals are the power to see and management the sufferer’s laptop through a distant desktop connection and to carry out reconnaissance of the file system utilizing the built-in file supervisor.

Figure 9. Features of the backconnect utility
Determine 9. Options of the backconnect utility

Proxy server software

Bots usually don’t connect with the primary C&C server instantly, however somewhat use a sequence of proxies to relay the site visitors and conceal the placement of the true backend C&C. To facilitate this technique, Danabot’s authors present a proxy server software, obtainable for each Home windows and Linux techniques. Determine 10 reveals the utilization message from the Linux model of this easy proxy server software. Apart from utilizing proxies, bots could be configured to speak with the server by way of the Tor community in case all proxy chains turn into unavailable. An optionally available downloadable Tor module is then used for such communication.

Figure 10. Usage message from the Linux version of the proxy server application
Determine 10. Utilization message from the Linux model of the proxy server software

Associates additionally often make the most of this proxy server software as an middleman between their administration panel and the C&C server to additional improve their anonymity. When every thing is put collectively, the everyday infrastructure might look as proven in Determine 11.

Figure 11. Example of typical Danabot infrastructure
Determine 11. Instance of typical Danabot infrastructure

Internals

Communication

Danabot employs its personal proprietary C&C communication protocol with its information encrypted utilizing AES-256. Generated AES session keys, distinctive for each message, are then additional encrypted utilizing RSA key pairs, securing the entire communication. It’s price mentioning that there have been a number of updates to the communication protocol and the packet construction over time.

The present packet information construction of the everyday command, earlier than it’s encrypted, seems to be as proven in Desk 1 . We want to level out that many of the fields are solely used throughout the first request within the communication loop to authenticate the bot, and are left unset within the subsequent instructions.

Desk 1. Packet construction utilized in Danabot communication

Offset Dimension (bytes) Description
0x00 0x04 Dimension of the packet.
0x04 0x08 Random worth.
0x0C 0x08 Sum of the 2 values above.
0x14 0x04 Account ID used to distinguish associates within the earlier variations. This area accommodates a random worth in newer variations.
0x18 0x04 Command.
0x1C 0x04 Subcommand.
0x20 0x04 Danabot model.
0x24 0x04 IsUserAdmin flag.
0x28 0x04 Course of integrity stage.
0x2C 0x04 OS structure x86/x64.
0x30 0x04 Encoded Home windows model.
0x34 0x04 Time zone bias as a DWORD worth.
0x38 0x04 Unknown bytes; set to 0 within the present variations.
0x3C 0x04 Tor energetic flag.
0x40 0x04 Unknown bytes; set to 0 within the present variations.
0x44 0x18 Padding null bytes.
0x5C 0x21 Bot ID Delphi string (a string preceded by a size byte).
0x7D 0x21 Construct ID hardcoded Delphi string.
0x9E 0x21 MD5 checksum of concatenated Account ID, Bot ID, and Construct ID strings.
0xBF 0x29 Command dependent string utilized in some instructions complemented by its CRC-32 and a string dimension.
0xE8 0xDF Padding null bytes.

The latest variations of Danabot additionally add, to additional disguise its communication, a random quantity of seemingly junk bytes to the top of the packet construction earlier than it’s encrypted. It’s price mentioning that Danabot authors don’t all the time comply with the perfect coding practices and the addition of this random variety of bytes was completed by resizing of the unique reminiscence buffer allotted to carry the packet construction as a substitute of clearing or initializing this newly acquired house. This led to unintentionally together with surrounding reminiscence areas of the method into the information packet being despatched from the bot to the server and, extra importantly, vice versa. These appended reminiscence areas captured and decrypted from the server-to-bot communication generally contained attention-grabbing data from the server’s course of reminiscence and gave researchers invaluable perception into Danabot’s infrastructure and its customers. This bug was launched in 2022 and was fastened within the newest variations of Danabot in February 2025.

Additional particulars concerning the communication and its encryption had been already lined by numerous researchers, and we received’t dive into it extra on this blogpost.

Builds

Botnet operators have a number of choices for producing new Danabot builds to distribute to their victims. To the perfect of our information, whereas the operator might configure the construct course of and desired output by way of the administration panel software, the construct course of itself is carried out on the Danabot authors’ servers. After producing the chosen construct, the operator receives obtain hyperlinks for the builds and turns into chargeable for their distribution in a marketing campaign.

Determine 12 reveals an instance of a construct configuration window and obtainable choices, such because the C&C server record to be configured within the ultimate binary file, numerous obfuscation strategies, construct bitness, and so on.

Figure 12. Build options menu from the Administration panel application
Determine 12. Construct choices menu from the Administration panel software

Danabot at the moment affords 4 fundamental payload varieties, described in Desk 2.

Desk 2. Variants of accessible builds

Payload kind Description
Foremost.dll Generates a sole fundamental part within the type of a DLL to be distributed and loaded through rundll32.exe or regsvr32.exe.
Foremost.exe Generates a loader within the type of an EXE that will comprise the abovementioned fundamental part DLL or obtain it from one of many configured C&C servers.
Drop.exe Generates a dropper with an embedded fundamental part DLL to be dropped to disk.
Drop.msi Generates an MSI package deal with an embedded fundamental part DLL to be loaded.

Instructions configuration

A botnet operator can subject a sophisticated configuration to the bots by way of the administration panel. Bots are then ordered to carry out numerous instructions in keeping with the directions obtained. Determine 13 reveals an instance of such a command configuration.

Figure 13. Dynamic configuration options for the FileGrabber command
Determine 13. Dynamic configuration choices for the FileGrabber command

Desk 3 lists the obtainable instructions that may be issued. Every activity has its personal particular choices to additional accommodate the operator’s wants.

Desk 3. Out there instructions

Command Description
Video File a video of the chosen software or web site.
KeyLogger Seize keystrokes from the chosen software.
PostFilter Seize data from sure web sites’ varieties.
WebInject Enable Zeus-like webinjects on sure loaded web sites to change their perform.
Redirect Enable redirection of sure URLs.
Block Block entry to configured URLs.
Screens Take screenshots of a particular software or web site at sure intervals.
Alerts Enable notifications to be despatched to a particular Jabber account on a configurable occasion.
Uninstall Uninstall the bot from the system.
UAC Present help for privilege escalation.
FileGrabber Enable sure recordsdata to be uploaded to the C&C if discovered on the sufferer’s onerous disk.
TorActive Allow loading of a Tor module and permit connection through the Tor community if all C&C servers are inaccessible.
Stealer Allow/disable the stealer performance and set its replace interval.
TimeOut Set interval for the bot to contact its C&C server.
Set up Configure the bot’s set up on the system and its persistence.
Exclusion Set exclusions in Home windows Defender or Home windows Firewall for a particular course of.
ConfigSave Save the bot’s configuration earlier than its termination.
HideProcess Disguise the bot’s course of.
CoreProtect Enable the primary part to be injected into an extra course of.

Further payloads

Danabot additionally offers the aptitude to obtain and execute additional executable recordsdata. This characteristic permits the botnet operator to configure the set up of extra malware to the compromised system, as talked about earlier. Determine 14 reveals obtainable choices for this characteristic within the administration panel software.

Figure 14. Options for an additional payload configuration
Determine 14. Choices for an extra payload configuration

Conclusion

Danabot is a large-scale MaaS operation distributing a wide selection of instruments for the malware associates’ disposal. Our investigation of this infostealer, which began in 2018, resulted within the evaluation of Danabot’s toolset offered on this blogpost. The efforts of the authorities and a number of other cybersecurity corporations, ESET included, led to the disruption of the malware’s infrastructure. It stays to be seen whether or not Danabot can get better from the takedown. The blow will, nevertheless, absolutely be felt, since regulation enforcement managed to unmask a number of people concerned within the malware’s operations.

For any inquiries about our analysis revealed on WeLiveSecurity, please contact us at [email protected]
ESET Analysis affords personal APT intelligence studies and information feeds. For any inquiries about this service, go to the ESET Menace Intelligence web page.

IoCs

Recordsdata

SHA-1 Filename Detection Description
6D361CD9ADBF1630AF7B323584168E0CBD9315FB N/A Win32/Spy.Danabot.X Loader of the primary part (model 4006).
A7475753CB865AEC8DC4A6CEA27F2AA594EE25E8 N/A Win32/Spy.Danabot.O Foremost part (model 4006).
787EAB54714F76099EC350E029154ADFD5EDF079 N/A Win32/Spy.Danabot.AC Dropper part (model 3272).
17B78AD12B1AE1C037C5D39DBE7AA0E7DE4EC809 1c0e7316.exe MSIL/Kryptik.AMBV Lockbit payload (variant Black) distributed by Danabot.

Community

IP Area Internet hosting supplier First seen Particulars
212.18.104[.]245 N/A GLOBAL CONNECTIVITY SOLUTIONS LLP 2025‑03‑25 Danabot proxy C&C server
212.18.104[.]246 N/A GLOBAL CONNECTIVITY SOLUTIONS LLP 2025‑03‑25 Danabot proxy C&C server
34.16.215[.]110 N/A Google LLC 2024‑10‑10 Danabot proxy C&C server
34.65.116[.]208 N/A Google LLC 2024‑10‑10 Danabot proxy C&C server
34.168.100[.]35 N/A Google LLC 2024‑11‑27 Danabot proxy C&C server
N/A advanced-ip-scanned.com N/A 2023‑08‑21 Misleading web site utilized in Danabot distribution
N/A gfind.org N/A 2022‑06‑15 Misleading web site utilized in Danabot distribution
N/A mic-tests.com N/A 2024‑12‑07 Misleading web site utilized in Danabot distribution

MITRE ATT&CK methods

This desk was constructed utilizing model 17 of the MITRE ATT&CK framework.

Tactic ID Identify Description
Useful resource Improvement T1583.003 Purchase Infrastructure: Digital Non-public Server Danabot operators use VPS of their infrastructure.
T1583.004 Purchase Infrastructure: Server Danabot operators purchase a number of servers for C&C communication.
T1587.001 Develop Capabilities: Malware Danabot authors have developed customized malware instruments.
T1608.001 Stage Capabilities: Add Malware Danabot operators add different malware to their infrastructure for additional spreading.
T1583.008 Purchase Infrastructure: Malvertising Malvertising is a well-liked methodology of Danabot distribution.
Preliminary Entry T1566.001 Phishing: Spearphishing Attachment Phishing is a typical methodology used for distribution.
Execution T1106 Native API Dynamic Home windows API decision is utilized by Danabot.
T1204.001 Person Execution: Malicious Hyperlink Luring customers into downloading Danabot through a malicious hyperlink is a well-liked distribution alternative.
T1204.002 Person Execution: Malicious File Danabot is usually distributed as a file to be opened by the person.
Privilege Escalation T1548.002 Abuse Elevation Management Mechanism: Bypass Person Account Management A number of strategies are utilized by Danabot to bypass Person Account Management.
Protection Evasion T1027.007 Obfuscated Recordsdata or Data: Dynamic API Decision Danabot makes use of hashing for dynamic API decision.
T1055.001 Course of Injection: Dynamic-link Library Injection Danabot has the power to inject itself into different processes.
T1218.007 System Binary Proxy Execution: Msiexec An MSI package deal is without doubt one of the doable distribution strategies.
T1218.010 System Binary Proxy Execution: Regsvr32 regsvr32.exe can be utilized to execute the primary Danabot module.
T1218.011 System Binary Proxy Execution: Rundll32 rundll32.exe can be utilized to execute the primary Danabot module.
T1656 Impersonation Danabot makes use of impersonation in its phishing campaigns.
Credential Entry T1555.003 Credentials from Password Shops: Credentials from Net Browsers Danabot has the power to steal numerous information from browsers.
T1539 Steal Net Session Cookie Danabot can steal cookies.
Discovery T1010 Utility Window Discovery Danabot could be configured to steal information based mostly on the energetic window.
T1217 Browser Data Discovery Knowledge, equivalent to searching historical past, could be gathered by Danabot.
T1083 File and Listing Discovery Danabot could be configured to collect sure recordsdata from the compromised file system.
T1057 Course of Discovery Danabot can enumerate working processes on a compromised system.
Lateral Motion T1021.001 Distant Companies: Distant Desktop Protocol Danabot operators can use the distant desktop module to entry compromised techniques.
T1021.005 Distant Companies: VNC VNC is without doubt one of the supported options for controlling a compromised system.
Assortment T1056.001 Enter Seize: Keylogging Keylogging is certainly one of Danabot’s options.
T1560.002 Archive Collected Knowledge: Archive through Library Danabot can use zlib and ZIP to compress collected information.
T1560.003 Archive Collected Knowledge: Archive through Customized Technique Collected information is additional encrypted utilizing AES and RSA cyphers.
T1119 Automated Assortment Danabot could be configured to gather numerous information routinely.
T1185 Browser Session Hijacking Danabot can carry out AitB assaults through webinjects.
T1115 Clipboard Knowledge Danabot can acquire data saved within the clipboard.
T1005 Knowledge from Native System Danabot could be configured to seek for delicate information on a neighborhood file system.
T1113 Display screen Seize Danabot could be configured to seize screenshots of purposes and internet pages.
T1125 Video Seize Danabot can seize video from the compromised system.
Command and Management T1132.001 Knowledge Encoding: Normal Encoding Site visitors between bot and C&C server is compressed utilizing ZIP and zlib.
T1001.001 Knowledge Obfuscation: Junk Knowledge Junk bytes are added to information to be despatched between bot and C&C server.
T1573.001 Encrypted Channel: Symmetric Cryptography AES-256 is used as one of many encryption strategies of C&C communication.
T1573.002 Encrypted Channel: Uneven Cryptography RSA is used as one of many encryption strategies of C&C communication.
T1008 Fallback Channels The Tor module can be utilized as a fallback channel in case all common C&C servers should not responding.
T1095 Non-Utility Layer Protocol Danabot makes use of its personal customized TCP protocol for communication.
T1571 Non-Normal Port Danabot can talk on any port.
T1090.003 Proxy: Multi-hop Proxy A sequence of proxy servers is used to cover the placement of the true C&C server.
T1219 Distant Entry Software program Danabot has help for distant entry.
Exfiltration T1020 Automated Exfiltration Danabot could be configured to collect numerous information from a compromised system.
T1030 Knowledge Switch Dimension Limits Danabot could be configured to keep away from sending massive recordsdata from a compromised system.
T1041 Exfiltration Over C2 Channel Gathered information is exfiltrated by way of commonplace C&C communication.
Affect T1498 Community Denial of Service Danabot employed a module to carry out numerous DDoS assaults.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments