Bancobras
Overview
Executive Summary
Bancobras (short for Banco Brasil) is a highly specialized family of Banking Trojans explicitly engineered to target the customers of major Brazilian financial institutions. Operating as a severe regional threat, Bancobras utilizes sophisticated overlay attacks and keystroke logging to bypass local security controls, aiming to initiate fraudulent wire transfers and completely drain the victim's bank accounts.Infection Vector and Technical Capabilities
Bancobras is predominantly distributed via hyper-localized phishing campaigns (malspam) written in fluent Portuguese, often masquerading as urgent tax documents (Boleto), traffic fines, or fake security updates from Brazilian telecom providers. Once executed, the trojan establishes persistence and monitors the user's activity for financial triggers:- Targeted Browser Monitoring: Bancobras constantly monitors the active window title and the browser's address bar. It contains a hardcoded list of URLs corresponding to major Brazilian banks (e.g., Banco do Brasil, Itaú, Caixa Econômica Federal).
- Overlay Attacks (Screen Hijacking): When the user attempts to log into a targeted bank, Bancobras deploys its primary weapon: a full-screen, uncloseable overlay graphic that perfectly mimics the bank's legitimate login portal. The user is tricked into typing their agency number, account number, and password directly into the malware's interface.
- Bypassing Local Security (Trusteer/Warsaw): Brazilian banks heavily utilize local security software (like Warsaw or Trusteer). Bancobras variants frequently contain specific routines designed to blind, disable, or bypass these specific security modules before initiating the overlay attack.
Threat Assessment
A Bancobras infection is a critical security incident that almost invariably leads to immediate financial loss. The trojan's ability to spoof legitimate banking portals makes it incredibly difficult for standard users to detect the ongoing theft.Incident Response and Remediation
- Immediate Account Freeze: The victim must contact their financial institution immediately using a known-clean device (like a mobile phone) to freeze their accounts and halt any pending fraudulent transfers.
- Endpoint Eradication (Safe Mode): Because Bancobras deeply hooks into the operating system to maintain its overlays and disable local security tools, the infected machine must be booted into Windows Safe Mode to properly execute an enterprise anti-malware scan and remove the trojan executables.
- Password Reset: All credentials entered on the machine, specifically banking passwords, must be changed.
Known aliases
Threat reports may refer to this family under multiple names:
MITRE ATT&CK Techniques
This family has been observed using the following ATT&CK techniques: T1056.002 T1185 T1566.001 T1562.001
Tactical Mitigations
Based on the techniques used by this family, consider the following defensive strategies:
- T1056.002: Monitor for unauthorized keylogging, screen capturing, or web browser API hooking. Deploy EDR to detect API hooking.
- T1185: Enforce strong MFA and use browser isolation or hardened browsers for sensitive financial or administrative portals to defeat session hijacking.
- T1566.001: Scan email attachments for malicious macros, scripts, or suspicious archive files.
Generated Detections (Boilerplate)
These YARA and Sigma rules are auto-generated based on the family name and aliases. They must be heavily tuned before deployment in a production environment.
YARA Rule
rule MALWARE_WIN_BANCOBRAS {
meta:
description = "Detects Bancobras (trojan)"
author = "SystemHelpdesk Boilerplate Generator"
date = "2026-07-06"
strings:
$s1 = "bancobras" ascii wide nocase
$s2 = "trojan-banker.bancobras" ascii wide nocase
$s3 = "banker.braz" ascii wide nocase
$s4 = "win32/bancobras" ascii wide nocase
condition:
uint16(0) == 0x5a4d and any of them
}Sigma Rule
title: Suspicious Bancobras Activity
id: ec6df705c86beea55df28bd1964eb299
status: experimental
description: Detects generic indicators of the bancobras malware family.
logsource:
category: process_creation
product: windows
detection:
selection:
Image|endswith:
- '\cmd.exe'
- '\powershell.exe'
CommandLine|contains:
- "*bancobras*"
- "*trojan-banker.bancobras*"
- "*banker.braz*"
- "*win32/bancobras*"
condition: selection
level: mediumReferences & External Analysis
- Search "bancobras" on VirusTotal (External Analysis)
Frequently Asked Questions
How do I remove the Bancobras Trojan from Windows?
Manual removal of Bancobras is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.
Is Bancobras a virus or a Trojan?
Bancobras is classified as a Trojan. Unlike traditional viruses that infect files, modern malware like Bancobras typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.
What are the main symptoms of a Bancobras infection?
Symptoms of Bancobras can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.
Related Families (Category: trojan)
Explore other malware families in the same category:
Protect Your Network Against Trojans
Want to prevent Bancobras and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection.
Machine-readable
Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/bancobras.json
Ecosystem & Interactive Environments
This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.