Skip to main content
Mallory
Malware

RatHat

Tracked since Sep 16, 2026 · Updated today
Trending this week#63of 31,044 malware families
Mention activity · 30 days8 mentions · peak 2 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK51Techniques
IOCs15Tracked
Type
Banking trojan
Capabilities
Credential theftKeyloggingExfiltrationPersistencePrivilege escalationDefense evasion
Delivery
PhishingSmishingMalvertisingLanding pageLure
Platforms
Android

RatHat is an Android banking trojan that combines credential theft, surveillance, and remote device control. It is distributed through smishing, malicious advertisements, and phishing download pages, including counterfeit Google Play pages offering applications disguised as legitimate software. Campaigns have targeted Europe, Latin America, and Southeast Asia, with infections also observed in Russia and Belarus. Its financial targets include banking and cryptocurrency applications, Alipay, and WeChat Pay.

After obtaining Accessibility access, RatHat automates Android settings interactions to enable wireless debugging, reads the pairing details, and connects to the device’s local Android Debug Bridge service. This grants Android shell-user privileges rather than root access. Operators can then deploy an independent Go-based control service and an FRP reverse-proxy component for remote command execution, screen capture, and touch injection. The independent service can remain active after removal of the visible malicious application until reboot and can reinstall the application and restore permissions. RatHat also obstructs uninstallation and hides or changes its application identity.

RatHat steals credentials through HTML overlays targeting financial applications, logs Accessibility text changes, and intercepts SMS messages and notifications containing authentication codes. Its shell component collects raw touchscreen events, enabling reconstruction of PINs, passwords, and unlock patterns. Operators can retrieve contacts, photographs, files, and application information. On supported Android versions, native screen-capture and input utilities permit remote operation without the usual screen-recording prompt or indicator; Android 14 and later require an alternative app-based capture mechanism with user consent.

RatHat integrates Google Gemini Flash models to interpret interface descriptions when fixed navigation rules fail during wireless-debugging setup. A separate operator-panel feature analyzes stolen SMS messages to estimate account balances and prioritize victims. Observed AI functionality does not establish autonomous execution of fraudulent transfers. Its evolving management consoles support malware generation, signing, publishing, scheduled rebuilding to evade hash-based detection, and administration of separate deployments.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
MITRE ATT&CK

Techniques & procedures

51 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1583.008MalvertisingEvidence1

RatHat is primarily distributed through deceptive phishing sites promoted via malvertising.

Initial Access

3 techniques
T1566PhishingEvidence2

The malware is reported to be distributed through malicious advertising, SMS messages and phishing websites that promote APK downloads outside Google Play.

T1566.002Spearphishing LinkEvidence15

“Attackers distribute it through malicious adverts and phishing text messages” and “V6 ... added phishing download-page templates.”

T1566.003Spearphishing via ServiceEvidence1

“The campaign relies on deceptive download pages promoted through text-message phishing, malicious advertising and third-party forums.”

Execution

6 techniques
T1059Command and Scripting InterpreterEvidence4

RatHat installs an AI-assisted agent that runs system commands to steal information.

T1059.004Unix ShellEvidence8

“After gaining a shell via the local ADB daemon, the malware drops and executes an agent written in Go.”

T1072Software Deployment ToolsEvidence1

“With accessibility access, the malware silently taps through Developer Options, turns on Wireless Debugging, and reads the six-digit pairing code straight off the screen. It then pairs with the infected device.”

T1106Native APIEvidence1

“RatHat ... is installed through a dropper that carries two encrypted assets, abusing native SessionInstaller APIs to bypass restrictions.”

T1203Exploitation for Client ExecutionEvidence1

“[It relies] on an automated multi-stage infection pipeline to break out of Android’s application sandbox and gain shell-level execution.”

T1204.002Malicious FileEvidence12

“Fake apps lure victims into granting Accessibility access” and operators can “build, package, sign and publish malicious apps without leaving the console.”

Persistence

4 techniques
T1543.002Systemd ServiceEvidence1

“Once pairing succeeds, an operator can deploy a separate service written in Go with one click. It runs independently of the app...”

T1546Event Triggered ExecutionEvidence1

The malware monitors the foreground application and, upon detecting a targeted package, triggers the corresponding HTML injection mechanism.

T1546.008Accessibility FeaturesEvidence2

“After receiving Accessibility access, RATHat navigates the phone’s settings, enables wireless debugging and reads the pairing code displayed on screen.”

T1547Boot or Logon Autostart ExecutionEvidence1

The local-service is running outside the package lifecycle... if the app is not confirmed, then the app is reinstalled... granting every runtime permission automatically and re-granting Accessibility.

Privilege Escalation

7 techniques
T1543.002Systemd ServiceEvidence1

“Once pairing succeeds, an operator can deploy a separate service written in Go with one click. It runs independently of the app...”

T1546Event Triggered ExecutionEvidence1

The malware monitors the foreground application and, upon detecting a targeted package, triggers the corresponding HTML injection mechanism.

T1546.008Accessibility FeaturesEvidence2

“After receiving Accessibility access, RATHat navigates the phone’s settings, enables wireless debugging and reads the pairing code displayed on screen.”

