Cyber Incident Victim: PagBank
Date:
Mar 2023
Location:
Brazil
Summary
The PagBank incident involved the GoatRAT Android banking trojan targeting Brazil's Pix instant payment system to conduct unauthorized funds transfers. This malware exploited device Accessibility Services to deploy overlay attacks on banking apps, automating the injection of transaction amounts and Pix keys while simulating user clicks to finalize payments without victim awareness. Unlike many banking trojans, it focused solely on automated transfers, omitting SMS interception or credential theft. GoatRAT represented an expanding trend of Android malware incorporating automated transfer systems (ATS) frameworks to directly perform fraudulent transactions, reflecting a broader surge in mobile banking threats. The attack leveraged the popularity of the Pix platform to compromise accounts across multiple Brazilian financial institutions.
| CIA Posture | Motives | Tactics, Techniques & Procedures |
|---|---|---|
| Available to members | 1 motive | 3 techniques |
| Threat Actor | Type | Location |
|---|---|---|
| 1 actor | Available to members | Available to members |
Description
The GoatRAT Android banking Trojan emerged as a significant threat targeting Brazilian financial institutions, including PagBank, NUBank, and Banco Inter, in early 2023. This malware specialized in exploiting Brazil's Central Bank-operated Pix instant payment platform by compromising victims' mobile devices. Upon infection, GoatRAT abused Android's Accessibility Service to detect specific banking applications. When a targeted app like PagBank was active, the Trojan deployed a fake overlay window disguising itself as the legitimate banking interface while simultaneously interacting with the real application in the background. This technique allowed attackers to autonomously input transfer amounts and steal Pix keys — unique identifiers enabling instant payments — without requiring SMS interception or two-factor authentication bypasses. The malware then automated the transaction process by programmatically clicking the banking app's "Confirm" and "Pay" buttons. Following successful unauthorized transfers, GoatRAT removed the overlay to conceal its activity, leaving victims unaware of the fraudulent transactions until reviewing their accounts. Security researchers identified automated fund transfers as the Trojan's exclusive objective, distinguishing it from other banking malware that typically incorporates broader credential theft capabilities.

The incident reflected a documented escalation in mobile banking threat sophistication throughout 2022-2023, particularly targeting Latin America's expanding digital payment infrastructure. Kaspersky's research recorded nearly 200,000 new mobile banking Trojan variants in 2022 alone — double the previous year's volume and the highest surge in six years. GoatRAT exemplified this trend through its specialized automatic transfer system (ATS) framework designed for rapid financial fraud. In response to the threat landscape, cybersecurity analysts emphasized fundamental mobile security practices: installation exclusivity through official app stores, deployment of reputable antivirus solutions across all devices, and stringent avoidance of sharing payment credentials. They advocated mandatory use of strong passwords, multi-factor authentication, and biometric device locks alongside rigorous OS and application updates. Additional countermeasures included disabling unnecessary permissions, enabling Android's Play Protect service, and exercising caution with mobile-delivered SMS/email links to prevent initial infection vectors. The PagBank targeting highlighted how minimal-permission malware could execute substantial financial fraud within automated payment ecosystems through precision engineering rather than broad functionality.
