Banbra

Category: trojan · Aliases: None known · Sample count (EMBER 2018): 53 · Enrichment: expert-seo · Updated: 2026-06-09
Category: TrojanActor: Unknown / CybercriminalIndustry: Global / OpportunisticMotivation: Opportunistic

Overview

TrojanDownloader:Win32/Banbra is a massive, highly prolific family of banking trojans that historically originated from, and almost exclusively targeted, users in Brazil. Similar to Bancos, it is engineered to monitor browsing activity, detect when a user visits targeted Latin American financial institutions, and steal their banking credentials.

Understanding Banbra
To the victim, a Banbra infection is invisible until their bank account is mysteriously drained. For threat intelligence analysts, Banbra represents a highly localized, deeply entrenched criminal ecosystem. Brazilian threat actors continually iterate on Banbra, making it a cat-and-mouse game for AV vendors. It differs from sophisticated, global trojans (like Zeus) by often relying on simpler, yet highly effective, social engineering and web overlays rather than complex rootkits.

Execution and Evasion Strategies
Banbra is primarily distributed via massive, localized malspam campaigns (phishing emails written in Portuguese, often impersonating Brazilian tax authorities, utilities, or banks). The emails contain links to ZIP files or malicious executables. Upon execution, Banbra establishes persistence (Registry Run keys or scheduled tasks). It continuously monitors the active browser window title or URL (`T1185`). When a targeted Brazilian bank is detected, Banbra springs into action. It often uses localized DNS hijacking (`T1568.002`) or simply drops a fake, full-screen HTML overlay over the legitimate banking site, tricking the user into entering their credentials, CPF (Brazilian taxpayer registry), and two-factor authentication tokens, which are immediately POSTed to the attacker's server.

Indicators of Compromise & Impact
The impact is severe, targeted financial fraud. Incident responders will observe anomalous outbound traffic to C2 servers, often hosted on compromised Brazilian infrastructure. EDR platforms will flag the malware monitoring browser APIs or modifying the local `HOSTS` file to redirect banking URLs. The presence of newly dropped, heavily packed executables in `%AppData%` originating from email clients is a strong IoC.

MITRE ATT&CK Techniques

Observed techniques used by this family, mapped to the MITRE ATT&CK framework:

TechniqueNameTactic
T1185Browser Session HijackingCollection
T1566.001Phishing: Spearphishing AttachmentInitial Access
T1056.001Input Capture: KeyloggingCollection
T1568.002Dynamic Resolution: Domain Generation AlgorithmsCommand and Control
T1048Exfiltration Over Alternative ProtocolExfiltration

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

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_BANBRA {
    meta:
        description = "Detects Banbra (trojan)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "banbra" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Banbra Activity
id: 9ce413deb7042fede0817960b939fa4b
status: experimental
description: Detects generic indicators of the banbra malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*banbra*"
    condition: selection
level: medium

Containment & Response Steps

Home Users: If you suspect a malware infection on your personal device, disconnect from the internet immediately and run a full system scan with your antivirus software. The steps below are intended for IT professionals responding to enterprise incidents.

Ordered checklist for responders. Adapt to your environment and engage professional support for active incidents.

  1. Immediately isolate the endpoint from the network to halt the active credential harvesting and prevent the attacker from maintaining a live session with the bank.
  2. Assume all financial credentials used on the machine are compromised; initiate mandatory password resets and contact relevant banking institutions immediately.
  3. Capture a forensic memory image to extract the active Banbra configuration, identifying exactly which financial institutions were targeted.
  4. Due to the aggressive credential harvesting, a complete, clean rebuild of the operating system is the most secure remediation.

What to Avoid

Common mistakes during response to this family that can destroy evidence, spread the infection, or worsen recovery.

  1. Do not allow the user to type any passwords or access sensitive portals while the machine is infected.
  2. Avoid relying solely on basic AV removal, as Banbra frequently updates its persistence mechanisms and drops secondary payloads.

References & External Analysis

Frequently Asked Questions

How do I remove the Banbra Trojan from Windows?

Manual removal of Banbra 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 Banbra a virus or a Trojan?

Banbra is classified as a Trojan. Unlike traditional viruses that infect files, modern malware like Banbra typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Banbra infection?

Symptoms of Banbra 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 Banbra and similar threats from compromising your organization? Read our comprehensive defensive guide: Banking Trojan Protection.

Need help with an active incident? Published by the SystemHelpdesk team.

Machine-readable

Get this profile as JSON: https://jordanricky1604-ship-it.github.io/malware-families-catalog/api/banbra.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.