Apple security head Ivan Krstic gives a Black Hat 2016 talk on iOS security, covering HomeKit, Auto Unlock and iCloud Keychain. He explains key hierarchies and how data can stay safe even in adversarial clouds.
Why Hacker News points people here: HN repeatedly recommends it as the deepest public look at how iCloud Keychain and Apple's device and cloud security are designed.
“if you haven't watched the talk at Black Hat I'd highly recommend it”HN comment, 2018
“if you haven't watched the talk at Black Hat I'd highly recommend it”
Covers device key exchange and iCloud security with SEP keys.
Full comment
They do all sorts of device key exchange, if you haven't watched the talk at Black Hat I'd highly recommend it: this video (link goes to beginning of Secure Enclave content, and later on in the talk he discusses iCloud which uses the SEP keys)
Strongly recommendskarlsheaJan 2018
“The Black Hat talk was really great”
Covers SEP, on-device encryption, and iCloud security.
Full comment
The Black Hat talk was really great: this video (link is to SEP and on-device encryption, 22:30 is iCloud stuff) > I know they said they could have accessed that San Bernardino terrorist’s iCloud backup if only they had one. Not sure if they’ve change the security architecture since then. I actually think they have, the shooting was in 2015 and iOS 10 was released in 2016 and was first to have some of the features he talks about in the video.
Strongly recommendsTwisellSep 2019
“I tried 1Password but finally resolved to use iCloud keychain after watching this BlackHat 2016 video”
Convinced commenter to switch from 1Password to iCloud keychain.
Full comment
I tried 1Password but finally resolved to use iCloud keychain after watching this BlackHat 2016 video this video . I mean as far as I already trust their OS nothing can really protect me from being spied by them if they are ill intentioned, so as long as they are serious and patch their security flaw on a timely manner I can live with that. Beside it come as a free plan if you don't need more than 5GB of iCloud storage. I'd figure using an external password manager just add another third party I need to trust and the fact that 1Password offer browser app interface (on top of native) don't reassure me in any way. Of course if I'd ever need to reassess my threat model because I can't trust Apple anymore, I will quit iCloud service at the same time as their OS and go full FOSS.
Strongly recommendsdilippkumarFeb 2024
“That alone convinced me. Apple knows what it is doing when it comes to device security.”
Convinced the commenter that Apple knows device security.
Full comment
There have been several comments along the lines of: "Why should I trust apple and their security, but not that of a third-party web browser?" I don't have an answer for you. But I want to recommend this talk from 7 years ago: this video That alone convinced me. Apple knows what it is doing when it comes to device security. Today, I trust them with my most sensitive data and sleep peacefully at night.
Strongly recommendsjesseendahlJul 2025
“the second half of this Blackhat talk by Apple's head of Security Engineering & Architecture (SEAR) is really great”
Deep dive on iCloud Keychain security engineering in second half.
Full comment
This is not just encryption in transit or simplistic client-side encryption. It is end-to-end encryption, where each device's key generation is handled by your phone's Secure Enclave. This article is a decent starting point in terms of what Advanced Data Protection is: link If you want a deeper dive into the security engineering of iCloud Keychain, the second half of this Blackhat talk by Apple's head of Security Engineering & Architecture (SEAR) is really great: Synchronizing secrets: this video
Strongly recommendseddygJan 2026
“You can (and should) watch”
Full details on how iCloud is protected.
Full comment
You shouldn't include Apple in this. As of macOS Tahoe, the FileVault key you (optionally) escrow with Apple is stored in the iCloud Keychain, which is cryptographically secured by HSM-backed, rate-limited protections. You can (and should) watch this video for all the details about how iCloud is protected.
Strongly recommendseddygJan 2026
“You can (and should) watch”
Full details on iCloud architecture and protection.
Full comment
Which is a very good thing. iCloud is much more secure than most people realize because most people don’t take the 30 minutes to learn how it is architected. You can (and should) watch this video for all the details about how iCloud is protected, but especially the time-linked section. :)
RecommendsarkadiytNov 2016
“For a really in-depth dive about the iOS class keys system he mentions I recommend this 2016 blackhat talk”
In-depth dive on iOS class keys from Apple's head of security.
Full comment
For a really in-depth dive about the iOS class keys system he mentions I recommend this 2016 blackhat talk by Ivan Krstic (head of security at Apple): this video (relevant portion starts at 6:56)
RecommendsabaloneFeb 2018
“Check out Cloud Key Vault, it’s a pretty cool solution for keychain (password) backups designed for adversarial clouds.”
Cloud Key Vault design for keychain backups in adversarial clouds.
Full comment
Passwords are backed up but they are end to end encrypted. Check out Cloud Key Vault, it’s a pretty cool solution for keychain (password) backups designed for adversarial clouds. Unfortunately does not apply to regular iCloud backups or most other data. But a major step forward. this video
RecommendsxmodemMay 2018
“where he explains the mechanism they use to secure credentials stored in the cloud”
Mechanism for securing credentials stored in the cloud.
Full comment
Take a look at this blackhat talk from Apple's head of security Ivan Krstic, where he explains the mechanism they use to secure credentials stored in the cloud: this video
RecommendsghostpepperAug 2019
“where he goes surprisingly deep”
Surprisingly deep security talk from a top Apple security person.
Full comment
The apple security whitepaper is actually a decent place to start link There is also a blackhat talk from Ivan Krstic (one of the top security people at apple) where he goes surprisingly deep this video
RecommendseddygJul 2021
“You may be interested in watching Ivan Krstić’s BlackHat talk[0], in which he details the security of the iCloud infrastructure.”
Details iCloud infrastructure security including one-way hash functions.
Full comment
You may be interested in watching Ivan Krstić’s BlackHat talk[0], in which he details the security of the iCloud infrastructure. The use of physical one-way hash functions is involved. [0] this video
RecommendsjesseendahlJun 2023
“you should watch the "Synchronizing secrets" part of this Black Hat talk from 2016”
Security engineering of synchronizing secrets in iCloud Keychain.
Full comment
>So I don't really understand how this can be said to be a hardware security token. No one claimed it's a hardware security token, but the private keys are stored in iCloud Keychain, which is end-to-end encrypted. Apple cannot access your private keys even if iCloud is compromised by an external attacker or employee. If you're curious about the security engineering, you should watch the "Synchronizing secrets" part of this Black Hat talk from 2016: this video or you should read the "Synchronization security" section of the "About the security of passkeys" support doc: link
Cites ittedmistonSep 2016
“I found the talk (though I don't pretend to understand it all)”
Black Hat talk on iOS security with slides and abstract.
Full comment
I found the talk (though I don't pretend to understand it all), video & slides are online if others are interested. Behind the Scenes with iOS Security Abstract - link Slides - link Video - this video
Cites itIBMJun 2017
“Given the way iCloud security works I'm not sure iCloud was breached at all [1].”
Cited to explain how iCloud security works.
Full comment
Given the way iCloud security works I'm not sure iCloud was breached at all [1]. Other reports seem to indicate that it was employees at Apple stores and third party resellers who had access to names, phone numbers and Apple IDs [2]. Presumably they would try to phish them later on. [1] this video [2] link
Cites itShankSep 2017
“Talk about iOS security at Black Hat”
Apple's public talk on iOS security architecture.
Full comment
It all boils down to what you see in the public. The FBI was trying to get Apple to create an iOS variant to extract data from a device, to the point where Tim Cook wrote a letter refusing to do so and was willing to fight it in court. In a similar fashion, Apple has given talks and white papers on iOS security. In tandem with these well documented white papers and talks discussing the internal functions of iOS, we haven't seen any well known or trivial exploits appear to surface that demonstrate flaws in them. In the case of the FBI fiasco, for example, we know that the FBI later paid Cellebrite for an exploit that allowed them to unlock the device. We don't know the details of how that happened, but the FBI had to reach out to an independent company and exploit an older device to do it. To be clear: if they were lying about the lengths they go to with encryption, on device security, and user trust, this story would have been different. The FBI would have already had a backdoor or been able to trivially break the device, or they would have complied and created an iOS variant to break in. All we know is what they stood their ground on, and the effort that was required for the FBI to get in. iOS 10 security white paper: link Talk about iOS security at Black Hat: this video
Cites itjohnethNov 2017
“There's a video of a presentation by Ivan Krstic (head of security engineering, Apple) at Black Hat from 2016 about iOS security”
Presentation by Apple's head of security engineering on iOS security.
Full comment
There's a video of a presentation by Ivan Krstic (head of security engineering, Apple) at Black Hat from 2016 about iOS security: this video
Cites itbpicoloFeb 2018
“You can store data safely even in adversarial clouds.”
Shows data can be stored safely in adversarial clouds.
Full comment
this video They take security for these things seriously. You can store data safely even in adversarial clouds.
Cites itGodel_unicodeMar 2018
“Apple gave a talk specifically about hardware security in the iPhone.”
Apple's own talk on iPhone hardware security.
Full comment
That’s not the apple talk. Apple gave a talk specifically about hardware security in the iPhone. Edit: this one. this video Edit 2: the question was asked at 47:20
Cites itabaloneApr 2019
“iCloud Keychain, which they've designed to work securely on "adversarial clouds"[1]”
Cited for iCloud Keychain design for adversarial clouds.
Full comment
Worth noting that Apple "gets away" with more in China than most: - iMessage, one of the only end-to-end encrypted messaging systems widely available in China. - iCloud Keychain, which they've designed to work securely on "adversarial clouds"[1] (Of course this may only be because not many people actually use these features versus WeChat...) [1] this video