T1547Boot or Logon Autostart ExecutionEvidence1

The local-service is running outside the package lifecycle... if the app is not confirmed, then the app is reinstalled... granting every runtime permission automatically and re-granting Accessibility.

T1548Abuse Elevation Control MechanismEvidence2

RatHat uses the accessibility permissions users grant it to navigate your phone’s menu system and unlock Wireless Debugging ... then grants itself ADB Shell permissions. This effectively grants the malware admin access to your device.

T1548.002Bypass User Account ControlEvidence1

Once the service is granted, SystemHelperService becomes the engine for every automated system change... Unlock Developer Options... Enable Wireless Debugging... scrape the 6-digit ADB Pairing Code and dynamic port.

T1548.004Elevated Execution with PromptEvidence1

The app can request Device Admin rights, which grants it the capability to wipe the device if an uninstall attempt is made.

Stealth

9 techniques
T1027Obfuscated Files or InformationEvidence9

“V6 obscured its frontend code” and “Scheduled rebuilding produces fresh files while keeping the underlying implant unchanged, helping campaigns evade detection methods that depend on recognizing previously recorded file hashes.”

T1027.002Software PackingEvidence1

The container tampering layer consists of declaring some files as directories in the zip, or setting the ZIP general-purpose encryption bit on some files. These modifications are ignored by Android libziparchive but not by unzip, apktool and other tools.

T1036MasqueradingEvidence4

“Fake apps lure victims into granting Accessibility access,” and earlier campaigns used “cryptocurrency trading and adult entertainment decoys.”

T1070.004File DeletionEvidence1

“Scheduled rebuilding produces fresh files while keeping the underlying implant unchanged, helping campaigns evade detection methods that depend on recognizing previously recorded file hashes.”

T1218System Binary Proxy ExecutionEvidence1

“The Go agent abuses its execution in a shell environment to use the standard Android debugging tool getevent to read the raw device file the kernel writes to.”

T1497Virtualization/Sandbox EvasionEvidence2

The malware also contains four anti-analysis layers and one anti-debug layer to bypass Android’s security controls.

T1497.003Time Based ChecksEvidence1

“The removal gap is important: deleting the visible app does not immediately stop the independent service, which survives until reboot.”

T1620Reflective Code LoadingEvidence1

“The second stage is a DEX file loaded directly into memory through reflection.”

T1622Debugger EvasionEvidence4

“Anti-Debugging: Checks for debuggers, Frida, Xposed, root indicators, and emulators.”

Defense Impairment

1 technique
T1685Disable or Modify ToolsEvidence5

RatHat actively prevents victims from uninstalling the malware. When an uninstall confirmation screen appears, the malware can intercept the process and cancel the removal and display a fake Google Play overlay, which shows a fraudulent error message.

Credential Access

7 techniques
T1056Input CaptureEvidence7

“The service can ... inject touches using Android testing tools” and “Fake screens placed over targeted apps capture entered information.”

T1056.001KeyloggingEvidence6

“The malware implements keylogging through three specialized mechanisms: it monitors accessibility text-change events ... reads browser address bars ... [and] can record, at the hardware level, where the user’s finger touched the screen.”

T1056.002GUI Input CaptureEvidence4

“Fake screens placed over targeted apps capture entered information.”

T1056.003Web Portal CaptureEvidence8

“RatHat also uses WebView-based HTML overlays that appear over targeted banking and crypto apps, presenting fake interfaces designed to capture users’ login credentials.”

T1111Multi-Factor Authentication InterceptionEvidence1

“Combine that with SMS interception for 2FA codes and you’ve got full account takeover.”

T1552.001Credentials In FilesEvidence1

An SMS receiver and notification listener work in tandem to intercept 2FA/OTP codes... /api/data/messages [carries] SMS bodies.

T1552.004Private KeysEvidence1

“cert.pem Device ADB certificate collected and uploaded by the malware” and “private.key Device ADB private key collected and uploaded by the malware.”

Discovery

5 techniques
T1217Browser Information DiscoveryEvidence1

“[A] second component [is] scraping URLs straight out of browser address bars.”

T1497Virtualization/Sandbox EvasionEvidence2

The malware also contains four anti-analysis layers and one anti-debug layer to bypass Android’s security controls.

T1497.003Time Based ChecksEvidence1

“The removal gap is important: deleting the visible app does not immediately stop the independent service, which survives until reboot.”

T1518Software DiscoveryEvidence4

„Командите што ги испраќа C2 серверот ... овозможувајќи ... да собираат ... листа на инсталирани апликации.“

T1622Debugger EvasionEvidence4

“Anti-Debugging: Checks for debuggers, Frida, Xposed, root indicators, and emulators.”

Lateral Movement

3 techniques
T1021Remote ServicesEvidence1

“RatHat uses automated taps to enable Developer Options and Wireless Debugging… then pairs with the phone’s local ADB service.”

T1072Software Deployment ToolsEvidence1

“With accessibility access, the malware silently taps through Developer Options, turns on Wireless Debugging, and reads the six-digit pairing code straight off the screen. It then pairs with the infected device.”

