~/talk

Apple Neural Engine Internal: From ML Algorithm to HW Registers

Talkat Black Hat Asia 2021 · 2021-05-04..05-07· [machine-learning, security]
name:Wish Wu
links:none on file
slides:none on file

Claim that SEP firmware contains FaceID keys in plaintext and that FaceID logic and neural weights are reachable; toolchain work reproduces CoreML→mlmodelc→net.plist→model.hwx register ops and exposes that ANE firmware and AE compiler are unpackable and disassemblable. A custom disassembler and compiler wrapper (code on GitHub) is used; fuzzing CoreML inputs finds crashes, discovers pointer-related vulnerabilities and a kernel memory crash when munging model.hwx, and multiple issues are reported to Apple.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:52Face ID architecture
  3. 3:50Neural engine register logic
  4. 7:09Compilation process
  5. 10:07Privileged space analysis
  6. 13:24Core ML compiler operations
  7. 16:50Kernel driver and tools
  8. 19:48Disassembler implementation
  9. 21:24Attack surface evaluation
  10. 25:53Case studies and conclusions
~/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.