Showing posts with label terminal. Show all posts
Showing posts with label terminal. Show all posts

Sunday, November 8, 2009

Quick Fix for iPhone "ikee is never going to give you up" SSH the ikee virus


Step 1. Change the default mobile and root password for your iphone SSH to become immune to this virus once for all ! The tutorial for this is here: http://www.redmondpie.com/how-to-secure-your-jailbroken-iphone-from-ssh-hack-9140084/

Step 2. Download mobileterminal through Cydia or use Iphone Explorer (www.iphone-explorer.com) for Windows

Step 3. Logon as Root and delete below files:
(1). /var/mobile/Library/LockBackground.jpg
(2). /System/Library/LaunchDaemons/com.ikey.bbot.plist
(3). /bin/poc-bbot
(4). /bin/sshpass
(5). /var/log/youcanbeclosertogod.jpg

Step 4. Set up your favourite wallpaper and reboot your device.

P.S. For those who use mobileterminal to delete files and not familiar with linux command,

a. the command for deleting files is "rm". Example, rm /var/mobile/Library/LockBackground.jpg

b. the linux path is case-sensitive, so make sure you type the path correctly.

Dont get Rick Rolled on you iPhone, Change the Password

If you’re one of the many who are jailbreaking your iPhone to get options such as tethering, make sure you change the root access password once you do.
In addition to your possibly getting Rick-Rolled

Your jailbroken phone could possibly be held for ransom

If you’ve never changed the default device password, now’s the time. Here’s how:

The app to use on the iPhone is called MobileTerminal and it’s available for free in the Cydia store.

Once you have MobileTerminal installed, launch it and you should see a prompt saying this or similar:

iPhoneName: ~ Mobile$

  • At that prompt, type: passwd
  • You’ll be prompted for the ‘old’ (current) password for the mobile user. Enter this as the old password: alpine
  • You’ll then be prompted to enter the new password – so just type in your desired new password. Use good password principles if possible (long and stong). You will not see characters appearing on the screen as you type – that’s normal, not a concern.
  • You’ll then be prompted to re-enter the new password. Do that.
  • You should then be returned to the Mobile$ prompt that you started on when opening the MobileTerminal app. There’s no success message to say the password was changed – but if you’re returned to the prompt and do not get an error, the change was successful. And you’re done with change for the mobile account.
  • The second primary admin account for the iPhone is called root – so now you need to change that as well.
  • Type this to switch to the root user: login root
  • You’ll be prompted for the root user’s current password. Enter this: alpine
  • Type this to start the password change routine again: passwd
  • Enter the old password for root (it is ‘alpine’, same as for the mobile user) and enter your desired new password twice, just as you did for the mobile account
via whatsmypass