Tutorials/Tips

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:
[vimeo]http://vimeo.com/17648348[/vimeo]

Read the complete article on The Lookout Blog

Related Posts

Install Ubuntu 13.10 using a USB key from Window or another Linux distribution A USB key or thumb drive or USB stick is the best device to use in installing your favorite Linux distribution. It's not just because it's reusable fo...
KDE 5 Application Dashboard: A fullscreen app launcher that beats the competition Fullscreen applications launchers are my favorite kind of application menus, of which there are several to choose from on the K Desktop Environment, o...
Install ROSA Launcher on Fedora 18 KDE SimpleWelcome is the default menu on ROSA Linux KDE. Like the Takeoff Launcher, it is a fullscreen menu, but with a few more features. This articl...
Feature preview of Fedora 16 installer Fedora 16 is more than two months away from final, stable release, but pre-Alpha installation ISO images have been floating around. News from the Fedo...
What is an init system? Editor: This is a short and to-the-point article to read if you want to get a proper understanding of how your Linux system boots. Back in Fedora 1...
Dual-boot Ubuntu 14.04 and Windows 7 on a PC with UEFI firmware This post shows how to dual-boot Ubuntu 14.04 and Windows 7 on a computer with UEFI firmware. Note that the computer I used for the tutorial is not an...

We Recommend These Vendors and Free Offers

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).

Want to become an expert ethical hacker and penetration tester? Request your free video training course of Online Penetration Testing and Ethical Hacking

Whether you're new to Linux or are a Linux guru, you can learn a lot more about the Linux kernel by requesting your free ebook of Linux Kernel In A Nutshell.


Leave a Comment

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

*