Factory Reset On Millions of Android Devices Doesn't Wipe Storage
Bismillah writes: Ross Anderson and Laurent Simon of Cambridge University studied a range of Android devices and found that even though a "factory reset" is supposed to fully wipe storage, it often doesn't. Interestingly enough, full-device encryption could be compromised by the incomplete wiping too. ITnews reports: "The researchers estimated that 500 million Android devices may not fully wipe device disk partitions. As many as 630 million phones may not wipe internal SD cards. Five 'critical failures' were outlined in the researchers' Security Analysis of Android Factory Resets paper.
That's why you use encrypted storage.
If you aren't able to use encrypted storage, then you destroy the device.
"fragile full-disk encryption up to Android v4.4 (KitKat)."
"Twenty-six second-hand Android phones running versions 2.3 to 4.3 of the operating system, sold by five handset makers, were tested."
This paper did not look at Android 4.4 or above, IE, the only versions of Android that actually properly supported and advertised full disk encryption in the first place. Full disk encryption on any device prior to 4.4 was basically something the manufacturer cooked up.
If this paper shows anything to me, it is not so much about Android, it is more about how we have to force carriers to stop requiring this goddamn nonsense useless "carrier certification" so that Google can push device manufacturers to allow more direct and timely software updates.
The analysis paper starts out by saying "With hundreds of millions of devices expected to be traded by 2018, flaws...could be a serious problem." Unfortunately that same analysis focused on Android operating systems PRIOR to v4.4 (KitKat), which was released in October 2013 (https://en.wikipedia.org/wiki/Android_version_history).
Since then, Android has released major versions (4.4 Kitkat, 5.0 Lollipop) and various major updates within those families (4.4.2, 4.4.4, 5.1). To put this in perspective, they're talking about risks in 2018 from software no newer than 2013 while writing and publishing in 2015. That's a classic case of picking your data to fit your conclusion, or cherry picking (https://en.wikipedia.org/wiki/Cherry_picking_%28fallacy%29).
There were many fixes in Android security systems in 4.4 and also in 5.0. 5.0 now supports hardware encryption on e.g. HTC and OnePlusOne platforms among others. To apply "anyone can get the key and brute-force a password"[paraphrased] is to deny that no, you can't.
It's often more convenient for "researchers" to provide something with glitz and hype to catch the media's attention, but in this case the hype cherry-picks data that ignores two years of active open-source development and many security updates.
Poor science and hyperbolic headlines make for brain-free reading.
Ehud Gavron
Tucson AZ
CPL-H
No shit, you can get the encrypted data if it isn't wiped.
If the "encrypted" data can still be compromised, then it isn't truly encrypted, so encrypted storage isn't being used, and thus the "destroy the device" part applies.
Truly encrypted data is indistinguishable from random data to an attacker. In fact, that's even better than a reset device's storage being zeroed or oned out, since it doesn't indicate that the device had been obviously reset.
Besides, the summary is wrong. If you actually read the article, it says (emphasis added)
See, this is why I'm a convert to Apple iOS. Yes, there are a few reputable hardware vendors for Android like Samsung and LG; and in many cases, superior hardware specs for the latest device. The problem is the hardware/software permutation and lack of post-sales support and upgrades. THIS is why I abhor the Android platform. Yes, it's open source, but it's also chaotic in quality control when comparing and contrasting between not just vendors, but the year in which the vendor brought to market! Love it or hate it, Android is pretty much anarchy wild-wild-west while Apple is, well, Apple.
I can only speak for myself, but I like consistent, stable, and well throughout platforms; even if that renders me very little control. It all comes down to trust. Burn my trust, and I walk.
Life is not for the lazy.
Or is that just something the researcher expected, like people expect "format" to erase all data? IMHO it's worse that third party recovery firmwares only create new filesystems even though their menus call it "wipe partition".
My guess is this isn't a case of cherry-picking, it's just that it took them 2-3 years to complete and publish the research. I wouldn't think it takes that long to acquire and study 21 phones, but looking at some of the dates in their paper, maybe it took *them* that long.
I don't think of this as ground-breaking research, it's more like archaeology. Better editorial surrounding the research could have been done in a "See how far we've come since 2013" type of way.
I'm sorry, but your opinion seems to be wrong.
This is why you should rely on the more secure iOS operating system.
Affects Android 2.3, aka Gingerbread. Does anyone even use Gingerbread anymore? Ice Cream Sandwich was released in 2011.
Buck Feta. You know what to do.
Bad news: formatting your hard drive or reinstalling your OS (any consumer OS) doesn't, by default, actually erase your data either.
Why are we surprised?
Is it just my observation, or are there way too many stupid people in the world?
That's why products like Cerberus can tell you where the scumbag who nicked your phone is, even if said scumbag deletes apps and data via factory reset.
"Wait. Something's happening. It's opening up! My God, it's full of apricots!"
There's nothing wrong with that, but it doesn't really apply to everyone. And the cost of data security is dimissively low. For the typical Android handset, the simple blow of a hammer instead of trying to recover less than $100 on ebay or craigslist will guarantee security of your old data. Heck, that $100 is less than the differential between an android handset and an equivalent iOS device in most cases.
Is it just my observation, or are there way too many stupid people in the world?
As long as I've used Android, which is a while, factory reset isn't supposed to touch the internal storage..... Not sure what the issue here is other than people being ignorant on how to use technology.
So was this just bad programming, or was it in response to government pressure.
I wouldn't expect it to "wipe storage", nor would I want it to. Flash storage has a limited number of write cycles, and people do factory resets much more frequently during the lifetime of a product than wiping the device in order to recycle it. If you want to erase storage, use the "erase storage" function.
I did a wipe/reset on my samsung before, I was surprised it still had the pictures, downloads and some bits of old apps in various folders. But I can see why, Im sure some people do unnecessary resets when they think something is wrong with their phone and they dont want to deal with people complaining they lost all their important photos. That they never backed up of course.
I hope your not defecating in a urinal. That's really gross, you should really use a toilet.
Sorry, teleporters just kill you and then make a copy. A perfect, soul-less copy.
Anti-virus company Avast! bought a bunch of phones and published their findings last year on the same subject
http://yro.slashdot.org/story/14/07/09/0034244/avast-buys-20-used-phones-recovers-40000-deleted-photos
Internal SD cards aren't fully wiped during a reset. Why not just pull the card, put it in a computer card reader, format and then do an advanced wipe (I use ccleaner for wipes)? That's what I plan to do when I need to factory reset my phone. Prior to reading this I wouldn't have pulled the SD card before a reset. Now I will. Thanks for the tip.
I bought a cheap tablet for 35 AUD from officeworks. The normal price was 45 AUD but this device was pink (for kids) and had been returned. I took it home, and when I experimented with the gallery I found selfies taken by a child. I ran the factory reset but the pictures were still there so I just deleted the photos.
http://michaelsmith.id.au
While your suggestion of "it all becomes random gibberish without a valid key" may be acceptable in principle, for strong security you do not stop there!
"Real" security means defense in depth. You never take just one step and think, "well, if all my assumptions and pre-requisites hold, I am safe." That's lazy and dangerous thinking.
You want to secure the data on an Android device you are disposing of? Without taking the easy way out?
1). Ensure the mass storage is encrypted. If it wasn't already, then do so now;
2). Wipe the volume, using the maximum security settings (if offered);
3). Remove the SIM card and physically destroy it;
Now for someone to break through your defenses, they have to be lucky, talented, patient and well-resourced. They have to take multiple steps to retrieve data and be successful at each step. Ideally you want to wear them down and discourage them from even trying. If they do try you want them to fail early and fail hard.
Oh, and part of security is clarity about what means what. Therefore, "reset" means reset. "Zero the master key" means zero the master key. They do not mean the same thing, and you suggesting they do only lowers overall security by confusion and obfuscation for the user. Doing that to an attacker is OK, but doing that to the user is super not OK!