Talos Details msaRAT, a Chaos-Attributed RAT That Hides C2 in Browser Traffic

· Original article ↗

Summary

Cisco Talos describes msaRAT, a Rust RAT attributed to Chaos, which uses Chrome or Edge via CDP to establish WebRTC C2 through Cloudflare Workers signaling and Twilio TURN relaying, with ChaCha-Poly1305 encryption layered over DTLS.

Key points

  • Talos says attackers deliver an MSI over plain HTTP on port 443; the installer loads the RAT’s DLL directly into memory.
  • msaRAT searches for Chrome or Edge, launches the browser headlessly, and uses Chrome DevTools Protocol to inject JavaScript and handle C2 communications.
  • The browser uses Cloudflare Workers at is-01-ast[.]ols-img-12[.]workers[.]dev for WebRTC signaling; Twilio TURN relays the resulting DataChannel traffic.
  • Talos reports that the C2’s SDP answer omits ICE candidates, preventing direct peer-to-peer connections and routing communications through TURN.
  • The WebRTC connection uses DTLS, while msaRAT separately encrypts data with a ChaCha-Poly1305-based scheme using a key derived through ECDH.
  • Talos lists a ClamAV signature and Snort 2 and Snort 3 rules for detection and blocking.

Article Details

Attack Vectors
  • After gaining access to a victim machine, the attacker downloads update_ms.msi with curl.exe from an attacker-controlled server over plain HTTP on port 443, then executes it.
  • The MSI installer triggers a custom action that loads the embedded lib.dll payload into memory.
  • msaRAT launches Chrome or Edge in headless mode, enables Chrome DevTools Protocol, bypasses Content Security Policy, and injects JavaScript into the browser.
  • The malware uses a Cloudflare Workers endpoint for WebRTC signaling and Twilio TURN to relay its C2 DataChannel traffic.
Defensive Notes
  • Inspect traffic protocol as well as port: the MSI download uses plain HTTP on port 443.
  • Cisco Talos reports that ClamAV signature Win.Downloader.ChaosRaas-10060321-0 detects and blocks the threat.
  • Cisco Talos reports these Snort detection SIDs: Snort 2: 1:66840, 1:66841, 1:66839; Snort 3: 1:301587, 1:66839.

Indicators of compromise

TypeIndicatorContext
DOMAINis-01-ast[.]ols-img-12[.]workers[.]devMalware-used Cloudflare Workers endpoint for WebRTC signaling and retrieval of STUN/TURN configuration.
URLhxxp[:]//172[.]86[.]126[.]18:443/update_ms.msiAttacker-controlled download URL used to deliver the MSI containing the msaRAT payload.

MITRE ATT&CK

Threat Actors

Malware

Vendors

Products

Related Articles