Home Android RATHat Android Banking Trojan Uses Gemini AI and ADB Shell to Take...

RATHat Android Banking Trojan Uses Gemini AI and ADB Shell to Take Control of Devices

0
RATHat Hijacks Android Devices

RATHat, an Android banking trojan, combines Google Gemini AI with Android Debug Bridge (ADB) abuse to steal credentials and give attackers remote access.

Its malicious application acts as an entry point, deploying a separate service that operates outside the app’s normal lifecycle. The malware spreads through malicious advertising, SMS phishing, and deceptive download pages.

Campaigns described in the supplied analysis target Europe, Latin America, and Southeast Asia. Earlier samples used cryptocurrency trading and streaming application disguises to persuade victims to install malicious APK files.

Unlike a conventional banking trojan, RATHat does not depend entirely on permissions held by its installed application. It abuses Accessibility access to create an additional control layer through the device’s own debugging interface.

RATHat Hijacks Android Devices

The infection chain depends on the victim granting Accessibility Service access. RATHat then navigates Android settings, enables Developer Options and wireless debugging, and reads the pairing code displayed on screen.

It pairs with the local ADB daemon without requiring an external computer. This connection provides shell access under Android’s UID 2000. Operators can then deploy a native Go service into /data/local/tmp.

RATHat Architecture (Source: cleafy)

The service runs separately from the application and maintains its own communication channel with the command-and-control infrastructure.

An FRP client creates a reverse tunnel, allowing attackers to reach the infected device remotely. Removing the malicious application does not immediately remove the running service.

The supplied analysis states that this access can remain until the next reboot; Zimperium also documented mechanisms for reinstalling the application.

Credential theft uses fake HTML screens placed over banking applications. Information entered into these overlays goes to the attacker. Other capabilities include SMS collection, contact access, file management, screen viewing, and remote gestures.

For screen control, the native service can download minicap and minitouch. However, the supplied analysis reports that these tools do not work on Android 14 and newer versions, limiting that particular control path.

Earlier Campaigns Delivering RATHat (February 2026) (Source: cleafy)

RATHat uses Gemini when fixed automation cannot identify controls on unfamiliar Android interfaces or languages. It converts the live Accessibility interface tree into XML and asks the model to identify a control’s coordinates or read its displayed text.

Calls go directly from the infected device to Gemini using an API key stored in the malware configuration. This helps the pairing process adapt when predefined interface rules fail.

Separately, the operator panel uses AI to extract bank balances from stolen SMS messages and rank infected devices. These scores help attackers prioritize potentially valuable victims rather than manually reviewing every device, cleafy said.

Indicators of Compromise

TypeIndicatorDescription
Domainadmin.chunhuating[.]bestSeptember 2026 C2 — Panda Workshop V6
Domainadmin.xiongmaocs[.]picsAugust 2026 C2 — Panda Workshop V5

Note: IP addresses and domains are intentionally defanged (e.g., [.]) to prevent accidental resolution or hyperlinking. Re-fang only within controlled threat intelligence platforms such as MISP, VirusTotal, or your SIEM.

Join 16,000+ SOC teams using ANY.RUN to streamline threat investigations and reduce manual effort. Explore for your team 

NO COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Exit mobile version