Chaos Ransomware’s New msaRAT Backdoor Turns Chrome and Edge Into Invisible Cyber Weapons + Video

Listen to this Post

Featured ImageIntroduction: When Everyday Browsers Become the Perfect Hiding Place

Cybercriminals are constantly searching for new ways to bypass modern security defenses. While traditional malware often creates obvious network connections that security teams can monitor, a new generation of threats is taking a different approach: hiding inside trusted applications that organizations already use every day.

The Chaos ransomware group has introduced a sophisticated backdoor called msaRAT, a malware tool designed to transform Google Chrome and Microsoft Edge browsers into covert communication channels for attackers. Instead of connecting directly to a malicious command-and-control (C2) server, msaRAT controls a hidden browser session and routes its traffic through legitimate services such as Cloudflare Workers and Twilio infrastructure.

This technique represents a major shift in malware development. Attackers are no longer only trying to break security systems — they are increasingly trying to blend into normal business activity. By abusing trusted browser technology, msaRAT creates a challenge for traditional endpoint detection systems, network monitoring tools, and security analysts.

Chaos Ransomware Evolves With a New Stealth Strategy

The Chaos ransomware operation has become one of the more concerning cybercrime groups emerging in recent years. Unlike the older Chaos ransomware family discovered in 2021, this newer group appeared in early 2025 and operates independently.

Security researchers have observed Chaos being used in both financially motivated ransomware operations and more targeted cyber-espionage campaigns. Earlier investigations linked the group’s tools to activities associated with the Iranian state-backed threat actor known as MuddyWater, where ransomware techniques were allegedly used as a disguise for intelligence-gathering operations.

Recent attacks investigated by Cisco Talos reveal a more advanced campaign model. Attackers commonly begin with social engineering techniques such as phishing emails or voice phishing calls. After gaining initial access, they deploy legitimate remote management tools to maintain persistence inside the victim’s environment.

From there, attackers introduce msaRAT through an MSI installer disguised as a legitimate Windows update. The malicious installer loads a library file called lib.dll, which executes directly inside system memory.

This memory-based execution method reduces forensic traces and makes detection significantly more difficult.

msaRAT: A Backdoor That Hijacks Your Browser

The most dangerous feature of msaRAT is not simply that it communicates with attackers — it is how it communicates.

Traditional malware usually connects directly to an attacker-controlled server. Security teams can detect suspicious domains, unusual IP addresses, or abnormal network patterns.

msaRAT avoids this approach.

Instead, the malware searches the infected machine for Google Chrome or Microsoft Edge. It then launches the browser in headless mode, meaning the browser operates invisibly without opening a visible window.

The malware then activates Chrome DevTools Protocol (CDP), a legitimate debugging interface used by developers and automation tools to control browsers.

By abusing CDP, msaRAT gains the ability to:

Open browser tabs.

Inject JavaScript code.

Control browser behavior.

Establish hidden communication channels.

Exchange commands with attackers.

The browser itself becomes the communication platform.

Deep Analysis: How msaRAT Uses Chrome DevTools Protocol

The Browser Becomes a Malware Framework

Chrome DevTools Protocol was created for legitimate purposes such as debugging websites, testing applications, and automating browser tasks.

However, like many powerful technologies, attackers can abuse it.

msaRAT launches the browser with remote debugging enabled:

chrome.exe --headless --remote-debugging-port=9222

The malware then connects to the debugging interface:

http://localhost:9222/json

This allows it to discover available browser sessions and interact with them.

JavaScript Injection Through CDP

After connecting, msaRAT opens a new browser tab and injects malicious JavaScript code.

The injected scripts are responsible for:

Creating communication channels.

Registering CDP bindings.

Bypassing browser security restrictions.

Managing data exchange between malware and attacker.

The technique is dangerous because the activity appears to originate from a trusted browser process.

Instead of seeing:

malware.exe → malicious-server.com

security tools may only observe:

chrome.exe → cloudflare.com

which looks completely normal.

Cloudflare Workers and Twilio Hide the Real Attack Infrastructure

