SinClave: 面向可信执行环境的硬件辅助单例机制
SinClave: Hardware-assisted Singletons for TEEs
AI总结:
针对TEE远程证明中仅启动时度量易引发飞地复用攻击的问题,提出SinClave硬件辅助单例飞地机制,纳入密钥与文件系统度量以保障完整性,仅带来可忽略的运行开销。
摘要:
对于可信执行环境(TEEs)而言,远程证明可用于建立对远程主机上所执行软件的信任。该机制要求对远程TEE的度量兼具完整性与新鲜性:我们需要度量可能决定应用程序行为的所有方面,且该度量必须具备合理的新鲜度。仅在TEE启动时执行度量可简化证明流程,但会引发飞地的“复用”攻击。本文演示了如何针对不同的TEE框架实施此类复用攻击,还展示了如何通过单例飞地的概念强制保障新鲜性,同时保障度量的完整性,以此解决该问题。度量的完整性并非易事,因为配置给飞地的密钥与文件系统内容均可能影响软件行为,换言之,二者均可被用于发起复用攻击。本文提出了将这两个组件的度量纳入远程证明的机制。基于真实应用的评估显示,本文方法仅带来1.03%至13.2%的可忽略开销。
英文摘要:
For trusted execution environments (TEEs), remote attestation permits establishing trust in software executed on a remote host. It requires that the measurement of a remote TEE is both complete and fresh: We need to measure all aspects that might determine the behavior of an application, and this measurement has to be reasonably fresh. Performing measurements only at the start of a TEE simplifies the attestation but enables "reuse" attacks of enclaves. We demonstrate how to perform such reuse attacks for different TEE frameworks. We also show how to address this issue by enforcing freshness - through the concept of a singleton enclave - and completeness of the measurements. Completeness of measurements is not trivial since the secrets provisioned to an enclave and the content of the filesystem can both affect the behavior of the software, i.e., can be used to mount reuse attacks. We present mechanisms to include measurements of these two components in the remote attestation. Our evaluation based on real-world applications shows that our approach incurs only negligible overhead ranging from 1.03% to 13.2%.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。