~/talk

Reverse Engineering the Customized Pointer Authentication Hardware Implementation on Apple M1

Talkat Black Hat USA 2023 · 2023-08-05..08-10· [security]
links:none on file
links:none on file
links:none on file
links:none on file
slides:none on file

Reverse engineering of Apple M1 PAC reveals a custom hardware pipeline: new Apple-specific system register encodings, a control register plus 128-bit key/diversifier registers, and a key transformation step that XORs per-key salts and VMD/boot/VM diversifiers into the real signing key. A hypervisor-based monitor with active-channel debugging and unlimited breakpoints is built to observe registers and signatures, and bypasses are found (E2-encoding reads and presetting E2 keys) proving Apple enforces per-CPU/per-VM diversifiers to mitigate cross-EL, cross-VM, cross-boot and cross-key attacks.

AI-written summary · about

  1. 0:00Introduction to Apple PAC
  2. 1:00ARM PAC basics
  3. 4:29Apple PAC research and goals
  4. 9:59Undocumented system registers
  5. 21:52Bypassing key protection
  6. 29:04Hardware implementation findings
  7. 35:05Cross-domain mitigation
  8. 37:05Limitations and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.