Understanding TEE Containers, Easy to Use? Hard to Trust

Weijie Liu, Hongbo Chen, XiaoFeng Wang, Zhi Li, Danfeng Zhang +2 more
9/4/2021
cs.CR

Official code: misc0110/PTEditor (287 stars, C, MIT, last commit 2026-02-25).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

misc0110/PTEditorOfficial100%
MIT

A small library to modify all page-table levels of all processes from user space for x86_64 and ARMv8.

28772C, C++Sep 21, 20189 months agoMIT

Similar Papers

Cite this paper

@article{liu2021understanding,
  title  = {Understanding TEE Containers, Easy to Use? Hard to Trust},
  author = {Weijie Liu and Hongbo Chen and XiaoFeng Wang and Zhi Li and Danfeng Zhang and Wenhao Wang and Haixu Tang},
  year   = {2021},
  eprint = {2109.01923},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.01923}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.01923.svg)](https://codeofpaper.com/paper/2109.01923)

Discussion