Blog

Some ramblings and write-ups about tech, music, travelling and other topics.

SSH dies on iPhone 4

What To Do

Delete these files:
/System/Library/LaunchDaemons/com.ikey.bbot.plist
/Bin/poc-bbot
Reinstall OpenSSH

Analysis

Worm:iPhoneOS/Ikee.C is a worm that uses the default root password in SSH in order to spread among jail-broken iPhones. The worm also changes the affected machine's background image. Installation When run on an iPhone, this worm takes the following actions: 1. Attempts to set a file lock at /var/lock/bbot.lock in order to verify that only one copy of the worm runs at a time. 2. Attempts to copy the file /var/log/youcanbeclosertogod.jpg to /var/mobile/Library/LockBackground.jpg 3. Removes the /usr/sbin/sshd directory and stops the SSH daemon. 4. Attempts to spread using several hard-coded IP ranges. When the worm infects a remote host, it does so by copying /bin/poc-bbot, /bin/sshpass and /var/log/youcanbeclosertogod.jpg from the local system to the remote system. It also copies /var/log/youcanbeclosertogod.jpg to /var/mobil/Library/LockBackground.jpg on the remote system. The file /System/Library/LaunchDaemons/com.ikey.bbot.plist is also copied to the remote system and the following command is run: "launchctl load /System/Library/LaunchDaemons/com.ikey.bbot.plist" This command is used to load the worm remotely, and to add it to startup on reboot on the remote machine. The worm then remotely stops the SSH daemon and deletes the automatic start on reboot option for the SSH service.

Massive White Poop on Google Lawn

Jenna is said to 'Burst into tears' when she thinks of her lowest point as a frozen yogurt saleswoman in the Nevada desert, an occupation that we've failed to mention until now....DAAAAYYYAAAMMMNNN!

Getting a Free iPhone 4 Case from Apple

On July 23, 2010 Apple began allowing iPhone 4 owners to receive a free case or bumper in the hopes of fixing the notorious antenna reception problems caused by holding in a way that attenuates the antenna. Here is how you can get your free case or bumper from your iPhone, from your computer, or as a refund.

Steps

From Your iPhone

  1. [caption id="" align="alignright" width="203" caption="Search for "iPhone 4 Case Program" at the App Store"]Search for "iPhone 4 Case Program" at the App Store[/caption] Go to the App Store on your iPhone and search for "iPhone 4 case program". Select the app that appears on top of the list.

  2. [caption id="" align="alignright" width="203" caption="Click "Free" to begin downloading"]Click "Free" to begin downloading[/caption] Click the blue button marked "Free" to begin downloading the app.

  3. [caption id="" align="alignright" width="203" caption="Pick the case"]Pick the case[/caption] Press "Get Started" and then select the case or bumper you want. You can view details of the cases available by clicking each case.

  4. [caption id="" align="alignright" width="203" caption="Now wait 3-5 weeks."]Now wait 3-5 weeks.[/caption] Follow the prompts to confirm your address information. Wait at least 3-5 weeks for your free case to arrive by mail.

From Your Computer

  1. Navigate directly to the App Store via this link.
  2. Download the app as you would any other iPhone app.
  3. Sync with iTunes via the USB cable.
  4. Open the app on your iPhone and follow the "On Your iPhone" instructions above.

WordPress on iPhone

I often use this blog for my own reference, and often access it from my iPhone. Though the iPhone renders the blog wonderfully in full, having to zoom in and out to navigate around the blog is a bit of a pain in the backside. While browsing through the sea of wordpress plugins - a lot of good stuff, some of them weren't so helpful - I've stumble upon WPtouch, which seems to be the best plugin for making WordPress blogs render in "mobile" mode. It detects if the client is a mobile device (iPhone/iPod/Android), and automatically applies a very well-polished iPhone-themed style with various JQuery visual effects, all with one simple Install -> Activate.[gallery]