RatHat uses Gemini to rank victims by estimated bank balances

Cleafy says the Android malware uses Google's model to prioritize victims and help set up phone access—not to transfer money in the samples it analyzed.

Cleafy says the Android malware uses Google's model to prioritize victims and help set up phone access—not to transfer money in the samples it analyzed.
RatHat, an Android banking trojan, uses Google's Gemini AI model to help operators decide which infected phones deserve their attention. Security company Cleafy, in findings reported by The Hacker News, says the malware's latest web console estimates victims' bank balances from collected text messages and groups phones as high-value or mid-value.
The main change is in the console—the website operators use to build the malware and control infected phones. Cleafy says the malware on phones has changed little since late 2025, while its earlier console was replaced by three new versions used between April and September 2026.
The console stores stolen text messages and passwords entered into fake login screens placed over banking apps. Gemini uses the messages to estimate balances, not to verify actual holdings. How accurately those estimates reflect victims' bank balances is not known. Cleafy found no use of the model to move money in the samples it analyzed.
Gemini also provides a fallback on infected phones. RatHat's preset tapping instructions cover particular phone interfaces, Android versions and languages. When those instructions fail on an unfamiliar device, the malware sends the screen layout to Gemini and asks where to tap. Cleafy says this assistance is used only to keep wireless-debugging setup working, rather than to automate banking transactions.
Each console version lets an operator build the malware, disguise it inside a harmless-looking app, add a digital signature and publish it to Amazon S3 or a web server. The console handles publication without the operator managing the hosting setup.
It can also rebuild the app on a schedule, such as every hour. Each rebuild produces a new file from the same malware. Cleafy says the aim is to evade security tools that recognize known files by their hash—a digital fingerprint. That describes an evasion strategy, not proof that the malware escapes all detection.
The Hacker News reports Zimperium's finding that RatHat reaches phones through text messages and online ads leading to third-party download sites. Once installed, the app asks for Accessibility access, which allows it to read the screen and tap on the user's behalf.
RatHat uses that access to set up a connection through Android Debug Bridge (ADB), Android's built-in debugging tool. This gives the malware a shell—a way to run commands—as Android's shell user, outside the permissions granted to the app. Although the ADB connection is set up automatically, an operator must deploy a separate program from the console before that program runs.
Cleafy says the separate program remains reachable through a connection the phone opens to the operator's server. It keeps running after the malicious app is removed, until the phone restarts. Zimperium also found that the program can reinstall the deleted app and restore its Accessibility access.
Screen capture through the malicious app asks the user for permission and displays a recording icon. The separate program instead uses tools called minicap and minitouch to stream the screen and send taps without that prompt or icon.
According to Cleafy, neither tool works on Android 14 or later, leaving those phones with the app's permission-prompted screen capture. Cleafy also described a backup screen-capture method using screencap at about five frames per second, but has not specified which Android versions it covers.
Cleafy traced nearly 100 console deployments since April 2026 by searching for their page titles and web code. The count measures discovered consoles, not infected phones. Cleafy says the pattern fits malware sold as a service, with each customer running a separate copy, but has not explained what counts as one deployment. The number of victims is not known.
The reported persistence means uninstalling the app alone may leave the separate program running. A restart ends that program's current run, but neither Cleafy nor Zimperium has provided complete removal instructions.

The campaigns targeted more than 100 organizations tied to Ukraine. Published checks can help defenders investigate, but the number of breached organizations is undisclosed.
3 min


Records requests have exposed misuse of the vehicle-tracking system, but disclosure charges vary widely and optional transparency portals do not always make data public.
3 min
The managed offering supports four software interfaces, cross-region routing, prompt caching and three service tiers.
2 min