T1210Exploitation of Remote ServicesEvidence1

“It pairs with the local Android Debug Bridge service, gaining access as the shell user, identified by Android as UID 2000.”

Collection

8 techniques
T1005Data from Local SystemEvidence3

“Alongside remote control, the panel exposes stolen messages, credentials, contacts, photographs and files.”

T1056Input CaptureEvidence7

“The service can ... inject touches using Android testing tools” and “Fake screens placed over targeted apps capture entered information.”

T1056.001KeyloggingEvidence6

“The malware implements keylogging through three specialized mechanisms: it monitors accessibility text-change events ... reads browser address bars ... [and] can record, at the hardware level, where the user’s finger touched the screen.”

T1056.002GUI Input CaptureEvidence4

“Fake screens placed over targeted apps capture entered information.”

T1056.003Web Portal CaptureEvidence8

“RatHat also uses WebView-based HTML overlays that appear over targeted banking and crypto apps, presenting fake interfaces designed to capture users’ login credentials.”

T1113Screen CaptureEvidence9

“The service can capture screen content ... using Android testing tools without the usual screen-recording prompt or indicator.”

T1114Email CollectionEvidence2

“[It] intercepts SMS messages.”

T1119Automated CollectionEvidence1

C2 commands allow collection of "credentials, files, lock screen PIN, pattern, or password, screen captures, keystrokes ... and a list of installed applications."

Command and Control

7 techniques
T1071Application Layer ProtocolEvidence1

“[RatHat] establishes a covert communication channel with the command-and-control (C&C) server for remote access.”

T1071.001Web ProtocolsEvidence4

“It runs independently of the app, opens a local HTTP server on port 7912 and remains reachable through a reverse tunnel to the attacker’s infrastructure.”

T1090ProxyEvidence9

RatHat installs ... a proxy client that tunnels that stolen information back to the hacker.

T1090.002External ProxyEvidence1

“A deploy button starts a separate program written in Go that stays reachable through a reverse tunnel, a connection the phone opens to the operator's server.”

T1105Ingress Tool TransferEvidence1

“Once pairing succeeds, an operator can deploy a separate service written in Go with one click” and “Downloaded testing tools retain recognizable filenames in the temporary deployment directory.”

T1219Remote Access ToolsEvidence1

The application authenticates against the local device's ADB daemon, thereby securing shell-level access... staging and launching both the Go Agent and the FRP Client.

T1572Protocol TunnelingEvidence6

“It runs independently of the app, opens a local HTTP server on port 7912 and remains reachable through a reverse tunnel to the attacker’s infrastructure.”

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

Endpoints carry overlay-harvested credentials, lock-screen credential sync, SMS bodies, installed-application inventory, files, ADB certificates, logs, screen-monitoring data, and chunked video uploads.

Impact

1 technique
T1490Inhibit System RecoveryEvidence1

“RatHat can intercept and cancel uninstallation attempts.”

Indicators of compromise

Observables

15 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

36 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
xakepNews · Nov 25, 2026Android-троян RatHat атакует российских пользователей и использует Gemini - ХакерAndroid trojan distributed through phishing sites and disguised applications. After obtaining Accessibility Services access, it automates permission grants, enables developer mode and wireless debugging, and uses local ADB to launch an ELF component with shell privileges that can survive removal of the original application. It uses Gemini 2.5 Flash Lite to identify interface elements from screenshots and interface structures, enabling adaptation across applications, firmware versions, and languages. Capabilities include intercepting SMS, OTP notifications, keystrokes, and device-unlock credentials; stealing contacts, call history, location, and clipboard data; accessing the screen, camera, and microphone; replacing clipboard contents; and resisting removal, antivirus, and banking antifraud controls. Approximately 10 compromised devices were identified in Russia and Belarus in October 2026. Previously reported targeting included users of Alipay and WeChat.Read more ↗risky biz rssNews · Nov 25, 2026Risky Bulletin: Card stealer found on 80 major US news sitesAndroid banking trojan that uses Google's Gemini model to interact with a device's screen. Researchers assess that its developer appears to be Chinese-speaking, but no named threat actor is identified.Read more ↗securitymediaNews · Nov 24, 2026В России обнаружили Android-троян с искусственным интеллектом Google Gemini для кражи банковских данныхAndroid trojan first described in September 2026 and observed on approximately ten infected devices in Russia and Belarus. It masquerades as legitimate applications and obtains elevated permissions, including access to the screen, camera, and microphone. A newer version integrates Google Gemini 2.5 Flash-Lite through an API to identify interface elements and adapt to regional Android firmware differences. RatHat accesses confidential information, substitutes banking details during entry, and can change its application name and icon or hide from the home screen. The reported activity targets financial-service customers and also involves phishing sites.Read more ↗cryptika blogNews · Nov 13, 2026ArcticRAT Android Malware Uses Hidden VNC to Control Smartphones While Showing Victims a Black Screen | Cryptika CybersecurityMentioned as a comparison involving Accessibility abuse in campaigns that abused Gemini AI. The reference provides no further technical details about RATHat.Read more ↗
+29 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching15Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping51Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.