Pixnapping: New Android Attack Steals Data by Measuring Screen Rendering Times
Researchers have discovered a novel Android attack dubbed “Pixnapping” that allows malicious applications to steal sensitive data from other apps without requiring screen recording permissions. The technique exploits the Android operating system’s rendering pipeline to infer the content displayed on the screen by measuring the time it takes to render individual pixels. This bypasses traditional security measures designed to prevent unauthorized access to screen content.
How Pixnapping Works
According to a report published by SecurityWeek, the attack doesn’t rely on traditional screenshotting or screen recording. “Conceptually, it is as if the malicious app was taking a screenshot of screen contents it should not have access to,” explained one of the researchers in an interview. “Our end-to-end attacks simply measure the rendering time per frame of the graphical operations… to determine whether the pixel was white or non-white.”
The attack unfolds in three key stages:
- Invocation of Android APIs: The malicious app uses Android Application Programming Interfaces (APIs) – specifically activities, intents, and tasks – to interact with the targeted app.These calls can also scan the device for installed apps of interest.
- Data Display: These API calls trigger the targeted app to display specific data, such as a message thread or a two-factor authentication (2FA) code.
- Rendering Pipeline Analysis: The displayed information is sent to the Android rendering pipeline. The malicious app then measures the time it takes to render each pixel, determining whether it’s white or a different color. This allows the attacker to reconstruct the displayed content.
Implications and Potential Targets
Pixnapping poses a significant threat because it circumvents standard Android security permissions. Apps don’t need permission to record the screen to extract information using this method. This makes it particularly dangerous for applications handling sensitive data, including:
- Messaging Apps: The attack can potentially steal message content.
- Banking and Financial Apps: Account details and transaction information could be compromised.
- Authentication Apps: 2FA codes, crucial for securing accounts, are vulnerable.
- Password Managers: Stored passwords could be at risk.
mitigation and Future Outlook
The researchers who discovered Pixnapping have reportedly shared their findings with Google. While a specific timeline for a fix isn’t available, Google is expected to address the vulnerability in a future Android update. Users are advised to keep their devices and apps updated to the latest versions to benefit from security patches.
