Reply to topic  [ 9 posts ] 
Apple deluged by police demands to decrypt iPhones 
Author Message
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:58 pm
Posts: 8767
Location: behind the sofa
Reply with quote
http://news.cnet.com/8301-13578_3-57583 ... t-iphones/

The obvious question is how do they do it?

I'm guessing you need physical access to the chip-set to inject a back-door code, or something similar. If it was done purely with software, there wouldn't be such a waiting list and the security implications would be of great concern. The alternative is that they have access to more processing power than the US government?!

_________________
jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly."

When you're feeling too silly for x404, youRwired.net


Sun May 12, 2013 8:05 pm
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 7:26 pm
Posts: 17040
Reply with quote
Quote:
The alternative is that they have access to more processing power than the US government?!

You don't need anything like that much power to brute force a simple passcode. The interesting part is how do they stop the phone wiping itself after X (10, I think, but I can't remember) tries. I assume they're accessing the flash RAM directly without going through the phone OS, trying brute force attacks against data of a known value in a known memory location.

Even assuming you allow passcodes like 1111, there are still only 10,000 possible combinations. In cryptographic terms, that's effectively 'none at all'.

Quote:
Elcomsoft claims its iOS Forensic Toolkit can perform a brute-force cryptographic attack on a four-digit iOS 4 or iOS 5 passcode in 20 to 40 minutes.


A standard 4 digit passcode isn't really very much protection for any encryption scheme, the fact it's an iPhone is pretty much irrelevant to that. if you have a four digit password on your PC I guarantee it wouldn't take long to get into. IIRC we require all our corporate phones (of all brands) to be locked with a passphrase (which contains both numbers and letters) and is longer, but still I wouldn't expect it to survive attack for that long.

The 'Apple' part of this is a total red herring though, it's basically a simple illustration of don't have short, easy to guess passwords.

Course XKCD 538 still applies, even if 'the wrench' might be 'we will keep you in prison until you give us the pass code'. Which I believe would be the case in the UK, if the authorities wanted to get into your phone.


Sun May 12, 2013 8:55 pm
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 8:25 pm
Posts: 10691
Location: Bramsche
Reply with quote
A 4 digit password takes about 11 seconds on an online attack (limited to 1000 attempts per second).

Offline attack 0.000000111 seconds

Using a GPGPU array 0.000000000111 seconds

https://www.grc.com/haystack.htm

It is the lock out systems and auto wipe systems that can slow things down, or stop them in their tracks.

The longest part of the equation is going to be dumping the data out in a form that is court acceptable - it has to be an exact copy and they have to prove that the data in the device has not been altered (i.e. it is in read-only mode).

My Windows password comes in at:

