USENIX Security '20: TeeRex Uncovers Critical Memory Flaws in SGX Enclaves πŸ›‘οΈ

Explore how TeeRex identifies and exploits memory corruption vulnerabilities in Intel SGX enclaves, highlighting potential security risks and mitigation strategies.

USENIX Security '20: TeeRex Uncovers Critical Memory Flaws in SGX Enclaves πŸ›‘οΈ
USENIX
668 views β€’ Sep 14, 2020
USENIX Security '20: TeeRex Uncovers Critical Memory Flaws in SGX Enclaves πŸ›‘οΈ

About this video

TeeRex: Discovery and Exploitation of Memory Corruption Vulnerabilities in SGX Enclaves

Tobias Cloosters, Michael Rodler, and Lucas Davi, University of Duisburg-Essen

Intel's Software Guard Extensions (SGX) introduced new instructions to switch the processor to enclave mode which protects it from introspection. While the enclave mode strongly protects the memory and the state of the processor, it cannot withstand memory corruption errors inside the enclave code. In this paper, we show that the attack surface of SGX enclaves provides new challenges for enclave developers as exploitable memory corruption vulnerabilities are easily introduced into enclave code. We develop TeeRex to automatically analyze enclave binary code for vulnerabilities introduced at the host-to-enclave boundary by means of symbolic execution. Our evaluation on public enclave binaries reveal that many of them suffer from memory corruption errors allowing an attacker to corrupt function pointers or perform arbitrary memory writes. As we will show, TeeRex features a specifically tailored framework for SGX enclaves that allows simple proof-of-concept exploit construction to assess the discovered vulnerabilities. Our findings reveal vulnerabilities in multiple enclaves, including enclaves developed by Intel, Baidu, and WolfSSL, as well as biometric fingerprint software deployed on popular laptop brands.

View the full USENIX Security '20 program at https://www.usenix.org/conference/usenixsecurity20/technical-sessions

Tags and Topics

Browse our collection to discover more content in these categories.

Video Information

Views

668

Likes

7

Duration

10:41

Published

Sep 14, 2020

Related Trending Topics

LIVE TRENDS

Related trending topics. Click any trend to explore more videos.