Skip to main content
Mallory
Malware1 associated CVE

Chaos RAT

Tracked since Nov 25, 2025 · Updated 29 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns1Associated
Actors0Associated
ATT&CK17Techniques
IOCs29Tracked
Type
RAT
Capabilities
ExfiltrationPersistencePost exploitationDefense evasionReconnaissance
Delivery
PhishingLure
Platforms
WindowsLinux

Chaos RAT, also known as the CHAOS Remote Administrative Tool, is an open-source remote administration tool written in Go that threat actors repurpose as a remote access trojan for Windows and Linux. Observed in malicious campaigns since November 2022, it provides remote command execution, reverse shells, host reconnaissance, screenshot capture, directory enumeration, bidirectional file transfer, file deletion, and system shutdown or reboot. Its web-based management panel supports payload generation, client monitoring, file management, and individual or bulk command execution.

Clients authenticate to command-and-control infrastructure using embedded JSON Web Tokens and periodically retrieve commands. Recent variants store their configuration as Base64-encoded data with randomized field names; some samples also use UPX packing. The RAT collects operating-system and network information and can execute unrecognized commands through the system terminal, returning output to its controller.

Chaos RAT has been deployed alongside XMRig in Linux cloud cryptojacking campaigns, where separate scripts establish scheduled-task persistence and terminate competing malware and resource-consuming processes. Distribution has included phishing links or attachments, software-utility lures, and malicious packages in the Arch User Repository. The DirtyBlanket npm supply-chain campaign also deployed a Linux backdoor derived from Chaos RAT, using systemd-service persistence, service masquerading, and Tor-based command-and-control communications. Credential abuse and worm-like propagation in that campaign belong to the surrounding infection chain rather than established core Chaos RAT functionality.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Associated CVEs

Associated vulnerabilities

1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.

CVE-2024-31839via tenable cloud security pluginsAdministrative-panel XSS in CHAOS RAT 5.0.1Cross Site Scripting vulnerability in tiagorlampert CHAOS v.5.0.1 allows a remote attacker to escalate privileges via the sendCommandHandler function in the handler.go component.View vulnerability →Source ↗
MITRE ATT&CK

Techniques & procedures

17 distinct techniques documented for this family, organized by ATT&CK tactic.

Initial Access

1 technique
T1195.001Compromise Software Dependencies and Development ToolsEvidence1

Neuf packages npm malveillants ont été publiés ... Tous partagent le même hook preinstall qui télécharge un script via l’Internet Archive.

Execution

2 techniques
T1053Scheduled Task/JobEvidence1

The malware achieves its persistence by altering /etc/crontab file, a UNIX task scheduler that, in this case, downloads itself every 10 minutes from Pastebin.

T1059Command and Scripting InterpreterEvidence1

This is followed by downloading additional payloads: an XMRig miner, its configuration file, a shell script looping “competition killer,” and most importantly, the RAT itself.

Persistence

2 techniques
T1053Scheduled Task/JobEvidence1

The malware achieves its persistence by altering /etc/crontab file, a UNIX task scheduler that, in this case, downloads itself every 10 minutes from Pastebin.

T1543.002Systemd ServiceEvidence1

linux.sh installe le backdoor systemd-fontd ... déguisé en service systemd de rendu de polices.

Privilege Escalation

3 techniques
T1053Scheduled Task/JobEvidence1

The malware achieves its persistence by altering /etc/crontab file, a UNIX task scheduler that, in this case, downloads itself every 10 minutes from Pastebin.

T1068Exploitation for Privilege EscalationEvidence1

Cross Site Scripting vulnerability in tiagorlampert CHAOS v.5.0.1 allows a remote attacker to escalate privileges via the sendCommandHandler function in the handler.go component.

T1543.002Systemd ServiceEvidence1

linux.sh installe le backdoor systemd-fontd ... déguisé en service systemd de rendu de polices.

Lateral Movement

1 technique
T1021Remote ServicesEvidence1

"...deliver ... remote access trojan (RAT)..."; "...NetSupport RAT..."; "...AsyncRAT..."

Collection

1 technique
T1113Screen CaptureEvidence2

Capacités : shell distant, captures d’écran, exploration/téléchargement de fichiers, upload, reboot/shutdown.

Command and Control

4 techniques
T1071Application Layer ProtocolEvidence1

When running, the RAT client connects to the C&C server via its address, and default port, using a JSON Web Token (JTW) for authorization.

T1090.003Multi-hop ProxyEvidence1

Le backdoor communique via Tor (socks5://127.0.0.1:9050) vers un service caché .onion.

T1219Remote Access ToolsEvidence1

We intercepted a cryptocurrency mining attack that incorporated an advanced remote access trojan (RAT) named the CHAOS Remote Administrative Tool.

T1571Non-Standard PortEvidence1

When running, the RAT client connects to the C&C server via its address, and default port, using a JSON Web Token (JTW) for authorization.

Exfiltration

2 techniques
T1041Exfiltration Over C2 ChannelEvidence1

Upon connection and successful authorization, the client sends detailed information on the infected machine to the C&C server using the command /device.

T1567Exfiltration Over Web ServiceEvidence1

Capacités : ... exploration/téléchargement de fichiers, upload ... Serveur C2 : service Tor hidden .onion sur port 80.

Impact

4 techniques
T1496Resource HijackingEvidence1

This was followed by routines for persistence and payload execution, which in most cases is a Monero (XMR) cryptocurrency miner.

T1499Endpoint Denial of ServiceEvidence1

the initial phase saw attackers trying to kill off competing malware, security products, and other cloud middleware.

T1529System Shutdown/RebootEvidence1

The RAT is a Go-compiled binary with the following functions: ... Restart the PC Shutdown the PC

T1565Data ManipulationEvidence1

The RAT is a Go-compiled binary with the following functions: ... Delete files

Indicators of compromise

Observables

29 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+4 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching29Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilities1CVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping17Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.