SGXBOUNDS
Authors:
Open Access
- 23 April 2017
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 205-221
Abstract
Shielded execution based on Intel SGX provides strong security guarantees for legacy applications running on untrusted platforms. However, memory safety attacks such as Heartbleed can render the confidentiality and integrity properties of shielded execution completely ineffective. To prevent these attacks, the state-of-the-art memory-safety approaches can be used in the context of shielded execution. In this work, we first showcase that two prominent software- and hardware-based defenses, AddressSanitizer and Intel MPX respectively, are impractical for shielded execution due to high performance and memory overheads. This motivated our design of SGXBounds---an efficient memory-safety approach for shielded execution exploiting the architectural features of Intel SGX. Our design is based on a simple combination of tagged pointers and compact memory layout. We implemented SGXBounds based on the LLVM compiler framework targeting unmodified multithreaded applications. Our evaluation using Phoenix, PARSEC, and RIPE benchmark suites shows that SGXBounds has performance and memory overheads of 17% and 0.1% respectively, while providing security guarantees similar to AddressSanitizer and Intel MPX. We have obtained similar results with SPEC CPU2006 and four real-world case studies: SQLite, Memcached, Apache, and Nginx.Keywords
This publication has 46 references indexed in Scilit:
- Controlled-Channel Attacks: Deterministic Side Channels for Untrusted Operating Systems2015
- Readactor: Practical Code Randomization Resilient to Memory Disclosure2015
- The CHERI capability modelACM SIGARCH Computer Architecture News, 2014
- Light-weight bounds checking2012
- Memory Errors: The Past, the Present, and the Future2012
- RIPE2011
- Data Space Randomization2009
- SPEC CPU2006 benchmark descriptionsACM SIGARCH Computer Architecture News, 2006
- DieHard2006
- An efficient and backwards-compatible transformation to ensure memory safety of C programsACM SIGSOFT Software Engineering Notes, 2004