DarkRAT
- Type
- Loader
- Capabilities
- PersistencePost exploitationDefense evasionReconnaissanceProcess injectionDDOSExfiltration
- Platforms
- Windows
DarkRAT is a Windows malware family associated with two distinct but related usages of the name in criminal tooling. One usage refers to a native C++ HTTP-based loader and botnet framework marketed on underground forums as DarkRATv2. In that form, it operates less like a simple loader and more like a modular bot controller, supporting centralized tasking, plugin-based extension, persistence, download-and-execute behavior, software and geographic targeting, and optional modules including stealer, hidden virtual network computing, cryptocurrency mining, and distributed denial-of-service functionality. Reported implementation details include Windows persistence, watchdog-based relaunch, antivirus discovery through WMI, mutex-based single-instance control, process hollowing, and multiple anti-debugging and error-suppression measures. Analysis has also linked this branch to code and design reuse from AbSent-Loader, LiteHTTP, and hCrypt, and source leakage or resale likely enabled downstream reuse and repackaging by other actors.
A second usage of the name appears in the AsyncRAT lineage, where DarkRAT is identified as a ShaShenRAT fork descending from DCRAT, itself a major descendant of AsyncRAT. In that context, DarkRAT is part of a broader ecosystem of Windows remote access malware whose operators and builders often inherit recognizable certificate metadata patterns from parent projects. This lineage places DarkRAT alongside other DCRAT-derived families such as VenomRAT, EchoRAT, Gh0stRAT, BitRAT, CyberSpike, and Dumpling RAT.
Across the available reporting, DarkRAT is therefore best understood as Windows malware used for remote control and post-compromise operations, with capabilities spanning persistence, defense evasion, process injection via hollowing, reconnaissance of local security products, and extensible follow-on activity through plugins or secondary modules. The name has been used both for a native HTTP botnet/loader framework and for a DCRAT-lineage RAT variant, so attribution and classification should be made carefully in context.
Techniques & procedures
15 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
3 techniques
Resource Development
T1583.003 — Acquire Infrastructure: Virtual Private Server (Resource Development)
T1587.001 — Develop Capabilities: Malware (Resource Development)
T1588.001 — Obtain Capabilities: Malware (Resource Development)
Persistence
1 technique
Persistence
API: RegSetValueExA Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\WinSystem32 Value: C:\Users\user\AppData\Roaming\Microsoft\Windows\00jXHoowyD.exe ... void addstartup () ... RegSetValueEx ( newValue , "System32" ... ) | Examples Command: cmd.exe /k start %APPDATA%\Microsoft\Windows\00jXHoowyD.vbs ... The vbs file provides periodic checks to ascertain whether the process is running in the background or not.
Privilege Escalation
2 techniques
Privilege Escalation
CreateProcessA - dwCreationFlags 4 - CREATE_SUSPENDED ... NtUnmapViewofSection ... VirtualAllocEx WriteProcessMemory SetThreadContext ResumeThread ... This method is known as process hollowing.
API: RegSetValueExA Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run\WinSystem32 Value: C:\Users\user\AppData\Roaming\Microsoft\Windows\00jXHoowyD.exe ... void addstartup () ... RegSetValueEx ( newValue , "System32" ... ) | Examples Command: cmd.exe /k start %APPDATA%\Microsoft\Windows\00jXHoowyD.vbs ... The vbs file provides periodic checks to ascertain whether the process is running in the background or not.
Stealth
6 techniques
Stealth
Tries to be shady by calling itself WinSystem32. The Run key points to the following location on the file system... Installed hidden on the FileSystem \AppData\Roaming\Microsoft\Windows\00jXHoowyD.exe or \AppData\Roaming\WinBootSystem\WinBootSystem.exe
CreateProcessA - dwCreationFlags 4 - CREATE_SUSPENDED ... NtUnmapViewofSection ... VirtualAllocEx WriteProcessMemory SetThreadContext ResumeThread ... This method is known as process hollowing.
cmd.exe /C ping 127.0.0.1 -n 1 -w 3000 > Nul & Del /f /q "%s" ... void uninstall () ... "PING.EXE -n 5 127.0.0.1 && del " + ExePath ()
API: CreateMutexA Value: Local\3mCUq1z ... If the mutex already exists, it won't re-infect the system.
wmi with WQL Select * From AntiVirusProduct via root\SecurityCenter2 ... object -> Get ( L"displayName" ... ) ... C2 beacon parameters ... installedRam ... netFramework2 ... netFramework4 ... cpuName ... operingsystem
Anti-debugging techniques IsDebuggerPresent API call CheckRemoteDebuggerPresent API call ... The PEB contains a BeingDebugged field ... rdtsc ... QueryPerformanceCounter API call GetTickCount API call
Discovery
3 techniques
Discovery
wmi with WQL Select * From AntiVirusProduct via root\SecurityCenter2 ... object -> Get ( L"displayName" ... ) ... C2 beacon parameters ... installedRam ... netFramework2 ... netFramework4 ... cpuName ... operingsystem
Task Software Targeting System (for .net software) ... wmi with WQL Select * From AntiVirusProduct via root\SecurityCenter2
Anti-debugging techniques IsDebuggerPresent API call CheckRemoteDebuggerPresent API call ... The PEB contains a BeingDebugged field ... rdtsc ... QueryPerformanceCounter API call GetTickCount API call
Command and Control
4 techniques
Command and Control
Threat hunters often focus on spotting command-and-control (C2) servers, open directories typically identified by the phrase “Index of” and phishing components.
Darkrat is designed as a HTTP loader... This HTTP loader - in reality - acts more like a bot controller... #2 Bot check-in request POST /request HTTP/1.1 ... request=... Initially the C2 server address is hidden... There's a pastebin link in plain text embedded in the sample... the plain-text is the C2 address
Task Tracking ... Download & Execute Update Uninstall ... 5.2.77.232/forum/files/taskhost.exe ... darktools.me/demon.exe ... advcash.network/bin.exe
Overview AsyncRAT is a family of open-source Windows remote access trojans (RATs): an original codebase that has been forked repeatedly into dozens of descendant malware families.
Observables
104 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
4 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.