EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Reducing the TCB of SGX-Oriented LibOSes at Runtime

Donghui Yu, Dahan Pan, Fengwei Zhang, Haoran Fang, Ya Fang, Yuanyuan Zhang

Proceedings of the ACM on Software Engineering · 30.06.2026 · 3 (FSE) · 2583-2605

DOI: 10.1145/3808122 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Proceedings of the ACM on Software Engineering, online erschienen am 30.06.2026. Verfasst von Donghui Yu und 5 weiteren Autor:innen. Die Arbeit nennt 64 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Intel Software Guard Extensions (SGX) provides a trusted execution environment (TEE) for applications to protect runtime code and data from the untrusted environment. All code residing in the enclave, including LibOSes and the libraries, is all taken into the Trusted Computing Base (TCB). The TCB size closely correlates with the potential vulnerabilities and the system’s attack surface. Vulnerabilities in the enclave can tamper with the control flow of the enclave program and potentially lead to data breaches. Existing SGX frameworks present a dilemma: either include a large LibOS in the enclave to ensure functionality, which inflates the TCB and attack surface, or move the OS out for a minimal TCB, which severely restricts application support or incurs high overhead, insecure interactions with the untrusted world. In this paper, we introduce DynaTCB, a runtime framework designed to balance security and functionality. To enhance security, DynaTCB dynamically adjusts the TCB according to runtime program behavior. To preserve functionality, it logically removes unneeded code from the TCB instead of physically removing it from the enclave, thus avoiding the drawbacks of frequent untrusted interactions. It performs binary-level analysis without requiring source code. Experimental results show that DynaTCB achieves a code reduction of over 95% for the Coreutils suite and more than 80% for real-world applications with 14.2% overhead. Additionally, DynaTCB successfully breaks the gadget chains in SGX and mitigates several Common Vulnerabilities and Exposures (CVEs), affirming its potential to significantly enhance security in SGX environments.

Zitieren

APA

Yu, D., Pan, D., Zhang, F., Fang, H., Fang, Y., & Zhang, Y. (2026). Reducing the TCB of SGX-Oriented LibOSes at Runtime. Proceedings of the ACM on Software Engineering, 3(FSE), 2583-2605. https://doi.org/10.1145/3808122

Vancouver

Yu D, Pan D, Zhang F, Fang H, Fang Y, Zhang Y. Reducing the TCB of SGX-Oriented LibOSes at Runtime. Proceedings of the ACM on Software Engineering. 2026;3(FSE):2583-2605. doi:10.1145/3808122

BibTeX
@article{Yu2026,
  author = {Yu, Donghui and Pan, Dahan and Zhang, Fengwei and Fang, Haoran and Fang, Ya and Zhang, Yuanyuan},
  title = {Reducing the TCB of SGX-Oriented LibOSes at Runtime},
  journal = {Proceedings of the ACM on Software Engineering},
  year = {2026},
  volume = {3},
  number = {FSE},
  pages = {2583--2605},
  doi = {10.1145/3808122}
}
Kostenlos starten →