Click here to Skip to main content
15,890,557 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: My wife decided to die ... Pin
GuyThiebaut26-Feb-16 23:13
professionalGuyThiebaut26-Feb-16 23:13 
GeneralRe: My wife decided to die ... Pin
KarstenK26-Feb-16 23:14
mveKarstenK26-Feb-16 23:14 
GeneralRe: My wife decided to die ... Pin
User 1106097926-Feb-16 23:44
User 1106097926-Feb-16 23:44 
GeneralRe: My wife decided to die ... Pin
Cornelius Henning27-Feb-16 0:54
professionalCornelius Henning27-Feb-16 0:54 
GeneralRe: My wife decided to die ... Pin
Eddy Vluggen27-Feb-16 1:01
professionalEddy Vluggen27-Feb-16 1:01 
GeneralRe: My wife decided to die ... Pin
BillWoodruff27-Feb-16 1:03
professionalBillWoodruff27-Feb-16 1:03 
GeneralRe: My wife decided to die ... Pin
User 1106097927-Feb-16 11:07
User 1106097927-Feb-16 11:07 
GeneralWhy the FBI Has it All Wrong (re iPhone) PinPopular
Peter Moore - Chicago26-Feb-16 10:14
Peter Moore - Chicago26-Feb-16 10:14 
Maybe it's me, but I am pretty confident the FBI is on the completely wrong track with this iPhone business.

As I understand it they want Apple to create a customized version of iOS that disables the "self-destruct", reduces the artificially inflated time-interval between passcode attempts, and would allow the passcodes to be attempted electronically rather than through the touch screen.

Even if the FBI got what it wanted, the attempts would still be made via the iPhone itself, using its single 1.3GHz A6 chip. According to Apple, however, there is a minimum of 80 ms required between attempts by virtue of a large iteration count. The most logical conclusion is that they're taking the PID plus the passcode, running it through a SHA algorithm 10,000 or so times (probably more depending on the CPU speed), and using the result to encrypt/decrypt a permanent 256-bit AES key which actually gets you to the data.

With a 6-digit passcode, assuming just uppercase letters, lowercase letters, and 0-9, there are 56.8 billion possible combinations (62^6), which given the unavoidable 80 ms delay would take the iPhone 5C 4.5 billion seconds, or 144 years to complete. So in the worst case scenario, what the FBI is asking for may well wind up being useless.

Of course if the passcodes are just numeric, or 4 characters instead of 6, that changes things dramatically. A 4 digit numeric passcode would only take 22 hours for example. I tried but cannot find details on what kind of passcode the scumbag terrorists were using. But let's assume for the sake of argument it is something small enough to crack in a reasonable amount of time, even on the iPhone 5C.

There's still a compelling technical argument (leaving aside the legal and constitutional issues) for why the FBI's request is overbroad: with only modest help from Apple, they could wage the brute force attack themselves. Apple almost certainly has the capability of extracting the encrypted data from the storage device, and of extracting the PID off of the chip. I realize this would be an extremely delicate and risky process for a hacker who doesn't have the exact specs at hand, but are we really to believe Apple doesn't have the ability to do this safely and relatively easily? And if they do, this strikes me as a very reasonable thing to order Apple to do, especially when the owner of the phone supports doing so.

The only other piece of information needed would then be the precise hashing procedure employed by iOS - information which can hardly be considered a trade secret considering almost everyone uses the same algorithms and similar procedures for these sorts of locks, and which could likely be reverse engineered with relative ease anyway (if it hasn't been already). Clearly this would be fair game for a subpoena, even in a civil case, let alone a criminal one.

With that, the FBI could just take the data and try to decrypt it by brute force on their own machines and maybe 100 lines of code. With a GPU farm, the likes of which we all know the government has access to, even the 144 years for the 6-character case sensitive alphanumeric code could be brought down by a couple orders of magnitude. But most importantly, it would obviate the FBI's overreaching request and pretty much moot Apple's opposition. It truly would be a "one shot" thing as there would be no risk of some new piece of software leaking its way onto the Internet for others to exploit. It would be analogous to forcing a bank to let the police into the vault and telling them what kind of lock protects the safety deposit box.

Of course, I suspect neither side has any interest in this course of action. The FBI would almost certainly prefer a permanent iPhone skeleton key - even if it's controlled by Apple - for future cases and seems to be using the compelling facts of this case as its best chance to get it. Apple on the other hand no doubt benefits from the positive publicity of standing up for its customers, and is not about to volunteer a more reasonable way for the government to get what it wants when (and this is my personal opinion) it is likely to win in the courts because of the government's overreaching.

(I am a lawyer, incidentally, and the reason I think they should win legally is pretty much what they said in their response to the court - the government can't make them write code. That sort of thing is prohibited by the 13th amendment, among others. The only time I'm aware of that the government can draft a company into its service is during a genuine war, where it's a question of resources, and at minimum Congress would have to authorize it and compensate for it).

Those are just my $0.02 anyway. Would love to hear if there are opposing views or if any of my assumptions are wrong.

Peter
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
User 842026-Feb-16 10:44
User 842026-Feb-16 10:44 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
Peter Moore - Chicago27-Feb-16 11:28
Peter Moore - Chicago27-Feb-16 11:28 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
Kyle Moyer26-Feb-16 11:36
Kyle Moyer26-Feb-16 11:36 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
908236526-Feb-16 12:36
908236526-Feb-16 12:36 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
Peter Moore - Chicago26-Feb-16 14:33
Peter Moore - Chicago26-Feb-16 14:33 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
908236527-Feb-16 0:57
908236527-Feb-16 0:57 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
Peter Moore - Chicago27-Feb-16 11:02
Peter Moore - Chicago27-Feb-16 11:02 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
908236527-Feb-16 11:35
908236527-Feb-16 11:35 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
Peter Moore - Chicago27-Feb-16 13:40
Peter Moore - Chicago27-Feb-16 13:40 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
908236528-Feb-16 6:56
908236528-Feb-16 6:56 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
GuyThiebaut26-Feb-16 23:24
professionalGuyThiebaut26-Feb-16 23:24 
GeneralRe: Why the FBI Has it All Wrong (re iPhone) Pin
User 842027-Feb-16 8:08
User 842027-Feb-16 8:08 
JokeHeadline of the day (involving hyena and elephant) Pin
Maximilien26-Feb-16 7:11
Maximilien26-Feb-16 7:11 
GeneralRe: Headline of the day (involving hyena and elephant) Pin
W Balboos, GHB26-Feb-16 7:41
W Balboos, GHB26-Feb-16 7:41 
GeneralRe: Headline of the day (involving hyena and elephant) Pin
jeron126-Feb-16 7:44
jeron126-Feb-16 7:44 
GeneralRe: Headline of the day (involving hyena and elephant) Pin
Dan Neely26-Feb-16 8:23
Dan Neely26-Feb-16 8:23 
GeneralRe: Headline of the day (involving hyena and elephant) Pin
PIEBALDconsult26-Feb-16 9:29
mvePIEBALDconsult26-Feb-16 9:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.