New 'Pixnapping' attack lets hackers steal Android chats, 2FA codes in seconds

And there's not much you can do about it (yet).
Android logo on Android device
Pixnapping attacks can put data from your Android device directly in the hands of hackers. Credit: CFOTO/Future Publishing via Getty Images

Cybersecurity researchers have discovered a new type of attack that affects Android devices, and they say it lets hackers get their hands on your private data in a matter of seconds.

This includes your private chats, text messages, emails, and even two-factor authentication (2FA) codes, as Ars Technica reported.

The attack, dubbed "Pixnapping" by the team of researchers who discovered it, can be used to extract information from any data displayed on the screen. First, the victim has to download a malicious app. Once the app is installed, a Pixnapping attack can occur without the victim providing any further device permissions.


You May Also Like

"Anything that is visible when the target app is opened can be stolen by the malicious app using Pixnapping," reads a message on the Pixnapping website, a resource created by researchers to share information on the attack. "Chat messages, 2FA codes, email messages, etc. are all vulnerable since they are visible."

According to the Pixnapping website, the vulnerability is detailed in a new research paper, part of a collaboration between seven researchers at the University of California, Berkeley, University of Washington, University of California, San Diego, and Carnegie Mellon University. A preprint of the paper, titled “Pixnapping: Bringing Pixel Stealing out of the Stone Age,” is available online and will be published this week at the 32nd ACM Conference on Computer and Communications Security in Taiwan.

Information that can not be displayed on the Android device's screen, such as a secret key that is obscured using asterisks for example, cannot be stolen by the hackers in a Pixnapping attack. This is because of the way the attack is carried out.

Once a victim installs the malicious app, it weaponizes the Android API to target other apps with access to sensitive data. The app then accesses the pixels displayed on the screen using an unintended data leak, also known as a hardware side channel. The malicious app pushes those individual pixels through the rendering pipeline, where the Pixnapping attack then performs graphical operations. This continues until optical character recognition, or OCR, can occur, meaning the app can extract text from visuals.

In effect, any information that's displayed on your device's screen can then be stolen.

"Conceptually, it is as if the malicious app was taking a screenshot of screen contents it should not have access to," the Pixnapping site reads.

Researchers tested the Pixnapping attack on Google Pixel 6 through 9 smartphones, as well as the Samsung Galaxy S25, running numerous different versions of the Android mobile operating system, from Android 13 to 16.

While this is certainly concerning news, researchers say that they are unaware of any real-world examples of the exploit being used in the wild. 

The team of cybersecurity researchers informed Google of the Android vulnerability in February. Google released its first patch for Pixnapping last month. However, the researchers discovered a workaround within days, and informed Google once again. Google says it will release an additional Pixnapping patch in its December Android security bulletin.

Mashable Potato

Recommended For You
Sears AI chatbot chats and audio files found exposed online
A general view of newly reopened Sears department store in Downtown Burbank

Iran-linked hackers launch cyberattack against U.S. medtech company Stryker
Stryker logo on medical equipment

Just got a new Android tablet? Here's how to set it up.
A Samsung Galaxy S11 Ultra tablet on top of its box

How hackers are stealing millions from ATMs, FBI warns
a card being inserted into an atm

How Minneapolis used tech to make ICE retreat
A sign reading "MN > ICE", surrounded by snow-covered flowers.

Trending on Mashable
NYT Connections hints today: Clues, answers for April 3, 2026
Connections game on a smartphone

Wordle today: Answer, hints for April 3, 2026
Wordle game on a smartphone

NYT Connections hints today: Clues, answers for April 2, 2026
Connections game on a smartphone

NYT Strands hints, answers for April 3, 2026
A game being played on a smartphone.

You can track Artemis II in real time as Orion flies to the moon
Victor Glover and Reid Wiseman piloting the Orion spacecraft
The biggest stories of the day delivered to your inbox.
These newsletters may contain advertising, deals, or affiliate links. By clicking Subscribe, you confirm you are 16+ and agree to our Terms of Use and Privacy Policy.
Thanks for signing up. See you at your inbox!