Slashdot Mirror


iPhone Root Password Hacked in Three Days

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."

28 of 311 comments (clear)

  1. Prediction... by daveschroeder · · Score: 4, Insightful

    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.

    1. Re:Prediction... by daveschroeder · · Score: 5, Insightful

      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.

    2. Re:Prediction... by daveschroeder · · Score: 3, Insightful

      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.

    3. Re:Prediction... by Anonymous Coward · · Score: 5, Insightful

      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.

    4. Re:Prediction... by m0nkyman · · Score: 2, Insightful

      And what percent of statistics are complete bullshit again?

      100% would be my guess, provided we're dealing with the specific subset of 'statistics used during discussions on online forums'.

      --
      ~ a low user id is no indication I have a clue what I'm talking about.
    5. Re:Prediction... by MrNiceguy_KS · · Score: 2, Insightful
      No! That isn't the purpose of the price. That's the purpose of the AT&T contract. The purpose of the price is to ensure that, when you see someone with an iPhone, you will realize how hip and important that very special person is.

      Please don't confuse the two.

      --
      Redundancy is good And also good.
    6. Re:Prediction... by Fred+Ferrigno · · Score: 4, Insightful

      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.

    7. Re:Prediction... by SeaFox · · Score: 2, Insightful

      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.

      Its common knowledge Windows is extremely insecure, yet I don't see people steering clear of it.
    8. Re:Prediction... by mr_matticus · · Score: 3, Insightful

      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.

    9. Re:Prediction... by that+this+is+not+und · · Score: 3, Insightful

      No, it's like Palm Pilots were back in about 1997.

      The cool thing is, they're pretty good pieces of equipment, and now that they're not 'hip and cool' you can get them for pennies on the (original) dollar on Ebay. And you can do a lot of cool stuff with a 68K dragonball processor in that form factor. They're one hell of a deal at the current market value of $5-15 each.

      We can have similar hopes for the iPhone. Who knows what cool stuff we'll be doing with them five years from now. Hopefully when we crack them open, Apple won't have dongled them to the state of worthless.

    10. Re:Prediction... by gig · · Score: 1, Insightful

      > Doesn't the price tag already do that?

      $249 - 8 GB iPod nano
      $99 - generic phone
      $800 - generic PC notebook with Firefox and Wi-Fi and HTML email with attachments
      ------
      $1149

      That does not include I-T and it does not all fit in your pocket.

      For most people, iPhone is cheaper than what they had, easier than what they had, much smaller than what they had.

      I usually have a desktop and a notebook but my notebook retired recently and I'm replacing it with an iPhone because it does all the stuff I do on a notebook anyway and where it lacks at something it makes up by being pocket-sized and zero I-T.

  2. Not that big a deal by Space+cowboy · · Score: 4, Insightful

    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.

    --
    Physicists get Hadrons!
    1. Re:Not that big a deal by Space+cowboy · · Score: 2, 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 chosen password is for a DMG as you create it. I'm guessing they chose a good one, because of that warning...

      Simon

      --
      Physicists get Hadrons!
  3. Root user... by God+of+Lemmings · · Score: 3, Insightful

    Perhaps this would be somewhat alarming if there was a root
    user enabled in OS X to begin with.

    --
    Non sequitur: Your facts are uncoordinated.
  4. I'm still amazed that by Anonymous Coward · · Score: 2, Insightful

    we read a story about a password to a user account on a phone and don't find that odd at all...

  5. Re:root disabled? by Anonymous Coward · · Score: 1, Insightful

    I think you'll find an OpenMoko linux mobile+wifi phone is a "true hackers dream device", not an anaemic locked-down lump like an iphone.

  6. Re:Passwords on my device by mr_spatula · · Score: 4, Insightful

    If it's really YOURS, then why do you have to activate it via AT&T before it can be used, eh?

  7. Re:Why this won't do any good by iabervon · · Score: 3, Insightful

    Actually, the reason these passwords won't do you any good is that you don't get any chances to enter them, because it doesn't have a login prompt on anything that's exposed in production phones.

  8. as there is a root by Anonymous Coward · · Score: 2, Insightful

    Then I guess it is a multiuser system, then several people should be able to login, ah..., make phone call, on the same phone simultaneously. God, this is revolutionary! I have never seen a phone like this.

  9. Re:Passwords on my device by Creepy+Crawler · · Score: 2, Insightful

    Thats because USA nickel-and-dime culture sucks.

    Ill probably get the European model. Unlocked from any carrier, and supports better protocols.

    --
  10. Re:they've never done it for iPods... by voidptr · · Score: 5, Insightful

    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.
    --
    This .sig for unofficial government use only. Official use subject to $500 fine.
  11. Like MacOS X? by iso-cop · · Score: 3, Insightful

    If the iPhone OS handles root in the same manner as MacOS X, then the root user would have to be enabled somehow before anyone could use the account anyway. So, show me how to hack the password and enable the account, then write an article that is more than FUD.

  12. Typical Apple User Behavior by Anonymous Coward · · Score: 0, Insightful
    Apple jehadis are in a class of their own. Queuing to get a device of questionable merit is the typical expected behavior of the imac-ipod-iphone owning iFaggots.

    Steve Jobs could collect organic waste from septic tanks, and there will be a stampede of these degenerates who'll not only buy it, but then go online and crow in detail about how good the shit actually tastes.

  13. Ummmm..... by HeavyDevelopment · · Score: 4, Insightful

    When you have spent $350 on an iPod, $2500 on a MacBook Pro and $3500 on a Mac Pro--$500 to $600 on an iPhone is peanuts. Yummmm.....that Kool aid sure tastes good!!!

    --
    Badges!?! We don't need no stinking badges!
  14. Re:Passwords on my device by srvivn21 · · Score: 3, Insightful

    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.
  15. Re:iPhone hardware and OS X by Anonymous Coward · · Score: 1, Insightful
    Since this an OS X system, what kind of CPU does the iPhone use? Couldn't you use these restore images in a PPC or Mac emulator to recreate a basic system? Mostly depends on the arch of the phone.


    It's an arm. You could do that, yes. Or you could go back and play some more Wii, as that has as much common with the topic of this article as your post has.

  16. So... by shish · · Score: 2, Insightful

    So we have a username and password, great. Now where's the login prompt?

    --
    I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
  17. Re:Emulation/Virtualization by GreyWolf3000 · · Score: 3, Insightful
    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.

    --
    Slashdot: Where people pretend to be twice as smart as they really are by behaving like children.