~/talk

Enhancing Systemd Security Using TPM 2.0

Talkat Linux Security Summit North America 2024 · on Friday, 2024-04-19· at 15:50· Terrace Suite 1+2· [security]
links:none on file
slides:none on file

Systemd initially reads LUKS DEKs from TPM 2.0 in cleartext (systemd v248), making I2C/bus MiTM theft trivial and demonstrated by TPM Genie. An attempted fix in v251 enables TPM sessions but fails to verify the TPM public key, still allowing MitM. A practical patch sequence adds a bind key, then a HMAC-SHA256 PBKDF salt stored in LUKS metadata, and finally binds sessions to the storage root key (SRK) via tpm2 TSS enhanced API. Deployments on systemd v254+ remove the MiTM vector.

AI-written summary · about

  1. 0:00TPM 2.0 and systemd intro
  2. 3:21TPM 2.0 security issues
  3. 7:53TPM session encryption pitfalls
  4. 10:29systemd TPM fixes timeline
  5. 16:07Quick bind key fix
  6. 18:57Proper TPM session encryption
  7. 22:09Performance and deployment issues
  8. 23:36Future work and SPDM
  9. 25:40Q&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.