As an emerging technique for confidential computing, trusted execution environment (TEE) receives a lot of attention. To better develop, deploy, and run secure applications on a TEE platform such as Intel's SGX, both academic and industrial teams have devoted much effort to developing reliable and convenient TEE containers. In this paper, we studied the isolation strategies of 15 existing TEE containers to protect secure applications from potentially malicious operating systems (OS) or untrusted applications, using a semi-automatic approach combining a feedback-guided analyzer with manual code review. Our analysis reveals the isolation protection each of these TEE containers enforces, and their security weaknesses. We observe that none of the existing TEE containers can fulfill the goal they set, due to various pitfalls in their design and implementation. We report the lessons learnt from our study for guiding the development of more secure containers, and further discuss the trend of TEE container designs. We also release our analyzer that helps evaluate the container middleware both from the enclave and from the kernel.
Arca: A Lightweight Confidential Container Architecture for Cloud-Native Environments
School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);Shaanxi Key Laboratory of Network and System Security(陕西省网络与系统安全重点实验室);Alibaba Cloud(阿里云)
EBCC: Enclave-Backed Confidential Containers via OCI-Compatible Runtime Integration
School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);Shaanxi Key Laboratory of Network and System Security(陕西省网络与系统安全重点实验室);College of Cyber Security, Jinan University(暨南大学网络空间安全学院)
EBCC 提出了一种 OCI 兼容的运行时架构,用于管理复合保密计算工作负载,通过统一容器化保密计算复合体,保持 OCI 生命周期操作,并将 TEE 特定执行置于后端适配器后。
Characterizing Trust Boundary Vulnerabilities in TEE Containers: An Empirical Study
Nankai University(南开大学);Indiana University Bloomington(印第安纳大学布鲁明顿分校);Nanyang Technological University(南洋理工大学);Institute of Information Engineering, Chinese Academy of Sciences(中国科学院信息工程研究所);Duke University(杜克大学);Huazhong University of Science and Technology(华中科技大学)
Constraining Host-Level Abuse in Self-Hosted Computer-Use Agents via TEE-Backed Isolation
School of Computer Science and Technology, Xidian University(西安电子科技大学计算机科学与技术学院);Shaanxi Key Laboratory of Network and System Security(陕西省网络与系统安全重点实验室);College of Cyber Security, Jinan University(暨南大学网络安全学院)
An Enclave-based TEE for SE-in-SoC in RISC-V Industry
SoC中的安全元件(SE)在工业中的采用越来越多。物联网设备中的许多应用程序都绑定到SE,因为它提供了强大的加密功能和物理保护。虽然SE-in-SoC为软件程序提供了强大的隔离,但它也给PCB板制造带来了更高的设计复杂性和成本。此外,SE-in-SoC可能仍然存在安全问题,例如恶意软件安装和用户冒充。在这项工作中,我们采用TEE,一种硬件支持的安全技术,用于保护SE in SoC和RISCV。特别是,我们构建了各种隔离应用程序和操纵SE的飞地,使用RISC-V提供的固有安全原语。使用硬件和软件协同设计,该解决方案确保了应用程序之间的可信执行和安全通信。通过强制SE由受信任的飞地控制并使RISC-V核心对侧信道攻击具有弹性,进一步保护了SE的安全性。