---
id: 18202
lang: en
title: "RatHat Trojan Asks Gemini to Find the Right Button: About 10 Infections in Russia and Belarus"
published_at: "2026-11-25 14:34:14"
source_name: "Habr AI"
source_url: "https://habr.com/ru/companies/speshu_ai/articles/1112124/?utm_campaign=1112124&utm_source=habrahabr&utm_medium=rss"
canonical_url: "https://news.hamidun.com/en/news/18202"
categories: ["llm", "ethics"]
publisher: "AI News by Jemal Hamidun (news.hamidun.com)"
---

# RatHat Trojan Asks Gemini to Find the Right Button: About 10 Infections in Russia and Belarus

> **Краткая суть (BLUF):** RatHat poses as a "new social network" and asks the user to enable "Accessibility," after which it presses buttons on the owner's behalf. To avoid getting lost across different firmware versions and languages, the trojan asks Gemini 2.5 Flash-Lite to find the required toggle on screen. F6 found about ten infected smartphones in Russia and Belarus. For that reason, screen-control access should not be granted to anyone except trusted apps.  • Gemini only recognizes the interface; the trojan itself does the tapping • Fake PIN-code forms for Alipay and WeChat are drawn on top of the real apps • A disappearing icon does not mean the trojan has been removed: it can switch its icon to Chrome

The app promised access to a new social network, but instead of registration it offered to change the phone's settings. That is how RatHat looked. It is an Android trojan that F6 specialists found on about ten smartphones in Russia and Belarus in October 2026. What is unusual about it is something else: on an infected device it calls the Gemini model, and Gemini helps it find the right menu items, even when the manufacturer has moved the buttons or the owner has chosen a different system language.

Researchers at Zimperium first described RatHat on September 16. What is new is the discovery of the trojan on users' devices in two countries; F6 reported this on November 24. "About ten" is the number of infections the company itself recorded, not an estimate of the total scale of distribution.

## How the infection looks and where Gemini comes in

The scenario is reconstructed from F6's analysis of the sample it studied; it is not the story of a specific victim. A person lands on a fake "new social network" site and downloads an APK, the Android installation file. Following the link is not enough: the program must be installed and launched by the user. After launch, a familiar splash screen appears with a dark background, an icon and a name.

Next, the app points to network problems and leads not to the Wi-Fi or mobile internet settings, but to the "Accessibility" section. If the owner enables the suggested service, the program gains the right to recognize elements on the screen and tap them on the owner's behalf. This is the moment when the mismatch between the explanation and the actual request is obvious to the naked eye.

This is where Gemini appears. In F6's code analysis, it found a specific example: Gemini 2.5 Flash-Lite helps RatHat find the wireless debugging toggle on screen. On different smartphones the label and position of this item differ, and a hard-coded tapping script breaks. The model looks at a description of the screen and indicates which element matches what is needed. The trojan then taps it itself. The role of AI here is narrow: recognizing the interface. It is not supposed to guess passwords or carry out payments on its own.

For the owner, this looks like this: windows change on the screen that they did not open. Having received accessibility access, RatHat confirms system prompts itself, and according to F6's observations the windows open and close within a few seconds. The "social network" icon may disappear or turn into a Chrome icon, for example, and the trojan will continue to read messages and notifications, including one-time codes. A disappeared icon does not mean the app has been removed.

## A fake window for the PIN code

In the samples studied, researchers found fake PIN-code entry forms for Alipay and WeChat. A person opens a real payment app, and the trojan shows its own screen on top of it. The code is entered where people are used to entering it, but it is received not by the payment service. No second suspicious link is needed to persuade the victim to proceed.

F6 also described another risk: substitution of bank details when preparing a transfer. In the first case the secret code is at risk; in the second, the payment itself is: the user intends to send money to one recipient, while the details may be changed. An important caveat: these are the trojan's capabilities, not confirmed consequences of the October infections. F6's report contains no data on the amounts of debits or on the number of affected bank customers.

## What to do and what this means for the industry

The most useful takeaway from this story is not the app's name or icon, but the request made at first launch. If a "social network" explains connectivity problems by saying it has not been allowed to control the screen, do not enable accessibility services for it. If a link to install or update something was sent supposedly from a bank, verify the offer by calling the number on the official website, not the number from the message.

If the permission has already been granted and system windows switch without your touch, F6 recommends turning off both Wi-Fi and mobile internet. If you have already entered a payment PIN into an unexpectedly appearing form, contact your bank from a different device and check your account transactions.

For developers and product managers building mobile financial services, the conclusion is practical. Malicious programs now have an accessible way to adapt to other people's interfaces: previously a tapping script had to be tailored to each firmware, but now that work can be offloaded to a cloud model. As a result, defenses that rely on the inconvenience of such adaptation perform worse. More weight falls on checks of the behavior itself: what an app asks the system for, which accessibility services are enabled, and whether something is drawn over your PIN-entry screen. While the scale of infections is still small, this technique will most likely be repeated.

---
- **Первоисточник:** [Habr AI](https://habr.com/ru/companies/speshu_ai/articles/1112124/?utm_campaign=1112124&utm_source=habrahabr&utm_medium=rss)
- **Каноническая ссылка:** https://news.hamidun.com/en/news/18202
- **Экосистема автора:** [Бесплатный интенсив по вайбкодингу — предзапись в Нике](https://t.me/vibecodeguidebot?start=agent_intensive_news_md) · [Nomad AI](https://nomadnet.ai) · [Telegram @jemal_hamidun](https://t.me/jemal_hamidun)
