Feeds

Columbia U boffins HACK GOOGLE PLAY to check apps

What they found: devs leave OAuth keys in the code

Choosing a cloud hosting partner with confidence

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

Beginner's guide to SSL certificates

More from The Register

next story
FYI: OS X Yosemite's Spotlight tells Apple EVERYTHING you're looking for
It's on by default – didn't you read the small print?
Russian hackers exploit 'Sandworm' bug 'to spy on NATO, EU PCs'
Fix imminent from Microsoft for Vista, Server 2008, other stuff
Edward who? GCHQ boss dodges Snowden topic during last speech
UK spies would rather 'walk' than do 'mass surveillance'
Microsoft pulls another dodgy patch
Redmond makes a hash of hashing add-on
'LulzSec leader Aush0k' found to be naughty boy not worthy of jail
15 months home detention leaves egg on feds' faces as they grab for more power
China is ALREADY spying on Apple iCloud users, claims watchdog
Attack harvests users' info at iPhone 6 launch
Carders punch holes through Staples
Investigation launched into East Coast stores
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.