Search Space Depth (Alphabet): 26+10+33 = 69
Search Space Length (Characters): 27 characters
Exact Search Space Size (Count):
(count of all possible passwords
with this alphabet size and up
to this password's length) 45,213,239,798,058,967,886,035,417,361,349,315,464,671,600,690,179
Search Space Size (as a power of 10): 4.52 x 1049
Time Required to Exhaustively Search this Password's Space:
Online Attack Scenario:
(Assuming one thousand guesses per second) 14.38 trillion trillion trillion centuries
Offline Fast Attack Scenario:
(Assuming one hundred billion guesses per second) 1.44 hundred thousand trillion trillion centuries
Massive Cracking Array Scenario:
(Assuming one hundred trillion guesses per second) 1.44 hundred trillion trillion centuries

_________________
"Do you know what this is? Hmm? No, I can see you do not. You have that vacant look in your eyes, which says hold my head to your ear, you will hear the sea!" - Londo Molari

Executive Producer No Agenda Show 246


Last edited by big_D on Mon May 13, 2013 4:31 am, edited 1 time in total.



Mon May 13, 2013 4:16 am
Profile ICQ
Legend
User avatar

Joined: Fri Apr 24, 2009 2:02 am
Posts: 29240
Location: Guantanamo Bay (thanks bobbdobbs)
Reply with quote
JJW009 wrote:
http://news.cnet.com/8301-13578_3-57583843-38/apple-deluged-by-police-demands-to-decrypt-iphones/

The obvious question is how do they do it?

I'm guessing you need physical access to the chip-set to inject a back-door code, or something similar. If it was done purely with software, there wouldn't be such a waiting list and the security implications would be of great concern. The alternative is that they have access to more processing power than the US government?!

They might only have one person doing all the decryptions.


Sent from my iPad using Tapatalk.

_________________
Do concentrate, 007...

"You are gifted. Mine is bordering on seven seconds."

https://www.dropbox.com/referrals/NTg5MzczNTk

http://astore.amazon.co.uk/wwwx404couk-21


Mon May 13, 2013 4:26 am
Profile
I haven't seen my friends in so long
User avatar

Joined: Thu Apr 23, 2009 6:58 pm
Posts: 8767
Location: behind the sofa
Reply with quote
Are you suggesting that the iPhone 5 will not permit a passcode longer than 4 digits? From the article linked in the OP:

Quote:
...a brute-force cryptographic attack on a four-digit iOS 4 or iOS 5 passcode in 20 to 40 minutes...

... estimates that if a user chooses a six-digit passcode, the maximum time required to guess the number would be 22 hours, while a nine-digit PIN would require two and a half years. A 10-digit PIN would take 25 years.

_________________
jonbwfc's law: "In any forum thread someone will, no matter what the subject, mention Firefly."

When you're feeling too silly for x404, youRwired.net


Mon May 13, 2013 8:55 am
Profile WWW
What's a life?
User avatar

Joined: Thu Apr 23, 2009 7:26 pm
Posts: 17040
Reply with quote
IIRC, by default (i.e. if you take the phone out of the box and set that you want an unlock code) iOS only allows for a four digit passcode yes. if you connect it to any sort of corporate system the security policy that system requires then gets imposed, which can be any sort of textual passcode with any specific requirements (e.g. 6 characters, one letter one number one non-alphanumeric or whatever). I don't think the OS version has changed that at all, although it's noticeable iOS 6 is missing from Elcomsoft's claim. I suspect iOS 6, while not requiring a better minimum password, actually encrypts the data in such a way as to make it less 'crackable'.

Android (particularly 4.2) is better in this regard as it offers a set of unlock methodologies out of the box. However some of them are much more easily overcome than others.


Mon May 13, 2013 9:25 am
Profile
Legend
User avatar

Joined: Fri Apr 24, 2009 2:02 am
Posts: 29240
Location: Guantanamo Bay (thanks bobbdobbs)
Reply with quote
JJW009 wrote:
Are you suggesting that the iPhone 5 will not permit a passcode longer than 4 digits? From the article linked in the OP:

Quote:
...a brute-force cryptographic attack on a four-digit iOS 4 or iOS 5 passcode in 20 to 40 minutes...

... estimates that if a user chooses a six-digit passcode, the maximum time required to guess the number would be 22 hours, while a nine-digit PIN would require two and a half years. A 10-digit PIN would take 25 years.

Mine was 4 numbers but is now 10 digits. I just hope I remember it. :oops:

_________________
Do concentrate, 007...

"You are gifted. Mine is bordering on seven seconds."

https://www.dropbox.com/referrals/NTg5MzczNTk

http://astore.amazon.co.uk/wwwx404couk-21


Mon May 13, 2013 9:27 am
Profile
What's a life?
User avatar

Joined: Thu Apr 23, 2009 7:26 pm
Posts: 17040
Reply with quote
Amnesia10 wrote:
Mine was 4 numbers but is now 10 digits. I just hope I remember it. :oops:

Wouldn't the best option for you be setting the unlock code to your phone number?

Jon


Mon May 13, 2013 9:28 am
Profile
Legend
User avatar

Joined: Fri Apr 24, 2009 2:02 am
Posts: 29240
Location: Guantanamo Bay (thanks bobbdobbs)
Reply with quote
jonbwfc wrote:
Amnesia10 wrote:
Mine was 4 numbers but is now 10 digits. I just hope I remember it. :oops:

Wouldn't the best option for you be setting the unlock code to your phone number?

Jon

Not really I have had the same mobile number for 8 years and still only remember the 07 bit.

I decided to go back to the 4 digit one as I could remember that.

_________________
Do concentrate, 007...

"You are gifted. Mine is bordering on seven seconds."

https://www.dropbox.com/referrals/NTg5MzczNTk

http://astore.amazon.co.uk/wwwx404couk-21


Mon May 13, 2013 9:47 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 9 posts ] 

Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.