Repository
bschaatsbergen/tpmlsm
tpmlsm
bschaatsbergen/tpmlsm
tpmlsm
eBPF-based Linux kernel guard that restricts TPM device access to allowlisted binaries only, using BPF LSM and SHA-256 hashing for binary verification.
Visit project- First shared
- Oct 4, 2026
- HN activity
- 50
Show HN@bschaatsbergenOct 4, 2026
Show HN: An eBPF kernel guard for vTPM access
A kernel guard I prototyped after eBPF and vTPM work for a customer, where we use the TPM to protect the private keys for mTLS. Any process running as root can open the TPM devices, and so can any process in the `tss` group, through `/dev/tpmrm0`. That means they can use those keys too. This is a prototype and some research into protecting this path.
Community