Remove the Ikee virus from your iPhone

Oh bugger, I’ve been Rickrolled! I was out getting tea and I received a phone call – I spotted Rick’s face which shocked me for a bit, but then remembered reading about the virus which originated in Australia. I guess it crawled fast enough over to my iPhone from there. After doing research and reading several incomplete methods on cleaning up the virus, I’ve put together a comprehensive 2 part article – how to remove it, and how to secure your iPhone from getting infected by it.

If you haven’t heard, your iPhone is very vulnerable to getting hacked if you don’t change the root password that is set for all iPhones. The first worm or virus for the iPhone is rather docile, as it merely changes the wallpaper of your phone. Nonetheless, you don’t know what evil viruses may spring up next.

The default password for iPhones is alpine and a smart hacker can use that common password to their advantage. As such, it is vital that everyone changes the default password.

The Ikee Virus Summarized

  • This is the first virus for the iPhone.
  • Some Aussie dude named Ashley created this virus as a proof-of-concept (what an ass).
  • It only affects jailbroken phones.
  • Symptoms: your iPhone wallpaper changes to show a picture of Rick Astley, accompanied by the text Ikee is never gonna give you up.
  • There are 4 variants of the Ikee virus as of this moment – all of which can be removed with a bit of effort.

ikee-virus-rick-astley

My personal take is that I’m grateful the worm is not malicious and it has been a wake up call for me. I’ve now changed the default password on my iPhone.

Steps to remove the Ikee virus (variant A, B, C & D)

  1. If you haven’t already installed mobile terminal via Cydia, do so.
  2. Reboot your iPhone.
  3. Run mobile terminal, and at the prompt, type su.
  4. The default password is alpine (unless you’ve already changed it).
  5. Type in the following commands one line at a time, end press return after each line.
    You may get messages such as No such file or directory – but that’s fine, different variants may leave behind different files.

    rm /bin/poc-bbot
    rm /bin/sshpass
    rm /System/Library/LaunchDaemons/com.ikey.bbot.plist
    rm /var/lock/bbot.lock
    rm /var/log/youcanbeclosertogod.jpg
    rm /var/mobile/Library/LockBackground.jpg
    rm /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist
    rm /usr/libexec/cydia/startup
    rm /usr/libexec/cydia/startup-helper
    rm /usr/libexec/cydia/startup.so

  6. When you’re done, reboot your iPhone.
  7. Now, change your wallpaper to something cool. You should be free of Rick’s ghost now.
  8. Follow the steps below to prevent getting hacked again.

