OP-TEE Footguns: Lessons From the Integration Trenches
summary
OP-TEE integrations frequently break security through configuration mistakes: devices ship with a hardware unique key not unique (example: Renesas deriving HUK from readable chip ID), TZ memory controller misconfiguration lets Linux dump OP-TEE RAM (tested with devmem/pagemap and kernel no_map override), and mainline U-Boot reconfigures region zero so TZ memory controller region zero aliasing bypasses protections on i.MX8. Other failures include enabled dev/debug flags, test replay keys, missing RNG driver (NXP cam provides RNG), and mishandled one‑time RPMB write keys; verified‑boot and anti‑rollback must be enforced.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 1:48OP-TEE integration pitfalls overview
- 3:34Hardware unique key misconfigurations
- 6:02TrustZone memory controller issues
- 16:45OP-TEE configuration flags risks
- 21:01Replay protection and eMMC setup
- 23:29Secure chain of trust necessity
- 24:33Shared hardware components security
- 27:03Power management and suspend issues
- 28:08Production deployment checklist
- 29:09Q&A session