One of the most advanced parts of msaRAT is its communication architecture.

The malware first contacts a Cloudflare Workers endpoint to receive WebRTC connection information.

The attackers use:

Cloudflare Workers as a signaling relay.

Twilio TURN servers as traffic relays.

WebRTC encryption for secure communication.

This creates multiple layers between the victim and the real attacker infrastructure.

The communication process works like this:

Victim Machine

|
|

Chrome Headless Session

|
|

WebRTC Connection

|
|

Twilio TURN Relay

|
|

Cloudflare Workers

|
|

Attacker Infrastructure

Because the traffic passes through legitimate services, identifying the real attacker becomes much harder.

Dual Encryption Makes Tracking More Difficult

Cisco Talos researchers discovered that msaRAT uses two encryption layers.

The first layer comes from WebRTC:

DTLS encryption.

Automatic browser-level protection.

The second layer is implemented by the malware:

ChaCha20-Poly1305 encryption.

Elliptic Curve Diffie-Hellman (ECDH) key exchange.

This creates an encrypted tunnel inside another encrypted communication system.

Even if defenders capture the traffic, analyzing the content becomes extremely difficult.

Why Cloudflare Workers Create a Security Challenge

The attackers intentionally use Cloudflare’s legitimate infrastructure because blocking it is complicated.

The domain:

workers.dev

is widely used by developers around the world for legitimate applications.

Blocking all traffic to this domain could damage:

Business applications.

Internal development projects.

Cloud-based services.

This creates a common cybersecurity problem:

Attackers hide inside services that defenders cannot simply block.

Similar strategies have been used with:

GitHub.

Google Drive.

Microsoft Azure.

Telegram.

Discord.

Cloud storage platforms.

The goal is not just hiding malware — it is hiding malware inside trust.

How Attackers Use msaRAT After Infection

Once communication is established, attackers can remotely control infected systems.

The malware supports operations including:

Executing Windows commands.

Opening and closing communication channels.

Resetting sessions.

Exchanging encrypted data.

Maintaining persistent access.

Researchers analyzed the communication system and discovered that messages are divided into smaller units called “frames.”

These frames handle:

Encryption key exchange.

Channel creation.

Command delivery.

Session management.

This design resembles professional remote administration software rather than traditional malware.

Detection Challenges for Security Teams

Traditional security solutions often rely on identifying:

Unknown executables.

Suspicious IP addresses.

Malicious domains.

Abnormal network connections.

msaRAT challenges all these assumptions.

The malware:

Uses legitimate browsers.

Communicates through trusted services.

Avoids direct C2 connections.

Encrypts communication.

Runs code in memory.

Security teams must focus more on behavior rather than simple indicators.

Important detection signals include:

Chrome launching with unusual command-line parameters.

Browser processes running without user interaction.

Remote debugging ports being activated.

Unexpected JavaScript execution from browser automation.

MSI files pretending to be software updates.

Deep Security Investigation Commands

Check Running Chrome Processes

Windows:

Get-Process chrome | Select-Object Path,CommandLine

Linux:

ps aux | grep chrome

Search for Remote Debugging Activity

Windows:

netstat -ano | findstr 9222

Linux:

ss -tulpn | grep 9222

Review Browser Launch Parameters

Windows Event Monitoring:

Get-WinEvent -LogName Security | findstr chrome

Security teams should investigate browsers launched with:

--headless
--remote-debugging-port
--disable-security

How Organizations Can Defend Against msaRAT

Improve Email Security

Because Chaos attacks often begin with phishing, organizations should strengthen:

Email filtering.

Attachment scanning.

User awareness training.

Voice phishing protection.

Monitor Browser Behavior

Endpoint detection systems should monitor:

Unusual browser automation.

Hidden browser sessions.

Suspicious JavaScript injection.

Unexpected CDP usage.

Limit Remote Management Tools

Attackers frequently abuse legitimate administration software.

Organizations should:

Maintain software inventories.

Restrict unauthorized remote tools.

Monitor administrative privileges.

