Chaos Ransomware Group Uses msaRAT Trojan to Hide C2 Traffic Through Invisible Chrome and Edge Browsers

The Chaos ransomware group has adopted a new Rust-based trojan called msaRAT to conceal its command-and-control communications inside legitimate browser sessions. The malware launches Chrome or Edge in invisible mode and controls it via the Chrome DevTools Protocol, keeping all outbound traffic restricted to localhost. It then injects JavaScript to negotiate a WebRTC connection through Cloudflare Workers before routing data over Twilio TURN servers, preventing the attackers' real infrastructure from appearing in network logs. Commands are executed through cmd.exe, and the implant includes queuing mechanisms that support reliable transfer of files, screenshots, and larger data volumes. In the analyzed incident, operators delivered the malware via an MSI installer disguised as a Windows update that loaded the msaRAT DLL directly into memory. The technique does not exploit any vulnerabilities in Chrome or Edge and is designed to blend malicious traffic with normal corporate browser activity.

BoletimSecTranslated from Portuguese

Read at source

The Chaos ransomware group has begun using a new trojan called msaRAT to hide its command-and-control communications inside legitimate connections made by Chrome and Edge browsers.

The malware was discovered on a compromised Windows system prior to the deployment of the ransomware encryptor. Written in Rust, msaRAT does not connect directly to the attackers' infrastructure. Instead, it starts a browser instance in invisible mode and controls it through the Chrome DevTools Protocol, ensuring that the process's network traffic remains limited to the local machine address.

The implant injects JavaScript code into the browser and uses a Cloudflare Workers service to negotiate a WebRTC connection. After negotiation, traffic is forwarded through Twilio TURN servers, preventing the real address of the attackers' servers from appearing in network logs. Received commands are executed via cmd.exe.

The malware also features queuing and flow-control mechanisms that support reliable transfer of files, screenshots, and other large data volumes. In the analyzed attack, operators downloaded an MSI installer presented as a Windows update. The package loaded a DLL containing msaRAT directly into memory, minimizing artifacts written to disk.

The technique does not exploit vulnerabilities in Chrome or Edge. Its goal is to make malicious traffic appear as normal browser activity and to leverage services that are widely permitted in corporate environments.

Meridian digestThe week's most consequential security stories, distilled into one briefing.See the digest

More in Ransomware & Extortion

Ransomware Group Emperador Claims 3.9 GB Data Theft from AB InBev
Russian Ransomware Groups INC and The Gentlemen Deploy AI-Driven Phantom Framework for Fully Automated Attacks
Creator of Ransomware Forum Ramp4u Hands Over 1.5 Billion Rubles to Russian Law Enforcement