|Launched||December 14, 2017|
|Discontinued||June 5, 2023|
|Designed by||Apple Inc.|
|L1 cache||Per core: 126 KB instruction + 126 KB data|
|L2 cache||3 MB shared|
|Architecture and classification|
|Technology node||16 nm|
|Instruction set||ARMv8.1-A: A64, A32, T32|
|Products, models, variants|
The Apple T2 (Apple's internal name is T8012) security chip is a system on a chip "SoC" tasked with providing security and controller features to Apple's Intel based Macintosh computers. It is a 64-bit ARMv8 chip and runs bridgeOS. T2 has its own RAM and is essentially a computer of its own, running in parallel to and responding to requests by the main computer that the user interacts with.
The main application processor in T2 is a variant of the Apple A10, which is a 64-bit ARMv8.1-A based CPU. It is manufactured by TSMC on their 16 nm process, just as the A10. Analysis of the die reveals a nearly identical CPU macro as the A10 which reveals a four core design for its main application processor, with two large high performance cores, "Hurricane", and two smaller efficiency cores, "Zephyr". Analysis also reveals the same amount of RAM controllers, but a much reduced GPU facility; three blocks, only a quarter the size compared to A10.
The die measures 9.6 × 10.8 mm, a die size of 104 mm2, which amounts to about 80% of the size of the A10.
As it serves as a co-processor to its Intel based host, it also consists of several facilities handling a variety of functions not present in the host system's main platform. It is designed to stay active even if the main computer is in a halted low power mode. The main application processor in T2 is running an operating system called bridgeOS.
The secondary processor in T2 is an 32-bit ARMv7-A based CPU called Secure Enclave Processor (SEP) which has the task of generating and storing encryption keys. It is running an operating system called "sepOS" based on the L4 microkernel.
The T2 module is built as a package on a package (PoP) together with its own 2 GB LP-DDR4 RAM in the case of iMac Pro or 1 GB in the case of MacBook Pro 15" early 2019.
The T2 communicates with the host via a USB-attached Ethernet port.
There are numerous features regarding security, including:
The T2 is integral in the boot sequence and upgrading of operating systems, not allowing unsigned components to interfere.
There are other facilities present not directly associated with security.
The Apple T2 was first released in the iMac Pro in late 2017.
On July 12, 2018, Apple released an updated MacBook Pro that includes the T2 chip, which among other things enables the "Hey Siri" feature.
On November 7, 2018, Apple released the updated Mac mini and MacBook Air models with the T2 chip. MacBook Air’s Touch ID sensor is powered by the chip.
On August 4, 2020, a refresh of the 5K iMac was announced, including the T2 chip.
The functionality of the T2 chip is incorporated in Apple’s M-series CPUs, thus eliminating the need for a separate chip in Apple silicon-powered computers. Since the completion of the Mac transition to Apple silicon in June 2023, no new Mac would be shipped with a T2 chip.
In October 2019 security researchers began to theorize that the T2 might also be affected by the checkm8 bug as it was roughly based on the A10 design from 2016 in the original iMac Pro. Rick Mark then ported libimobiledevice to work with the Apple T2 providing a free and open source solution to restoring the T2 outside of Apple Configurator and enabling further work on the T2. On March 6, 2020 a team of engineers dubbed T2 Development Team exploited the existing checkm8 bug in the T2 and released the hash of a dump of the secure ROM as a proof of entry. The checkra1n team quickly integrated the patches required to support jailbreaking the T2.
The T2 Development Team then used Apple's undocumented vendor-defined messages over USB power delivery to be able to put a T2 device into Device Firmware Upgrade mode without user interaction. This compounded the issue making it possible for any malicious device to jailbreak the T2 without any interaction from a custom charging device.
Later in the year the release of the blackbird SEP vulnerability further compounded the impact of the defect by allowing arbitrary code execute in the T2 Secure Enclave Processor. This had the impact of potentially affecting encrypted credentials such as the FileVault keys as well as other secure Apple Keychain items.
Developer Rick Mark then determined that macOS could be installed over the same iDevice recovery protocols, which later ended up true of the M1 series of Apple Macs. On September 10, 2020 a public release of checkra1n was published that allowed users to jailbreak the T2. The T2 Development Team created patches to remove signature validation from files on the T2 such as the MacEFI as well as the boot sound. Members of the T2 Development Team begin answering questions in industry slack instances. A member of the security community from IronPeak used this data to compile an impact analysis of the defect, which was later corrected to correctly attribute the original researchers The original researchers made multiple corrections to the press that covered the IronPeak blog.
In October 2020, a hardware flaw in the chip's security features was found that might be exploited in a way that cannot be patched, using a similar method as the jailbreaking of the iPhone with A10 chip, since the T2 chip is based on the A10 chip. Apple was notified of this vulnerability but did not respond before security researchers publicly disclosed the vulnerability. It was later demonstrated that this vulnerability can allow users to implement custom Mac startup sounds.
Of all the error messages uploaded to these threads, there is one detail they seem to share: Bridge OS. This is an embedded operating system used by Apple's stand-alone T2 security chip, which provides the iMac Pro with a secure boot, encrypted storage, live "Hey Siri" commands, and so on.