// AI threat desk · 26 Nov 2026
Home/AGENT · Agent Security
Agent SecurityMediumGEMINICVSS not assigned

RatHat malware uses Gemini to find on-screen controls and estimate bank balances

RatHat used Gemini to locate on-screen controls when automation failed, and its panel used Gemini to estimate victims’ bank balances from SMS, Cleafy found.

Illustration of malware-guided automation using AI to navigate a phone and estimate bank account balances.
AI-generated illustration, not a photo of the event.
Key takeaways
  • RatHat calls Gemini from an infected device to locate on-screen controls when static automation fails.
  • RatHat’s panel uses Gemini to estimate victims’ bank balances from collected SMS.
  • Cleafy found nearly 100 RatHat console deployments since April 2026 across Europe, LATAM and South-Eastern Asia.

RatHat’s malware asks Gemini where to tap when its automation fails, and its panel uses Gemini to estimate victims’ bank balances from SMS.

Cleafy found nearly 100 console deployments operating in parallel against Europe, LATAM and South-Eastern Asia. The malware can gain shell-level control through Android’s Accessibility access and wireless debugging, allowing a service to remain reachable through a reverse tunnel after the malicious app is removed, until the phone reboots.

RatHat’s console builds, signs and publishes malware samples, while the malware calls Gemini directly from infected devices when static automation fails on unfamiliar phone interfaces.

On this page

RatHat uses wireless debugging to reach shell-level control

After a victim grants Accessibility access, RatHat enables wireless debugging, pairs with Android Debug Bridge and stages a native Go service. It also deploys an FRP client that opens a reverse tunnel to the operator.

The Go service operates outside Android’s permission model and remains reachable through the tunnel. Cleafy said it survives removal of the malicious app until reboot.

The malware calls Gemini models directly from the device, using an API key embedded in its configuration, to locate on-screen controls on unfamiliar manufacturer interfaces or languages.

RatHat’s console runs three generations of Android malware

Cleafy recovered three generations: an unversioned release identifying itself as BlackCat, followed by Panda Workshop V5 and V6. All three were live between April and September 2026.

The panel builds, signs and publishes samples, then rebuilds them on a schedule to evade hash-based detection, without the operator touching the hosting infrastructure.

GenerationPeriod or detail
BlackCat Remote Control ManagementUnversioned first release, live between April and September 2026
Panda Workshop V5Second generation, live between April and September 2026
Panda Workshop V6Third generation, live between April and September 2026

RatHat reaches phones through messages and advertisements

Zimperium researchers also found that the malware can use generative AI to navigate and control an infected device in real time, while monitoring raw touch input to reconstruct PINs, passwords and unlock patterns.

Cleafy said the licensing controls and nearly 100 deployments are consistent with a Malware-as-a-Service model, with activity running in parallel across Europe, LATAM and South-Eastern Asia.

FAQ

What is the RatHat Android malware campaign?

RatHat is an Android malware operation with consoles used in nearly 100 deployments since April 2026. Cleafy found activity across Europe, LATAM and South-Eastern Asia.

How does RatHat use Gemini?

RatHat calls Gemini from the infected device to locate controls when fixed automation fails on unfamiliar phone interfaces. Its panel also uses Gemini to estimate victims’ bank balances from SMS.

How does RatHat gain control of an Android phone?

After receiving Accessibility access, RatHat enables wireless debugging, pairs with Android Debug Bridge and deploys a native Go service with a reverse tunnel for shell-level control.

Can RatHat survive removal of its malicious app?

The Go service can remain reachable through a reverse tunnel and outlive removal of the malicious app until reboot.

How is RatHat distributed?

Zimperium said RatHat reaches phones through text messages and online advertisements that lead to third-party download sites.

