News thumbnail
Technology / Mon, 21 Sep 2026 Mashable

RatHat is a new Android malware that records your screen touches to steal passwords

Credit: CFOTO/Future Publishing via Getty ImagesBeware: There's a new malware making the rounds and it's targeting your Android device. Cybersecurity researchers at Zimperium recently discovered a new strain of Android malware, called RatHat, and have linked it to threat actors based out of China. As with most malware, RatHat initially infects the device through social engineering tactics. The user downloads the app but unknowingly installs the RatHat malware on their device. Android users should protect themselves from RatHat by avoiding any downloads from untrustworthy sources.

Matt Binder joined Mashable's tech vertical in 2018, where he covers social media, tech policy, cybersecurity, online scams, cryptocurrency, AI, creator news, weird tech, and other related tech beats.

This malicious software also weaponizes AI to infect the device.

New malware called RatHat is targeting Android devices. Credit: CFOTO/Future Publishing via Getty Images

Beware: There's a new malware making the rounds and it's targeting your Android device.

Cybersecurity researchers at Zimperium recently discovered a new strain of Android malware, called RatHat, and have linked it to threat actors based out of China.

"RatHat incorporates novel techniques for persistence and leverages generative AI for operational control," Zimperium's zLabs researchers said in a report .

You May Also Like

As the cybersecurity firm Malwarebytes explains, "RatHat gives a live AI assistant the keys to the accessibility tree of the infected device." This unique weaponization of AI allows the attacker to figure out "where to tap or scroll, rather than following a hardcoded script."

As with most malware, RatHat initially infects the device through social engineering tactics. The attacker convinces a target to download a seemingly legit app, such as Google Chrome, through a fake website posing as the Google Play Store. The user downloads the app but unknowingly installs the RatHat malware on their device.

Mashable Light Speed Want more out-of-this world tech, space and science stories? Sign up for Mashable's weekly Light Speed newsletter. Loading... Sign Me Up Use this instead By clicking Sign Me Up, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy Thanks for signing up!

From there, RatHat requests accessibility permissions while still masked as a legitimate application.

Once the target provides RatHat with those permissions, the malware activates Wireless Debugging under Developer Options. RatHate weaponizes this actual Android developer feature to pair with the device.

With this access, RatHat is able to capture text messages and create overlays on targeted apps, steal passwords, and multi-factor authentication codes in the process.

"RatHat uses AI to intelligently navigate and control the device interface in real-time, making its operations more adaptable and harder for security software to detect than traditional, scripted automation," Zimperium explains.

However, the AI component isn't the only unique aspect of RatHat. The overlay acts like a keylogger, recording the user's raw touch inputs directly on the device.

Android users should protect themselves from RatHat by avoiding any downloads from untrustworthy sources. Unfortunately, once RatHat has infected a device, the only way to remove it is to factory reset the device.

© All Rights Reserved.