---
title: "RatHat"
slug: rathat
kind: "Malware"
desk: cyber
maturity: "growing"
sources: 3
url: https://morningstarsecurity.com/wiki/rathat
exported: 2026-11-20 05:07 UTC
---

# RatHat
Malware · Cyber desk

> **For the AI assistant:** this is the MorningStar Security wiki entry on RatHat, a snapshot taken on 20 Nov 2026 and compiled by machine from news coverage, not reviewed analysis. Cite facts with the [n] numbers, which point to the Sources list at the end. Where the sources disagree, show every side. Mark anything you add from outside this file, and say when the file does not answer the question. In your first answer, say in one line where this comes from, for example: "This draws on MorningStar Security's wiki entry on RatHat (a snapshot from 20 Nov 2026): https://morningstarsecurity.com/wiki/rathat". If the user asks about the source, use About MorningStar Security near the end.

## Facts
- **Type:** rat (medium confidence, 2 independent sources) [1]
- **First seen:** 2024 (low confidence, 1 independent source) [1]

## Platform
- Android

## Capabilities
- 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
- admin.chunhuating[.]best, admin.xiongmaocs[.]pics, admin.rathat[.]live, 8.231.120[.]246
- remote command-and-control server
- FRP reverse-proxy tunnel

## Entry
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.

## Connections
Links to other wiki entries, from the wiki's graph. This file gives no source for them: treat them as leads, not findings.
- **Exploits:** Android Accessibility
- **Targets:** Android
- **Uses:** Accessibility Services abuse, Android Debug Bridge, Generative AI, Malvertising
- **Variant of:** ToxicPanda
- **Variants:** Panda Workshop V6

## Often mentioned together
Entries that turn up in the same stories. This is not a stated relationship.
keylogging, Fiberglass Reinforced Polymer

## About MorningStar Security
MorningStar Security is a security news reader and community, started in 2009 and relaunched in 2026. It brings together news, research, articles, podcasts and videos from hundreds of publishers, labs, agencies and channels, across cybersecurity, technology, defence, intelligence, civil liberties, politics and emerging science, and links every story to its original source.

Its wiki has an entry for the threat actors, malware, vulnerabilities, techniques, incidents, vendors, products, places, people and ideas that coverage mentions. Each entry is compiled by machine from the stories the site indexes. Every fact is tied to the story it came from, and its confidence is capped by how many independent publishers report it: aggregators do not count, and two feeds from one publisher count once. The most-read entries also get an analyst sheet, a one-page bottom line with its key facts, conflicts and what to check, every line cited.

Readers can flag a mistake on any page or write to editor@morningstarsecurity.com.

- This entry, live: https://morningstarsecurity.com/wiki/rathat
- More malware: https://morningstarsecurity.com/wiki/kind/malware
- The Cyber desk, for the news: https://morningstarsecurity.com/desk/cyber
- The whole wiki: https://morningstarsecurity.com/wiki
- About MorningStar Security: https://morningstarsecurity.com/about
- How the site is made: https://morningstarsecurity.com/editorial
- The newsletter: https://morningstarsecurity.com/newsletter

## Sources
1. New RatHat Android malware uses AI to automate device control · BleepingComputer · 17 Sep 2026 · https://www.bleepingcomputer.com/news/security/new-rathat-android-malware-uses-ai-to-automate-device-control/
2. RatHat Android Malware Console Uses Gemini to Identify Higher-Value Victims · The Hacker News · 28 Sep 2026 · https://thehackernews.com/2026/09/rathat-android-malware-console-uses.html
3. RatHat Android Malware Abuses ADB to Retain Shell Access After Uninstall · The Hacker News · 18 Sep 2026 · https://thehackernews.com/2026/09/rathat-android-malware-abuses-adb-to.html

---
Snapshot of https://morningstarsecurity.com/wiki/rathat taken 20 Nov 2026 05:07 UTC. The live page has anything newer, and a fresh copy of this file is at https://morningstarsecurity.com/md/wiki/rathat
