News for hackers. Stuff that matters.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Tuesday March 08, 2016 @06:13PM (#11249559)
This is really annoying. I wrote a blog post last week making this exact same point, posted it here, and it promptly got flagged to death, most likely by the same people who were commenting that I was "absolutely, totally wrong".

https://news.ycombinator.com/item?id=11199093

Nice to be vindicated though.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by TazeTSchnitzel on Tuesday March 08, 2016 @09:01PM (#11250350)
AIUI your blog post was nonetheless wrong. As the OP explains, there are multiple layers of encryption.

The first is at the hardware level, performed by the SSD itself.[0] It encrypts all data on it with a key stored in rewriteable memory. By changing the key, you can "erase" the drive. The FBI could backup that key if they wanted to undo the "secure erase" feature.

However, this is not the only layer of encryption. The second is done in software, performed by iOS. It encrypts all user data with a key derived from the user's passcode and a unique key burned into the chip. The FBI cannot get past this layer, and this is what they wanted Apple's help for.

You were right in that the FBI could trivially get past the first layer of encryption, but it's not the one we care about. There's more than one layer.

[0] Or rather, by the flash controller. At least, I assume it is. It might actually be an iOS software feature too, but the OP's description reminds me very much of how some SSDs implement secure erase. Whether it's actually done in hardware or software is immaterial, anyway.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by superuser2 on Tuesday March 08, 2016 @09:38PM (#11250492)
FBI didn't demand help with that layer, it demanded a way to bypass auto erase. They intended to perform the brute force of the 4 digit PIN themselves. Sure, they wanted to be able to enter PINs electronically, but they could just as easily have an intern sit there and enumerate the 1000 combinations once auto erase was disabled.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by TazeTSchnitzel on Tuesday March 08, 2016 @09:42PM (#11250514)
> FBI didn't demand help with that layer, it demanded a way to bypass auto erase.

...so that they could get past that layer of encryption by making lots of password attempts.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by tehwebguy on Tuesday March 08, 2016 @09:47PM (#11250535)
Seems like you could stick one of those stylus nubs on a 3d printer head and do the same thing but rapid fire. That would be pretty cool actually.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by 13of40 on Tuesday March 08, 2016 @10:31PM (#11250703)
Seems like if you were modifying the firmware you could just add a for loop in there that would enter the pins automatically.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by superuser2 on Tuesday March 08, 2016 @10:06PM (#11250617)
I've definitely seen a YouTube video of that.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by cplease on Tuesday March 08, 2016 @11:21PM (#11250905)
That was a timing weakness in an older version of iOS that was patched in software. Previously you could just cut power at a precise monent and get unlimited attempts. It's no longer exploitable.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by qb45 on Wednesday March 09, 2016 @01:23PM (#11254653)
Does that mean that now if you cut power at the same moment the fail counter increments even if the entered code was correct?

Not that it's particularly useful for hackers, I'm just wondering if this can be done "perfectly" at all.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by cplease on Thursday March 10, 2016 @12:37AM (#11257531)
Yes you can, if you sync the commit to NVRAM before giving any external indication of success/failure, and don't leak through any side-channels. The CVE before demo'd by the famous youtube video was that you had a split second after failure was indicated where you could cut the power and keep the failure from being stored.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by Godel_unicode on Tuesday March 08, 2016 @10:09PM (#11250631)
Milling machine might work better. You need Z as well as X and Y.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by mbreese on Tuesday March 08, 2016 @10:30PM (#11250695)
Most 3D printers also have a Z axis... Although, it's often the deck itself. But, point taken. Any 3-axis machine should do the trick pretty well.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by leereeves on Wednesday March 09, 2016 @12:32AM (#11251124)
Why do you assume it's a 4 digit PIN?

iDevices can have longer PINs and PINs with letters and symbols.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @01:12AM (#11251246)
Many of the reports in the press were saying it was a 4-digit pin. But it's feasible even to brute force a six-digit PIN in the way I described, it would just take several weeks.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by mtreis86 on Wednesday March 09, 2016 @10:52AM (#11253624)
Is there any way to know the length of they pin before bruteforcing?
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by wang_li on Wednesday March 09, 2016 @11:22AM (#11253821)
I use a larger than 8 digit pass code on my iphone. It looks different.

Using a default 4 digit code, you end up with a numeric pad and four boxes. If you use a longer than 4 digit code but stick with numbers, it gives a single box to enter the pass code in but presents a numeric pad. If you use letters at all, it switches to a qwerty-ish keyboard and a single box to enter the pass code.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @10:59AM (#11253687)
I'm not sure because I'm not running iOS 9, but from screenshots on the web it looks like the length of the passcode is displayed on the lock screen.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by todd8 on Wednesday March 09, 2016 @09:23AM (#11253096)
10000
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by zaroth on Wednesday March 09, 2016 @10:27AM (#11253471)
Plot twist, the PIN is 1234 and auto-erase isn't even enabled. I think there's no way to know without trying, and FBI is just too afraid to try it ;-)
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Tuesday March 08, 2016 @09:37PM (#11250491)
> The FBI cannot get past this layer

Yes, it can, and I explained exactly how in the original post. It's true I got some of the technical details wrong, but the substance of the post was and is correct.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by oldmanjay on Wednesday March 09, 2016 @12:18PM (#11254201)
The technical details in this case really are everything, so it would make sense to get flagged out of existence if you got them wrong.

To be clear, I'm not one of the flaggers, but I can understand some potential motivation there. There is already a lot of noise on this topic.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @12:29PM (#11254270)
One of the technical details is that disjunctive claims are true if any of their constituent elements are true. My claim was of the form, "The iPhone is vulnerable to attack. Here is one attack. If that doesn't work, here's a second attack." The first attack doesn't work, but the second one does. Hence the overall claim -- that the iPhone is vulnerable -- was (and remains) correct.

So should you be flagged to death because you got this wrong?

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by TazeTSchnitzel on Wednesday March 09, 2016 @06:37PM (#11256452)
The second attack was added in an update after you were criticised, no? It hardly counts.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @06:44PM (#11256475)
No, it was in the original post.

" they could use a copy of the chip to try five different PIN codes, and then replace the chip with a fresh copy of the original and try five more. Lather, rinse, repeat. At worst this would take about a week or so."

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by cpleppert on Wednesday March 09, 2016 @04:56PM (#11256000)
>> Yes, it can, and I explained exactly how in the original post. It's true I got some of the technical details wrong, but the substance of the post was and is correct

No you were wrong. You claimed that if the FBI was competent they could retrieve the key from the flash. There were no technical details discussed at all. (you could trivially google this issue and find out what you suggested doesn't work)

The ACLU is describing an attack on the PIN not the key. You acknowledge this in another comment on this thread so I have no idea why you are claiming here that the FBI can get past the encryption in any way; which as others have said doesn't work.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @05:05PM (#11256052)
> The ACLU is describing an attack on the PIN not the key

Yes. And so did I.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by bduerst on Tuesday March 08, 2016 @06:43PM (#11249729)
If it's any consolation, you're faster at describing this than the ACLU.

Hasn't it always been known, since the beginning of this issue, that this was a penetrable 5c phone and thus a red herring for the FBI's request?

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Tuesday March 08, 2016 @06:49PM (#11249762)
It has been known in the abstract, but AFAIK I was the first to publish a specific attack. (Not that I really claim that as much of an accomplishment. Sometimes it's hard to navigate the line between educating people and insulting their intelligence, particularly when it comes to security.)
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by look_lookatme on Wednesday March 09, 2016 @01:38AM (#11251331)
Other people have brought this up but in a kind of hand-wavy way.

https://www.lawfareblog.com/how-destroy-pandoras-iphone

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by timr on Tuesday March 08, 2016 @07:14PM (#11249884)
To be fair, this isn't an especially relevant argument, even if it's true.

The FBI isn't going to rip open a phone, unsolder a chip and risk destroying the device, when it can do what it's done successfully, many times in the past, and ask Apple to unlock the phone for them:

http://www.npr.org/2016/02/22/467602161/the-seeds-of-apples-...

This thread is a real-world demonstration of the XKCD comic about pipe-wrench security:

https://xkcd.com/538/

Nerds think that proving that there's some theoretical, high-tech attack against the this specific phone means that the FBI should therefore lose. But that's irrelevant. This case is about the pipe wrench.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by csydas on Tuesday March 08, 2016 @07:53PM (#11250051)
Well, no, I think it's still very relevant.

To use the classic XKCD comic, the crux of the case is that FBI is the one arguing the first panel (i.e., some bogus magical encryption we can never break), and because of that claim, they need to be able to compel Apple to compromise the security features using the old wrench trick.

The reality of there being practical alternatives for the FBI to pursue should give pause as to whether they can compel Apple to compromise the security features, and arguably the method described/discussed is indeed very practical.

All in all, it's less about the FBI's ability to do any of this and instead more about "should be the allowed to force a company to do something like this?". By demonstrating the claim that it's impossible to proceed without Apple's help is not true, I would think it should give pause to any court as to how to rule, since the implication of the ruling is pretty big.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by timr on Tuesday March 08, 2016 @08:10PM (#11250134)
The point is that the definition of "practical" is debatable -- any reasonable person can see that there are more risks associated with mucking around with the circuit board than having Apple install a custom software build, which carries no technical risk at all.

It doesn't matter that you can come up with some theoretically plausible attack that works in this one case. If it's harder or riskier or slower or less effective than Apple complying with the warrant, then the question stands.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by semiel on Tuesday March 08, 2016 @08:34PM (#11250236)
It actually seems clearly the opposite to me. This approach uses standard tools and methodologies for which there are already experts. Asking Apple to write new firmware has the potential of software bugs and similar unexpected issues.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by ins0 on Wednesday March 09, 2016 @02:31AM (#11251448)
I agree with you. Writing a custom firmware on the device is on the same risk level as desoldering the chip. In both cases it would be a smart option to test this approaches on a different device first.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by dlp211 on Wednesday March 09, 2016 @10:52PM (#11257296)
The difference is that one of those options is nearly completely reproducible, the other requires humans to deconstruct a device which introduces more chances for things to go wrong.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by bryanrasmussen on Wednesday March 09, 2016 @08:12AM (#11252733)
yeah, so if Apple writes a new firmware upgrade (in a couple years from now) and the device has something in it's configuration that in conjunction with a new bug in the firmware ends up bricking the device... I wonder what then.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by davmre on Tuesday March 08, 2016 @08:03PM (#11250100)
It may not be relevant legally. But it undermines the (already very flawed) PR argument that Apple is enabling terrorists by not unlocking this specific phone.

Forcing the FBI to admit that their real objective is the general power to hit people with pipe wrenches seems like an important step.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by acqq on Wednesday March 09, 2016 @02:42PM (#11255265)
The linked article quoting former NSA person is wrong, Apple never unlocked encrypted iPhone 5C before, there are enough articles about the fact that for the previous demands no new software was needed, just data copying.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by c3t0 on Tuesday March 08, 2016 @06:36PM (#11249686)
Thanks for bringing it up. Last week I read your article and I found it very interesting.

You did receive harsh RTFM comments (stark contrast with the tone of the comments on this thread).

Glad that you can see your work corroborated.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by vatotemking on Tuesday March 08, 2016 @07:00PM (#11249820)
> The author is absolutely, totally wrong.

> I flagged the article, as the entire argument is predicated on a factually false premise.

Wow those comments are harsh

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by Godel_unicode on Tuesday March 08, 2016 @09:32PM (#11250467)
Not inaccurate, however.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by agwa on Tuesday March 08, 2016 @07:18PM (#11249895)
No, there's an essential difference between your post and the ACLU's: you suggested that the FBI would be able to brute-force the key off-chip, which is not true because the encryption key is derived in part from the device ID, which can't be extracted. This is not what the ACLU/DKG is suggesting - they are suggesting making a backup of the flash storage and restoring it after the auto-erase kicks in. The decryption would still happen on the iPhone itself.

Granted, you updated your post to suggest what the ACLU is now suggesting, but that was after the commenters correctly criticized your post for being wrong.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Tuesday March 08, 2016 @07:32PM (#11249968)
You must not have read my original post very carefully:

"they could use a copy of the chip to try five different PIN codes, and then replace the chip with a fresh copy of the original and try five more"

I don't know how I could have made it any clearer that I was proposing an attack on the PIN, not the key.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by agwa on Tuesday March 08, 2016 @09:06PM (#11250362)
According to your post, the FBI would only need to do that if they were "completely incompetent." You wrote, "unless they are completely incompetent, having read out the contents of the chip they should be able to decrypt its contents in a matter of minutes if not seconds." Details matter, and it was fair to call you on your mistake. You shouldn't get all upset now that the ACLU has published a post which gets the details right.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Tuesday March 08, 2016 @09:35PM (#11250481)
You're right, I got that one detail wrong. Nonetheless, the substance of my post was correct. If every post that had a minor error like this was flagged to death the home page would be empty.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by Godel_unicode on Tuesday March 08, 2016 @10:20PM (#11250664)
Security is just a collection of details; details matter.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @11:06AM (#11253730)
The only detail that matters in this case is that one of the attacks I described does (almost certainly) work.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by cpleppert on Wednesday March 09, 2016 @04:46PM (#11255959)
That isn't what you said:

>> It's encrypted, but here's the thing: the encryption key is also (almost certainly) stored in the same chip. So all the FBI needs to do is de-solder the chip, mount it in its own hardware, and read out the data.

This is not correct and was the main suggestion you made.

>> I don't know how I could have made it any clearer that I was proposing an attack on the PIN, not the key.

Because you just did. You are now claiming that an offhand comment you made that resembles what the ACLU suggests is the main point of your post and that is not the case.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @05:04PM (#11256044)
That was one of two proposed attacks. At the time I wrote it, I was unaware that the A6 chip has a UID that is used in the KDF. That renders the first of my two proposed attacks ineffective, but not the second one.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by andromeduck on Tuesday March 08, 2016 @07:36PM (#11249994)
He said mount on their own hardware but that doesn't preclude using the original chips as part of the setup.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by StreamBright on Wednesday March 09, 2016 @04:16AM (#11251836)
Well, HN is -just like any other community- biased and also suffers from echo chamber problem. Even if it is much smaller scale than any other online forum, still there is a chance for getting down voted even though your are absolutely 100% right about something and most of the down voters are wrong. You can either live with this and just ignore it or getting annoyed by it. I am not sure if this is going to be fixed or it needs to be fixed at all.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @10:10AM (#11253365)
The problem is not so much the voting and the community, but the extreme non-linearity of the flagging mechanism. Getting flagged is mostly invisible until you cross a threshold and then -- poof! -- your article is dead. It was intended to keep spam and kitten pix off the front page. Vouching was introduced as a counter-measure to inappropriate flagging, and indeed my article was vouched for once and was briefly resurrected before it was flagged to death a second time.

Keeping control of an on-line curated forum as it grows is still an unsolved problem.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by StreamBright on Thursday March 10, 2016 @01:35PM (#11261041)
I was thinking about this a lot, how could you protect the integrity of you content and at the same time keep up quality but still I got as far as introducing weight to the votes, and scale up how much somebody's vote means based on their karma. I don't think that HN does that, and also not sure it would fix this problem. We need probably some model to verify. Curious if anybody has a good idea.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by orik on Tuesday March 08, 2016 @08:39PM (#11250255)
do you think they could back up the nand chip and replace it with a read only nand chip with the same memory, and then try to unlock is as much as they want?
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Tuesday March 08, 2016 @09:50PM (#11250550)
I don't know, but it's fairly pretty to find out. Just try it. I don't have the skills to desolder a surface mount chip but I personally know people who do. It would probably cost about $1000 to buy an iPhone and hire one of these people to do the experiment.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by tremguy on Wednesday March 09, 2016 @03:57AM (#11251765)
Pretty sure it would throw some kind of low level error as that would disable all kinds of basic IO.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by kordless on Tuesday March 08, 2016 @07:19PM (#11249900)
So you are annoyed someone who was wrong to begin with said you were wrong. :) I'm happy you were right!
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Tuesday March 08, 2016 @07:34PM (#11249980)
No, the annoying part was being flagged to death, which cut off the discussion. I don't mind people telling me that I'm wrong. Sometimes they're right (but not this time).
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by Gibbon1 on Wednesday March 09, 2016 @03:47AM (#11251733)
Highlights something I'm annoyed with, the pernicious idea that truth can be determined by 'voting'
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by kordless on Wednesday March 09, 2016 @11:54AM (#11254027)
Truths are whatever you make them, as long as that is what you really believe. "Truths" rationalized by an entity holding conflicting information may need sampling to ascertain the origin of the conflict. That's where voting comes in handy, but it's not a perfect solution by any means.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by retrogradeorbit on Wednesday March 09, 2016 @01:08AM (#11251230)
Hacker News filled with people who don't know what they're talking about but talking like they are infallibly right? Say it isn't so!

Your real issue was going up against the cult of Apple fanboys that hang out here. You will find this response with anything that remotely suggests that Apple isn't perfection.

You can see them still getting huffy in the responses to this comment.

Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by lisper on Wednesday March 09, 2016 @01:11AM (#11251240)
But I wasn't even being critical of Apple, I was being critical of the FBI! I thought that would go over well here.
Re:One of the FBI’s Major Claims in the iPhone Case Is Fraud... by retrogradeorbit on Wednesday March 09, 2016 @01:14AM (#11251253)
I know. But you illustrated flaws in the Apple iPhone security that in their minds they see as perfect.