~/talk

Forking QEMU to emulate and secure the Tillitis TKey

Talkat foss-north 2025 · 2025-04-14..04-15· [embedded-and-hardware, security]
links:none on file
slides:none on file

A working QEMU-based emulator is forked QEMU to run the RISC‑V RV32 device model, attach GDB, load real device bins and exercise firmware and client apps; this workflow finds a time-of-check time-of-use leak in the signer that allows leaking one unknown byte of a signed message and recovering it by ED25519 brute-force of one byte against the public key. Fixes include refusing oversized lengths, restructuring stack data to guarantee layout, and a hardware fix to stop RAM wrap; hardware ships since Mar 2023 and the emulator accelerates development but must be validated on real devices.

AI-written summary · about

  1. 0:00Introduction
  2. 1:16Tillitis TKey overview
  3. 3:03TKey dynamic design
  4. 6:16Measured boot & identity
  5. 9:09Device identity computation
  6. 10:35Hardware & tooling
  7. 11:37Open-source ecosystem
  8. 13:45Software stack & languages
  9. 15:33Why an emulator is essential for TKey development
  10. 17:19QEMU bridging gaps
  11. 19:05Firmware testing with QEMU
  12. 20:30QEMU fork challenges
  13. 23:03Debugging limitations
  14. 24:28Vulnerability analysis
  15. 27:21Memory leak root cause
  16. 31:59Hardware addressing flaw
  17. 32:40Future of QEMU emulator
  18. 33:46Next-gen TKey features
  19. 34:28TKey capabilities summary
  20. 35:11Q&A
~/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.