Deploy Behavioral Detection

Modern malware requires modern defenses.

Security teams should combine:

EDR solutions.

SIEM monitoring.

Threat intelligence.

Attack simulation testing.

The focus must move from “what file is this?” to “what behavior is happening?”

What Undercode Say: The New Era of Invisible Malware

The msaRAT backdoor represents a significant evolution in cyberattack techniques.

Attackers are no longer trying only to create stronger malware.

They are creating smarter malware.

The biggest innovation behind msaRAT is not encryption.

It is deception.

The malware hides inside Chrome and Edge because these applications are trusted.

Every organization allows browsers.

Every employee uses browsers.

Every security system expects browser traffic.

This creates the perfect camouflage.

The abuse of legitimate technology is becoming one of the biggest cybersecurity trends.

Attackers understand that suspicious traffic gets blocked.

Normal traffic gets ignored.

Cloud services have become the new battlefield.

Platforms like Cloudflare, Microsoft, Google, and GitHub provide enormous value to businesses, but they also provide attackers with powerful hiding places.

The security industry is moving away from simple malware detection.

File signatures are becoming less important.

Behavior analysis is becoming more important.

A browser opening silently in the background should no longer be considered harmless.

A browser using developer tools without a developer should raise suspicion.

A Windows update installer from an unknown source should be treated carefully.

The future of cyber defense will depend on understanding context.

The question is no longer:

Is this application legitimate?

The better question is:

Is this legitimate application behaving normally?

msaRAT demonstrates how attackers are weaponizing trust itself.

The same technology designed to improve productivity is being turned into a covert attack platform.

Security teams must prepare for more malware families that operate through legitimate ecosystems.

Browsers, cloud platforms, AI services, and collaboration tools will likely become future malware hiding places.

The battle between attackers and defenders is moving from systems to identities, behaviors, and trust relationships.

Organizations that adapt early will have a significant advantage.

✅ Confirmed: Cisco Talos researchers documented the msaRAT backdoor campaign and its use of Chrome DevTools Protocol for browser-based command-and-control communication.

✅ Confirmed: The malware uses legitimate infrastructure including Cloudflare Workers and Twilio TURN services to hide attacker-controlled servers.

✅ Confirmed: msaRAT uses Rust programming language, WebRTC communication, and encryption techniques including ChaCha20-Poly1305 and ECDH.

❌ Not Confirmed: Public evidence does not prove that every Chaos ransomware attack uses msaRAT. The malware appears linked to specific observed campaigns.

❌ Not Confirmed: The exact identity and location of msaRAT operators remain unknown.

Prediction

(+1) Positive Prediction:

Security vendors will develop stronger behavioral detection methods capable of identifying browser-based malware techniques. Future EDR platforms will likely monitor abnormal browser automation, hidden sessions, and unauthorized DevTools usage more aggressively.

(-1) Negative Prediction:

Cybercriminal groups will continue abusing trusted platforms such as browsers, cloud services, and collaboration tools. As organizations cannot simply block these services, attackers may gain more opportunities to hide inside normal business traffic.

▶️ Related Video (82% Match):

🕵️‍📝Let’s dive deep and fact‑check.

🎓 Live Courses & Certifications:

Join Undercode Academy for Verified Certifications

🚀 Request a Custom Project:

Secure, high-velocity infrastructure and disruptive technological engineering. Contact our engineering team for high-tier development and proprietary systems:
[email protected]
💎 Smart Architecture | 🛡️ Secure by Design | ⭐ Trusted by Thousands

References:

Reported By: www.bleepingcomputer.com
Extra Source Hub (Possible Sources for article):
https://www.facebook.com
Wikipedia
OpenAi & Undercode AI

Image Source:

Unsplash
Undercode AI DI v2

🔐JOIN OUR CYBER WORLD [ CVE News • HackMonitor • UndercodeNews ]

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

𝕏 formerly Twitter 🐦 | @ Threads | 🔗 Linkedin | 🦋BlueSky | 🐘Mastodon | 📺Youtube