Live data from Hacker News

Apple confirms iOS kernel code left unencrypted intentionally

techcrunch.com

21–30 of 157 posts

Re: Apple confirms iOS kernel code left unencrypted intentionally

#21

I suppose this is the only way to definitively stop any three-letter agencies from asking you to backdoor your kernel.

Also, all you need is one insider kernel developer to get all the source code anyways. I always find these kinds of initiatives silly -- A lot of companies think that an insider is a side-channel attack when really it's the main vector.

Re: Apple confirms iOS kernel code left unencrypted intentionally

#23

Earlier quoted context omitted.

The spokesperson is talking out of their ass regarding performance. The kernel is decrypted by iBoot once at boot, using the hardware AES engine. It remains decrypted until the device is shutdown/rebooted. Decompressing and decrypting the kernel takes less than a second at boot. Also, TechCrunch fails to note that the kernelcache keys for most 32-bit kernels (and all iOS versions) are publicly available. Private indi…

> The spokesperson is talking out of their ass regarding performance. I'm fairly certain that this statement was vetted by Craig Federighi himself or, at minimum, a high-level engineering manager.

thanks for the confirmation.

Re: Apple confirms iOS kernel code left unencrypted intentionally

#24

Earlier quoted context omitted.

The OS X and iOS kernel are descendants of the nextStep kernel which is open source. http://en.wikipedia.org/wiki/XNU

Right, but how much code does the last open-source xnu have in common with the latest?

Apple continues to open source their version of XNU, although there has been an increasing lag between the release of each OS version and the corresponding sources. The latest available sources are from 10.11.2, three minor versions behind.

Apple has also shifted to pushing a lot of sensitive/proprietary code into kernel extensions (the new Apple File System being one example), for which they don't release source code (generally speaking).

Re: Apple confirms iOS kernel code left unencrypted intentionally

#25

Earlier quoted context omitted.

Or perhaps the three-letter-agencies demanded they do such a backdoor (i.e. a deliberate but obscure security hole), so they are open-sourcing it so hackers can find it.

Nitpick: they are not open-sourcing it; they are just leaving the compiled binary unencrypted.

I get down voted for sharing some knowledge. What is the point of even posting?

Re: Apple confirms iOS kernel code left unencrypted intentionally

#26
A move like this fits with a more general ideology Apple has been advocating for the last three years. Privacy, security, and ultruism. Tim Cook has put is mark on the company. One of the first things he did was apologize, (for maps) something unheard of in Apple's culture. I haven't drank the cool-aid and Apple has a lot of issues. I do see they however are making attempts at differentiating from the general corporate behavior of the telecoms and Google. Cook is differentiating from Jobs as well.

Re: Apple confirms iOS kernel code left unencrypted intentionally

#27

I suppose this is the only way to definitively stop any three-letter agencies from asking you to backdoor your kernel.

Also, all you need is one insider kernel developer to get all the source code anyways. I always find these kinds of initiatives silly -- A lot of companies think that an insider is a side-channel attack when really it's the main vector.

Also, given enough money available, why ask people to build vulnerabilities in ? Does anyone seriously think Apple's (or anyone's) kernel team doesn't have a single guy/girl that made at least one mistake ?

Re: Apple confirms iOS kernel code left unencrypted intentionally

#28

Earlier quoted context omitted.

Nitpick: they are not open-sourcing it; they are just leaving the compiled binary unencrypted.

I get down voted for sharing some knowledge. What is the point of even posting?

Early downvotes often get corrected and are probably worth ignoring. They might even be accidental votes from phone users, so don't sweat it.

Re: Apple confirms iOS kernel code left unencrypted intentionally

#30

Earlier quoted context omitted.

Nitpick: they are not open-sourcing it; they are just leaving the compiled binary unencrypted.

The OS X and iOS kernel are descendants of the nextStep kernel which is open source. http://en.wikipedia.org/wiki/XNU

I know that. But who knows how much secret sauce they have in the iOS build?

Also, even on OS X, it takes a while after new versions of the OS are released for new kernel source bundles to drop. So sometimes poking around with IDA is your only recourse.

Post reply on HN