Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
RatHat
RatHat is an Android malware family that combines credential theft, screen monitoring, and AI-powered interface automation capabilities.
Command and Control
RatHat communicates with remote servers through an FRP reverse-proxy tunnel 1. Known C2 infrastructure includes the domains admin.chunhuating[.]best, admin.xiongmaocs[.]pics, admin.rathat[.]live, and the IP address 8.231.120[.]246 2.
Capabilities
The malware implements extensive credential harvesting through multiple vectors: it displays HTML overlays mimicking banking and cryptocurrency applications to capture login credentials 1, intercepts SMS messages, performs keystroke logging, and records screen activity 3. It also exfiltrates files from the device 3.
RatHat features AI-powered interface automation that leverages the device's Gemini model to determine tap locations when built-in automation instructions fail 2. This allows the malware to interact with applications dynamically.
The malware provides shell access via the Android Debug Bridge (ADB) daemon, enabling remote command execution 2.
Persistence and Anti-Analysis
RatHat achieves persistence through a local ADB daemon that remains active even after the malware application is uninstalled 3. This mechanism allows the attacker to reinstall or reactivate the malware remotely.
The malware employs multiple anti-analysis techniques to evade detection and reverse engineering: container tampering, manifest bombs, DEX bytecode poisoning, and dual string-encryption 3. These defenses complicate both automated and manual analysis.
Detection Context
RatHat represents an evolution in Android banking trojans, combining traditional credential theft with modern AI capabilities to automate interaction with target applications. The use of persistent ADB access and sophisticated anti-analysis measures indicates a mature threat designed for long-term device compromise.
Facts 2
| Attribute | Value | Confidence | Sources | Cited |
|---|---|---|---|---|
| Type | rat | medium | 2 | 1 |
| First seen | 2024 | low | 1 | 1 |
Platform 1
Capabilities 7
- credential harvesting, screen recording, SMS interception, keylogging, file exfiltration
- persistence via local ADB daemon after uninstall
- screen capture, keystroke logging, SMS interception, fake login overlays, shell access via ADB
- uses Gemini on phone to determine tap locations when built-in instructions fail
- Displays HTML overlays for banking and cryptocurrency apps to capture credentials
- AI-powered interface automation, credential theft, SMS interception, keylogging, persistence
- anti-analysis: container tampering, manifest bomb, DEX bytecode poisoning, dual string-encryption
C2 3
Neighbourhood
Exploits 1
Targets 1
Uses 4
Variant of 1
Variants 1
Frequently mentioned together 2
Sources 3
- New RatHat Android malware uses AI to automate device control · BleepingComputer
- RatHat Android Malware Console Uses Gemini to Identify Higher-Value Victims · The Hacker News
- RatHat Android Malware Abuses ADB to Retain Shell Access After Uninstall · The Hacker News