AI-generated editorial illustration; not a documentary photograph.
Security researchers have identified RatHat, Android malware that uses an AI-assisted automation system to navigate compromised devices. According to Zimperium zLabs, the malware spreads through malicious advertising, SMS messages and phishing sites that direct users to install APK files from outside Google Play.
AI Guides Interface Control
RatHat converts the live Android Accessibility interface tree into XML and sends it to an unnamed popular AI assistant, Zimperium reports. The system asks the assistant to locate interface elements, identify visible text and provide navigation actions such as scrolling. This allows operators to automate interactions across changing interfaces instead of relying entirely on fixed scripts or continuous manual control.
Zimperium says this approach makes the malware's automation more adaptable and harder for security tools to detect than traditional scripted behavior. That assessment comes from the security company; the report does not identify the AI service involved.
Shell Access and Persistence
After obtaining Accessibility permissions, RatHat enables Developer Options and Wireless Debugging to establish local ADB shell access without an external computer. It then installs a Go-based agent called liblocal-service.so, which executes commands with ADB shell privileges, bypasses battery restrictions and helps maintain persistence.
The agent and the main malware can restore each other if either component is removed or stopped. A second component, libmedia_codec.so, operates as an FRP reverse-proxy client and creates a persistent tunnel to the attacker. RatHat also attempts to block removal by canceling uninstall confirmations and presenting a fake Google Play error overlay.
Credentials and Messages at Risk
The malware can place HTML overlays over targeted banking and cryptocurrency apps to steal credentials. Zimperium also found capabilities for intercepting SMS messages, notifications and one-time passwords; recording text changes; extracting browser URLs; and capturing lock-screen PINs, passwords and unlock patterns.
Analysis is complicated by APK container tampering, invalid DEX pseudo-instructions and an unusually large 61MB Android manifest. Zimperium suspects a link to threat actors from China because it found LLM prompts written in Chinese, but the report does not identify a specific group.
Exposure Depends on Sideloading
The reported distribution routes require users to install APKs delivered outside Google Play and grant sensitive Accessibility access. The source advises Android users to install external APKs only from publishers they explicitly trust, avoid unnecessary Accessibility permissions and scan devices regularly with Play Protect.
Source: New RatHat Android malware uses AI to automate device control

Leave a Reply