Inside SHADOW-WATER-063’s Banana RAT: How a Brazilian Banking Trojan Became a Full Fraud Platform

Listen to this Post

Featured Image

Introduction

Cybercriminal operations targeting financial institutions are becoming increasingly organized, automated, and difficult to detect. One of the latest examples is Banana RAT, a sophisticated banking trojan tied to a threat activity cluster known as Trend Micro tracks as SHADOW-WATER-063. Unlike ordinary malware campaigns that rely on simple credential theft, Banana RAT operates more like a professional fraud platform built specifically for Brazilian banking environments.

What makes this operation particularly alarming is the visibility researchers gained into both sides of the attack. Investigators recovered not only the malware samples from infected systems, but also the attackers’ server-side infrastructure, build systems, analytics panels, and payload generation framework. This rare level of insight allowed analysts to reconstruct the complete attack chain from initial infection to live financial fraud execution.

The investigation revealed a highly engineered ecosystem featuring polymorphic malware generation, AES-encrypted payloads, in-memory PowerShell execution, remote fraud tooling, Pix QR interception, and fake banking overlays designed to deceive victims while attackers empty accounts in real time. The campaign specifically targets Brazilian financial institutions and leverages social engineering tactics deeply customized for Brazil’s digital banking landscape.

A Full Banking Trojan Ecosystem Revealed

Researchers discovered that Banana RAT is not a simple malware executable but an entire operational ecosystem designed for persistence, stealth, and financial theft. The attack typically begins with victims receiving malicious links through WhatsApp messages or phishing websites disguised as legitimate invoice-related communications.

Victims are tricked into downloading a malicious batch file named “Consultar_NF-e.bat,” a filename crafted to imitate Brazil’s electronic invoice system known as Nota Fiscal Eletrônica. Because the naming convention looks familiar to businesses and corporate users in Brazil, the malware can easily bypass suspicion during initial delivery.

Once executed, the batch file launches an obfuscated PowerShell command that silently downloads additional malicious scripts directly into memory. One of the most dangerous characteristics of Banana RAT is its fileless execution model. The malware avoids dropping decrypted payloads onto disk, dramatically reducing the chances of antivirus detection.

The researchers identified a FastAPI-based server infrastructure responsible for generating unique malware samples for every victim. Instead of reusing identical payloads, the operators continuously generate polymorphic versions with modified variables, randomized junk code, fragmented .NET references, XOR obfuscation, and AES encryption layers. This makes traditional hash-based detection nearly useless.

The attacker infrastructure maintains pools of ready-to-deploy payloads so each infection request receives a unique malware build. Researchers noted that the malware delivery infrastructure and command-and-control systems are intentionally separated, providing operational resilience if one part of the infrastructure is disrupted.

After execution, Banana RAT establishes persistence through hidden Windows scheduled tasks configured to run repeatedly for thousands of days. The malware disguises itself inside directories resembling legitimate Microsoft diagnostic storage paths to avoid drawing attention from administrators or endpoint defenses.

Advanced Remote Fraud Capabilities

Banana RAT functions as a fully interactive remote fraud platform. Once active on an infected machine, operators gain extensive control over the victim’s system.

The malware continuously captures screenshots and streams live desktop activity back to attackers. Operators can remotely control mouse movements, clicks, keyboard input, and scrolling using native Windows APIs. In some cases, the malware blocks user interaction entirely through the BlockInput API while attackers conduct unauthorized transactions behind the scenes.

Keylogging functionality enables the theft of passwords, authentication codes, and sensitive financial information. Clipboard monitoring allows attackers to replace copied cryptocurrency wallet addresses or manipulate transaction data without the victim noticing.

One of the campaign’s most dangerous features is its dedicated Pix QR interception subsystem. Pix is Brazil’s instant payment system widely used across the country for financial transfers. Banana RAT actively scans screens for Pix QR codes using the ZXing library and can replace payment information in real time. This capability exists exclusively for the Brazilian market and strongly reinforces the campaign’s regional targeting.

Researchers also identified multiple overlay modules designed to mimic Windows update screens, banking applications, repair interfaces, and security notifications. These fake overlays occupy the victim’s screen while attackers silently interact with banking sessions underneath.

