• On TV.com: TOP 10 Shows CANCELED Too Soon
advertisement
May 22, 2008 12:00 AM PDT

iPhone passcode can be easily bypassed

by Ben Wilson
  • Font size
  • Print
  • 3 comments

So you've set a passcode for your iPhone, and you're feeling smug and secure. You can leave the device unattended on your desk, or worse, have it stolen or lost without fear of prying eyes accessing your private data -- right?

As discovered by Jonathan Zdziarski, who has established himself as something of an iPhone forensics expert, the iPhone's passcode mechanism should leave you feeling neither smug nor secure, and represents little more than a mild deterrent for would-be viewers of your private data.

Zdziarski has outlined a three-step process for cracking the iPhone's passcode, as follows:

  1. Prepare a custom iPhone RAM disk. There are numerous How-To's out there to do this. Your custom RAM disk will need to mount /dev/rdisk0s2 (say, /mnt) and simply delete the file /mnt/mobile/Library/Preferences/com.apple.springboard.plist. This is the config file that tells springboard "passcode: on"
  2. Use the iPhone Utility Client to place the device into recovery mode and then boot the RAM disk using something like:
    • (iPHUC Recovery) #: filecopytophone Bypass_Passcode.bin
    • filecopytophone: 0
    • (iPHUC Recovery) #: cmd setenv\ boot-args\ rd=md0\ -x\ -s\ pmd0=0x9340000.0xA00000
    • (iPHUC Recovery) #: cmd saveenv
    • (iPHUC Recovery) #: cmd bootx
  3. After your custom RAM disk blows away the springboard config, reboot the phone and the passcode will be circumvented, because SpringBoard's default is "no passcode"
  4. As you can see, it's a process that requires some diligence and familiarity with iPhone hacking tools, but one that can be accomplished in mere minutes by anyone who has physical access to an iPhone.

    Zdziarski writes:

    "What a shame, that Apple went to the trouble of storing the passcode in the keychain, and yet the switch to turn it on and off is sitting in a little property list. You can test this on your own iPhone without all the trouble by simply ssh'ing into it and deleting this file by hand, then reboot."

    Feedback? info@iphoneatlas.com.

Recent posts from iPhone Atlas
More possible iPad camera evidence surfaces
iPhone OS 3.2 Beta 4 yanks camera software support, developers gain gestures
Novothink's iPhone Surge charging case ships
Rumor: Multitasking coming to iPhone OS 4.0
TomTom and Magellan iPhone car kits go head to head
The refrigerator: There's an App Magnet for that
Springpad bookmarks the world
GDC talk: Legal pitfalls for iPhone app developers
Add a Comment (Log in or register) (3 Comments)
  • prev
  • next
by gadgetto May 22, 2008 11:37 PM PDT
Is this information allready passed to Apple?
Reply to this comment
by artl2 May 24, 2008 5:30 AM PDT
why would you publish something like this. it only makes the techniques for this likely illegal action available to the world. shame on you.
Reply to this comment
by slemaire195 December 27, 2008 8:51 PM PST
At least the mental capacity of those who steal other people's property usually doesn't include the ability to understand how to go through with this.

Besides, there's only so much we can expect Apple to do about it because those who do understand how to go through with these types of things don't have it in them to steal other people's phones, unless they find them after they've been lost, which is pretty coward.
Reply to this comment
(3 Comments)
  • prev
  • next

Search iPhone Atlas

advertisement

About iPhone Atlas

iPhone Atlas helps you navigate the ins and outs of Apple iPhone ownership with how-tos, troubleshooting information, news, reviews, and more. Got a tip? Want to contact us? E-mail iphoneatlas@cnet.com.

Add this feed to your online news reader

iPhone Atlas topics