Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

MacRumors

macrumors bot
Original poster
Apr 12, 2001
68,319
39,139



Source code for a core component of the iPhone's operating system recently leaked on GitHub, according to reports from Motherboard and Redmond Pie.

The code, which appears to be for iBoot, or the part of iOS that ensures a trusted boot of the operating system, was initially shared online several months ago on Reddit, but it resurfaced today on GitHub where it will presumably receive more attention. Motherboard consulted security experts who have confirmed that the code appears to be legitimate.

ios_9_ipad_iphone-800x481.jpg

The iBoot code appears to be from a version of iOS 9, so it's not entirely relevant to the current iOS 11.2.5 operating system, but some of the code from iOS 9 likely still exists in iOS 11. It remains to be seen if anything will come of the leak, though, and it's also worth noting that modern iOS devices have protection in the form of the Secure Enclave.

There are files missing from the GitHub leak so the code can't be compiled, but security experts on Twitter say it could allow hackers and security researchers to find iOS vulnerabilities and create jailbreaks.

This is the SRC for 9.x. Even though you can't compile it due to missing files, you can mess with the source code and find vulnerabilities as a security researcher. It also contains the bootrom source code for certain devices... - Apple External (@Apple_External) February 6, 2018

Along with the iBoot code, the leak includes a documents directory that offers up additional information relevant to iBoot, which Redmond Pie suggests could make it much easier to find a bootrom exploit for permanently jailbreaking iPhones and iPads.

Apple has open sourced portions of macOS and iOS in recent years, but iBoot is something that Apple has been careful to keep private. As Motherboard points out, Apple's own bug bounty program pays out up to $200,000 for vulnerabilities discovered in secure boot firmware components.

Article Link: iPhone Source Code From iOS 9 Leaked on Github
 
"The iBoot code appears to be from a version of iOS 9, so it's not entirely relevant to the current iOS 11.2.5 operating system, but some of the code from iOS 9 likely still exists in iOS 11."

Boot code of an embedded device rarely gets a significant rewrite, so I would guess that most of the iBoot code is likely common between iOS 9 and iOS 11.
 
I have several devices at home that are stranded on iOS 9. It would be interesting if something like this enabled enabled a 1st gen iPad mini or iPhone 5 to run a recent Android release like CYanogenMod. Would breathe new liked into those older devices.
 
So, for those who may have a better handle on the consequences of this - what are the potential impacts of this, especially for people who are no longer on iOS 9 and have upgraded to either iOS 10 or 11?
 
  • Like
Reactions: DopamineHigh
I have several devices at home that are stranded on iOS 9. It would be interesting if something like this enabled enabled a 1st gen iPad mini or iPhone 5 to run a recent Android release like CYanogenMod. Would breathe new liked into those older devices.

Nah. Even if you managed to set up a dual-boot (this was possible on my 3G back in the day), you’d have lots of missing drivers.
 
So, for those who may have a better handle on the consequences of this - what are the potential impacts of this, especially for people who are no longer on iOS 9 and have upgraded to either iOS 10 or 11?

This may lead to security holes being discovered. It may make a jailbreak feasible. That’s about it.
 
  • Like
Reactions: Avieshek and mtneer
So, for those who may have a better handle on the consequences of this - what are the potential impacts of this, especially for people who are no longer on iOS 9 and have upgraded to either iOS 10 or 11?
In fact, it's a good thing. Now people can find vulnerabilities so Apple can fix them. I guess iBoot is still pretty much unchanged in newer versions of iOS.

Security by obscurity was never a good idea in the first place.
 
I understand that good can come from public eye on code, it still bothers me that people think they can just do whatever they want, ignoring licensing restrictions and user agreements. These people are not good, even if good can come of their actions.
[doublepost=1518070920][/doublepost]
Amateur hour at Apple these days...first the root bug in macOS, now iOS9 leaks

Amateur hour at the Forums... taking isolated incidents way out of context.
 
One good thing about open source or leaked code is bugs and exploits can be found and fixed by anyone.

There’s a reason Linux is so robust and secure.
 
The iBoot code appears to be from a version of iOS 9, so it's not entirely relevant to the current iOS 11.2.5 operating system,

Are you kidding me? Do you think Apple rewrites the entire OS from scratch on every release? Of course they don't. iOS 11 is based on iOS 10 which is based on iOS 9 which is based on iOS 8, and so on.
 
This should be a complete non-issue, if the open source community is to be believed - having source available to everyone puts more eyes on the code to find and fix problems, making the system more secure than private/secret code. Isn't that the story line?
 
  • Like
Reactions: deanthedev
Are you kidding me? Do you think Apple rewrites the entire OS from scratch on every release? Of course they don't. iOS 11 is based on iOS 10 which is based on iOS 9 which is based on iOS 8, and so on.
Do you need a refresher on the meaning of the words "not entirely?"
 
This should be a complete non-issue, if the open source community is to be believed - having source available to everyone puts more eyes on the code to find and fix problems, making the system more secure than private/secret code. Isn't that the story line?

Beat me to it. Nobody ever says Android is less secure despite the fact you can download the source code and compile it yourself (if you’re so inclined).

This news will quickly expose the open source hypocrites.
 
This should be a complete non-issue, if the open source community is to be believed - having source available to everyone puts more eyes on the code to find and fix problems, making the system more secure than private/secret code. Isn't that the story line?
Thanks for the definite argument to make iOS open source. Tim will appreciate it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.