The overlays include realistic animations, progress bars, fake loading indicators, and personalized messages using the victim’s username and machine name. Victims believe legitimate system maintenance or security updates are occurring while fraudulent financial operations execute in the background.

The malware also supports chat popups, file exfiltration, process enumeration, service discovery, and SYSTEM token abuse techniques. By dynamically compiling malicious DLLs using csc.exe, the operators can modularize capabilities and load components directly into memory.

Server Infrastructure and Malware-as-a-Service Indicators

One of the most fascinating discoveries from the investigation was the professionalism of the attacker infrastructure. The recovered control panels included analytics dashboards that tracked infections by country, ISP, operating system, and victim statistics in real time.

The infrastructure also contained deployment scripts, monitoring utilities, and server orchestration modules that strongly suggest Banana RAT may operate under a Malware-as-a-Service model. The polished administrative interfaces and automated payload pools indicate a scalable commercialized cybercrime operation rather than a small isolated group.

Researchers found internal references such as “Projeto Banana” embedded within the malware framework. Additional identifiers including SMART_V27_ULTRA and BUILD_V6_HARDCODED_TYPES reveal continuous active development aimed at improving evasion and operational reliability.

The malware operators appear to be Brazilian Portuguese speakers based on extensive language artifacts throughout the recovered codebase. Filenames, comments, runtime messages, and interface text were all written in Brazilian Portuguese without diacritics, a common informal typing style among Brazilian users.

A hardcoded cryptographic master key was also identified, serving both as an authentication mechanism and as the seed for AES-256 encryption operations. Such static identifiers are valuable for future threat intelligence tracking and malware attribution.

Exclusive Brazilian Financial Targeting

Banana RAT’s targeting profile leaves little doubt regarding its intended victims. The malware contains hardcoded monitoring lists covering major Brazilian banks including Itaú, Bradesco, Santander Brasil, Caixa Econômica Federal, Banco do Brasil, Safra, Sicoob, Sicredi, Banrisul, and Daycoval.

The malware monitors active browser windows for banking-related keywords and triggers bank-specific overlays when financial portals are opened. Researchers found no evidence of targeting outside Brazil.

The Pix-focused fraud subsystem further confirms this regional specialization. Because Pix only exists inside Brazil’s banking ecosystem, the malware’s architecture demonstrates intentional design for Brazilian financial crime operations.

Investigators also noted strong behavioral overlap with Brazil’s well-known Tetrade banking trojan ecosystem, which includes malware families such as Grandoreiro, Mekotio, Guildma, and Casbaneiro. However, Banana RAT differs significantly in architecture.

Unlike traditional Delphi-based banking trojans, Banana RAT relies heavily on PowerShell, Python-based FastAPI servers, dynamic payload generation, and extensive polymorphism infrastructure. These differences suggest the malware may represent either a new adjacent operation or an evolution of existing Brazilian cybercrime methodologies.

What Undercode Say:

Banana RAT represents a major evolution in modern banking malware operations because it combines classic banking trojan functionality with infrastructure sophistication usually associated with advanced persistent threat groups. The most important aspect of this campaign is not simply the malware itself, but the operational maturity behind it.

The attackers clearly understand modern defensive technologies. Traditional antivirus solutions often rely on signatures, file hashes, or suspicious file activity. Banana RAT bypasses all three through heavy obfuscation, in-memory execution, encrypted payload delivery, and per-victim polymorphism. Each infection becomes essentially unique, making automated detection significantly harder at scale.

The malware’s PowerShell-centric design is also highly strategic. PowerShell remains deeply integrated into Windows environments and is frequently abused because organizations cannot simply disable it without affecting legitimate administrative workflows. Threat actors continue leveraging this trust relationship to operate under the radar.

Another major concern is the integration of live fraud execution techniques. Many banking trojans stop at credential theft, but Banana RAT operates interactively. Attackers do not just steal passwords; they take control of sessions, manipulate transactions, freeze victim input, replace Pix payment data, and guide the entire fraud process manually.

