Stories
Slash Boxes
Comments
typodupeerror delete not in

Comments: 215 +-   First iPhone Worm Discovered, Rickrolls Jailbroken Phones on Sunday November 08, @10:08AM

Posted by Soulskill on Sunday November 08, @10:08AM
from the maximum-threat dept.
worms
security
apple
Unexpof writes "Users of jailbroken iPhones in Australia are reporting that their wallpapers have been changed by a worm to an image of '80s pop icon Rick Astley. This is the first time a worm has been reported in the wild for the Apple iPhone. According to a report by Sophos, the worm, which exploits users who have installed SSH and not changed the default password, hunts for other vulnerable iPhones and infects them. Users are advised to properly secure their jailbroken iPhones with a non-default password, and Sophos says the worm is not harmless, despite its graffiti-like payload: 'Accessing someone else's computing device and changing their data without permission is an offense in many countries — and just as with graffiti there is a cost involved in cleaning-up affected iPhones. ... Other inquisitive hackers may also be tempted to experiment once they read about the world's first iPhone worm. Furthermore, a more malicious hacker could take the code written by ikee and adapt it to have a more sinister payload.'"
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Nimey (114278) on Sunday November 08, @10:11AM (#30021878) Homepage Journal

    FFS, why is there even a default password on sshd for the jailbroken phones? It should default to being disabled and then require you enter your own password when it's enabled.

    • by stillpixel (1575443) on Sunday November 08, @10:16AM (#30021926) Homepage Journal
      In the mean time Apple has cut a very handsome check for ikee's services in proving jailbroken phones to be bad bad bad : )
      • the attempts Apple makes to maintain control of devices they have sold are not dissimilar to the fanaticism shown by some of the more unbalanced elements of the user-base. Beyond the pale.

        If their selling strategy for the iPhone was more in line with their competitors, and it could be bought unlocked / without lockdowns on application installation, off-the-shelf as most rivals can, we probably wouldnt need the jailbreaking scene and nor would the virus be spreading this way.
        • by dingen (958134) on Sunday November 08, @10:33AM (#30022058)
          The problem is not in the jailbreaking or unlocking of the phone. The problem is people installing OpenSSH but not changing the password (which it does ask you to) and thus allowing SSH-connections to their phone by everyone.
          • by J.Y.Kelly (828209) on Sunday November 08, @12:08PM (#30023038)

            It depends when you last jailbroke your iPhone. I did a jailbreak early on. I installed openSSH and changed the default password. I then found out that the phone entered an infinite loop of restarting the home screen and had to be forcibly restored.

            The problem appears to be that the passwd binary on the phone is (deliberately?) broken so it generates incorrect hashes for the password entered. If you actually want to change your password then you need to jump through some hoops [matsimitsu.nl] to change it without using the usual passwd command.

            • Re: (Score:3, Informative)

              by BLKMGK (34057)

              Umm except I just did this with no problems? I logged out and back in with new password, no issues. This is on 3.12. what loop issue did you have and how do you go about triggering it? I will test...

            • by mat128 (735121) <mat128@@@gmail...com> on Sunday November 08, @11:53AM (#30022888)

              This isn't OpenSSH developers' problem. The jailbreaking utility should prompt you to change your root password. SSH is only allowing you to remotely log on the device, in the end if your password is weak/default, you shouldn't run an SSH server.

            • Except there's no into the command line except SSH, and hence no way to change the password.

              'First run' behavior is pretty meaningless when it's a daemon process installed from an interface that doesn't allow it to prompt.

              • Re: (Score:3, Insightful)

                by Anonymous Coward

                'First run' behavior is pretty meaningless when it's a daemon process installed from an interface that doesn't allow it to prompt.

                You mean, There isn't an app for that?

            • Re: (Score:3, Informative)

              Perhaps the makers of OpenSSH should change the first-run behavior to require the user enter a new password in order to prevent this issue?

              No. OpenSSH is a tool for allowing remote access to a host. It is not a password manager, login manager, etc. Such functions are best separated from OpenSSH. Perhaps it would be best if the jailbreak utility prompt for a root password or generate and provide
              the new SSH private key for the root account to allow for ssh key exchange logins and instruct the user to login via SSH to change the root password. Something like that.

        • by bhtooefr (649901) <bhtooefr&gmail,com> on Sunday November 08, @10:33AM (#30022060) Homepage Journal

          The only rivals that are completely unlocked are Palm OS (which is a joke,) Windows Mobile, and Maemo.

          Android and WebOS do at least allow you to install unsigned apps, but you don't get root access without a jailbreak, and BlackBerry and Symbian both require signed apps and don't even give root to most signed apps. Useful for things like tethering (although not required.)

          • I'm not sure why you think PalmOS is a joke. It's a nice Linux varient. The problem with it is it is hobbled by a handicapped SDK at the moment.

          • Re: (Score:3, Insightful)

            by jcr (53032)

            PalmOS isn't a joke, it's just outdated. It did quite well in its time.

            -jcr

          • Re: (Score:3, Interesting)

            by bhartman34 (886109)
            In the case of WebOS, you have to be careful with the term "jailbreak". The process for WebOS is nothing remotely similar to what you have to do with an iPhone. In WebOS, it's a simple matter of entering one of two codes.

            The other difference, of course, is that Palm wants people to hack on the Pre (and soon, the Pixi) as much as possible. They encourage the homebrew community, and don't even clamp down on apps that Sprint would prefer to not have on their phones like MyTether. (Sure, they don't have
              • by bhartman34 (886109) on Sunday November 08, @01:51PM (#30023986)

                Apple doesn't care what you do with the iPhone, but they do have to close the holes that enable jailbreaking because they're security holes through which Something Bad could go to Do Something Bad.

                Apple absolutely does care what you do with the iPhone. That's why they've updated the ROM [iphonehacks.com] in newer 3Gs models to prevent jailbreaking.

                If Apple was okay with jailbreaking, and just interested in closing security holes, they would work on those holes, rather than on preventing jailbreaking altogether. (In fact, that's exactly what Palm does do. One of the first methods to install apps on a Pre was to e-mail yourself a link to an application. Palm (rightfully) closed that hole, but left intact the ability to root a Pre.

                And I agree with stillpixel. I wouldn't be shocked if Apple themselves had a hand in this.

                Thinking that Apple someone had a hand in creating this "worm" for jailbroken iPhones is not only considerably misguided (and unfounded), it's utterly moronic.

                I didn't say I believe that Apple had a hand in it. I said I wouldn't be shocked if they did. They've got a vested interest in keeping people from jailbreaking, and this kind of thing (especially because it's relatively innocuous) fits the bill.

                  • "If Apple was okay with jailbreaking, and just interested in closing security holes, they would work on those holes, rather than on preventing jailbreaking altogether."

                    Ah, color me confused. Jailbreaking takes place through security holes. If they close the holes, as you suggest, then the phone can no longer be jailbroken. Or are they supposed to leave a backdoor specifically for jailbreaking?

                    In which case, you've now left a (known) hole in your system for someone (anyone) to exploit.

                    My position is that there shouldn't be such a concept as "jailbreaking". Users should not feel imprisoned within the iPhone OS. How much more secure does the OS have to be than BSD Unix? That's the base we're really talking about.

                    The idea that allowing users root access when [i]they're the ones administering the phone in the first place[/i] seems to me to be a huge fallacy. At some point, you have to trust that your users aren't morons.

    • I have a jailbroken iphone. But othet then the Cydia and ICY applicaions icons which are installed during the redsnow jailbrake I have not deliberately installed any other non-itunes apps. Do I have ssh running but not know it after I jail break?

      If so how to I log into it and change the password?

      • Re: (Score:3, Informative)

        by dingen (958134)
        Only people who deliberately installed OpenSSH through Cydia and didn't change the default password are affect by this "virus". If you haven't installed OpenSSH, you're not a target.
        • Re: (Score:3, Insightful)

          by tgd (2822)

          And on top of that, leave it running.

          SBSettings, folks. Turn it on when you need it. If you're not using it, why leave it on even if you have changed the password?

      • by Anonymous Coward on Sunday November 08, @10:29AM (#30022034)

        Go to Cydia, manage tab, packages, and see if OpenSSH is on the list of installed packages.

        If it is, download and install a package from Cydia called MobileTerminal.

        Start MobileTerminal, type in "su", then type in the default password "alpine", then type in "passwd", and set a new password (don't use " quote marks " in any of these commands)

    • by 99BottlesOfBeerInMyF (813746) on Sunday November 08, @10:24AM (#30021984)

      ...why is there even a default password on sshd for the jailbroken phones?

      Probably because the people writing an SSH client for a hacked version of a cell phone have little or no incentive to spend time working on details like requiring the user to input a password when the client is installed. Look if you're going to jailbreak your cellphone and start adding network services like SSH, with very limited user types, you should probably have a clue what you're doing in the first place. I put this right up there with people running Apache on their home Windows XP machine and getting compromised when they don't update it regularly.

    • Re: (Score:3, Interesting)

      by tgd (2822)

      SSHD isn't on jailbroken phones.

      The jailbreak installs very little by default. Only users who installed SSHD deliberately, leave it running all the time, and didn't change the password are impacted.

      Lots of hype, not as big of a deal as it seems. (And, frankly, wouldn't be a big deal if Apple would open up enough of their APIs for the typical apps most people seem to use when they are Jailbroken could work...)

    • Re: (Score:3, Informative)

      by ceoyoyo (59147)

      The root "account" on an iPhone is the same for all phones but is normally disabled. At least at some points in time, a jailbreak consisted of enabling SSH and that root account. SSHing into your phone using that account was the only way you could to anything else - it WAS the break.

      Admittedly now, with more user friendly jailbreaks, SSH could ask you to change the password when you install it.

    • by BLKMGK (34057) <morejunk4me AT hotmail DOT com> on Sunday November 08, @12:47PM (#30023414) Homepage

      My phone is Jailbroken but Cydia wasn't on it. I fired up Putty and nope, connection rejected. Tried to install SSH with Rock, it failed claiming that it didn't have Superuser privs. I fired up blacKra1n and installed Cydia. During the install Cydia appeared to install SSH but still no connection. I went in and reinstalled SSH, now I got a connection with the default password. But wait, at the bottom of the SSH install screen where it tells you how to use it they TELL YOU TO CHANGE THE PASSWORD! they also provide you a link to an article detailing HOW TO DO THAT. At this point I already had an SSH connection so I issued a passwd and changed it. TaDa, that hard to do - sheesh! I also installed an interesting little tool called Toggle SSH, gee guess what that does very well? Yup, blocks SSH connections at the press of a button - like a toggle ;-)

      So, I had to jump through hoops to install the damned thing, then I received CLEAR instructions on how to change the default password, AND there's a simple to use FREE program out there that disables it. Obviously it might get installed as part of other things depending upon how you jailbroke but come on, they could not have made this too much easier to fix! If people are getting spanked by this well, perhaps they should have been a little more cognizant when they jailbroke? It's not hard to fix via any computer with SSH on it and you can even load a terminal program local to the phone to fix it....

  • by MasterOfGoingFaster (922862) on Sunday November 08, @10:19AM (#30021950)

    So this worm is aimed at people are are smart enough to jailbreak an iPhone, but stupid enough not to change a default password. Sounds like a narrow band detection device.

    • by Anonymous Coward on Sunday November 08, @10:32AM (#30022046)

      also this article fails to mention that the worm disables ssh after infecting the device.. therefore kinda cleaning up the problem ..

    • Re: (Score:3, Informative)

      by ceoyoyo (59147)

      Not exactly. Jailbreaking an iPhone these days isn't what it used to be.

      It doesn't even require the command line anymore.

  • by masmullin (1479239) on Sunday November 08, @10:22AM (#30021964)
    and the iPhone getting rickroll'd

    http://www.youtube.com/watch?v=3KANI2dpXLw&feature=player_embedded#
  • SSH (Score:3, Funny)

    by Lennie (16154) on Sunday November 08, @10:22AM (#30021968) Homepage
    I thought SSH was created to add more safety. ;-)
  • Similar case (Score:5, Informative)

    by Stratoukos (1446161) on Sunday November 08, @10:22AM (#30021970)

    Ars technica reported a similar case in the Netherlands about a week ago. A teenage "hacker" replaced the wallpaper with one showing an alert that told the user to give him 5 euros for instructions to remove the "virus". Full article [arstechnica.com]

    • by dingen (958134) on Sunday November 08, @10:34AM (#30022068)
      As a response to this, T-Mobile is now in the progress of installing firewall software so phones on their network can't communicate with each other, making similiar hacks in the future a lot more difficult.
        • Re: (Score:3, Funny)

          by ColdWetDog (752185)

          Wow. Just, wow.

          Are you fucking kidding me?

          And for you, sir, version 2 -

          It looks for any flashlight app on your system and then when you try to run it, the phone plays "You light up my life".

          Download it now. Be the first on your block.

  • by Virak (897071) on Sunday November 08, @10:24AM (#30021986) Homepage

    Oh right. [arstechnica.com] Probably someone saw that story too and decided to have a little fun with the same gaping security hole too.

  • Holy Mother of Cheswick.

    What was it, username "FIELD" password "SERVICE"?

    • Re: (Score:3, Informative)

      by MindCheese (592005)

      User: root
      Password: alpine

      Unless you reset it with passwd once you get in (something no guide underscores the importance of, and your typical "ooooh shiny" mass-market Apple consumer won't know), this is the default.

      Having a default password is bad enough, but my question is: why does the celluar network in Australia permit direct device-to-device connections over the air?

      • Re:DEFAULT PASSWORD? (Score:5, Interesting)

        by argent (18001) <peterNO@SPAMslashdot.2006.taronga.com> on Sunday November 08, @11:08AM (#30022392) Homepage Journal

        Having a default password is bad enough, but my question is: why does the celluar network in Australia permit direct device-to-device connections over the air?

        Once you're running an IP stack, you'd have to make a deliberate and non-trivial effort to prevent direct connections, no?

      • Re:DEFAULT PASSWORD? (Score:4, Informative)

        by ceoyoyo (59147) on Sunday November 08, @11:56AM (#30022924)

        Actually, most of the jailbreaking guides did make a big deal of changing your password, back when installing SSH was a required part of the process. Apparently when you install SSH through Cydia today it also suggests you change the password. So the people who got hacked ignored a clear warning.

        Once you connect your phone to the Internet, device to device connections are sort of the default. You have to purposely block incoming connections to prevent it.

  • by OzJD (1613377) on Sunday November 08, @10:53AM (#30022258)
    Quick spam, But it's a lot more informative http://blog.jeltel.com.au/2009/11/interview-with-ikee-iphone-virus.html [jeltel.com.au] I asked as many questions as I could come up with, and he answerred them all :) Source code is listed on that link as well
  • by TheJodster (212554) on Sunday November 08, @12:18PM (#30023110) Homepage

    If you are too stupid to change the default password on the SSH server running on your iPhone, you shouldn't have a jailbroken iPhone. You should leave the damn software alone so that Big Daddy Jobs can take care of security for you. Come back and see us jailbreakers when you get to wear your big boy panties.

    • Re:So... (Score:5, Insightful)

      by bjackson1 (953136) <{bjackson1} {at} {gmail.com}> on Sunday November 08, @10:19AM (#30021956)

      Yeah, it's the same kind of thing as Windows... Like if a user installed a remote management protocol, then left the default password on it, and then wondered why they got hacked so easily...

      Not to mention this is NOT apple's software, or anything that apple sanctioned on their phone. It is from hacked phones. Sadly, this will do nothing but make Apple more sure that they should not open up the iPhone platform more.

    • Re:So... (Score:4, Interesting)

      by Anonymous Coward on Sunday November 08, @11:04AM (#30022364)

      I am reminded of those "I'm a Mac, and I'm a PC" commercials. So, Mac's "little brother" I guess is susceptible to the same plagues PCs are.

      Dude . . . it has nothing to do with Mac security. They've installed a third party application on their iPhone -- a service, no less. It's like giving out your house key to everyone, then complaining about how ineffective your house locks are. There are a couple of security practices being ignored by the end user here -- and these are users that, knowing how to jailbreak an iPhone, should know better.

      1. Never leave a default password.

      2. Never install a service if you don't need it. (Okay, maybe some DO need it, but I doubt all of them.)

      The same applies to Windows. Windows is riddled with security problems, hence 75% of windows viruses still work, whereas less than .001% of mac viruses still work (if even that). But even so, many "security problems" in Windows are not the fault of Windows, but of the user running it. It doesn't matter how perfect your burglar alarm is if you don't turn it on.

      On a lighter note:

      Dark Helmet: "Give us the combination to the air shield!"

      King Roland: "All right! All right. It's 1-2-3-4-5."

      Dark Helmet: "That's the stupidest combination I've ever heard in my life! That's the kind of combination an idiot would have on his luggage."

      [enter president Skroob]

      President Skroob: "Did you get the combination to the air shield?"

      Dark Helmet: "Yes! It's 1-2-3-4-5."

      President Skroob: "That's amazing! I have the same combination on my luggage!"

      Mel Brooks FTW.

      • by dingen (958134)
        Where do you get the iPhone has a large market share? The latest numbers from IDC [idc.com] suggest Apple has about 17% market share in the smartphone market. In the entire phone market, they're probably not even in the double digits.
      • Not Apple though (Score:4, Insightful)

        by SuperKendall (25149) on Sunday November 08, @11:15AM (#30022462)

        The vulnerability does not happen on any iPhone coming directly from Apple. It's only devices that are jailbroken, then only devices that have sshd installed, and then only devices where those users left the default password in place because, hey - who is going to scan for an iPhone in a coffee shop?

        I agree generally with your point about a monoculture, but this is not it. It's a stupid default on a security tool shipped by a third party, that a smaller percentage of users will have (though the last I head the jailbroken iPhone population was north of a million so it's still significant).

        • Re: (Score:3, Insightful)

          Cellular phone + RTFM or it will get broke into = _serious_ usability flaw

          Yes, but what makes you think jailbreaking apps writers are interested in usability? It seems to me that if you are taking a device and making it perform outside its manufacturer-specified parameters, you are taking that responsibility upon yourself. If you are using your own tools or something provided by a third party is irrelevant.

          How is this worse (responsibility-wise) than having a phone bricked because of a botched jailbreakin

Is knowledge knowable? If not, how do we know that?