Analysis of TCG_TPM2_HMAC: Linux Kernel Feature for TPM Bus Security
By
todsacerdoti
Sesame, salt, and substance. A flagship bake.
Summary
The article examines the TCG_TPM2_HMAC Linux kernel feature, which adds HMAC and encryption to TPM bus communications to prevent bus snooping and interposer attacks. The author explores the technical implementation, security claims, and practical implications of this feature, noting that while it adds encryption overhead, it provides protection against both active and passive attackers on the TPM bus.
Key quotes
· 4 pulledAll encryption is end-to-end, if you're not picky about the ends.
Setting this causes us to deploy a scheme which uses request and response HMACs in addition to encryption for communicating with the TPM to prevent or detect bus snooping and interposer attacks.
Saying Y here adds some encryption overhead to all kernel to TPM transactions.
It claims to detect or prevent active and passive interposer attackers. That's one of my sleeper agent activation phrases, so I dug in.
You might also wanna read
Copy Fail: Critical Linux Kernel Vulnerability (CVE-2026-31431) Grants Root Access Across Major Distributions
Xint Code disclosed CVE-2026-31431, a critical Linux kernel vulnerability dubbed "Copy Fail." The bug exploits an authencesn scratch-write v
Exploiting CVE-2024-50264: Using Kernel-Hack-Drill to Overcome Linux Kernel Vulnerability Challenges
This technical article details the exploitation of CVE-2024-50264, a challenging Linux kernel vulnerability that won the Pwnie Award 2025 fo
North Korean Chollima Group Targets PHP Developers via Malicious Packagist Package
A malicious obfuscated JavaScript payload was discovered appended to tailwind.js in the Packagist development version dev-drewroberts/featur
Restartable Sequences: A Linux Kernel Feature for Lock-Free Thread-Safe Programming
This article explores restartable sequences (rseq), a Linux kernel feature introduced in version 4.18 (circa 2018) that enables creation of
Microsoft uncovers supply chain attack: Compromised @antv npm packages steal CI/CD credentials via Mini Shai-Hulud malware
Microsoft has identified an active supply chain attack targeting the @antv npm package ecosystem. A threat actor compromised an @antv mainta
npm malware targeting Claude users leaks own GitHub token, reaches 676 downloads
An npm package called "mouse5212-super-formatter" targeting Claude users acted as information-stealing malware, reaching 676 downloads befor
