~/talk

Unearthing the TrustedCore: A Critical Review on Huawei’s Trusted Execution Environment

Talkat WOOT '20 · on Tuesday, 2020-08-11· [security]
links:none on file
links:none on file
links:none on file
slides:none on file

Reverse-engineering of Huawei’s TrustedCore (TC) reveals concrete breaks: a white‑box AES in the global loader lets attackers decrypt any TA (119 of 133 firmware images use it; models include P9 Lite 2016 and P20 Lite 2018), the keystore uses a constant device‑wide key so attackers can export‑protected keys and spoof key blobs, and a stack overflow in keymaster combined with a constant stack canary and one‑byte ASLR enables a code‑reuse exploit to execute arbitrary code in TrustZone, map physical pages and escalate to the secure kernel.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Motivation
  3. 1:02Outline
  4. 1:40Trusted Execution Environments (TEES)
  5. 2:33ARM Trustzone on ARMVB-A Systems
  6. 3:47TEEs in the Field (on Android)
  7. 4:50Overview
  8. 5:07TrustedCore - Normal World
  9. 6:01TrustedCore-Secure World
  10. 7:47Loading Encrypted Trusted Applications (cont.)
  11. 9:29Protection of Crypto Keys
  12. 10:45Scope & Consequences
  13. 12:07Export-Protected Crypto Keys
  14. 14:02The Key Encryption Key (KEK)
  15. 16:30Memory Corruption in keymaster TA
  16. 17:05Exploit Mitigations
  17. 19:29Lessons Learned - Hardware-Protected Crypto Keys
  18. 20:37Lessons Learned - Attack Surface
~/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.