Cyber Security News

Android Malware Turns Gemini AI Into an Assistant for On-Device Attacks

A newly documented Android banking trojan named RATHat is demonstrating how generative AI can be operationalized inside mobile malware.

The threat uses Google Gemini models to navigate unfamiliar Android interfaces, while its operator panel applies AI to identify higher-value victims from stolen SMS data.

The malware disguises itself as legitimate applications, then relies on social engineering to persuade victims to enable Android Accessibility Services. That initial permission becomes the gateway to a far more invasive attack chain.

Once Accessibility access is granted, RATHat automatically enables Developer Options and Wireless Debugging, collects the local Android Debug Bridge pairing code from the screen, and pairs with the device’s own ADB daemon.

This gives the malware shell-level access as Android’s shell user, UID 2000, rather than merely the permissions assigned to the malicious APK.

It can then stage a native Go-based service in /data/local/tmp and deploy an FRP client to create a reverse tunnel to attacker-controlled infrastructure.

This architecture fundamentally changes the defender’s problem. The malicious application is no longer the only component that matters.

The Go agent runs outside the app’s normal process lifecycle and can continue operating even if the victim removes the visible APK.

According to the research, the service can check whether the app remains installed and reinstall it with runtime permissions, while restoring Accessibility settings through shell commands.

The result is persistence that survives app removal until the device is rebooted or the malicious shell-level components are removed.

RATHat Architecture (Source : Cleafy).

The most notable feature is RATHat’s use of Gemini to overcome a long-standing limitation in Android fraud automation: device fragmentation.

Conventional banking trojans depend on static UI locators and scripted taps, which can fail when a victim uses a different Android version, language, OEM skin, or display layout.

RATHat serializes the live Accessibility UI tree into XML and submits it to Gemini Flash models, asking the model to identify a specific control, return its screen coordinates as JSON, resolve visible text, or advise navigation actions.

The malware stores an API key in its configuration and uses low-temperature, short-output prompts suited to machine-driven decisions rather than chat.

Cleafy said in a report shared with GBhackers, RATHat is distributed through smishing, malvertising, deceptive download portals and third-party forums.

Gemini-Powered Malware

In practical terms, Gemini is being used as an adaptive UI-navigation component. If RATHat cannot find “Wireless debugging,” a pairing option, or another required settings control through predefined logic, the model can help it locate the element and continue the infection sequence.

This reduces the need for developers to manually engineer reliable automation for every Android variant and localization.

RATHat’s AI integration also extends to the operator side. The malware’s evolving command-and-control ecosystem, reportedly rebranded from BlackCat to Panda Workshop, includes functions for analysing intercepted SMS messages and estimating victims’ financial value.

The C2 Panels Observed, from the Earlier Fisher to Panda Workshop V6 (Source : Cleafy).

The panel can extract apparent account balances, assign AI-driven device ratings and organize compromised devices into categories such as analysed, high-value and mid-value targets.

This allows operators to prioritize victims without manually reviewing every message collected from infected phones.

The C2 panel reportedly evolved through three versions between April and September 2026, despite limited changes to the implant itself.

It acts as a malware-production platform capable of building, packing, signing and publishing APKs from a web interface.

Scheduled rebuilds can regenerate samples at fixed intervals, undermining hash-based detections by continuously producing new file artifacts.

When the malware boots up, it retrieves the list of global templates through /api/injection/global-configs that are preloaded in the panel.

The latest Panda Workshop version also adds phishing download-page templates, including layouts designed to resemble a “Google Store” page.

AI Configuration Across Generations, and the Balance Analysis Results (Source : Cleafy).

Researchers identified nearly 100 distinct deployments associated with the panel infrastructure since April, with campaigns observed across Europe, Latin America and South-Eastern Asia.

Licensing controls, account caps and role-based operator features suggest the infrastructure may support a Malware-as-a-Service model in which multiple affiliates operate dedicated instances.

For defenders, RATHat reinforces that monitoring must extend beyond malicious APK signatures.

High-priority indicators include unexplained Accessibility activation, Wireless Debugging enablement, local ADB pairing activity, shell processes running under UID 2000, suspicious binaries in /data/local/tmp, and outbound reverse-proxy connections.

Financial organizations should also treat unexpected overlay activity, screen-capture behavior and raw-input access as high-risk signals, particularly on devices that have enabled developer-facing debugging functions.

The broader concern is not only that RATHat steals credentials and OTPs, but that it turns AI into a resilient on-device decision engine.

Gemini is not conducting the fraud itself; it is helping malware adapt when scripted automation encounters the real-world complexity of Android devices.

That capability makes automated fraud campaigns more scalable, less dependent on per-target customization and potentially more difficult to disrupt.

Indicators of Compromise

TypeValueDescription
Domainadmin.chunhuating[.]bestSep 2026 C2 (Panda V6)
Domainadmin.xiongmaocs[.]picsAug 2026 C2 (Panda V5)
IPV48.231.120[.]246Apr 2026 C2 (BlackCat)
Domainadmin.rathat[.]liveDec 2025 / Feb 2026 C2 (Fisher)
URLhttps://dramaspoolcoa[.]com/en.htmlSep 2026 Delivery

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.

Cut every SOC alert investigation by 21 min. Power your SOC with instant IOC context for immediate response: Integrate TI Lookup in your SOC

Mayura Kathir

Mayura Kathir is a cybersecurity reporter at GBHackers News, covering daily incidents including data breaches, malware attacks, cybercrime, vulnerabilities, zero-day exploits, and more.

Recent Posts

Microsoft Paint Vulnerability Allows Hackers to Execute Malicious Code Remotely Without User Interaction

Microsoft has announced a vulnerability in Windows Paint that could let unauthenticated attackers execute malicious…

3 minutes ago

ARTEX AI Framework Linked to Bank Breaches and Cloud Attacks Found Exposed Across Hundreds of Servers

An autonomous penetration-testing framework linked to South Korean banking breaches and cloud supply-chain attacks is…

34 minutes ago

Shopify Makes IP Allowlisting Mandatory for All Public Apps to Prevent Stolen API Token Abuse

Shopify is making IP allowlisting mandatory for all public apps to limit abuse of stolen…

43 minutes ago

OpenAI’s New GPT-6 Cyber Finds 81 High-Severity Firefox Vulnerabilities and 948 Linux Kernel Exploits

OpenAI has introduced GPT-6 Cyber, a security-focused model built to find and validate exploitable vulnerabilities…

58 minutes ago

OpenMatter Network Positions Decentralized Computing as an Alternative to Data Centers for AI

Melbourne, Florida, November 5th, 2026, CyberNewswire OpenMatter Network, a pioneer in decentralized infrastructure for agentic…

13 hours ago

China-Aligned Hackers Hijack Popular Sogou Keyboard Software to Secretly Install DarkVigil Malware

A China-aligned espionage group abused the update traffic of Sogou Input Method, one of China's…

18 hours ago