Biometric security
Passcodes and passwords are essential to the security of Apple devices. At the same time, users require convenient access to their devices, often more than a hundred times a day. Biometric authentication provides a way to retain the security of a strong passcode—or even strengthen the passcode or password because it need not be entered manually—while providing the convenience of swiftly unlocking with a finger press or glance. Optic ID, Face ID, and Touch ID don’t replace a passcode or password, but in most situations they do make access faster and easier.
Apple’s biometric security architecture relies on a strict separation of responsibilities between the biometric sensor and the Secure Enclave, and a secure connection between the two. The sensor captures the biometric image and securely transmits it to the Secure Enclave. During enrollment, the Secure Enclave processes, encrypts, and stores the corresponding Optic ID, Face ID, and Touch ID template data. During matching, the Secure Enclave compares incoming data from the biometric sensor against the stored templates to determine whether to unlock the device or respond that a match is valid (for Apple Pay, in-app, and other uses of Optic ID, Face ID, and Touch ID). The architecture supports devices that include both the sensor and Secure Enclave (such as iPhone, iPad, many Mac computers, and Apple Vision Pro), as well as the ability to physically separate the sensor into a peripheral that’s then securely paired to the Secure Enclave in a Mac with Apple silicon.
Optic ID security
Optic ID provides intuitive and secure authentication that uses the uniqueness of a person’s iris, made possible by the high-performance eye-tracking system of LEDs and infrared cameras in Apple Vision Pro. It uses a spatiotemporally modulated eye-safe near-infrared light to illuminate the eye, so that Apple Vision Pro eye cameras can capture images of the iris. This iris image data is sent to and processed on the Secure Enclave and Secure Neural Engine, where it’s transformed into a mathematical representation for enrollment.
Optic ID is designed to:
Work with prescription soft contact lenses and ZEISS Optical Inserts for users who require vision correction.
Confirm user attention using gaze tracking and provide robust authentication with a low false-match rate.
Mitigate both digital and physical spoofing.
When a user unlocks their Apple Vision Pro using their eyes, Optic ID is using neural networks to determine matching and antispoofing. It automatically adapts to changes in conditions by updating user’s enrolled template after each successful authentication. This helps improve Optic ID performance in various lighting conditions, under which the visible portion of the iris and the size of the pupil might vary.
When a user unlocks Apple Vision Pro, the Optic ID icon is prominently displayed in the center of the user’s line of sight. After successful unlock (or during an app authentication), Optic ID keeps continual track that the user’s eye area is visible to Apple Vision Pro eye cameras.
While the user continues to wear the device, if the user needs to authenticate again, this continual tracking is used by Optic ID for authentication.
Face ID security
With a simple glance, Face ID securely unlocks supported Apple devices. It provides intuitive and secure authentication enabled by the TrueDepth camera system, which uses advanced technologies to accurately map the geometry of a user’s face. Face ID uses neural networks for determining attention, matching, and antispoofing, so a user can unlock their phone with a glance, even with a mask on when using supported devices. Face ID automatically adapts to changes in appearance, and carefully safeguards the privacy and security of a user’s biometric data.
Face ID is designed to confirm user attention, provide robust authentication with a low false-match rate, and mitigate both digital and physical spoofing.
The TrueDepth camera automatically looks for the user’s face when the user wakes an Apple device that features Face ID (by raising it or tapping the screen), as well as when those devices attempt to authenticate the user to display an incoming notification or when a supported app requests Face ID authentication. When a face is detected, Face ID confirms attention and intent to unlock by detecting that the user’s eyes are open and their attention is directed at their device; for accessibility, the Face ID attention check is disabled when VoiceOver is activated and, if required, can be disabled separately. Attention detection is always required when using Face ID with a mask.
After the TrueDepth camera confirms the presence of an attentive face, it projects and reads thousands of infrared dots to form a depth map of the face along with a 2D infrared image. This data is used to create a sequence of 2D images and depth maps, which are digitally signed and sent to the Secure Enclave. To counter both digital and physical spoofs, the TrueDepth camera randomizes the sequence of 2D images and depth map captures, and projects a device-specific random pattern. A portion of the Secure Neural Engine—protected within the Secure Enclave—transforms this data into a mathematical representation and compares that representation to the enrolled facial data. This enrolled facial data is itself a mathematical representation of the user’s face captured across a variety of poses.
Touch ID security
Touch ID is the fingerprint sensing system that makes secure access to supported Apple devices faster and easier. This technology reads fingerprint data from any angle and learns more about a user’s fingerprint over time, with the sensor continuing to expand the fingerprint map as additional overlapping nodes are identified with each use.
Apple devices with a Touch ID sensor can be unlocked using a fingerprint. Touch ID doesn’t replace the need for a device passcode or user password, which is still required after device startup, restart, or logout (on a Mac). In some apps, Touch ID can also be used in place of a device passcode or user password—for example, to unlock password-protected notes in the Notes app, to unlock keychain-protected websites, and to unlock supported app passwords. However, a device passcode or user password is always required in some scenarios (for example, to change an existing device passcode or user password or to remove existing fingerprint enrollments or create new ones).
When the fingerprint sensor detects the touch of a finger, it triggers the advanced imaging array to scan the finger and sends the scan to the Secure Enclave. The channel used to secure this connection varies, depending on whether the Touch ID sensor is built into the device with the Secure Enclave or is located in a separate peripheral.
While the fingerprint scan is being vectorized for analysis, the raster scan is temporarily stored in encrypted memory within the Secure Enclave and then it’s discarded. The analysis uses subdermal ridge flow angle mapping, a lossy process that discards “finger minutiae data” that would be required to reconstruct the user’s actual fingerprint. During enrollment, the resulting map of nodes is stored in an encrypted format that can be read only by the Secure Enclave as a template to compare against for future matches, but without any identity information. This data never leaves the device. It’s not sent to Apple, nor is it included in device backups.
Built-in Touch ID channel security
Communication between the Secure Enclave and the built-in Touch ID sensor takes place over a serial peripheral interface bus. The processor forwards the data to the Secure Enclave but can’t read it. It’s encrypted and authenticated with a session key that’s negotiated using a shared key provisioned for each Touch ID sensor and its corresponding Secure Enclave at the factory. For every Touch ID sensor, the shared key is strong, random, and different. The session key exchange uses AES key wrapping, with both sides providing a random key that establishes the session key and uses transport encryption that provides both authentication and confidentiality (using AES-CCM).