Feeds

Columbia U boffins HACK GOOGLE PLAY to check apps

What they found: devs leave OAuth keys in the code

The essential guide to IT transformation

It's the app developer's equivalent of hiding the door keys under the mat: researchers from Columbia University have found Android apps containing the developers' secret keys.

That's a more serious issue than the old “don't re-use passwords”: the thousands of credentials embedded by developers, blithely assuming they're not visible to an end user, were OAuth tokens valid on other sites. As they researchers write in this paper:

“For example, an attacker can perform denial of service attacks on rate limited services, access and modify application settings, expose private user information, and launch phishing attacks in an attempt to get users' access tokens.”

To get the information, Comp. Sci. professor Jason Neih and PhD candidate Nicolas Viennot created an Android Google Play crawler, PlayDrone, to scan more than a million free Android apps (of which they decompiled 880,000) without triggering Google's restrictions on indexing the store.

Viennot says his circumvention of Google's roadblocks was based on “common hacking techniques to easily circumvent security measures that Google uses to prevent indexing Google Play store content. These techniques include simple dictionary-based attacks for discovering applications, and decompiling and rebuilding the Google Play Android client to use insecure communication protocols to communicate with the Google Play servers to capture, understand, and reproduce the necessary protocols.”

Google's account registration processes were sidestepped by using a Mechanical Turk request for others to register accounts and pass their credentials over to the researchers. With 500 accounts (cost: $50) and a reverse-engineering of the PlayStore API, PlayDrone was then able to crawl the store. Their application also generated random IMEI and MAC addresses to prevent device blacklisting.

“We’ve been working closely with Google, Amazon, Facebook, and other service providers to identify and notify customers at risk”, Viennot says in the university's release, adding that Google has started using his decompilation techniques to see if it can raise “don't embed your tokens” warnings when apps are submitted.

Their work also found that a quarter of apps are clones of others; and odd app rating glitches such as one with a million downloads which “purports to be a scale that measures the weight of an object placed on the touchscreen of an Android device, but instead displays a random number for the weight”, and was a worst-rated app. ®

Next gen security for virtualised datacentres

More from The Register

next story
Snowden on NSA's MonsterMind TERROR: It may trigger cyberwar
Plus: Syria's internet going down? That was a US cock-up
Who needs hackers? 'Password1' opens a third of all biz doors
GPU-powered pen test yields more bad news about defences and passwords
e-Borders fiasco: Brits stung for £224m after US IT giant sues UK govt
Defeat to Raytheon branded 'catastrophic result'
Microsoft cries UNINSTALL in the wake of Blue Screens of Death™
Cache crash causes contained choloric calamity
Germany 'accidentally' snooped on John Kerry and Hillary Clinton
Dragnet surveillance picks up EVERYTHING, USA, m'kay?
Linux kernel devs made to finger their dongles before contributing code
Two-factor auth enabled for Kernel.org repositories
prev story

Whitepapers

5 things you didn’t know about cloud backup
IT departments are embracing cloud backup, but there’s a lot you need to know before choosing a service provider. Learn all the critical things you need to know.
Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Build a business case: developing custom apps
Learn how to maximize the value of custom applications by accelerating and simplifying their development.
Rethinking backup and recovery in the modern data center
Combining intelligence, operational analytics, and automation to enable efficient, data-driven IT organizations using the HP ABR approach.
Next gen security for virtualised datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.