iPhone 3Gs Encryption Cracked In Two Minutes
An anonymous reader writes "In a Wired news article, iPhone Forensics expert Jonathan Zdziarski explains how the much-touted hardware encryption of the iPhone 3Gs is but a farce, and demonstrates how both the passcode and backup encryption can be bypassed in about two minutes. Zdziarski also goes on to say that all data on the iPhone — including deleted data — is automatically decrypted by the iPhone when it's copied, allowing hackers and law enforcement agencies alike access the device's raw disk as if no encryption were present. A second demonstration features the recovery of the iPhone's entire disk while the device is still passcode-locked. According to a similar article in Ars Technica, Zdziarski describes the iPhone's hardware encryption by saying it's 'like putting privacy glass on half your shower door.' With the iPhone being sold into 20% of Fortune-100s and into the military, just how worried should we be with such shoddy security?"
who would trust phones nowadays anyways?
No government will have to strong-arm Apple to give it a back door into the iPhone operating system. ;-)
I know security can be a minefield but for Apple to leave a hole this big is pretty inexcusable.
This is a feature. Cracking is yet another thing about the iPhone that Just Works. I believe Steve Jobs would be proud.
"What lies behind us, and what lies before us are tiny matters compared to what lies within us." Ralph Waldo Emerson
I am confused. Does it suck, or does it blow? These are opposites, are they not?
<Complete your profile by adding a signature!>
The king is dead, all hail the king. Stevey thinks we don't know any better, but I think we've already seen the card that he keeps up his sleeve.....
I put privacy glass on the top half of the shower door so I don't have to look at the people watching me, which seems to be the same kind of privacy I can expect on my iPhone 3G.
Fixed it for you.
Until the Fortune 500 and the military stop using Microsoft products, I won't lose a blink of sleep over them using Apple products. This guy had to have physical access to the iPhone to crack it, and even then the iPhone did not start sending its data out over the Internet along with a virus payload that formed a massive botnet that crippled Internet bandwidth.
My understanding is that the encryption in the 3GS is not meant to prevent a user with physical access to the device from accessing the data. It's to make Remote Wipe instant instead of taking 1 hour per gigabyte because the Remote Wipe only has to destroy the decryption keys, not every bit of data on the disk. When you Remote Wipe an iPhone 3G it takes 1 hour per gigabyte to destroy the data. With a 3GS, it takes a few seconds.
In this case, the hacker not only had the iPhone in his physical possession, but it was not Remote Wiped, so he also had the keys in his possession. How is it at all surprising that he was able to get in?
Ok, I just watched the linked demonstration and what I noticed was he only placed his "private data" on the phone after he removed the pincode. I'd be interested to see a demonstration of him pulling data off the phone that was present before he reset the pin, to demonstrate that resetting the pin didn't just revert it back to factory defaults and remove all previous data.
That said, I'll take his word for it now, it's quite interesting in the least. I have to wonder if this is an intentional "feature".
"linux is just DOS with a UNIX like syntax" -- Galactic Dominator (944134)
security theatre: (1) security countermeasures intended to provide the feeling of improved security while doing little or nothing to actually improve security, usually resulting from political absurdity, poor engineering, the need to present an image of security more than real security, or some combination of these factors. (2) The real mission of the Transportation Security Administration.
Examples: airport screening, "No-Fly" lists, random searches on subway systems, 1950's "duck and cover" drills in U.S. public schools
Apple with poor security? No way! Oh wait, their operating system does have almost 4 times the number of critical vulnerabilities that M$ XP has, every single year since it's release. Impressive record.
Well, when one has diarrhea, one 'blows' chunks out of their ass. This 'sucks' when it happens. So I guess we can say Apple is 'shit'.
He even encrypted his last name.
It should be noted that iTunes does not encrypt backups by default, but you can enable that with a checkbox in the iPhone preferences. So the real question is - with a PIN set and encryption on, can it still be hacked?
I don't know what kind of crack I was on, but I suspect it was decaf.
The real question is whether or not you should be storing sensitive material on your iPhone in the first place?
If the answer is: What kind of idiot are you? Of course my iPhone is the center of my universe and the repository of everything that will ever matter to me right at my finger tips, then there's a huge opportunity just waiting for some programmer at the Apps Store who can code faster than I can to supply a cheap App that actually provides true security...
...provided that Apple and the government will let them.
"It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
For a moment, I thought you were the author of the Windows File Copy Dialog...
My vacuum can suck and blow, but it doesn't have the capacity for hot air that apple does.
Anything can be found funny, from a certain point of view.
Did anybody else read the docs on this feature? It seems that encryption was only done as a means to remotely wipe the phone. Was he able to destroy the keys remotely and then have someone read the data off the phone? I don't understand.
Why bother
This is a feature. Cracking is yet another thing about the iPhone that Just Works. I believe Steve Jobs would be proud.
I Cracked my iPhone the first time I dropped it, 30 seconds flat. But if you read the fine print, it turns out Apples warranty doesn't cover the screen.
The best technique involves both sucking and blowing, in an alternating fashion.
Microsoft could probably patent it since they've been doing both since Windows 1986 (quite literally the worst OS of that year).
"I disapprove of what you say, but I will defend to the death your right to say it." - historian Evelyn Beatrice Hall
"Which half of her swimsuit did she wear?"
"The left half."
I think that was from Bewitched, regarding Samantha's twin sister's visit to a public beach.
Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
Oh great, now all those secret emails about the money laundering are going to be found by the government because I'm the only major corporate executive who uses an iPhone to talk about all our illegal activities. I thought my data would be so safe, with no other weak links in the chain... like my email server or anything of that sort that could possibly also be hacked...
I am confused. Does it suck, or does it blow? These are opposites, are they not?
The verb that solves this logical conundrum is: fellate.
For a moment, I thought you were the author of the Windows File Copy Dialog...
I actually miss the animation from the XP file copy dialog. It rotates all the files 90 degrees, turning them imaginary.
Oh, say does that Star-Spangled Banner entwine / The myrtle of Venus with Bacchus's vine?
Comment removed based on user account deletion
Not that I disagree with you, but you must go to different rest rooms than I do.
I'm luck to get a paper towel dispenser these days.
Faster! Faster! Faster would be better!
There might be a reason guys need a towel in the bathrooms he frequents... ;-)
We have a winner...
The real issue at hand is how much time nerds spend thinking of ways they are right, instead of trying to understand how they might be wrong. iPhone 3gs was never marketed as having strong encryption (http://www.apple.com/iphone/specs.html), the /. crowd simply saw "something" was implemented and decided that the intent was to hide data.
Platform advocacy is like choosing a favorite severely developmentally disabled child.
I know it's probably inconceivable to you, but some people actually wash their hands after going to the bathroom. WINK
Currently hooked on AMP
OK, the real problem is expectation and marketing, from the story, the encryption is (egregiously) useless.
... ) misrepresents that.
If the device is in your hands, you can physically remove the memory, and then examine it breaking the weak encryption on the fly.
The marketing (surprise
The trick, instead, is concentrating and protecting important information
That's great, but... if only someone could crack the ipod classic hard drive secrets as easily. rockbox needs your help.
Hm, let's fix the URL above - and this time uncheck "post anon" which automatically got checked for no apparent reason.
For this:
They used the password "GOD".
What are you taking about, don't you shower standing on your head like the rest of us?
Si hoc legere scis nimium eruditionis habes.
They seem to have the same no-added value functionality of the men's room attendants who are there to hand you a towel as thought you could not get one yourself.
I disagree - the mens room attendant acts like moderators around here do, they keep people from pissing all over the walls.
The editors, on the other hand, seem to encourage that sort of behaviour!
Me failed English...
FreeBSD over Linux. If my comments seem odd, this may explain...
This is a pisspoor attempt at trying to discredit Apple for a CONSUMER product. Spore was hacked two weeks before the game was released. The Sony PSP has been hacked since the beginning of it's formation. The X-Box was not only hacked to put in bigger drives, but also was hacked to put Linux on it (which took a little longer but still) Windows XP is easily hacked by booting up in Safe Mode, you have immediate free admin access to add users and change passwords. Windows Vista/2000(2003) Server are all hackable with a quick linux boot CD, takes about three minutes (I've done this multiple times on many machines). You can either change the password, or just load all the persons files onto an external drive (I usually do this for when someone windows dies but you could easily take all their information unencrypted right off). Every consumer device and software product is usually hacked before it's even released, if not shortly after it's released. The fact that this article was just barely posted actually makes me wonder how stupid they are for failing this long at trying to break a consumer product. I've never seen a single ad for the iPhone, PSP, or X-Box advertising their "security". They generally intentionally have loopholes because they realize that users (like the person who wrote this article) are freaking idiots and are going to lock themselves out. The biggest loophole is having an admin user (:O) reset their password. And getting that password from them is as simple as starting their pubes on fire if not using the previously mentioned boot disk to simply wipe the password and log in. This isn't any sort of fail on Apple's part. They can't handle everything in the universe on their phone. Nor was it PSP's fail when it got hacked. Or windows when it gets hacked. There's BLATANT fails that generally get fixed, but not really any here. Sorry folks, move along.
.. a thousand apple fanboi's cried out and then were suddenly silent....
If you mod me down, I will become more powerful than you can imagine....
Yes. But the BlackBerry doesn't store the encryption key in-the-clear like the iPhone 3G S does, and you can't run arbitrary code on a BlackBerry just by plugging it in to a PC.
In fact, it does. BlackBerries even have an option to not encrypt the address book so you can have names appear on caller ID while the device is locked.
No; the BlackBerry (or even the iPhone!) would be configured to wipe the device after a few invalid password attempts. My (corporate managed) BlackBerry wipes the device after 10 invalid password attempts, and my password is longer than 4 characters (and includes non-digits.)
The Blackberry allows real passwords not 4 digit pins and it has policies to wipe the device after so many bad password attempts. Since the data is all in the corporate email system and can easily be re-uploaded to a new device there's no downside to this, this is very different from the consumer oriented iphone.
There are 4 boxes to use in the defense of liberty: soap, ballot, jury, ammo. Use in that order. Starting now.
With the iPhone being sold into 20% of Fortune-100s and into the military, just how worried should we be with such shoddy security?
Well, as someone who isn't part of any Fortune-100 corporation or military force, I guess my response would be "Not at all."
It's generally understood and widely acknowledged that the secrecy in such organizations functions primarily to keep their inner workings private from their own populations, i.e., us "little people" who pay to keep them running but aren't allowed to look into their inner workings. If they are riddled with holes in their communications because they're using iPhones or MS Windows or whatever, that means that there's a good chance that investigators can find out what they're up to and inform the rest of us.
Consider the last few years of disasters in the American financial industry. It's pretty clear now that the perpetrators knew quite well what they were doing, and were profiting quite well from it all. It's the "little people" who are paying for the collapse, while the officers of the corporations are still taking home huge paychecks and bonuses. The reason it went on for so long was that the companies involved were able to keep their shady dealings secret from the great majority of their investors. If we'd had better security holes to see inside them, maybe some of the disaster could have been avoided.
It's hardly a secret that military security primarily functions to hide their internal corruption (and bungling) from their own citizenry. Making their internal communications available to the citizenry via poor comms security seems like a win for the country as a whole.
(Yeah; I know; "Such a dreamer." ;-)
Those who do study history are doomed to stand helplessly by while everyone else repeats it.
This thread is fellatious.
Isn't that also known as breathing?
I wasn't even aware of this feature until I started reading echo-chamber blog articles about how weak the encryption was. This doesn't make the issue any more or less legitimate but it sure does make the post seem a little fantastic.
She's gone from suck to blow!
To the haters: You can't win. If you mod me down, I shall become more powerful than you could possibly imagine
No, it's a jet engine. It sucks and blows at the same time.
They shouldn't leave the address book unencrypted. You could get a fairly significant increase in security with just some simple hashing.
For the copy on the "public" side (used while the device is locked), you use a database with two keys: hash and cryptname. Use a one-way hashing function on the telephone number and store that in the hash field, then compute a second hash (either with a different hash function or a different "salt" or whatever) on the telephone number, XOR the result with the name, and store the result in the cryptname field.
When the phone receives a call, hash the phone number. If the result matches the value of the hash field in one row, compute the second hash, compute the XOR of that second hash result with the cryptname field, and display the resulting name. The only way to crack this is to test every possible phone number in the world against every possible entry in the address book. Want to make it harder to crack? Use a slower hash function or hash it a thousand times or whatever. Make it computationally expensive enough that brute force cracking isn't worth the effort.
To make it even more secure, salt the data before hashing. In other words, take random data and mix it in with the digits of the phone number in some way. Store that random data in another field. By making the resulting input data to the hash much larger than ten digits, this makes it harder to create a website of hash tables of phone numbers. Make this field as large as you want.
To increase correctness, you should also encrypt a copy of the phone number (using a different hash/salt) to ensure that if you get a hash collision and two numbers end up matching one of the values in the "hash" column, the software can display the correct phone number.
Is such a scheme secure? No. Is it a heck of a lot better than cleartext? Yes. Is it so simple to implement that it makes no sense not to do so? Also yes.
Check out my sci-fi/humor trilogy at PatriotsBooks.
regardless of who manufactures it, I have access to the data. If I have access to the physical machine I have access to the data. If you are carrying sensitive information and the only thing blocking my access is a four digit code then you are an IDIOT regardless of what OS you are using.
Common people where is the news here? You actually think a Blackberry, Nokia or any other phone on the market today has any kind of encryption that can't be broken into with a bit of research.
DRM? No thanks, I'll just get it somewhere else...
The iPhone also has a setting to wipe after a number of attempts. That was not my point. I didn't say you were going to try to enter 10,000 codes. I said the information necessary to decode the data was in the unit.
An iPhone is also backed up every time you sync it, you can restore a new phone to be exactly like yours in no time. Apple mentioned this when they announce the remote wipe function of "find my iPhone".
http://lkml.org/lkml/2005/8/20/95
That would make sabotaging someone's phone pretty easy. Just pick it up, make ten wild ass guesses at a PIN, and rest assured their precious data is now gone.
Nope, it's on the computer they sync with.
All you managed to do is prove you are an asshole, not actually destroy anything (except perhaps something they did that day).
"There is more worth loving than we have strength to love." - Brian Jay Stanley
But the BlackBerry doesn't store the encryption key in-the-clear like the iPhone 3G S does, and you can't run arbitrary code on a BlackBerry just by plugging it in to a PC.
Again, my point was that YOU can't. That doesn't mean it's not possible to do so, you have no proof this cannot be done. Sure, the BlackBerry is supposed to be secured. The iPhone was also supposed to be.
Either way, if you only have to enter a 4-digit number to get in, then even if the device slows down accepting PINs after a while
No; the BlackBerry (or even the iPhone!) would be configured to wipe the device after a few invalid password attempts. My (corporate managed) BlackBerry wipes the device after 10 invalid password attempts, and my password is longer than 4 characters (and includes non-digits.)
Do me a favor, how about you don't prune off the important part of my message.
Here is my paragraph:
Either way, if you only have to enter a 4-digit number to get in, then even if the device slows down accepting PINs after a while, if you could pry it open and get the data off, all you need to do is try 10,000 combinations and you'll find one that decrypts the internal key needed to view the data on it.
That's why I said you would pry the device open and get the data off. What I am saying is that any device that can be unlocked with a 4-digit code has enough information on it to completely decrypt itself based upon only providing a 14-bit (10,000 combinations) piece of information. I explicitly did NOT say you could sit there and try to guess the code by entering it repeatedly. But you pruned that off, so you could say my statement is incorrect.
It's the same as if I had a 4,000 bit key but I store it inside my house. All you need to do is open my front door (my front door has a lock with only 100,000 combinations) to get inside and get the key.
It may be difficult to get the right data needed to run the 10,000 combinations through the system (sorry for rapid-fire switching back to the other example) offline, but it is there. If you can exploit your way into the Blackberry like you can the iPhone, then you're a long way down the road.
And don't say it's impossible.
http://www.ditii.com/2008/07/17/blackberry-pdf-exploit-exposes-corporate-networks/
http://lkml.org/lkml/2005/8/20/95
That's what she said!
Upward mobility is a slippery slope - the higher you climb the more you show your ass.
I'll probably get moderated troll for that but it's pretty obvious to me:
Put your data into a (trusted) cloud and not onto the phone itself, use encryption on the way and you are as safe as you can get. The phone is only useful when connected anyway, so why should I have to carry the data on the phone?
On other smart phone platforms, if your data is really precious and if you need more than average security, you install security solutions.
As my data is not that precious, I have just trialed commercial, easy to install security solutions like Kaspersky Mobile, F-Secure. Both has firewalls on socket and application level, heuristics, anti spam, remote locking and in Kaspersky'es case, even a "white hat rootkit" to track your phone after it has been stolen. I can easily say that they will be never possible on iPhone since Apple won't allow anything running in such deep level 24/7 and commercial security companies won't tell people how to crack their device to install or put any work in such EULA breaking application.
There are far more basic but real solutions like an application turning off Bluetooth after certain amount of time, tens of password vaults which all uses different systems (so hard to target) and especially J2ME apps which enjoys sandbox provided by Java naturally. They aren't possible too.
On the other hand, the solution making sense is also impossible with current policies. I mean "iPhone enterprise edition" which would allow such solutions from trusted Apple partners. If you have single more model of iPhone doing better things, entire iphone scheme is broken.
This is why it's an option.
That when you choose to encrypt the device, you are asked whether to specifically leave the address book decrypted.
Of course, if network policy is specified, you may not even have that option.
The BlackBerry has passed FIPS certifications. For all the touting of "security" and "encryption", I have never heard anyone other than Apple claim that it is secure, certainly not certified.
(That certain agencies would then choose to implement usage of the iPhone without verification thereof is another issue altogether. There is way too much belief and sentiment that it is the JesusPhone, and a lot of fingers that get put in ears when features, already existing functionality, bugs are discussed in a critical manner.)
when the devices are not to blame at all? It's the users who are the weak link, since they are not actively and proactively educated to protect themselves.
This security theater has been staged centuries ago. I believe that all devices are expressly designed to be crackable or with backdoors for various reasons. True security is worth true money (think of banks) and true privacy is reserved for government use.
If our society (and governments) were really interested in protecting our privacy and our assets, there would exist several laws enforcing manufacturers to state explicitly in their products' User Manuals, and using big bold letters, disclaimers like this:
"WARNING! This device does NOT provide security in case it comes to the wrong hands. Therefore, do NOT use it for storing passwords, bank account details or any sensitive information. Our Company cannot be and will not be held liable for the loss of your Identity, Material or Intellectual Property or for other damages etc etc"...
I don't care whether the Device Under Test does not claim to offer any security in its specifications. What I'm raged about is that it does not state explicitly, in a language comprehensible even by a child, that "the device does NOT offer security, don't use it as a safe, don't trust it, period".
In this sense (unless such a disclaimer actually exists in the iPhone's user manual), I accuse Apple (and any portable device manufacturer at that) of actively and purposefully misguiding customers into a sense of false security hidden behind the bling (damn, it costs $650, has all these PINs and passwords and fingerprint/face recognition, it must be totally secure!).
I realize the submitter might not know the meaning of the word, but the editor could have at least glanced at the article and realized there's no cracking involved.
I know, "welcome to Slashdot."
it's 'like putting privacy glass on half your shower door.'
So, he's saying that the encryption is perfectly adequate for male users, whereas female users are less well protected, but at least it stops people seeing the really good bits?
The article clearly says that this requires a jailbroken iPhone...which requires restoring the phone anyway, therefore erasing everything in the process. It's worse than useless and just a bunch of FUD.
Interesting how your argument is that Apple considers the iPhone a CONSUMER device, but markets it, also, as a BUSINESS/ENTERPRISE device.
http://www.apple.com/iphone/business/
It's odd that Apple would get a pass on not properly securing their CONSUMER phone that is also marketed as "the best phone for business."
iPhone 3GS offers highly secure hardware encryption that enables instantaneous remote wipe.
In the words of Bart Simpson, "I didn't think it was physically possible, but this both sucks and blows."
On a side note, I'm surprised no one made this Simpsons comment yet.
"I'm not sure I like the fugnutish tone you used in your post!" -RogL (608926)-