CastleStealer has added remote shell capabilities that allow attackers to execute commands and deliver additional malware on infected systems.
First discovered in April 2026, the C# information stealer has continued evolving, with newer samples also bypassing browser protections and sending stolen information through small encrypted transmissions.
These changes expand the malware’s role beyond collecting sensitive data. Operators can now interact with compromised machines and deploy further payloads instead of ending their activity after stealing information.
Information stealers typically target passwords, browser cookies, financial details, and other sensitive data. These stolen records can support account theft and subsequent attacks.
CastleStealer Adds Remote Shell
CastleStealer initially appeared in a ClickFix campaign that tricked victims into running a Python script. The script executed a loader researchers called CastleLoader.
By June, attackers had adopted another delivery method. Malicious advertisements redirected users to fake Node.js installation websites. A batch script disguised as an installer then downloaded and executed OXLOADER, a newer loader used to deliver CastleStealer.
OXLOADER uses multiple rounds of self-decryption, hidden API resolution, sandbox checks, and execution directly in memory.
These techniques make the infection chain harder to inspect and detect. Flashpoint assesses that the loaders appear to be developed internally and demonstrate strong technical skills.
Once running, CastleStealer checks the system’s Multilingual User Interface languages for Russian. It then contacts its command-and-control server and sends a handshake containing its build UUID and basic host information.
After establishing communication, the malware gathers additional machine details and searches browsers, applications, and local files.
Its Chromium targets include saved logins, cookies, browsing history, web data, and browser extension storage. It also collects Firefox login records, cookies, browsing history, and form history.
Other targets include Steam configuration files and directories associated with Discord and Telegram. CastleStealer also searches local files, excluding certain file types and filenames containing “backup,” while prioritizing names containing “wallet.”
Earlier CastleStealer samples could not steal protected data from updated browsers using app-bound encryption. Newer versions use Chrome’s IElevator COM interface to bypass this protection, expanding the browser information available to attackers.
The addition of a remote shell creates another significant change. An operator can send shell commands, supply a file for execution, or provide a URL for another payload. CastleStealer can download and execute that payload on the infected machine.
This gives attackers a way to extend an intrusion after the initial theft, although Flashpoint has not identified widespread adoption among threat actors.
CastleStealer also avoids the common practice of packaging stolen information into one large archive. Instead, it sends smaller amounts of data over raw TCP connections using AES encryption.
Packets contain a four-byte size field, an AES initialization vector, and encrypted data. Flashpoint assesses that smaller transmissions may help avoid detections triggered by a large transfer spike.
Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team
