Bancos

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

Overview

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

Understanding Bancos
To the victim, a Bancos infection is invisible until their bank account is mysteriously drained. For threat intelligence analysts, Bancos represents a highly localized, deeply entrenched criminal ecosystem. Brazilian threat actors continually iterate on Bancos, 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
Bancos 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, Bancos 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, Bancos 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_BANCOS {
    meta:
        description = "Detects Bancos (trojan)"
        author = "SystemHelpdesk Boilerplate Generator"
        date = "2026-07-06"
    strings:
        $s1 = "bancos" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Sigma Rule

title: Suspicious Bancos Activity
id: 81cfe7bf62c890886b770e5c57fbaa0f
status: experimental
description: Detects generic indicators of the bancos malware family.
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith:
            - '\cmd.exe'
            - '\powershell.exe'
        CommandLine|contains:
            - "*bancos*"
    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 Bancos 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 Bancos frequently updates its persistence mechanisms and drops secondary payloads.

References & External Analysis

Frequently Asked Questions

How do I remove the Bancos Trojan from Windows?

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

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

What are the main symptoms of a Bancos infection?

Symptoms of Bancos 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 Bancos 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/bancos.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.