GoPix is an advanced Brazilian banking trojan that uses malvertising via Google Ads, stolen code-signing certificates, obfuscated PowerShell, memory-only implants, and short-lived C2s to target internet banking users, Pix transactions, Boleto slips, and cryptocurrency wallets. The malware executes a novel man-in-the-middle attack by using malicious PAC files and injecting trusted root certificates into browser memory while evading analysis with anti-fraud checks and in-memory execution. #GoPix #Pix
Keypoints
- Initial access is achieved through malvertising campaigns (Google Ads) that lure victims to malicious landing pages offering fake installers (e.g., âWhatsApp Web installerâ).
- Initial payloads are delivered as signed NSIS installers or ZIP files with LNK shortcuts; a stolen code-signing certificate is used to sign malicious installers to evade detection.
- Multiple stages execute entirely in memory via obfuscated PowerShell and shellcode: a memory-only dropper decrypts and loads DLLs/shellcode into browser processes, leaving few artifacts on disk.
- GoPix injects into browser processes using direct syscalls and process injection to load the main implant, erases MZ signatures in memory, and uses process-jumping to leverage functionality across processes.
- The malware monitors and manipulates financial transactions: it steals and replaces clipboard data (Pix, Boleto, Bitcoin/Ethereum addresses) and reports transactions to C2 servers.
- GoPix performs an unprecedented MITM attack by generating PAC files (with CRC32-obfuscated host entries) and injecting trusted root certificates into browser memory to intercept and tamper HTTPS traffic.
- Operators use anti-fraud and reputation services to pre-qualify targets (avoid sandboxes and analysts), employ short-lived C2 servers, and implement persistence and cleanup mechanisms to frustrate DFIR efforts.
MITRE Techniques
- [T1189 ] Drive-by Compromise â Malvertising campaigns via Google Ads deliver malicious landing pages and installers (âuse Google Ads to spread baits related to popular services like WhatsApp⌠and lure victims to malicious landing pages.â)
- [T1204 ] User Execution â Social engineering and fake installers (NSIS fake âWhatsApp Web installerâ) trick users into running the payload (âthe victim will then be presented with a fake webpage offering to download advertised software, this being the malicious âWhatsApp Web installerââ).
- [T1105 ] Ingress Tool Transfer â Downloading of next-stage payloads and remote PowerShell scripts from malicious URLs (âit will then return a JSON response with two URLsâ / âdownload and execute the next-stage payload from the malicious URLâ).
- [T1059.001 ] PowerShell â Extensive use of obfuscated and memory-only PowerShell scripts to collect system info, retrieve JSON configs, decrypt shellcode, and execute dropper shellcode in-memory (âobfuscated PowerShell script⌠decrypts the encrypted PowerShell script ps⌠the decrypted script is never loaded to disk.â)
- [T1027 ] Obfuscated Files or Information â Multiple obfuscation layers, encrypted shellcode, and encrypted strings in droppers and payloads to hinder analysis (âstrategic use of multiple obfuscation layers and a stolen code signing certificateâ).
- [T1553.002 ] Code Signing â Use of a stolen digital certificate to sign NSIS installers to appear legitimate (âdigitally signed with a stolen code signing certificate issued to âPLK Management Limitedââ).
- [T1055 ] Process Injection â Launching browser processes suspended via direct syscalls and injecting main GoPix shellcode into the browser process to run in-memory implants (âthe dropper uses direct syscalls to launch the chosen browser process in a suspended state⌠inject the main GoPix shellcodeâ).
- [T1056 ] Input Capture â Clipboard data theft and manipulation to intercept Pix, Boleto, and cryptocurrency addresses (âclipboard stealing and replacing feature⌠when a Bitcoin or Ethereum wallet is copied to the clipboard, the malware replaces the addressâ).
- [T1071.001 ] Application Layer Protocol: Web Protocols â C2 and payload downloads use HTTP/HTTPS to communicate and retrieve modules/configuration (âthe script obtains a JSON file containing GoPix modules and a configuration that is saved on the victimâs computerâ).
- [T1557 ] Man-in-the-Middle â Use of malicious PAC files and injected root certificates to intercept and modify HTTPS traffic between victims and legitimate banking sites (âthe purpose of the PAC file in GoPix attacks is to manipulate the traffic⌠injects a trusted root certificate into the memory of a web browserâ).
- [T1497 ] Virtualization/Sandbox Evasion â Abuse of legitimate anti-fraud/reputation services to detect sandboxes or analysis environments and avoid delivering payloads to non-targets (âabuse legitimate anti-fraud and reputation services to perform targeted delivery of its payload and ensure that they have not infected a sandbox or system used in analysisâ).
- [T1218 ] Signed Binary Proxy Execution / Living off the Land Binaries â Use of legitimate system utilities and techniques (e.g., LNK files, PowerShell, NSIS installers) to execute payloads and evade controls (âOperating as a LOLBin (Living-off-the-Land Binary), GoPix exemplifies a sophisticated approach that integrates malvertising vectorsâ).
- [T1562.001 ] Disable or Modify Tools â Potentially disabling security software and using process checks to avoid non-browser processes when intercepting proxy connections (âit then takes the process executable name CRC32C checksum and compares it with a hardcoded list of browsers⌠If it doesnât match a known browser, the malware simply terminates the connectionâ / âpotentially disabling security softwareâ).
Indicators of Compromise
- [File Hash ] NSIS installer and subsequent payloads â EB0B4E35A2BA442821E28D617DD2DAA2 (NSIS installer), C64AE7C50394799CE02E97288A12FFF (ZIP with LNK), and 2 more hashes.
- [File Hash ] Dropper and main payload â D3A17CB4CDBA724A0021F5076B33A103 (malware dropper), 28C314ACC587F1EA5C5666E935DB716C (main payload).
- [Certificate Thumbprint ] Malicious root certificates injected into browser memory â f110d0bd7f3bd1c7b276dc78154dd21eef953384 (Name: CN=Root CA 2024), 1b1f85b68e6c9fde709d975a186185c94c0faa51 (Name: CN=Root CA 2025).
- [Domains/URLs ] C2 and malicious landing pages â c2paletolife[.]com, https://correioez0ubcfht9i3.lovehomely[.]com/, and 7 more related domains/URLs used for distribution and C2.
- [File Names / Artifacts ] Delivered installer and shortcuts â fake âWhatsApp Web installerâ (NSIS executable), ZIP archive containing an LNK shortcut used to execute obfuscated PowerShell.
Read more: https://securelist.com/gopix-banking-trojan/119173/