Chaos ransomware turns Chrome and Edge into hidden command centers

Chaos ransomware is hiding in plain sight. Its msaRAT tool turns Chrome and Edge into covert command channels using WebRTC and trusted cloud services to blur the line between normal browser traffic and an active intrusion. Browsers can lie.

Chaos ransomware turns Chrome and Edge into hidden command centers
Listen to this article
Your browser doesn’t support HTML5 audio

Chrome is usually trusted because it is familiar. Chaos ransomware is turning that assumption into cover. Cisco Talos has identified a Rust based remote access trojan called msaRAT that uses Google Chrome or Microsoft Edge as its external command channel. The malware itself does not connect directly to attacker infrastructure. Instead, it controls a hidden browser session which handles the network traffic on its behalf.

Advertisment

That separation can make an intrusion harder to spot. Endpoint tools may see the malware communicating only with the local machine while network monitoring records traffic from a legitimate browser.

How msaRAT reaches the browser

The attack occurs after a system has already been compromised but before ransomware is deployed. Attackers download an MSI package named update_ms.msi to the Windows ProgramData folder. The installer is presented as a software update and contains an embedded DLL called lib.dll which holds the msaRAT payload.

The RAT is written in Rust and uses the Tokio asynchronous runtime. This allows it to manage multiple tasks at the same time including command processing, encryption, browser control, and data transfer.

Advertisment

msaRAT searches for Chrome or Edge, launches the browser in headless mode, and enables remote debugging. It then communicates with the browser through the Chrome DevTools Protocol, a legitimate interface used by developers and automation tools. Through this interface, the malware creates a new tab and injects JavaScript.

WebRTC carries the attacker traffic

The injected code contacts a Cloudflare Workers endpoint to exchange session information. It then creates a WebRTC DataChannel for command and control traffic. WebRTC is commonly used for browser based voice, video, and data services. In this case, it becomes a tunnel for malware commands and stolen information.

The connection is forced through a Twilio Traversal Using Relays around NAT server commonly called a TURN relay. This prevents defenders from seeing the attacker’s actual server address in normal network logs.

Advertisment

The traffic also has two layers of encryption. WebRTC protects the channel with Datagram Transport Layer Security while msaRAT separately encrypts its payload using a ChaCha Poly1305 based method after an Elliptic Curve Diffie Hellman key exchange.

What security teams should watch

Blocking major cloud platforms is rarely practical because legitimate applications depend on them. Detection therefore has to focus on behavior and context.

Useful warning signs include

  • Chrome or Edge launching in headless mode without a business reason.

  • Unexpected remote debugging flags.

  • Browser activity immediately after an MSI installer runs.

  • WebRTC connections from systems that do not normally use them.

  • Plain HTTP traffic sent over port 443.

Advertisment

No single event proves an msaRAT infection. The stronger signal comes from correlating installer activity, process command lines, local debugging connections, and unusual browser traffic.

The broader lesson extends beyond Chaos ransomware. A trusted application can carry malicious traffic without being compromised itself. Security teams must judge software by what it is doing, not simply by the name attached to the process.

More For You

AI is making cyberattacks faster and Lenovo wants to close the gaps 

MiniPlasma Zero-Day Hits Fully Patched Windows PCs 

Browser ransomware turns Chrome folder access into an Android photo trap 

Chrome V8 zero day puts browser patching back in focus 

Related Articles
Here are a few more articles:
Read the Next Article
Subscribe