XDealer, also known as DinodasRAT, is a backdoor family with Windows and Linux variants used in cyberespionage operations. Earth Krahang adopted it in 2023, replacing RESHELL in observed attacks. Its development predates that transition: identified samples contain version markers dating from April 2021 through September 2023. XDealer provides backdoor access, and Windows delivery packages have included an installer, a backdoor DLL, a separate stealer DLL, and a shortcut launcher. The stealer module captures screenshots, collects clipboard contents, and records keystrokes. Some DLL loaders were signed with valid code-signing certificates issued to Chinese companies.
Earth Krahang deploys XDealer through spear-phishing and web shells on compromised public-facing servers. One observed delivery method used a compromised government mailbox to distribute a malicious RAR archive containing a shortcut that installed XDealer while displaying a government-themed decoy document. XDealer deployments form part of espionage operations focused primarily on government organizations, particularly in Southeast Asia, with activity also affecting other regions and sectors, including telecommunications. Credential dumping, email theft, network scanning, and privilege escalation in these operations also involve separate tools and should not be assumed to be native XDealer capabilities.
2 CVEs Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Since 2023, the Earth Krahang shifted to another backdoor (named XDealer by TeamT5 and DinodasRAT by ESET).
Since 2023, the Earth Krahang shifted to another backdoor (named XDealer by TeamT5 and DinodasRAT by ESET).
19 distinct techniques documented for this family, organized by ATT&CK tactic.
Earth Krahang abuses the trust between governments to conduct their attacks. We found that the group frequently uses compromised government webservers to host their backdoors and send download links to other government entities via spear phishing emails.
In one case, the actor used a compromised mailbox from a government entity to send a malicious attachment to 796 email addresses belonging to the same entity.
Cobalt Strike and two custom backdoors, RESHELL and XDealer, were employed during the initial stage of attack.
It’s likely that their certificates were stolen and abused to sign malicious executables.
Listed in the Earth Krahang resource-development TTP table.
Since the malicious link uses a legitimate government domain of the compromised server, it will appear less suspicious to targets and may even bypass some domain blacklists.
Earth Krahang exploited Oracle Web Applications Desktop Integrator CVE-2022-21587 and OpenFire CVE-2023-32315.
The malicious attachment was a RAR archive containing an LNK file that deployed the Xdealer malware
the group frequently uses compromised government webservers to host their backdoors and send download links to other government entities via spear phishing emails.
Maintaining backdoor persistence with task scheduling
the emails are intended trick their targets into opening attachments or embedded URL links that ultimately lead to the execution of a prepared backdoor file on the victim’s machine.
The LNK file executes the installer, which then installs the XDealer DLL and the stealer module DLL on the victim’s machine.
Maintaining backdoor persistence with task scheduling
these backdoors were delivered either through spear-phishing emails or deployed via web shell on compromised servers
The persistence process is quite extensive and covers multiple Ubuntu versions and RedHat distributions... achieves persistence by one of the following methods: Method 1 (Ubuntu) – rc.local enabled via systemd... Method 2 (Red Hat) – init.d script... Method 3 (Red Hat) – rc.local
Maintaining backdoor persistence with task scheduling
The persistence process is quite extensive and covers multiple Ubuntu versions and RedHat distributions... achieves persistence by one of the following methods: Method 1 (Ubuntu) – rc.local enabled via systemd... Method 2 (Red Hat) – init.d script... Method 3 (Red Hat) – rc.local
Listed under defense evasion in the Earth Krahang TTP table.
the actor used a compromised mailbox from a government entity to send a malicious attachment to 796 email addresses belonging to the same entity
Listed under collection in the Earth Krahang TTP table.
The advisory identifies XDealer, RESHELL, and Cobalt Strike command-and-control servers and domains.
The campaign installed backdoors including Cobalt Strike, RESHELL, and XDealer on compromised servers.
56 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.