~/talk

RustZone: Writing Trusted Applications in Rust

Talkat Black Hat Europe 2018 · 2018-12-03..12-06· [rust, security]
slides:none on file

Claim: Rust can replace C for ARM TrustZone trusted apps by eliminating many memory bugs. The project uses bindgen to convert OP-TEE C headers to Rust bindings, builds a Rust library that exports the five TA entry points, cross-compiles to ARM, signs the ELF with the TA signing tool, and runs the demo in QEMU where a simple increment/decrement command works end-to-end. The proof-of-concept builds and executes, but adoption costs and limited Rust expertise remain real obstacles.

AI-written summary · about

  1. 0:00Start
  2. 6:15Use Cases
  3. 8:47The TrustZone TEE
  4. 9:41TrustZone in Practice
  5. 12:42TEE OS Protections
  6. 14:12Writing (good) C is Hard
  7. 16:11Example: WideVine Trusted Application
  8. 18:12Example: Samsung OTP Buffer Overflow
  9. 19:57What's Rust?
  10. 21:55Why Rust?
  11. 25:15Rust / CFFI
  12. 27:17Learning Rust
  13. 29:27Get an OS
  14. 30:08Generate Rust Bindings
  15. 31:32Write a Rust Library
  16. 36:41Compile, Link, Sign
  17. 42:15Conclusions
~/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.