Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

iPhone Root Password Hacked in Three Days

Posted by Zonk on Tue Jul 03, 2007 12:02 PM
from the not-that-it-will-do-anybody-any-good dept.
unPlugged-2.0 writes "An Australian developer blog writes that the iPhone root password has already been cracked. The story outlines the procedure but doesn't give the actual password. According to the story: 'The information came from an an official Apple iPhone restore image. The archive contains two .dmg disk images: a password encrypted system image and an unencrypted user image. By delving into the unencrypted image inquisitive hackers were able to discover that all iPhones ship with predefined passwords to the accounts 'mobile' and 'root', the last of which being the name of the privileged administration account on UNIX based systems.' Though interesting, it doesn't seem as though the password is good for anything. The article theorizes it may be left over from development work, or could have been included to create a 'false trail' for hackers."
+ -
story

Related Stories

[+] Technology: First Third-party Native iPhone Application Released 192 comments
An anonymous reader writes "A third-party native application for the iPhone is now available. Gizmodo discusses the real full-fledged iPhone application with a graphic user interface and its own icon in the iPhone home screen. It is not a Web 2.0 app but the real thing. What is it? Ironically enough, MobileTerminal, 'a terminal emulator application for the iPhone. MobileTerminal.app is NOT an SSH client, nor Telnet for that matter. It can however be used to execute a console ssh-client application.' The iPhone dev revolution has just started."
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.
  • Prediction... (Score:4, Insightful)

    by daveschroeder (516195) * on Tuesday July 03 2007, @12:04PM (#19732561)
    This will get picked up by blogs, news sites - and, if we're lucky, given a good mangling by sloppy journalists in the mainstream press - as somehow meaning that any iPhone can be "broken into" by a malicious third party, and/or that all iPhones are now "insecure", and/or that iPhones - and all the personal data on them - are now, because of this, vulnerable to remote attack, when none of those things are true.

    Also, from TFA and the summary:

    "Having the passwords will not do anybody any good for the moment. The iPhone has no console or terminal access, so there is no way to log in as either account. In fact, nobody even seems certain that the accounts access the machine at all, some Internet commentators suggesting that the password file was left over from early development work, or was intentionally included to throw hackers off the scent."

    These kind of idiotic replies to the blog post are telling:

    Poetic Justice - 04/07/07
    So much for Apple being the most secure OS in the world. Welcome to Microsoft's world, Jobs.


    Wow, cracking a local password on a file that belongs to a device to which you have physical access?

    Stop the presses!

    Since iPhones don't have any kind of access that makes this "discovery" meaningful, I'm sure that people will just misunderstand the implications of this, and because of the iPhones popularity - and a lot of peoples' desire to tear it down or create any FUD they can to dissuade interested people from possibly buying an iPhone - I'm sure this and related stories will be big news.
    • Re: (Score:3, Interesting)

      "dissuade interested people from possibly buying an iPhone"

      What? This wouldn't have that effect at all. It would have the -opposite- effect. Those who had not planned to purchase may think they could mod it like a ps2 and poof, instant super-phone.

      Yes, we aren't quite there... But I have little doubt we'll get there pretty quickly.

      Now if they manage to unlock it -and- provide access to run any app I compile, I would be very interested.
      • Re:Prediction... (Score:5, Insightful)

        by daveschroeder (516195) * on Tuesday July 03 2007, @12:10PM (#19732651)
        Assuming the iPhone is hacked to the point where it's easily modifiable, yes, it will have the opposite effect in the extremely small niche market.

        In the mainstream, this can easily get spun as the iPhone is extremely insecure, and has been "broken into", causing normal people to steer very clear.
        • by untaken_name (660789) on Tuesday July 03 2007, @12:29PM (#19732897) Homepage
          Assuming the iPhone is hacked to the point where it's easily modifiable, yes, it will have the opposite effect in the extremely small niche market.

          In the mainstream, this can easily get spun as the iPhone is extremely insecure, and has been "broken into", causing normal people to steer very clear.


          Doesn't the price tag already do that?
    • IIRC, if the iPhone uses NetInfo like MacOS X does on Macs, that password might be usefull only in single user mode.
    • by Dahamma (304068) on Tuesday July 03 2007, @12:27PM (#19732871)
      Since iPhones don't have any kind of access that makes this "discovery" meaningful

      That pretty much sums up how useless this article was.

      By the way, if anyone wants it, you can have the combination to my luggage.
      • by m0nkyman (7101) on Tuesday July 03 2007, @12:40PM (#19733041) Homepage Journal
        If it isn't one of the following I'd be shocked:
        123 000 999 666

        Those four will open 99% of all luggage in the world that doesn't contain a laptop, cash or a gun.
        • by Anonymous Coward on Tuesday July 03 2007, @05:13PM (#19736601)
          Those four will open 99% of all luggage in the world that doesn't contain a laptop, cash or a gun.

          I don't get it. What world doesn't contain a laptop, cash, or a gun, and yet has luggage?

      • Re:Prediction... (Score:4, Insightful)

        by daveschroeder (516195) * on Tuesday July 03 2007, @12:43PM (#19733087)
        I do have little regard for remote exploits that haven't occurred.

        I have a very high regard, on the other hand, for remote exploits that have occurred or are shown to be possible.

        You're making a string of assumptions - that the password is even usable (which it may not be), that a remote exploit via the browser is possible, and that even if both happen, that this enables some higher level of access.

        Are all of those things possible? Perhaps. But all of those have to be provably true before it justifies knee jerks that the iPhone is somehow "insecure", which are already happening around the blogs.

        Also, I didn't say it was nothing. I said this story will probably get mangled to imply that - right now - it's somehow possible or very likely possible to "break into" iPhones remotely. And that's patently incorrect.
      • Re:Prediction... (Score:5, Insightful)

        by Anonymous Coward on Tuesday July 03 2007, @01:08PM (#19733427)
        I know the Gizmodo-troll types think "unbiased" means one can not state the truth, but in reality, "unbiased" means not having any reason to say something that isn't true.

        Unbiased does not mean stating both sides equally, because both sides are not always equal. An unbiased opinion on Iraq does not spend half the time saying the war is going well if it's not.

        An unbiased opinion on the iPhone does not hesitate to points out its limitations, but doesn't have to spend "equal" time on being negative about it, if its flaws do not warrant it.

        The iPhone is quite obviously a good product, with some limitations that might not work out for some people. It is not a 50/50 or middle of the road product, and compared to competitive landscape, it is very impressive on a number of levels.

        Also, FYI: Calling anyone a "fanboy" immediately identifies you an ignorant troll and ensures that nothing you have to say is worth hearing.

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

          by Fred Ferrigno (122319) on Tuesday July 03 2007, @03:32PM (#19735349)
          The iPhone is also quite obviously very expensive. Price is a key factor in deciding whether or not a product a worthwhile purchase. It may have superior features, but it's pretty close to a middle-of-the-road product in terms of value. It's not so unreasonable to say that it might be pretty good, but in order to be a good value for its price, it needs to be even better (or cheaper).

          Also, FYI: If you want to claim the moral high ground on name-calling, then you might want to reconsider labeling people who disagree with you trolls.
          • Re:Prediction... (Score:4, Insightful)

            by mr_matticus (928346) on Tuesday July 03 2007, @06:13PM (#19737213)
            Parsing error!

            You don't have to call someone a "fanboy" to disagree with them. People who throw around the word "fanboy" left and right in an empty attempt to devalue sound comments are just Ballmeresque, foaming-at-the-mouth trolls.

            You can happily criticize Apple and their supporters and engage in disagreements with them without having to resort to "you're a fanboy so your whole thought process is invalid" attacks.

            Parent did not label people who disagreed with him "trolls." That title was reserved to a specific, hostile subset of those who disagree.
        • by Anonymous Coward on Tuesday July 03 2007, @05:45PM (#19736957)

          Also, FYI: Calling anyone a "fanboy" immediately identifies you an ignorant troll and ensures that nothing you have to say is worth hearing.

          Exactly, because the proper term is "fanboi".
  • Whoo-hoo (Score:5, Funny)

    by gtrubetskoy (734033) * on Tuesday July 03 2007, @12:05PM (#19732575) Homepage
    Now we can make phone calls as root!
  • by Space cowboy (13680) * on Tuesday July 03 2007, @12:05PM (#19732581) Journal
    If Apple consider it important (ie: if there actually *is* a use for this, rather than just a false trail, or if they want to make people think that), all they need to do is update the values and/or system libraries in the next software update. They could even change the encryption *mechanism* to make it pretty-much un-brute-forceable if they wanted to. I doubt they need to do that though, just change it to a 31-character string with punctuation/digits etc.

    Whereas this *is* news (hell, I'd submit it!), I think a lot of people criticising the iPhone at the moment still haven't made the leap from "this is a phone. It does X,Y,Z" to "this is a fully-fledged computer, masquerading as a phone" - with all that that implies.

    Apple have said they intend to provide updates, changes, additions, etc. to the iPhone over time. They have a policy of supporting older computers with new OS releases, and I don't see why they wouldn't migrate this approach to their new market. It only *benefits* them if there are more used phones in circulation running OSX - even if it was a hand-me-down from the big-brother/sister who went and bought the new one...

    If this truly is the "third leg" of Apple's business, someone will get yelled at internally, and the next update will fix it. End of story.

    Simon.

    • I'd submit it!

      Is this like the geek equivalent of the frat-boy phrase, "I'd hit it!"?
    • by 0xdeadbeef (28836) on Tuesday July 03 2007, @01:07PM (#19733403) Homepage Journal
      I think a lot of people criticising the iPhone at the moment still haven't made the leap from "this is a phone. It does X,Y,Z" to "this is a fully-fledged computer, masquerading as a phone" - with all that that implies.

      Then you understand nothing. The iPhone critics are thinking "this is a fully-fledged handheld computer, running the same operating system as my laptop, that has been intentionally crippled to protect the artificial market segmentation desired by AT&T and Apple."
    • by SuperBanana (662181) on Tuesday July 03 2007, @01:18PM (#19733599)

      Apple have said they intend to provide updates, changes, additions, etc. to the iPhone over time. They have a policy of supporting older computers with new OS releases, and I don't see why they wouldn't migrate this approach to their new market.

      Except they don't do it for iPods. Each new "generation" of the iPod has run a different firmware *and* had different capabilities, like being able to search. The older iPods never got the functionality of the newer ones, ever. Clickwheel iPods can't "search", nor do they get the newer iPod games, etc. This is just like digital camera manufacturers, home network gear makers, etc. Very, very, very rarely do they take advantage of the firmware updates to increase functionality in any way. Why should they, when they can make you but version N+1?

      Most of the time they update the iPod firmware only to give it compatibility with the latest iTunes, and these days, the only updates to iTunes are security fixes and bloat (the glorified pedometer, Apple TV, the iPhone, etc. Anyone else remember when you could sync contacts and appointments onto your iPod through iSync?) My second-gen nano (or Mini, or whatever the hell it's called these days) still crashes 50% of the time when I go to play a podcast after syncing it with my mac. I'm not holding my breath waiting for them to fix it.

      • by voidptr (609) on Tuesday July 03 2007, @01:41PM (#19733891) Homepage Journal

        Except they don't do it for iPods. Each new "generation" of the iPod has run a different firmware *and* had different capabilities, like being able to search. The older iPods never got the functionality of the newer ones, ever. Clickwheel iPods can't "search", nor do they get the newer iPod games, etc. This is just like digital camera manufacturers, home network gear makers, etc. Very, very, very rarely do they take advantage of the firmware updates to increase functionality in any way. Why should they, when they can make you but version N+1?

        Most iPods have radically different hardware than the previous generation too. In addition, there's some accounting rules that come into play with adding functions to something you already shipped and booked the revenue for. Once I've sold you a widget, if I spend any more engineering time to add something to it, I have to find revenue that pays for that somewhere. It's not a problem with OS X, because the $129 Leopard upgrade pays for the engineering in Leopard, not the revenue they already booked and reported when I bought the Mac in the first place.

        Apple stated on their last quarter conference call they're changing the way they book AppleTV and iPhone revenues to spread it out over 8 quarters, so they don't have that problem. Even though they get $600 today for an iPhone sold, they don't actually put the whole thing in the books right away as recognized revenue, they apply it over the next two years to ongoing engineering for existing units. Exactly what they'll do with that ability remains to be seen, but they've at least publicly stated their intent to improve the platform for early adopters.
      • Re: (Score:3, Insightful)

        DMG's are encrypted with AES (at least I'm reasonably sure that's the case). The options on 'Disk Utility' when you select encryption are 'none', '128-bit', and '256-bit'. Given that they opted for an encrypted DMG in the first place, and that mounting this (and copying to flash) is not a common operation, I'd guess they went for the 256-bit key.

        If so, that's going to take a while to break [grin]. On Leopard (and I'm guessing Apple engineers will be using Leopard :-) there's an indication of how good the ch
        • by spotter (5662) on Tuesday July 03 2007, @12:34PM (#19732957)
          you don't go after breaking the password, you go after finding where apple stored it. If it's encrypted, the iphone has to be able to decrypt it, therefore has to have the password available.

          see how the original xbox hacker (whose name I forget) captured it's encryption key by "simply" (yeah, not that simple) monitoring the bus.
  • Passwords (Score:3, Informative)

    by Anonymous Coward on Tuesday July 03 2007, @12:07PM (#19732607)
    The password for root is "alpine"
    The "mobile" user accounts password is "dottie"
  • by whisper_jeff (680366) on Tuesday July 03 2007, @12:11PM (#19732673)
    ...or could have been included to create a 'false trail' for hackers."

    Or it was created to generate topics on Slashdot when it's discovered...
  • Root user... (Score:4, Insightful)

    by God of Lemmings (455435) on Tuesday July 03 2007, @12:12PM (#19732683)
    Perhaps this would be somewhat alarming if there was a root
    user enabled in OS X to begin with.
  • Netinfo? (Score:5, Informative)

    by Anonymous Coward on Tuesday July 03 2007, @12:16PM (#19732727)
    I know I'm just an AC - so this will get modded waaaaaay down, but:

    This isn't the password for the running account - you'd have to boot the phone into single-user mode. The running passwords would be stored in Netinfo.

    This is going to turn into a lot of FUD....
  • by Itninja (937614) on Tuesday July 03 2007, @12:17PM (#19732749) Homepage

    "...or could have been included to create a 'false trail' for hackers."
    If this really is a honeypot 'password', that'd be pretty cool. They should have some code that will covertly download the entire Jim Neighbors catalog whenever the root password is accessed.
  • phew (Score:5, Funny)

    by packetmon (977047) on Tuesday July 03 2007, @12:21PM (#19732783) Homepage

    Loaded 2 passwords with 2 different salts (Standard DES [64/64 BS])
    alpine (mobile)
    dottie (root)
    guesses: 2 time: 0:00:00:16 (3) c/s: 551883 trying: royour - b1o2w8
    For a second I was imagining the hoRRORble marketing money they would have had to spend if they would have cracked it and it would have read:

    windows (mobile)
    blows (root)

    or

    gates (mobile)
    sucks (root)
  • by sjonke (457707) on Tuesday July 03 2007, @12:37PM (#19732993) Journal
    The article left out the detail that the reason these passwords won't do you any good is that you only get 3 tries to enter them before your locked out. Goop lick.
  • by nurb432 (527695) on Tuesday July 03 2007, @12:38PM (#19733009) Homepage Journal
    Shouldn't be hidden from me anyway, its MY phone, i bought it, its MINE.. If i want to do something stupid and brick it in the process, its my choice. ( as long as i don't go and cry to Apple for a free replacement )
    • by mr_spatula (126119) on Tuesday July 03 2007, @12:46PM (#19733117)
      If it's really YOURS, then why do you have to activate it via AT&T before it can be used, eh?
    • by srvivn21 (410280) on Tuesday July 03 2007, @03:56PM (#19735693)

      Shouldn't be hidden from me anyway, its MY phone, i bought it, its MINE.. If i want to do something stupid and brick it in the process, its my choice. ( as long as i don't go and cry to Apple for a free replacement )
      It is your phone. If you want to brick it (or sell it, or use it as a hammer), feel free.

      The software that comes with the phone (of which these hidden passwords are a part of) is not yours. You are licensed to use it, post activation.
  • by jmichaelg (148257) on Tuesday July 03 2007, @01:11PM (#19733477)
    I'm wondering if perhaps Apple wants the phone cracked. AT&T doesn't control activation, Apple does. If the phone is cracked then people could buy an iPhone and if another carrier was willing, activate it with some other carrier than AT&T. There are lots of people out there who can't stand AT&T so it's not as if we're only talking about 2 or 3 hackers doing this.

    Jobs could play the innocent claiming that hackers did it all the while happy that yet another iPhone went out the door.
  • by CompMD (522020) on Tuesday July 03 2007, @02:57PM (#19734927)
    So since the firmware restore image is out in the open, is it possible to emulate an ARM CPU in QEMU and boot the image? That would be interesting to find out.
    • by GreyWolf3000 (468618) on Tuesday July 03 2007, @05:34PM (#19736831) Journal
      It's one thing to emulate a CPU, it's quite another to emulate a CPU and all of the peripherals that are attached to it. It's also another stretch to get all of them configured in such a way that what you're emulating is binary compatible with the host firmware. Especially if you have peripherals sitting on the same die as the ARM processor running off of asynchronous clock domains.

      I think there's a company that managed to develop a software emulator for TI omap chips...I never had a chance to try it and see if it works.

    • Re:root disabled? (Score:5, Interesting)

      by tgatliff (311583) on Tuesday July 03 2007, @01:10PM (#19733461)
      I would be impressed if korn is running on any stty, as there really should be no need for running a shell on a production unit. I am not going to believe this "trying to throw off" business, though... That USB interface is just way too handy to not do terminal interfacing during development/testing... The trick is understanding how they were interfacing to it, though. I strongly suspect that it is just a matter of time before someone invests the time to figure it out...

      In my opinion, the biggest news here is not as how it was reported, but rather that people now can easily modify the default image and try booting it on the iPhone...