• 5 minuti
  • Pubblicato

SloppyRAT slips past defenses to open the door for ransomware

Barbara Carminati Autrice di cybersecurity e privacy QWERTYmag

Scritto da Barbara Carminati

SloppyRAT slips past defenses to open the door for ransomware QWERTYmag © www.qwertymag.it
SloppyRAT slips past defenses to open the door for ransomware © www.qwertymag.it

SloppyRAT, a recently identified remote access trojan, is giving attackers new ways to evade detection and communicate securely inside organizations, according to Zscaler ThreatLabz.

SloppyRAT is more than just another malware strain. With encrypted code, direct system calls, and a blockchain-based backup for command-and-control, it gives attackers a toolkit for reconnaissance, lateral movement, and remote execution-while avoiding most traditional security tools.

Zscaler ThreatLabz researchers first spotted SloppyRAT in June 2026 and published a technical analysis in September. They link it to threat actors involved in ransomware, noting its use in a multi-stage ClickFix infection chain. The malware uses EtherHiding as a backup command-and-control channel via the Polygon JSON-RPC protocol. Combined with encrypted code and anti-analysis tricks, this marks a step up in attacker tactics. Italy's Agenzia per la Cybersicurezza Nazionale (ACN) has already warned about the rise of blockchain-based evasion in targeted attacks, urging organizations to update their defenses.

How the infection works

The attack starts with social engineering: victims are convinced to run a Windows command that abuses the finger.exe utility. Zscaler describes this as using the legitimate Windows finger.exe over TCP port 79 to fetch a batch script from an attacker's domain, which then stages more payloads. The script copies curl.exe into the user's AppData folder, renames it, and downloads an IronPython package disguised as a PDF from GitHub. IronPython runs a compressed, Base64-encoded Python stage, which then downloads CastleLoader and CastleRAT from another malicious site. Finally, the loader downloads and reflectively loads the SloppyRAT DLL and hostfxr.dll directly into memory, leaving few traces on disk and making forensic work harder. The loader's User-Agent string, DLLMemLoader/1.0, is a small but telling clue for defenders.

Blocking outbound traffic on port 79 and restricting finger.exe can disrupt this first step, but most organizations don't have these controls in place. The campaign's use of legitimate Windows tools and open-source software like IronPython and curl.exe echoes tactics seen in other recent breaches, including those involving Magento store compromises.

SloppyRAT includes a large set of built-in PowerShell-like commands for remote access, plus certificate pinning to block man-in-the-middle inspection of TLS traffic.Zscaler ThreatLabz, Security Research Team

Stealth and evasion

SloppyRAT's developers have built in several anti-analysis features. Strings are hidden with XOR encryption, and key functions are only decrypted at runtime. Junk code and a Hell's Gate-style method let the malware call Windows system functions directly, bypassing security products that watch standard APIs. Communications with the command-and-control server are encrypted over HTTPS, using JSON messages and certificate pinning based on a hardcoded SHA-256 hash. If the certificate doesn't match, the connection is dropped, making network inspection nearly impossible.

For attackers, this means a reliable channel for remote commands and data theft, even in networks with advanced monitoring. Zscaler's analysis also found that defenders were already tracking the campaign, as independent reports quickly repeated technical indicators like the loader's user-agent string and the SHA-256 hash for the SloppyRAT DLL. This quick response shows the value of sharing technical details across the security community.

Host intelligence and control

Once inside a network, SloppyRAT authenticates to its command-and-control servers with a hardcoded API key. It collects and sends detailed host information, including installed security tools, command results, and errors. Data is encrypted with RC4 and then Base64-encoded, adding layers of obfuscation. Zscaler's review found several coding mistakes, but these haven't stopped the malware from enabling deep network access and lateral movement-features that make it attractive to ransomware operators looking for stealthy entry points.

SloppyRAT's use of blockchain as a backup for finding its command-and-control servers is a notable shift. Even if the main infrastructure is taken down, attackers can reconnect and keep their foothold. Italian authorities such as ACN have stressed the need for organizations to watch for these advanced persistence methods as part of their national cybersecurity strategy.

Security takeaways

SloppyRAT shows how attackers are mixing old and new techniques to get around layered defenses. What stands out is the malware's evasion stack and its clear role in preparing for ransomware attacks. Zscaler says SloppyRAT is likely being used to establish a foothold for lateral movement inside enterprise networks before ransomware is deployed, not as a standalone threat.

Organizations still relying on signature-based detection or basic network filtering are already behind. Attackers are taking advantage of overlooked protocols and utilities that many companies ignore.

SloppyRAT is a warning: attackers aren't waiting for perfect code before launching new malware. They're testing and improving in real time, using every trick to stay ahead. The fact that this trojan is already active, despite its rough edges, highlights how many organizations have failed to harden their environments against attacks that use legitimate tools. Until defenders adopt more proactive controls and deeper behavioral analysis, SloppyRAT and similar threats will keep finding ways in-leaving networks exposed to the next wave of ransomware.

Articoli correlati