Slashdot Mirror


Key iPhone Source Code Gets Posted On GitHub (vice.com)

Jason Koebler shares a report from Motherboard: An anonymous person posted what experts say is the source code for a core component of the iPhone's operating system on GitHub, which could pave the way for hackers and security researchers to find vulnerabilities in iOS and make iPhone jailbreaks easier to achieve. The code is for "iBoot," which is the part of iOS that is responsible for ensuring a trusted boot of the operating system. It's the program that loads iOS, the very first process that runs when you turn on your iPhone. The code says it's for iOS 9, an older version of the operating system, but portions of it are likely to still be used in iOS 11. Bugs in the boot process are the most valuable ones if reported to Apple through its bounty program, which values them at a max payment of $200,000. "This is the biggest leak in history," Jonathan Levin, the author of a series of books on iOS and Mac OSX internals, told Motherboard in an online chat. "It's a huge deal." Levin, along with a second security researcher familiar with iOS, says the code appears to be the real iBoot code because it aligns with the code he reverse engineered himself.

25 of 188 comments (clear)

  1. "This is the biggest leak in history," - Get bent! by Anonymous Coward · · Score: 4, Interesting

    I hope he was being silly and isn't actually dumb enough to believe this is the biggest leak in history. Jesus lol.

  2. Re:I downloaded the source code. by Excelcia · · Score: 5, Funny

    It looks like two Russian prostitutes urinating on a bed while Donald Trump tries to get an erection in the corner.

    And yes, this corresponds with what I have reverse engineered from the iPhone, so it appears legit.

  3. biggest leak in history by fred6666 · · Score: 2

    The bootloader of a phone would be the biggest leak in history?
    Wasn't the whole Windows code leaked? I think it was Windows 2000.

    1. Re:biggest leak in history by FFOMelchior · · Score: 2, Funny

      Snippet of leaked Windows 2000 code:

      if (true)
      Crash();

    2. Re:biggest leak in history by drinkypoo · · Score: 2

      Wasn't the whole Windows code leaked? I think it was Windows 2000.

      Yeah, but nobody wanted to get any on them.

      Numerous parties have access to the Windows 2000 source code. Governments, corporations... Apple has not intentionally given the code to iBoot to anyone. And virtually all iOS devices are facing the public internet most of the time. Most Windows 2000 machines were corporate, and any corporation which doesn't firewall deserves to fail. Any corporation which doesn't firewall windows deserves to fail twice.

      --
      "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  4. Re:"This is the biggest leak in history," - Get be by darkain · · Score: 5, Informative

    My very first thought was... Windows 2000 source code. How is iOS considered larger? In relative market dominance, when the 2k source code was released, Microsoft controlled significantly more market share than Apple does currently.

  5. Link? by johnsnails · · Score: 5, Insightful

    why have an article like this with no clear links to the repo? Is it a legal reason?

    1. Re:Link? by Anonymous Coward · · Score: 5, Informative

      https://github.com/ZioShiba/iBoot

    2. Re:Link? by umafuckit · · Score: 3, Informative

      It's already gone.

  6. Given how some fanbois feel about Apple by 93+Escort+Wagon · · Score: 5, Funny

    Shouldn't this have been leaked on Pornhub rather than Github?

    --
    #DeleteChrome
  7. Re:"This is the biggest leak in history," - Get be by darkain · · Score: 5, Insightful

    Windows 2000: Version NT 5.0 (business OS only, like NT 4)
    Window XP: Version NT 5.1 (business and consumer OS, replacing NT/2000 and 9x)

    Their kernels were remarkably similar. Their releases were very close together. XP was simply 2000 with a skin and a few updated applications, otherwise they were essentially the same OS. Regardless of the actual install base of 2000, it was the core OS internals that migrated all of the multimedia and application code from 9x to the NT kernel. It was monumental.

  8. Re: "This is the biggest leak in history," - Get b by Anonymous Coward · · Score: 3, Funny

    Also significant, as a result of the leak, large parts of Windows 2000 code was incorporated into the Linux kernel. This gave Linux a strong boost during a time that it was struggling against BSD.

  9. Here's an idea by JeffElkins · · Score: 2

    Allow open access to our mobile devices. I have root on any Mac/Windows/Linux system. By rights, I should have the same access on my tablets and phones.

    Crazy talk, huh?

    --
    Why is all the good stuff already modded 5, when I have mod points?
  10. Re:File under BFD by burtosis · · Score: 2

    I'm sure Apple has a team of smart folks going over this code with a fine toothed comb, and any issues found will be fixed soonish.

    To be honest, since this code came from apple, I'd be quite suprised indeed if it was never checked for issues.

  11. Re:Apple needs to ease up... by Dutch+Gun · · Score: 2

    There's very little a company can do to prevent a determined programmer from leaking source code. Source is easily copied, and relatively small, and a module's source has to be present in its entirety on a local machine to compile. Thumb drives are tiny and easily hidden. Programmer's machines, by nature, can't easily be locked down.

    What exactly would you suggest they do to prevent leaks like this?

    --
    Irony: Agile development has too much intertia to be abandoned now.
  12. Re:Apple needs to ease up... by AmazingRuss · · Score: 2

    They should treat their programmers really nice then. And try not to hire crazy ones.

  13. Re:"This is the biggest leak in history," - Get be by Antique+Geekmeister · · Score: 2

    The kernels for those systems were similar because a great deal of them was authored by David Cutler and the engineers he brought along from DEC, previously responsible for VMS. It represented a large architectural shift from the DOS kernel and operating system previously used for Microsoft. If the theft of intellectual property involved there can be considered a leak, it might be comparable in size. It was certainly a large economic impact for DEC and Microsoft.

  14. Re:Apple needs to ease up... by Known+Nutter · · Score: 2

    So Apple's billions in the bank is because their customers are a bunch of dolts who take it straight up the ass and not because their product(s) might be useful to (or god forbid, preferred by) millions upon millions of customers?

    Gee whiz!

    Apple's recent gaffs have been stupendous, that's for sure. But really, other than a handful of geeks on the Internet, nobody really gives a shit.

    --Android User

    --
    Beware of the Leopard.
  15. Android Leak Bigger by bill_mcgonigle · · Score: 5, Funny

    Seriously, somebody posted the entire source code to Android a while back.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  16. Isn't it time? by nightfire-unique · · Score: 5, Insightful

    Isn't it time to get some new laws on the books that recognize an individual's rights to be a superuser on their own equipment?

    It should be illegal to manufacture, or offer for sale any device which has a privilege level technically feasible yet unattainable. There is literally no legitimate reason our society should allow non-rootable devices to exist. It's time for the practice to end.

    --
    A government is a body of people notably ungoverned - AC
    1. Re:Isn't it time? by cmseagle · · Score: 3, Informative

      There is literally no legitimate reason

      Tinkering with some devices can kill people. Cars, for example. I don't want to be driving down the highway at 80mph next to the amateur who rooted his car's ECM, bypassing safety features in order squeeze out a few extra horsepower, probably following the steps of a Youtube video tutorial.

    2. Re:Isn't it time? by Solandri · · Score: 2

      Isn't it time to get some new laws on the books that recognize an individual's rights to be a superuser on their own equipment?

      Not necessarily. You can rent or lease equipment.

      What needs to happen is a clear legal delineation between a purchase agreement and a lease agreement. If you buy your phone, you should have full superuser rights to it, the ability to repair it without the manufacturing designing in pitfalls to coerce you into buying a new replacement instead, the ability to change or modify the software to your liking.

      OTOH if the manufacturers want to control the software on your devices and restrict your ability to repair it (or who you take it to for repairs) after "purchase," then they're looking to lease the equipment to you. In that case, the warranty should last the full term of the lease agreement (they'll repair the device or swap it for a fully functional equivalent if it stops working through no fault of the user). This includes wear and tear like battery life decreasing (you're essentially paying for depreciation when you lease, so you've already paid for wear and tear, and it's the manufacturer's duty to provide you with a product which works according to the initial lease terms throughout the term of the lease).

      What's going on today with phones is some bastardization where the manufacturers want to retain control of the device as if it were leased, but want the buyer to bear full liability for failures as if it were a purchase.

  17. Code still in iOS 11? by hcs_$reboot · · Score: 3, Funny

    "The code says it's for iOS 9, an older version of the operating system, but portions of it are likely to still be used in iOS 11"
    Impossible. Used both. iOS 9 was working fine. iOS 11 is a bug nest.

    --
    Slashdot, fix the reply notifications... You won't get away with it...
  18. And yet it is still secure by drinkypoo · · Score: 2

    ...because, have you ever actually tried to download and build it? You need a supercomputer.

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
  19. Whoever said C is dying needs to re-evaluate by Viol8 · · Score: 5, Informative

    This boot loader consists of:

    13 python tool files (what, not Swift Apple?)
    ONE objective-C file (a test program)
    16 C++ files which seem to be library related

    767 C files + 1196 C .h header files.

    C dying? I don't think so.