DarkNimbus, also known as DarkNights, is a cross-platform surveillance backdoor with Android and Windows variants. Its Android codebase has been under development since at least 2018. It is used by Earth Minotaur in long-term surveillance campaigns primarily targeting Tibetan and Uyghur communities, and has also been deployed by the China-aligned threat group TheWizards.
Earth Minotaur distributes DarkNimbus through the MOONSHINE exploit kit using socially engineered links sent through instant messaging applications. Observed Android infections exploit vulnerable Chromium-based components in WeChat and replace its XWalk browser core with a trojanized version that launches the backdoor. The delivery chain can present a fake browser-engine update that instead installs an older, vulnerable engine. The trojanized core includes integrity-monitoring logic that restores its malicious replacement. DarkNimbus has also been distributed through the DKnife and Spellbinder adversary-in-the-middle frameworks by hijacking software downloads and Android application updates. Windows deployment chains have used DLL side-loading alongside ShadowPad.
Android DarkNimbus uses XMPP through the Smack library for command-and-control communications and a separate HTTPS service for file transfers. It collects device and application information, location data, contacts, SMS messages, call histories, Wi-Fi information, browser bookmarks, clipboard contents, files, and application databases. It supports call and scheduled audio recording, photography, screenshots, file archiving, downloads, shell-command execution, and self-uninstallation. Standalone Android variants abuse Accessibility Service to capture conversations from multiple messaging applications, while the MOONSHINE-delivered variant focuses on WeChat. The Windows variant, written in C++, supports host and application discovery, file and browsing-history theft, screenshots, keylogging, clipboard collection, saved-browser-credential theft, shell-command execution, and self-uninstallation.
9 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.
We were also able to find a Windows version of DarkNimbus, proving that it’s a cross-platform backdoor.
TheWizard also used the DarkNimbus backdoor which was developed by the Earth Minotaur threat actor.
24 distinct techniques documented for this family, organized by ATT&CK tactic.
The malicious links led victims to MOONSHINE exploit kit servers, which install backdoors on the victims’ devices.
“DKnife hijacks software downloads and Android app updates to spread ShadowPad and DarkNimbus backdoors.”
DKnife hijacks software downloads and Android app updates... It redirects update requests to a local malicious server and replaces legitimate downloads with malware.
Earth Minotaur sends carefully crafted messages via instant messaging apps to entice victims to click an embedded malicious link. They disguise themselves as different characters on chats to increase the success of their social engineering attacks.
cmd_10051 Executes shell command
cmd_20004 Execute a shell command
MOONSHINE uses multiple Chromium exploits to attack instant messaging apps on Android... This gives attackers a great opportunity to exploit these vulnerabilities and install their backdoors.
TosBtKbd.exe - a legitimate executable signed by Toshiba vulnerable to DLL side-loading; TosBtKbd.dll - a Shadowpad sample side-loaded by TosBtKbd.exe; TosBtKbdLayer.dll - a DarkNimbus sample loaded by TosBtKbd.dll
It delivers and interacts with the ShadowPad and DarkNimbus backdoors by hijacking binary downloads and Android application updates.
For the Android variants, the backdoor attempts to contact a Baidu URL "http[:]//fanyi.baidu[.]com/query_config_dk" to retrieve its C2 information. This URL does not return any response from Baidu itself; rather, it serves as a recognizable trigger for DKnife, which intercepts the request and injects the C2 response.
For the Android variants, the backdoor attempts to contact a Baidu URL "http[:]//fanyi.baidu[.]com/query_config_dk" to retrieve its C2 information. This URL does not return any response from Baidu itself; rather, it serves as a recognizable trigger for DKnife, which intercepts the request and injects the C2 response.
TosBtKbd.exe - a legitimate executable signed by Toshiba vulnerable to DLL side-loading; TosBtKbd.dll - a Shadowpad sample side-loaded by TosBtKbd.exe; TosBtKbdLayer.dll - a DarkNimbus sample loaded by TosBtKbd.dll
It delivers and interacts with the ShadowPad and DarkNimbus backdoors by hijacking binary downloads and Android application updates.
cmd_10026 Collect keystrokes
cmd_10052 Collect browser saved credentials
Cisco Talos uncovered “DKnife,” a fully featured gateway-monitoring and adversary-in-the-middle (AitM) framework comprising seven Linux-based implants that perform deep-packet inspection, manipulate traffic, and deliver malware via routers and edge devices.
cmd_10001 Collect mobile device information... / cmd_10001 Collect host information: OS, computername, username, cpu, memory size...
cmd_10011 Collect directory information... cmd_10012 Collect directory information from a specified folder... / cmd_10011 Collect list of files and directories
cmd_10002 Collect installed APPs information... / cmd_10002 Collect list of installed applications by parsing registry key 'SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall'
The backdoor steals personal information including the contact list, phone call records, SMS, clipboard content, browser bookmarks, and conversations from multiple instant messaging apps.
cmd_10026 Collect keystrokes
It also supports call recording, taking photos, screenshotting...
cmd_10024 Collect clipboard data ... / cmd_10050 Collect clipboard data
It also supports call recording...
cmd_10006 Take a picture from front-facing camara
Cisco Talos uncovered “DKnife,” a fully featured gateway-monitoring and adversary-in-the-middle (AitM) framework comprising seven Linux-based implants that perform deep-packet inspection, manipulate traffic, and deliver malware via routers and edge devices.
DarkNimbus uses the XMPP protocol to communicate with a C&C server... In addition, it communicates to another server via HTTPS; this server is used mainly for file transfers.
Downloads the trojanized XWalk APK from the remote server... / Downloading the “libwcdb.so” file from a remote server for the backdoor to use
For the Android variants, the backdoor attempts to contact a Baidu URL "http[:]//fanyi.baidu[.]com/query_config_dk" to retrieve its C2 information. This URL does not return any response from Baidu itself; rather, it serves as a recognizable trigger for DKnife, which intercepts the request and injects the C2 response.
dknife.bin – DPI & attack engine... runs attacks such as DNS hijacking, binary and APK download hijacking, and user activity monitoring.
14 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
16 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.