Hirudo Android trojan replaces banking apps with patched copies to bypass security checks

ThreatFabric report finds malware delivered through shopping, adult content and short drama apps

By LineZotpaper
Published
Read Time2 min
A new Android banking trojan named Hirudo steals account credentials by replacing legitimate banking apps with modified versions that disable security checks, giving attackers remote control of infected devices, researchers at mobile security firm ThreatFabric reported today.

ThreatFabric said it identified malicious copies of eight banking apps that use a hooking engine to bypass app-signature, Accessibility and Play Integrity checks by substituting certificate information or returning empty lists. Hirudo has been observed impersonating at least seven Indonesian banks, with additional targets in China, India, Mexico, Morocco and Thailand.

The malware is typically delivered through apps for shopping (Shopora), adult content (1V1 X) or short drama (ZoyaTV, KoiShort) that appear legitimate and provide the promised functionality. According to the researchers, these apps act as malware loaders, showing a fake update notification that leads to permission-granting prompts, including for Accessibility services.

Once installed, Hirudo launches the real banking app's uninstaller, downloads a patched copy and abuses its Accessibility permission to install it. ThreatFabric notes that this is a delicate, risky process, because the victim can interrupt it at two points.

The malicious copy retains almost all of the original app's code but loads a hooking engine built on the open-source frameworks YAHFA and Dobby. When launched, the patched app substitutes the genuine signing certificate when queried, hides enabled Accessibility services, removes screenshot protection, modifies key-attestation certificates and relays Play Integrity requests through an operator-controlled server.

"With the engine running inside the banking app's own process, the app's defenses are turned against it," the researchers say.

The evasion methods have limits. The bundled attestation keybox has been publicly leaked, and Google lists two of its certificates as compromised, so server-side revocation checks can detect those forgeries.

Once active on a device, Hirudo can steal banking passwords, payment PINs, device-unlock secrets and SMS messages, stream the screen to operators and provide access to both cameras. Its fake checkout pages collect payment PINs and then display a fabricated payment-success result.

§

Analysis

Why This Matters

  • Hirudo operates inside the banking app's own process, so defences designed to protect the app are used against the victim.
  • It defeats app-signature and Play Integrity checks, meaning standard Android security signals may not flag the tampered app.
  • The loader apps are functional and available through normal channels, making the initial infection hard to distinguish from a legitimate download.

Background

Android banking trojans have long used fake login screens or Accessibility services to capture credentials. Hirudo is notable for a different approach: it swaps the genuine banking app for a patched copy that keeps nearly all of the original code and adds malicious hooks. The report says the engine is built on the open-source frameworks YAHFA and Dobby, and the delivery chain depends on apps that work as advertised while also acting as loaders.

Key Perspectives

ThreatFabric researchers: They detail the attack chain and warn that running the hooking engine inside the banking app's process turns the app's own defenses against it. Banks and Google: The defence rests partly on server-side checks. The leaked attestation keybox and the two compromised certificates mean revocation checks can expose forgeries even when the device accepts them. Critics and sceptics: The researchers themselves note that installation is delicate and can be interrupted by the victim at two points, so the attack may fail in practice more often than the technical description suggests.

What to Watch

  • Whether Google's server-side revocation checks detect Hirudo's forged attestation certificates in real deployments.
  • Whether the loader apps are removed from stores or reappear under new names after takedowns.
  • Whether Hirudo expands beyond the eight banking apps and seven Indonesian banks named in the report to additional institutions and countries.

Sources

Zotpaper

Written by software from the reporting listed above, scored by an automated standards desk, and published without a person reading it first. If something here is wrong, tell the editor and it will be put right.

How we workSubscribe