faulTPM:揭露AMD fTPM的最深层秘密
faulTPM: Exposing AMD fTPMs' Deepest Secrets
AI总结:
本文提出针对AMD fTPM的新型攻击,通过攻破其可信执行环境AMD安全处理器获取完整内部状态,可提取加密材料并攻破仅TPM保护的全盘加密,证明TPM加PIN的FDE安全性低于合理密码的无TPM保护。
摘要:
可信平台模块(TPM)是现代安全功能不可或缺的组成部分。此外,随着Windows 11强制要求配备TPM 2.0,它们正面临越来越多的学术挑战。高端系统中常见的离散TPM(dTPM)容易受到针对其暴露通信接口的攻击,而更常见的固件TPM(fTPM)由于不通过暴露的总线与CPU通信,因此对这种攻击向量具有免疫力。本文分析了一类针对fTPM的新型攻击:攻击其可信执行环境(TEE)可导致TPM状态完全泄露。我们通过攻破AMD安全处理器(AMD Secure Processor,即AMD fTPM的可信执行环境),通过实验验证了这种攻击。与以往的dTPM嗅探攻击不同,该漏洞会暴露fTPM的完整内部TPM状态,使我们能够提取fTPM存储或密封的任何加密材料,无论其采用何种认证机制,例如平台配置寄存器(PCR)验证或带有防暴力破解保护的密码。首先,据我们所知,我们通过实现首个针对由fTPM支持的全盘加密(FDE)方案的攻击,证明了研究发现的影响。此外,我们阐述了仅依赖TPM安全属性的任何应用(例如BitLocker的仅TPM保护器)如何被拥有目标设备2-3小时物理访问权限的攻击者攻破。最后,我们分析了该攻击对受TPM和PIN策略保护的FDE方案的影响。虽然简单的实现也会使磁盘完全失去保护,但我们发现BitLocker的FDE实现根据所用PIN的复杂度仍能保留一定的保护能力。我们的结果表明,当fTPM的内部状态被攻破时,用于FDE的TPM加PIN策略的安全性低于使用合理密码的无TPM保护方案。
英文摘要:
Trusted Platform Modules constitute an integral building block of modern security features. Moreover, as Windows 11 made a TPM 2.0 mandatory, they are subject to an ever-increasing academic challenge. While discrete TPMs - as found in higher-end systems - have been susceptible to attacks on their exposed communication interface, more common firmware TPMs (fTPMs) are immune to this attack vector as they do not communicate with the CPU via an exposed bus. In this paper, we analyze a new class of attacks against fTPMs: Attacking their Trusted Execution Environment can lead to a full TPM state compromise. We experimentally verify this attack by compromising the AMD Secure Processor, which constitutes the TEE for AMD's fTPMs. In contrast to previous dTPM sniffing attacks, this vulnerability exposes the complete internal TPM state of the fTPM. It allows us to extract any cryptographic material stored or sealed by the fTPM regardless of authentication mechanisms such as Platform Configuration Register validation or passphrases with anti-hammering protection. First, we demonstrate the impact of our findings by - to the best of our knowledge - enabling the first attack against Full Disk Encryption solutions backed by an fTPM. Furthermore, we lay out how any application relying solely on the security properties of the TPM - like Bitlocker's TPM- only protector - can be defeated by an attacker with 2-3 hours of physical access to the target device. Lastly, we analyze the impact of our attack on FDE solutions protected by a TPM and PIN strategy. While a naive implementation also leaves the disk completely unprotected, we find that BitLocker's FDE implementation withholds some protection depending on the complexity of the used PIN. Our results show that when an fTPM's internal state is compromised, a TPM and PIN strategy for FDE is less secure than TPM-less protection with a reasonable passphrase.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。