Factory reset in Android phones leaves sensitive user data behind

Researchers recovered access credentials, emails, text messages and other sensitive information from wiped Android phones

Android apps

Android apps

It's common sense to reset an Android phone to its factory state before selling or disposing of it. But beware, researchers recently found that this often fails to properly wipe all sensitive user data from the device.

A test on 21 second-hand smartphones running Android versions between 2.3.x (Gingerbread) and 4.3 (Jelly Bean) revealed that it's possible to recover emails, text messages, Google access tokens and other sensitive data after the factory reset function had been used.

The study was done by researchers Laurent Simon and Ross Anderson from the University of Cambridge in the U.K. on used devices bought from eBay between January and May 2014. The devices included models from Samsung Electronics, HTC, LG Electronics, Motorola and three from Google's Nexus line of phones.

In 80 percent of cases the researchers managed to recover the Google master token that could allow an attacker to re-synchronize the device with the previous owner's Google account, gaining access to the emails, contacts, Wi-Fi passwords and other data backed up to that account.

In some cases they also recovered access tokens from apps such as Facebook, portions of emails, SMS messages and other instant messaging conversations.

"The reasons for failure are complex; new phones are generally better than old ones, and Google's own brand phones are better than the OEM offerings," Ross Anderson said in a blog post. "However the vendors need to do a fair bit of work, and users need to take a fair amount of care."

Encrypting the phone can help mitigate some of the risk, but not completely. The researchers found that in some cases an attacker could recover enough information after a factory reset operation to break the encryption key using brute-force techniques. In order to prevent this, it's essential for phone owners to set a strong password when encrypting their phones, as 4-digit PINs are easy to crack.

Based on their findings, the researchers estimate that up to 500 million devices may not properly erase the data partition where the OS and apps store credentials and up to 630 million may not sanitize the SD card where multimedia files such as photos and videos are typically saved.

In a separate study, the researchers analyzed anti-theft features like remote device locking and wiping offered by top mobile security apps. Their conclusion was that these apps do not represent an alternative to the flawed built-in factory reset, because they are limited by the OS architecture and APIs in what they can do.

The only viable solution would be improvements to the data wiping mechanism made by the phone vendors themselves, the researchers said.

It's not clear if the factory reset function has been improved in Android versions newer than 4.3.

Google did not immediately respond to a request for comment.

Join the CSO newsletter!

Error: Please check your email address.

Tags Motorolauniversity of cambridgeLG Electronicssecuritymobile securitySamsung ElectronicsForensicsdata protectionprivacyhtcGoogle

More about eBayFacebookGoogleHTCLGMotorolaSamsung

Show Comments

Featured Whitepapers

Editor's Recommendations

Solution Centres

Stories by Lucian Constantin

Latest Videos

  • 150x50

    CSO Webinar: The Human Factor - Your people are your biggest security weakness

    ​Speakers: David Lacey, Researcher and former CISO Royal Mail David Turner - Global Risk Management Expert Mark Guntrip - Group Manager, Email Protection, Proofpoint

    Play Video

  • 150x50

    CSO Webinar: Current ransomware defences are failing – but machine learning can drive a more proactive solution

    Speakers • Ty Miller, Director, Threat Intelligence • Mark Gregory, Leader, Network Engineering Research Group, RMIT • Jeff Lanza, Retired FBI Agent (USA) • Andy Solterbeck, VP Asia Pacific, Cylance • David Braue, CSO MC/Moderator What to expect: ​Hear from industry experts on the local and global ransomware threat landscape. Explore a new approach to dealing with ransomware using machine-learning techniques and by thinking about the problem in a fundamentally different way. Apply techniques for gathering insight into ransomware behaviour and find out what elements must go into a truly effective ransomware defence. Get a first-hand look at how ransomware actually works in practice, and how machine-learning techniques can pick up on its activities long before your employees do.

    Play Video

  • 150x50

    CSO Webinar: Get real about metadata to avoid a false sense of security

    Speakers: • Anthony Caruana – CSO MC and moderator • Ian Farquhar, Worldwide Virtual Security Team Lead, Gigamon • John Lindsay, Former CTO, iiNet • Skeeve Stevens, Futurist, Future Sumo • David Vaile - Vice chair of APF, Co-Convenor of the Cyberspace Law And Policy Community, UNSW Law Faculty This webinar covers: - A 101 on metadata - what it is and how to use it - Insight into a typical attack, what happens and what we would find when looking into the metadata - How to collect metadata, use this to detect attacks and get greater insight into how you can use this to protect your organisation - Learn how much raw data and metadata to retain and how long for - Get a reality check on how you're using your metadata and if this is enough to secure your organisation

    Play Video

  • 150x50

    CSO Webinar: How banking trojans work and how you can stop them

    CSO Webinar: How banking trojans work and how you can stop them Featuring: • John Baird, Director of Global Technology Production, Deutsche Bank • Samantha Macleod, GM Cyber Security, ME Bank • Sherrod DeGrippo, Director of Emerging Threats, Proofpoint (USA)

    Play Video

  • 150x50

    IDG Live Webinar:The right collaboration strategy will help your business take flight

    Speakers - Mike Harris, Engineering Services Manager, Jetstar - Christopher Johnson, IT Director APAC, 20th Century Fox - Brent Maxwell, Director of Information Systems, THE ICONIC - IDG MC/Moderator Anthony Caruana

    Play Video

More videos

Blog Posts

Market Place