Android Touch-Event Hijacking

With the recent release of Android 2.3 (Gingerbread), developers can now protect themselves from a new twist on an old bug: TapJacking. Like ClickJacking on the web, TapJacking occurs when a malicious application displays a fake user interface that seems like it can be interacted with, but actually passes interaction events such as finger taps to a hidden user interface behind it. Using this technique, an attacker could potentially trick a user into making purchases, clicking on ads, installing an application, granting permissions, or even wiping all of the data from their phone.

Earlier this year we contacted the Android Security Team at Google about the issue and they were able to build a fix into Android 2.3 (Gingerbread). In Android, an attacker is able to display the fake user interface by creating a customized notification (called a Toast) to obscure the real interface. To allow developers to protect their user interfaces from TapJacking, Android 2.3 added the ability for Views to prevent interaction events when they are obscured by another view.

Essentially, this makes a View only usable when it is visible, eliminating the possibility for a user to accidentally interact with a hidden View. The new feature for View objects can be used in two ways: by setting the filterTouchesWhenObscured property to true or by implementing the onFilterTouchEventForSecurity method. It’s important to remember that the new security features require developers to explicitly set them to protect from TapJacking.

How TapJacking works:

Read the complete article on The Lookout Blog

Related Posts

Install NTP, openSSH-server, and Java JRE on Ubuntu 9.10 So you are now using Ubuntu 9.10, the latest version of the Linux operating by Canonical Ltd. I'm sure you like it. Life is good with Ubuntu! It reall...
Configurable Menu: Install the best menu for Linux Mint 17/17.1 Cinnamon Configurable Menu is one of the best applet's I've found in Linux Mint Cinnamon. I've been using it for about three weeks on Linux Mint 17 installed o...
Can your computer run Ubuntu Core? Ubuntu Core beta, a version of Ubuntu for Cloud deployment that comes with snappy a system and application management utility with support for transac...
How to customize Linux Mint 10 After a review of Linux Mint 10, the next logical step is to write a few tutorials and tips for those that might need it. The first of these tutorials...
Semi-manual LVM disk partitioning guide for Fedora 18 This is the latest article on Fedora. You may access all Fedora-related articles on its category page at The...
Digital Science Studio and the HTTP code: 500, type: error Digital Science Studio (DSS) "is a software platform that aggregates all the steps and big data tools necessary to get from raw data to production rea...

We Recommend These Vendors

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Deploy an SSD Cloud server in 55 seconds on DigitalOcean. Built for developers and starting at $5:00/month (20 GB SSD, 512 MB of RAM).

Leave a Comment

Your email address will not be published. Required fields are marked *