How to secure your jailbroken iPhone from viruses, worms & attacks

Recently we heard about a virus / worm that takes advantage of Jailbroken iPhones that are SSH enabled to change the wallpaper. Fortunately for the iPhone community the iKee worm was, just an experiment and no serious damage was done.

But yes best to safeguard your jailbroken iPhone from this exploit. The default root password to access the iPhone via SSH is ‘alpine’ and it is best if we change the same after jailbreaking the iPhone. A simple Cydia app called Mobile Terminal does the trick here.

After installing MobileTerminal from Cydia you need to follow these steps.

mobile terminal security mobile terminal

  1. Enter the command ‘login’
  2. Login using the username: root and password: alpine
  3. After you are logged in, enter the command ‘passwd’
  4. Now enter the new password (required to be input twice) and your SSH password would be updated

Though this may not protect you from all the possible exploits on the iPhone, its a good practice to plug the known holes before they result in serious damage. You can call this a replacement for an firewall or antivirus on the iPhone

Note: I tried this on firmware 3.1.2, Works!
Search “MobileTerminal” on Cydia.

Mobile Terminal Crashing?

We have heard numerous updates about MobileTerminal crashing. It seems you need the newer version of MobileTerminal to fix this problem. Please add a new source: http://yourcydiarepo.org in Cydia and Install the latest version of MobileTerminal offered there. This should fix the issue for iOS 4.3.1 upwards (even iOS 5).