Posts Tagged ‘ssh’

The first steps (part 1)

March 28, 2009 Leave a comment

In order to begin iPhone hacking, it is necessary to unlock/jailbreak the phone. Thanks to the QuickPWN group, this is quite simple. Download their QuickPWN tool for your platform, run it and follow the on-screen instructions. Never unplug the iPhone during this process, however, or you risk turning your iPhone into an expensive paperweight/doorstop.

After you have jailbroken the phone, you need to install OpenSSH to gain access to the phone from your computer. This package is installed from the new “Cydia” icon and takes no brain power to do (just finger power). Once installed you can secure shell (SSH) into your phone. From your computer, SSH to the phone’s ip address (yes, it must be on your wifi network) with the username “root” and password “alpine.”

Now you are at the shell of your phone; pretty cool! Make sure you change the “root” and “mobile” user passwords (use passwd) so that others can shell into the phone too (other wise you will get pwned). Now you can start looking around the filesystem of the phone. Native applications and libraries are installed in /private/var/stash/ and your AppStore applications are in /User/Applications.

In part 2 we will look at some of the other interesting files and talk about reverse engineering native apps. Since AppStore apps are encrypted, we will save those for a later post.

Categories: iPhone Tags: ,