CastleStealer Evolves: New Browser Bypass and Remote Shell Features

CastleStealer, a relatively new information-stealer built in C#, has significantly increased its capabilities, adding browser protection bypasses and remote shell access. These upgrades allow attackers not only to extract sensitive browser data but also to execute commands on compromised Windows machines, enabling further intrusion. In contrast to earlier versions, the latest builds also transmit stolen data through small, encrypted packets instead of large archives.

First observed in April 2026 during a ClickFix campaign that delivered CastleLoader via a deceptive Python script, CastleStealer’s delivery mechanisms shifted by June. Threat actors began using malicious Google ads pointing to fake Node.js installer sites. These sites deliver a batch file plus OXLOADER, which in turn places CastleStealer directly in memory—making detection by traditional file-based security tools much more difficult.

Advanced Data Collection and Encryption Bypass

Once executed, CastleStealer checks whether the system’s Windows UI language is Russian (“ru-RU”) before reaching out to its command-and-control server. It sends a unique identifier and basic system details, then furthers reconnaissance on the host. The malware targets Chromium-based browsers and Firefox, collecting login credentials, cookies, history, form data, extension storage, and other browser-specific information. It also seeks Steam configuration files, and scans directories tied to Discord, Telegram, and crypto wallets—while avoiding files named “backup” or of certain blocked types.

The most significant enhancement in the latest versions is bypassing Chromium’s App-Bound Encryption feature. Previously, this protection blocked older versions of CastleStealer from accessing browser cookies in updated Chromium-based browsers. The new variant abuses the IElevator COM interface found in Chrome to bypass the restriction, gaining access to data once considered safely tied to the browser and device.

Remote Shell Access & Stealthier C2 Communication

CastleStealer’s remote shell functionality elevates the threat from simple data harvesting to ongoing, operator-controlled access. Attackers can now send commands, execute files, or download and run additional payloads as needed. This allows adversaries to pivot within a system once initial data exfiltration occurs—opening doors to further malware or more tailored attacks.

In an effort to stay under the radar, the malware sends stolen data in multiple encrypted chunks using raw TCP. Each packet includes a size field, an AES initialization vector, and encrypted payload. Instead of one obvious data dump, this approach spreads out network activity to mimic normal behavior. After its mission, CastleStealer self-destructs via a “ping-delay” self-deletion mechanism.

Defenders should treat any endpoint hit by CastleStealer as possibly interactive. Investigations should cover child process trees, unusual command-line usage, PowerShell activity, browser-related COM module use, and outbound raw TCP connections. Also important are resetting exposed browser sessions and reviewing authentication logs. Indicators of compromise include anomalous COM access patterns, small encrypted outbound packets, and software obtained from fake Node.js websites.

As it stands, CastleStealer hasn’t escalated to the ubiquity of larger, longer-established stealers—but the latest rounds of development show attackers are rapidly closing the gap. Its ability to bypass modern browser protections and maintain ongoing control over compromised systems makes it a more versatile and dangerous threat than before.

What this means: organizations and security teams must pivot from perimeter defenses to deeper behavioral and telemetry-based detection. Focus must shift toward spotting subtle COM abuses, unusual outbound traffic, and evidence of post-infection remote control. As CastleStealer and similar tools get more sophisticated, response speed and visibility—not just prevention—become crucial.