What is Grandoreiro?
Grandoreiro (S0531) is a financially motivated banking trojan written in Delphi. It emerged around 2016 using a Malware-as-a-Service (MaaS) model. Originally targeting Latin America and Spain, the malware now threatens organizations globally, despite a 2024 law enforcement crackdown. Cybercriminals primarily use it to compromise corporate finance departments and drain bank accounts.
Attackers distribute Grandoreiro through targeted phishing emails. These emails often masquerade as urgent invoices or tax documents, containing malicious ZIP archives or links to weaponized installer files. Once executed, the malware quietly installs itself on the machine, frequently using DLL sideloading via trusted, renamed applications.
Grandoreiro operates by monitoring the victim’s web browser. When a user visits a targeted banking website, the malware displays a fake full-screen overlay. This window tricks the user into entering their login credentials and two-factor authentication codes. The software captures these details, logs keystrokes, and sends them directly to the attackers.
The malware uses several advanced evasion techniques. Developers intentionally inflate the file size using binary padding to bypass automated security scanners. Grandoreiro also uses a Domain Generation Algorithm (DGA). This technique constantly changes the malware’s communication addresses to hide its activity from network defenders.
How to Defend Against Grandoreiro?
Defending against Grandoreiro requires strict email security, endpoint behavioral monitoring, and automated threat intelligence.
- Secure the email vector: Grandoreiro relies on phishing emails disguised as financial documents. Implement strong filtering to catch malicious links and archive attachments before they reach users.
- Monitor endpoint behaviors: The malware creates fake banking overlays and manipulates web browsers. Deploy endpoint detection tools to inspect unusual browser activity, identify unauthorized DLL loads, and block the execution of unusually large files often associated with binary padding.
- Eliminate network blind spots: Banking trojans target exposed organizational entry points. Use platforms like Lumu Discover to gain continuous visibility into your attack surface and secure unmanaged digital assets.
- Track abnormal network behaviors: Grandoreiro sends stolen financial data to external servers using dynamically generated domains. Deploy Network Detection and Response (NDR) platforms like Lumu Defender to flag suspicious outbound connections, detect DGA traffic anomalies, and block C2 communication.
- Block malicious indicators: Leverage threat intelligence platforms like Lumu Maltiverse to automatically correlate and block known infrastructure, domains, and IP addresses linked to banking trojan campaigns.