The overlay systems demonstrate an advanced understanding of psychological manipulation. Victims are intentionally distracted using realistic fake update screens while attackers conduct unauthorized banking activity behind the scenes. This reduces the likelihood of interruption during critical fraud windows.

The campaign’s infrastructure also suggests long-term operational planning. Maintaining polymorphic build pools, analytics dashboards, monitoring systems, and delivery pipelines requires technical resources, operational funding, and ongoing maintenance. This is not amateur cybercrime.

The possible Malware-as-a-Service angle is equally significant. If SHADOW-WATER-063 is indeed renting or distributing access to affiliates, the scale of future attacks could expand rapidly beyond current observations. Criminal ecosystems increasingly resemble legitimate SaaS businesses, complete with customer management panels, infrastructure scaling, and modular tooling.

Another interesting detail is the deliberate separation between delivery infrastructure and command-and-control servers. This architecture improves survivability. Even if defenders shut down one server, infections already deployed may continue functioning independently.

The QR interception subsystem deserves special attention because it reflects how malware developers adapt directly to local financial ecosystems. Pix transformed digital banking in Brazil, and cybercriminals adapted almost immediately. This demonstrates how regional payment innovation often creates equally regionalized cybercrime opportunities.

Banana RAT also highlights how attackers increasingly invest in stealth rather than raw exploitation. The malware does not rely on zero-day exploits or highly sophisticated kernel-level rootkits. Instead, it abuses legitimate Windows features, trusted scripting environments, and user behavior to maintain access.

The use of dynamically compiled C modules through csc.exe further complicates detection efforts. By generating components during runtime, attackers avoid static malware signatures and make forensic analysis more difficult.

The extensive use of AES encryption and HMAC validation shows that even financially motivated malware operators are implementing mature cryptographic protections around their infrastructure. This reduces opportunities for defenders to intercept communications or hijack attacker sessions.

From an intelligence perspective, the recovery of the server-side codebase is extremely valuable. Most investigations only see the victim side of operations. Access to both attacker infrastructure and endpoint telemetry provides a much deeper understanding of operational intent, development practices, and organizational structure.

The overlap with the Tetrade ecosystem is particularly important because Brazilian banking malware groups have historically demonstrated resilience, international expansion potential, and strong adaptation capabilities. Banana RAT may represent the next evolutionary phase of this ecosystem.

Financial institutions outside Brazil should not ignore this threat simply because of its regional focus. Cybercrime groups frequently adapt successful regional malware models for international operations once monetization strategies prove effective.

Organizations should also recognize that social engineering remains the core infection vector. Despite sophisticated infrastructure and advanced evasion techniques, the campaign still begins with convincing a user to execute a malicious file. Human trust remains one of the weakest security layers in enterprise environments.

The campaign further demonstrates why behavioral detection and MDR capabilities are becoming essential. Signature-based security alone is increasingly ineffective against malware specifically designed for polymorphism and memory-only execution.

Finally, Banana RAT illustrates the growing convergence between financial fraud, remote access tooling, psychological manipulation, and operational automation. Modern banking malware is evolving into full-spectrum fraud ecosystems rather than isolated malicious programs.

Fact Checker Results

✅ Researchers recovered both server-side infrastructure and victim-side malware artifacts, enabling full attack-chain reconstruction.

✅ Banana RAT specifically targets Brazilian financial institutions and includes dedicated Pix QR manipulation functionality.

❌ There is currently no confirmed evidence publicly proving SHADOW-WATER-063 is officially part of the original Tetrade core group, only strong behavioral overlap.

Prediction

🔮 Banana RAT or similar malware families will likely expand toward mobile banking ecosystems and browser-based financial authentication workflows in the near future.

🔮 Brazilian banking malware operators may increasingly adopt Malware-as-a-Service business models with affiliate-driven campaigns.

🔮 Future variants will probably integrate AI-assisted phishing, automated fraud workflows, and more advanced anti-analysis techniques to bypass modern EDR solutions.

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

References:

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

Image Source:

Unsplash
Undercode AI DI v2
Bing

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

💬 Whatsapp | 💬 Telegram

📢 Follow UndercodeNews & Stay Tuned:

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