Sources

  1. New RatHat Android malware uses AI to automate device control, HKCERTPrimary
  2. From BlackCat to Panda Workshop: Inside the Evolving C2 Panel Behind RATHat | Cleafy, CleafyPrimary
  3. RatHat: AI-Powered Mobile Threat is Here for Your Credentials & Bank Accounts, ZimperiumPrimary
  4. RatHat Android Malware Console Uses Gemini to Identify Higher-Value Victims, The Hacker News
  5. New RatHat Android malware uses AI to automate device control, BleepingComputer
  6. This Android malware is nuts: it connects to your phone like a developer, but from the inside, Cybernews
  7. RatHat Android Trojan Uses AI for Automation, SecurityWeek
  8. RatHat Android Malware Uses AI to Target Banking Credentials in Real Time, Hackread
How we checked this story
ClaimSourceStatus
Cleafy found nearly 100 RatHat console deployments since April 2026.CleafyConfirmed
Cleafy found three RatHat console generations between April and September 2026: BlackCat Remote Control Management, Panda Workshop V5 and Panda Workshop V6.CleafyConfirmed
Cleafy found that the console builds, signs and publishes malware samples without operators directly touching hosting infrastructure.CleafyConfirmed
Cleafy found that RatHat uses Accessibility access to enable wireless debugging, pair with Android Debug Bridge and obtain shell-level control.CleafyConfirmed
Cleafy found that the Go service remains reachable through a reverse tunnel and survives removal of the malicious app until reboot.CleafyConfirmed
Cleafy found that the malware calls Gemini directly from the device when static automation fails on unfamiliar phone interfaces.CleafyConfirmed
Cleafy said the Hacker News reported that RatHat’s latest console asks Gemini to estimate each victim’s bank balance from SMS and sort phones into value groups.Cleafy, via The Hacker NewsAttributed
The Hacker News reported that Cleafy found nearly 100 console deployments since April 2026 and described the activity as malware as a service.Cleafy, via The Hacker NewsAttributed
Zimperium said the Hacker News reported that RatHat reaches phones through text messages and online advertisements leading to third-party download sites.Zimperium, via The Hacker NewsAttributed
Zimperium found that RatHat uses generative AI to navigate and control infected devices in real time.ZimperiumConfirmed
Zimperium found that RatHat reconstructs PINs, passwords and unlock patterns by monitoring raw touch input.ZimperiumConfirmed
HKCERT reported that RatHat is an Android malware with an AI-powered subsystem that helps operators remotely navigate compromised devices.HKCERTAttributed
BleepingComputer reported that Zimperium researchers analyzed RatHat’s AI-powered subsystem for remotely navigating compromised devices.Zimperium, via BleepingComputerAttributed
Cybernews reported that RatHat can establish Android developer debugging access from inside an infected phone.CybernewsAttributed
Zimperium said securityWeek reported that RatHat uses generative AI to navigate and control infected devices in real time.Zimperium, via SecurityWeekAttributed
Zimperium said securityWeek reported that RatHat is distributed through smishing and malvertising and uses a multi-stage infection pipeline to gain shell-level execution.Zimperium, via SecurityWeekAttributed
Zimperium said hackread reported that RatHat sends the device’s live Accessibility tree to a generative AI assistant, which can return coordinates, text and navigation commands.Zimperium, via HackreadAttributed
Zimperium said hackread reported that RatHat enables wireless debugging, reads the ADB pairing code and connects to the phone’s local ADB service.Zimperium, via HackreadAttributed
Zimperium said hackread reported that RatHat can reinstall itself after removal and restore runtime permissions and Accessibility settings through shell commands.Zimperium, via HackreadAttributed
zimperium.com published its report on Sep 16, 2026.zimperium.comConfirmed

Could not verify

  • Whether RatHat has been exploited in the wild beyond the reported campaign is not established
  • How many Android devices or victims were infected is not established
  • Whether the reported activity is linked to a specific threat group is not established
  • Whether the malware completed fraudulent bank transfers is not established
  • Whether a CVE has been assigned is not established
Explore with AI