Steps to change your iPhone root password (and minimize being hacked)

  1. Start mobile terminal (download and install via Cydia if you haven’t done so yet).
  2. Type su.
  3. Enter alpine as the password.
  4. At the prompt, type passwd.
  5. Enter your new root password. DO NOT FORGET THIS!
  6. Enter the same password again.
  7. You should now be secure from viruses that use the default password to hack into your phone.

  • Afif

    If I never installed Mobile Terminal on my jailbreaked iPhone before, can I still get the virus? How does the virus spread? Through WiFi or 3G?

  • Maung PN

    Big Thanks!!
    I’ve followed ur instruction & get rid of the virus.
    Have a nice day!!
    rgd,
    Maung

  • yusri

    Thank You for your help. At first, I tried many times but seems it didnt work but after that, i realize there’s a space between “rm” and “/” …

  • jux

    Thanks so much.. it work.. for the virus author.. you’re the best.. one of a kind.. but, help produce good apps, not viruses.

  • http://www.integricity.com TheBackpackr

    @Afif If you haven’t jailbroken your phone, you can’t get this Ikee virus. I believe it can spread via both wifi and 3G networks, but I’m not absolutely certain about the 3G spread.

  • Amar Amdan

    not familiar at all with linux. but if im being asked the confrimation, should i just type ‘y’ then enter? or should i just enter. please help thanks.

  • http://www.integricity.com TheBackpackr

    Did you do the su step?

  • Amar Amdan

    yes i have.. but when it comes to deleting the files. a message asking for confirmation appeared. what should i do at this stage? since im not a linux guy, therefore unable to command it to confirm.

  • Nicholas Lim

    Thanks alot, i’m virus free now :)

  • Anthony

    Thanks for the easy to follow instructions!
    The Rick has successfully been removed.

  • Amar Amdan

    hey can somebody help me here… what should i do when it ask me for confirmation to remove the file? what command do i type?

  • Lucas

    WOW! made it! it works! thanks!

  • Jenny

    Thanks a million. It works!!!! The virus is gone :D

  • Iphone user

    Done n TQ. Do remember to insert space between rm and /
    Hope ther are more good man in this world like you.

  • gideon

    bro.. i have a problem over here.. im using iphone 2G
    and after downloading n reboot mobile terminal
    when i run it n trying to type in password.. it jst say command not found
    can help??

  • http://www.integricity.com TheBackpackr

    I’m glad this was able to help many of you. It annoyed me to no end.

    @Amar – I’m not sure why you’re having problems, so many others have cleaned it out.

    @gideon – which command did you type before the command not found one? su?

  • georgechot

    I think I am the first victim in Malaysia. It happened this morning. First attempt failed. Then I saw comment by yusri on the “space after rm”. tried again and woila! the ikee ghost gone! Thanks dudes! Now got to change my pw.

  • De Cruz

    hey guys i got a better method!!!

    1. try to restore yr iphone using the latest itunes. using the ‘iPhone2,1_3.1.2_7D11_Restore’ ( remember restore is using the shift + restore )

    2. once yr iphonee is restore , (never back up yr iphone to the latest date) choose set up as a new phone!!

    and everything is done, lastly

    Steps to change your iPhone root password (and minimize being hacked)

    1. Start mobile terminal (download and install via Cydia if you haven’t done so yet).
    2. Type su.
    3. Enter alpine as the password.
    4. At the prompt, type passwd.
    5. Enter your new root password. DO NOT FORGET THIS!
    6. Enter the same password again.
    7. You should now be secure from viruses that use the default password to hack into your phone.

  • pG14

    thanx backpackers =) i cleaned it up..yahoooooo!!!!!!!!!!!!!

  • Pete

    Gone through the steps 3 times but I still have the iKee
    I’ve a 3GS with 3.12
    Any more ideas?

    Thanks

  • Daryl

    I just did the steps to get rid of the virus but my iphone gets stuck at the loading screen with the apple logo

  • http://www.integricity.com TheBackpackr

    De Cruz, are you sure you won’t lose your existing data, with your method? I would rather not wipe out everything on my phone, if possible – hence using mobile terminal to delete the problematic files. I still think my method is easiest, dude.

  • Amiga

    The best way to remove the Ikee virus is making a clear restore .

  • gideon

    hey bro! iam able to change my PW! but not the virus..
    i trying to type in
    Type in the following commands one line at a time, end press return after each line.
    You may get messages such as No such file or directory – but that’s fine, different variants may leave behind different files.

    rm /bin/poc-bbot
    rm /bin/sshpass
    rm /System/Library/LaunchDaemons/com.ikey.bbot.plist
    rm /var/lock/bbot.lock
    rm /var/log/youcanbeclosertogod.jpg
    rm /var/mobile/Library/LockBackground.jpg
    rm /System/Library/LaunchDaemons/com.saurik.Cydia.Startup.plist
    rm /usr/libexec/cydia/startup
    rm /usr/libexec/cydia/startup-helper
    rm /usr/libexec/cydia/startup.so

    as u told.. but yet i cant delete the virus.. can help me up??

  • http://www.integricity.com TheBackpackr

    Do you get error messages? Do note that there is a between rm and the /

  • gideon

    i try it out again today..
    each line of command is not working..
    it pop up saying cannot remove … no such file or directory..

    i seriously need help on this

  • gideon

    yep.. i know there’s a space between rm /

  • Khairul

    once the password changed, i wonder is it come to default password when the firmware is restored back?

  • ferhad

    Thanks bro…
    You great bro…
    Now my phone work as usual without Rick’s ghost

  • Mka

    Thanks bro!!!

  • Pidde

    Thanks man.
    That did the trick.

  • jaws

    i am also infected, but i cant seem to delete any of the files?
    There seem to be non of the files found in my iphone?
    i did a manual delete from mobileterminal and also winscp into the phone to look for the files..

    No such file or directory

    So far i am able to delete # Remove: /var/mobile/LockBackground.jpg ONLY

    plz advise

  • http://www.integricity.com TheBackpackr

    It is case sensitive, I believe, so do make sure you are typing it out exactly as per the instructions. Others have been “cured”, so you should be able to as well.

  • wesley

    thanks bro. pls try to change password first then only use the above method. it works. my phone now clear with that piece of ugly photo. thanks to the author. good work.

  • gideon

    hey bro.. i think i have the same problem as “jaws”
    any solution to it??

  • journeyman

    thanks bro…worked after i read that there was a space between rm and the /

  • collin ng

    you have been a great help thanks man!!!!! keep up the good work

  • muzz

    awesome worked

  • matt g

    Hey mate, have same problem as gideon and jaws, always says file not found…

  • Ariff88

    Big TQ to u…
    i follow all the command…
    IT WORKS!!!!

    KEEP IT UP….!!
    have a nice day….

    Thanks Again….!!!
    IM SO HAPPY NOW….
    GO to HELL IKEE VIRUS…

  • http://- Anya

    Guys i cant do the last two ones!
    rm /usr/libexec/cydia/startup-helper
    rm /usr/libexec/cydia/startup.so
    I did eveyrthing exactly as it is but it says no such file.=(
    Help mee

  • Omid

    WOW its work .. ty Bro

  • gideon

    welll i think he’s not helping out even we cant solve the problem..

  • Zharld

    I have the same Problem as Jaws, im sure im typing it correctly :S
    any ideas why this would occur?

  • http://www.integricity.com TheBackpackr

    Anya, it means you were infected by a different variant of the Ikee, and it doesn’t have those 2 files. Don’t worry about it.

  • aussiegandu

    thanks a lot buddy, it did work for me. good on ya

  • Oscar

    Thanks heaps backpackr! was stuck with that pic for weeks!

    thanks again.

    ps get stuffed iKee!

  • Edr1ck

    thxxx uuu!!! finally remove this worm from my iphone

  • Docker

    All I can say is Thank You so much……….
    You are the life saver……..
    To all,
    This really works…….
    Again……. Thank you so much……

  • alireza

    i have problem same as gideon.what can i do?

  • 23

    thanks guys for the great work

  • alireza

    If you see this message :no such file or directory..
    Go to cydia and download ifile and find all adress that type in terminal. Some of them is hidden or remove befor but some of them us stile there.
    And for better result check A B C methods. After you find that file. Remove it.

    It’s work for me after I can’t work white terminal.

    Good luck

  • DanDaMan

    I tried this several times, off several websites…
    I got a bum steer somewhere cause the file path:
    ” /var/mobile/Library/LockBackground.jpg”
    was missing the sub-directory “/Library”

    I think the original variant worked too but so it’s probably worth giving them both a shot.

    Works good now but… Cheers ey

  • Lim

    Hey!! thanks a heap!! it worked :) !!!!

  • jon

    Hey whenever I try to delete the files I get a “permission denied”, any way to solve this??

  • chris

    not working for me man!!! i’ve followed instructions step by step and it is not working at all.
    i hope you can help me

    chris

  • Julie

    thanks a lot !!! it’s work for me :) it pissed me to the max to see my wallpaper with ricky :o but now it’s GONE !! yeayyyy

    thanksssss loadsssssssssss

  • Leslie

    Thanks alot!

  • shaun

    it worked! thank you!

    I wanna point out it’s very easy to make a mistake when you are typing in the root menu as there is no spellcheck

  • Shunhui

    Hi All,

    I tried entering all the commands twice and some files were removed and some were not found but still the ugly face of ikee is still there.

    Then I tried the 3rd time with case sensitive and some files were removed.
    And the virus is gone now.

    So I would like to share my experience that you must type in the commands as per what you see. If it is capital letter, type it as capital letter.

    Thanks alot for the help.

  • http://www.integricity.com TheBackpackr

    Thanks for sharing your experience, Shunhui. You’re right, everything must be as per how I’ve documented it. Spaces must be where they are, and the capitalization must be right.

  • Deniece

    Thank you so muchhh for the help in removing this annoying virus !!

    Yes you need to follow step-by-step from the beginning till the end and remember after the rm, there’s a space in between and again it’s case sensitive. If it’s capital letter, then follow.

    Thanks againnn !! So glad that I don’t need to see Rick’s face anymore! haha

  • Sepideh

    Hi,
    I have this Ikee virus and really don’t know what to do. The version of my mobile is 1.1.4. Please give me the link to download mobile terminal.
    Thank you

  • fad

    hi all! i cant be able to remove the last 2 steps, the ‘startup-helper’ and ‘startup.so’ but nevertheless i got rid of the irritating picture!!! thanks to the author! im using 16G 3GS, 3.1.2 firmware. so its proven right! thanks again!

  • http://www.integricity.com TheBackpackr

    As mentioned, if you cannot remove certain files, it is because you have a different variant of the ikee virus. You might not be infected with that strain, so don’t worry about it.

  • linus

    I have an iPhone 1:st gen and this worked perfectly thx!!!

  • asy

    works like a charm.

    thanks a lot!

  • Sonn

    The easiest way to delete those files is by using DiskAid -(just follow the path) and use the terminal to change the password..

  • chetu

    TheBackpackr thanks very much for your hardwork!!!

    I’ve been infected yesterday 13.02.2010 and am living in Spain.

    It worked! Now I’m clean again.

    Rgds,

  • bob

    what an asshole that dude is he should go to jail for the years strangers have had to waste fixing his stupid prank

  • http://www.mohdrais.com mohdrais

    thanks. Its works and finally – i have my own wallpaper :)

  • Ken Ng

    Thanks a bunch! Been procrastinating this for the past few months but finally decided i’ve had enough of Rick Astley…

  • Nalina

    Hiii,

    I’m from sri lanka.Thanks alot finally it did work.

    thanks onece again

  • Thomas

    I got this ugly picture for the past 2 weeks, then I upgraded the Iphone latest version hopefully to reset everything back. Of course, Cydia was gone as well. Now the question is, how do I install the mobile terminal without Cydia?

    Can someone help?

    Thanks

  • Bray

    THANKS MATE

  • alex

    dude you are the best man!! thanks alot :D

  • shiG

    I’ve tried everything but it didn’t work for me?! is there any other way? pls let me know, thnx

  • Aizat

    Thanks a lot. My iphone now is totally free from the ‘gay-face’. Thanks again.

  • mahesha

    it was a great help and thanks a lot for the solution

  • مشكل فايروس ikee لمـ يرحل (جربت كل الطرق المتوفرة في الانترنت ) – ماك ارابيا، mac، ماكنتوش، ابل

    [...] الطريقه اللي بالرابط و ان شاءالله كل شي راح يضبط معاج : Remove the Ikee virus from your iPhone | TheBackpackr.com بالتوفيق ان شاءالله اختي [...]

  • Bob

    Omg Thank you so much

  • Yun

    Hi,

    As you mentioned, if cannot remove certain files, it is because it have a different variant of the ikee virus. So what should i do?? bcoz it doesn’t seem to cure. Thanks.

  • jacob

    guys… keep in mind that it is cap sensitive.. i just remove all of them! its works! thankiu host

  • denny

    I have already follow the steps u display. But i still cannot remove the virus. Can u help me out please?

  • Geez

    Hey, dunno if it can happen to any of u guys, but I had my Iphone 3G jailbroken, and it had some hardware problem so I got new one (same Iphone 3G), don’t plan to jailbreak it, and when i got it to sync with my itunes, the lkee virus got affacted, as i know this virus is only active through jailbroken iphones right? can anyone explain why my new Iphone (not jailbroken) got this virus? is this through my itunes? and how to fix it? thanks in advance…

  • zoe

    Hi

    I follow the instruction that you teach, but whe some of th commands need capitalisation, it’s doesn’t work, it’s only always stay in small capital letter. Pls help me and tell the way to make it work.

    THANK YOU

  • zoe

    hi

    i solved the problem already.Anywhere, thank’s a lot your help. You are so nice person.

    Thank you.

  • Infra

    Another way to remove the virus is to use iFile (something like explorer from Cydia). Some of the files cannot be remove via terminal..well at least it happen to me. Maybe it will help those who followed the instructions above but still unable to set their wallpaper after reboot. It is best to use iFile to browse those infected path and make sure the variants are removed. Cheers !

  • Toni

    Moltes gràcies.
    Thanks!

  • Ally

    Thanks a lot for your guideline! I have removed the virus successfully!

  • Alex

    THANKYOUUUUUUUUUUUUUUUUUUUUU :)

  • najibcool

    thankyou!!!!

  • Joanne Lim

    Thanks !!!!!!
    Really Thank you~~~~!!!!
    It works~!!!
    Get rid of that ghost photo~!!

  • baa uribaba

    thx i luv you finally d ugly ikee went away
    but im still goin 2 keep him as my wallpaper
    ikee ROCKS!!!!!!!!! (jk)

  • Moso

    Hay Guys Its Work …..

    Remmemberrrrrrrrrrrrrrrrrrrr Its Case Sensitive…

    Capetal Letters and Small must be the same as the Instructions

  • ade

    Thks bro…thks alot..finally i dont need to see Rick Astley face anymore!!!!!

  • luke

    WORKED follow everystep carefully, make sure you use capitols when needed!

  • Wendy

    Hey i need quick replies. I am from Singapore. But thru Cydia, i cant find the app “mobile terminator” what do i do?

  • Wendy

    this totally works! i was so vexed before that.. and i didnt know after jailbreaking, it take so long to reboot that make me almost thought that my phone is gone.

    THANKS SO MUCH.

    worked on 22 June 2010.

  • dr henri pugibet

    Where do i get cydia? Where do i download mobile terminal app? Please help me! Can i do this directly on my iphone? I have a 2g versión 1.4. Wanted to update but have no idea how! Thank u and god bless u!

  • http://NA Richard Goh

    I managed to get rid of it.Yahoooooooooooooooo.

    Enough of Rick Ashley.
    It really works but need alot of patience.
    Thank you very much…………….Richard from Singapore…//

  • igi

    Seriously guys, this method works like a charm, it didn’t work for me at the first time but then again i saw i’m missing a space between “rm” and “/”
    so keep a space and type all that, mostly the last two commands will tell cannot delete hay what the hec, don’t worry, just type everything there,

    dont forget guys, change your password, i did it before i remove the worm.

    Good luck guys and stay safe!!!

  • usop

    hei you guys,
    i know this seems a tad bit outdated.
    but just tot it might help those of ya’ll whose still bummed up over this shitty ass problem.
    spent 5 bagazillion times writing the instructions above and yet rick’s goddamn face is still there >.<
    finally did it right this time round tho.
    realised the problem was i didnt follow exactly what it says there.
    and when i say exactly, i mean, EXACTLY!!!
    hint hint: FOLLOW THE CAPS IF REQUIRED! small caps n big caps!!!

    cheers :D

  • usop

    @ wendy:
    at first, i cudnt find the terminal in cydia as well.
    but heres how u can find it:

    1. launch cydia
    2. scroll down to “openSSH Access How-To” and click.
    3. scroll all the way down to “change default password” and click
    4. at the top u see “0: install mobileterminal package”

    there ya go :D

  • marino

    i didnt get that picture bur the virus is in my procces
    and makes my phone very very slow
    gonna try to get it out now

  • Farzad

    Thank’s alot. after 5 times it worked, ofcourse with capitalization

  • Janette

    I followed exactly what it says leave space, FOLLOW THE CAPS, small caps n big caps but still it didn’t work. What should i type when it says “remove write-protected regular empty file ‘xxxxx’?” Do I type in “YES”?? When i did so, it says ” rm: cannot remove “xxxxx” : Permission denied. For some, after I key in the command, it straightaways say rm: cannot remove “xxxxx” : No such file or directory. Please help!!!!

  • hafizans

    thanks for the guideline..really appreciate! finally i can remove the virus as well.use the instruction carefully.

  • Sticktron

    Don’t erase the Cydia stuff. It’s not part of the infection.

  • FaceIT

    Why is the creator “an ass”? It’s clearly Apple’s fault for making root so easy accessible.

  • Azim900

    Whenever i open the mobile terminal, it just goes off…(close itself),,,why is this so???..i seriously need help…

blog comments powered by Disqus