TEESec: Pre-Silicon Vulnerability Discovery for Trusted Execution Environments
TEESec: Pre-Silicon Vulnerability Discovery for Trusted Execution Environments
复制标题
DOI:
10.1145/3579371.3589070
复制
发表时间:
2023-06
期刊:
影响因子:
--
通讯作者:
Moein Ghaniyoun;Kristin Barber;Yuan Xiao;Yinqian Zhang;R. Teodorescu
中科院分区:
文献类型:
--
作者:
Moein Ghaniyoun;Kristin Barber;Yuan Xiao;Yinqian Zhang;R. Teodorescu
Trusted execution environments (TEE) are CPU hardware extensions that provide security guarantees for applications running on untrusted operating systems. The security of TEEs is threatened by a variety of microarchitectural vulnerabilities, which have led to a large number of demonstrated attacks. While various solutions for verifying the correctness and security of TEE designs have been proposed, they generally do not extend to jointly verifying the security of the underlying microarchitecture. This paper presents TEESec, the first pre-silicon framework for discovering microarchitectural vulnerabilities in the context of trusted execution environments. TEESec is designed to jointly and systematically test the TEE and underlying microarchitecture against data and metadata leakage across isolation boundaries. We implement TEESec in the Chipyard framework and evaluate it on two open-source RISC-V out-of-order processors running the Keystone TEE. Using TEESec we uncover 10 distinct vulnerabilities in these processors that violate TEE security principles and could lead to leakage of enclave secrets.