Live data from Hacker News

Key iPhone Source Code Gets Posted Online

motherboard.vice.com

71–80 of 118 posts

Re: Key iPhone Source Code Gets Posted Online

#71
post #14
post #12

Earlier quoted context omitted.

It looks like just the headers, not the actual source code. Also iBoot is basically the "BIOS" of the phone. Just enough to get it up and running and then load iOS into memory and kick it off, so it wouldn't have drivers for things like the touch screen or accelerometer for example.

https://github.com/h1x0rz3r0/iBoot/blob/master/platform/s5l8... I'd disagree, this includes source code.

For power management and sequencing chips. Like a BIOS would.

There are no interesting drivers there.

Re: Key iPhone Source Code Gets Posted Online

#72
post #11

https://github.com/h1x0rz3r0/iBoot/tree/master/include/drive... Now that these drivers have been leaked, would it be possible to run Linux on old iPhones? From my understanding, the main reason it couldn't be done is because nobody had access to the driver source code, and now..

We've been able to run Linux on old iPhones for quite a while now, as can be noted from the defunct iDroid project, which managed to successfully port the Linux kernel and Android userspace to the iPhone 2G, 3G, 3GS, and 4 using OpeniBoot. However, this is quite a nice advancement for those of us in the emulation community. Disclaimer: I'm working with some other team members on the revival of the iEmu iPhone emulato…

> However, this is quite a nice advancement for those of us in the emulation community.

It won't be if you taint what you are working on. Just looking at this will cause lots of legal problems down the road.

Re: Key iPhone Source Code Gets Posted Online

#73
post #6

How hard will it be for Apple to patch this?

To patch what? This isn't a vulnerability. This is leaked source code. Apple can file takedown notices to GitHub since they own the copyright but people can always post it somewhere else.

That is what I thought. I apologize for the stupid question.

Re: Key iPhone Source Code Gets Posted Online

#74
post #37

Earlier quoted context omitted.

https://twitter.com/supersat/status/961480792483381248

Doesn't prove anything. Apple is huge, they can do with GitHub whatever they want.

So, Apple just lied and said it was theirs? That makes absolutely zero sense.

Re: Key iPhone Source Code Gets Posted Online

#75
post #62
post #61

Anyone have a clue what the 'thunderbolt'/'thunderboot' driver is? Almost seems like they have proprietary thunderbolt cables for developing this or something? Relevant files: https://github.com/h1x0rz3r0/iBoot/tree/master/drivers/thund...

Some macs have the ability to load OSX from network or from an external hard drive. It might be the same on the iPhone

Thunderbolt could allow direct memory access which would be really useful for low-level debugging early in the boot process before higher-level tools are available.

Re: Key iPhone Source Code Gets Posted Online

#76
post #69
post #8

Earlier quoted context omitted.

Wasn't that one a partial leak stripped of some interesting bits?

Nothing significant was missing. For some reason the press relayed the news as "Windows NT and a small portion of Windows 2k source code were leaked". This was false, possibly started my Microsoft itself to downplay the scope of the leak. Virtually everything was there. Some people built it and booted it up.

Windows NT 4.0, yes. But 2000 would surprise me. To my knowledge, at least the product key handling was missing.

Re: Key iPhone Source Code Gets Posted Online

#77
post #51
post #48

How does something like this get leaked? A rogue Apple developer?

Just totally speculating here, but there are some class action suites regarding the Apple battery debacle. Maybe they had to provide source code as part of pre-trial discovery, and it got leaked that way?

This was released on reddit[1] back in September of 2017 and is not related to any battery lawsuits.

[1] https://www.reddit.com/r/jailbreak/comments/71p5qs/newsiboot...

Re: Key iPhone Source Code Gets Posted Online

#78
post #69
post #8

Earlier quoted context omitted.

Wasn't that one a partial leak stripped of some interesting bits?

Nothing significant was missing. For some reason the press relayed the news as "Windows NT and a small portion of Windows 2k source code were leaked". This was false, possibly started my Microsoft itself to downplay the scope of the leak. Virtually everything was there. Some people built it and booted it up.

I did some research [0] and I cannot find anyone claiming that more than ~15% of the Win 2k source code was available.

People are able to build and boot Win NT, not Win 2k.

[0]: https://www.betaarchive.com/forum/viewtopic.php?f=61&t=33250...

Re: Key iPhone Source Code Gets Posted Online

#79

Earlier quoted context omitted.

We've been able to run Linux on old iPhones for quite a while now, as can be noted from the defunct iDroid project, which managed to successfully port the Linux kernel and Android userspace to the iPhone 2G, 3G, 3GS, and 4 using OpeniBoot. However, this is quite a nice advancement for those of us in the emulation community. Disclaimer: I'm working with some other team members on the revival of the iEmu iPhone emulato…

> However, this is quite a nice advancement for those of us in the emulation community. It won't be if you taint what you are working on. Just looking at this will cause lots of legal problems down the road.

Don't Touch. Don't Look. Don't Think. Don't Breathe.

That will keep you safe.

Re: Key iPhone Source Code Gets Posted Online

#80

Earlier quoted context omitted.

It is much easier to find security vulnerabilities if you have the source code.

Better switch the Linux servers to Windows then

The source code for Windows is available if you meet certain requirements: https://www.microsoft.com/en-us/sharedsource/
Post reply on HN