Core event: not an overlay, but swapping out the banking app
Dutch mobile security company ThreatFabric has disclosed an Android banking trojan called Hirudo. Its most notable aspect is where it attacks: it no longer merely places a fake login page as an overlay on top of a banking app, but replaces the legitimate banking app with a specially modified copy, bypassing the app’s own security checks from inside the app.
Hard facts:
- Disclosed by: ThreatFabric (a Dutch mobile security company). Eward Driehuis, its VP of Fraud Engineering, said the operation combines credential theft, device takeover, screen and camera capture, and SMS theft, and comes with a “fairly mature backend.”
- Scope of impact: Replacement versions of 8 Indonesian banking apps have been discovered; credential theft targets cover Indonesia, China, India, Mexico, Morocco, and Thailand.
- Capabilities: on-device credential theft and real-time remote control, plus fake screens spoofing payment PINs, bank and wallet app login screens, and fake lock-screen pattern and PIN overlays.
- Installation prerequisites: Hirudo is installed as a second app and must separately be granted its own permissions (accessibility service and notification access) before it can do harm.
- Distribution channels: shopping, adult video, and entertainment dropper apps; it is assessed that users were lured via ads on Meta-owned social platforms to fake web pages disguised as Google Play Store landing pages.
The bait is real; the pop-up is a fake update
The dropper app itself “works”: it loads real content in a WebView (an in-app embedded web view)—a storefront, a video catalog, or short dramas—so the experience looks normal. The droppers named by ThreatFabric include Shopora (com.agbbh.kjdrttt), 1V1 X (com.onev.vip), KoiShort (com.koishort.app), and ZoyaTV (com.zoyatv.app).
The real work is hidden behind the content: a fixed startup flow collects promotion tracking data, pulls campaign configuration, and then checks whether the Hirudo RAT is installed and whether accessibility service and notification access are enabled. If not, it displays a fake “in-app update” prompt and installs the trojan as an update.
It also uses an anti-detection trick: before installing the payload, it deliberately configures a nonfunctional VPN connection to block network access, intended to disable cloud-based checks such as Google Play Protect—a trick StreamRat used before. However, ThreatFabric notes that Play Protect also has offline detection capabilities for known harmful apps, so this mechanism does not fully turn off protection; “We therefore assess that it is more likely intended to weaken the effectiveness of online reputation and code analysis mechanisms than to completely bypass Play Protect.”
The contrasting detail: the keybox that bypasses integrity checks is publicly leaked
The replacement process itself is mechanical: the trojan uses the accessibility service to discover installed banking apps, compares their signing certificates with built-in reference values, then displays a fake “update” prompt, opens the Android uninstaller without waiting for the user to tap, and downloads the corresponding bank’s replacement version in parallel. The user must first uninstall the legitimate app before installing this “near-identical malicious copy.” ThreatFabric calls this a “real constraint,” but what it buys is this: the app’s own security checks receive answers prepared in advance by the attacker.
Specifically, the replacement version includes a hooking engine (a mechanism that intercepts and rewrites the results of internal app function calls). It returns the real app signing certificate; returns an empty list when querying enabled accessibility services; and strips the FLAG_SECURE flag—whose purpose is precisely to prevent screenshots and screen recording, so once it is stripped, the attacker can remotely view and record the app screen. Key attestation (a certificate mechanism used to prove that an app has not been tampered with) is re-signed using a keybox carried with the package; Play Integrity requests are forwarded over plaintext HTTP to an operator-controlled server, which returns a “verdict” for the app to accept.
ThreatFabric highlights two details in particular: first, the keybox carried by the engine is not the operator’s own, but a publicly leaked keybox; second, because integrity requests are forwarded rather than genuinely generated, a valid integrity response does not by itself prove that the app has not been tampered with. On the backend, the system combines device control, multi-campaign management, and stolen-data management; the data includes device records, lock-screen history, and financial profiles containing “monthly income” and “risk score” fields.
Practical takeaways for readers: who should be vigilant and who should change their design
- Ordinary users: Install financial apps only from official app stores; be wary of “in-app update” prompts from shopping, short-drama, and adult video apps; regularly check which apps have accessibility service and notification access permissions, and revoke them when not needed.
- Banking and wallet app developers/risk teams: Do not treat device-generated signals as trustworthy evidence. In ThreatFabric’s words, once an app can be replaced, the signals it generates locally—signature, accessibility list, integrity verdict—must all be considered “possibly influenced by an attacker” and rechecked on the server side.
Closing thoughts
Hirudo moves the battlefield of Android banking trojans from the device layer to the target app’s own integrity checks, and it does so with a reusable engine: the same code can be used again against a different target app or in a different region. For defenders, this is less an isolated new sample and more a reminder about where the trust boundary should be placed.
