Feeds

Columbia U boffins HACK GOOGLE PLAY to check apps

What they found: devs leave OAuth keys in the code

Reducing security risks from open source software

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

Mobile application security vulnerability report

More from The Register

next story
LibreSSL RNG bug fix: What's all the forking fuss about, ask devs
Blow to bit-spitter 'tis but a flesh wound, claim team
Microsoft: You NEED bad passwords and should re-use them a lot
Dirty QWERTY a perfect P@ssword1 for garbage websites
Manic malware Mayhem spreads through Linux, FreeBSD web servers
And how Google could cripple infection rate in a second
NUDE SNAPS AGENCY: NSA bods love 'showing off your saucy selfies'
Swapping other people's sexts is a fringe benefit, says Snowden
L33t haxxors compete to p0wn popular home routers
EFF-endorsed SOHOpelessly Broken challenge will air routers' dirty zero day laundry
Own a Cisco modem or wireless gateway? It might be owned by someone else, too
Remote code exec in HTTP server hands kit to bad guys
British data cops: We need greater powers and more money
You want data butt kicking, we need bigger boots - ICO
Crooks fling banking Trojan at Japanese smut site fans
Wait - they're doing online banking with an unpatched Windows PC?
prev story

Whitepapers

Top three mobile application threats
Prevent sensitive data leakage over insecure channels or stolen mobile devices.
The Essential Guide to IT Transformation
ServiceNow discusses three IT transformations that can help CIO's automate IT services to transform IT and the enterprise.
Mobile application security vulnerability report
The alarming realities regarding the sheer number of applications vulnerable to attack, and the most common and easily addressable vulnerability errors.
How modern custom applications can spur business growth
Learn how to create, deploy and manage custom applications without consuming or expanding the need for scarce, expensive IT resources.
Consolidation: the foundation for IT and business transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.