ZeroTrace : Oblivious Memory Primitives from Intel SGX
Abstract
We are witnessing a confluence between applied cryptography and secure hardware systems in enabling secure cloud computing.On one hand, work in applied cryptography has enabled efficient, oblivious data-structures and memory primitives.On the other, secure hardware and the emergence of Intel SGX has enabled a low-overhead and mass market mechanism for isolated execution.By themselves these technologies have their disadvantages.Oblivious memory primitives carry high performance overheads, especially when run non-interactively.Intel SGX, while more efficient, suffers from numerous softwarebased side-channel attacks, high context switching costs, and bounded memory size.In this work we build a new library of oblivious memory primitives, which we call ZeroTrace.ZeroTrace is designed to carefully combine state-of-the-art oblivious RAM techniques and SGX, while mitigating individual disadvantages of these technologies.To the best of our knowledge, ZeroTrace represents the first oblivious memory primitives running on a real secure hardware platform.ZeroTrace simultaneously enables a dramatic speed-up over pure cryptography and protection from softwarebased side-channel attacks.The core of our design is an efficient and flexible block-level memory controller that provides oblivious execution against any active software adversary, and across asynchronous SGX enclave terminations.Performance-wise, the memory controller can service requests for 4 B blocks in 1.2 ms and 1 KB blocks in 3.4 ms (given a 10 GB dataset).On top of our memory controller, we evaluate Set/Dictionary/List interfaces which can all perform basic operations (e.g., get/put/insert). A. This WorkWe address this challenge by designing and implementing ZeroTrace -an oblivious library enabling applications to be built out of fine-grained building-blocks at the application's data-structure interface boundary.Any operation on the data stored by the library is protected using SGX enclaves and remains secure against all software attacks, including all known side-channels.Partitioning applications at the oblivious data-structure boundary hits a sweet spot for several reasons.First, the data-structure interface is narrow, which makes it easier to sanitize application to data-structure requests-improving intra-Network and
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
63 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- CacheOut: Leaking Data on Intel CPUs via Cache Evictions cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
- Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution cites Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
- ObliDB: Oblivious Query Processing for Secure Databases cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- ObliDB: Oblivious Query Processing for Secure Databases cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
- ObliDB: Oblivious Query Processing for Secure Databases cites Oblix: An Efficient Oblivious Search Index
- Oblix: An Efficient Oblivious Search Index cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
- Oblix: An Efficient Oblivious Search Index cites Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved Execution
- Oblix: An Efficient Oblivious Search Index cites Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
- Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing cites Oblivious Multi-Party Machine Learning on Trusted Processors
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing cites T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing cites Oblix: An Efficient Oblivious Search Index
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing cites Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
Cited by top-tier papers63
- New Constructions for Forward and Backward Private Symmetric Searchable EncryptionJavad Ghareh Chamani, Dimitrios Papadopoulos, Charalampos Papamanthou, Rasool JaliliCCS 2018 · 242 citations
- Oblix: An Efficient Oblivious Search IndexPratyush Mishra, Rishabh Poddar, Jerry Chen, Alessandro Chiesa et al.S&P 2018 · 200 citations
- CacheOut: Leaking Data on Intel CPUs via Cache EvictionsStephan van Schaik, Marina Minkin, Andrew Kwong, Daniel Genkin et al.S&P 2021 · 158 citations
- ObliDB: Oblivious Query Processing for Secure DatabasesSaba Eskandarian, Matei ZahariaVLDB 2020 · 127 citations
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance ComputingJiyong Yu, Lucas Hsiung, Mohamad El Hajj, Christopher W. FletcherNDSS 2019 · 106 citations
Builds on9
- Oblivious Multi-Party Machine Learning on Trusted ProcessorsOlga Ohrimenko, Felix Schuster, Cédric Fournet, Aastha Mehta et al.USENIX Security 2016 · 594 citations
- Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch ShadowingSangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim et al.USENIX Security 2017 · 536 citations
- T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 citations
- Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGXWenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang et al.CCS 2017 · 403 citations
- Telling Your Secrets without Page Faults: Stealthy Page Table-Based Attacks on Enclaved ExecutionJo Van Bulck, Nico Weichbrodt, Rüdiger Kapitza, Frank Piessens et al.USENIX Security 2017 · 316 citations
Related papers
- TRUSTORE: Side-Channel Resistant Storage for SGX using Intel Hybrid CPU-FPGAHyunyoung Oh, Adil Ahmad, Seonghyun Park, Byoungyoung Lee et al.CCS 2020 · 28 citations
- Autarky: closing controlled channels with self-paging enclavesMeni Orenbach, Andrew Baumann, Mark SilbersteinEuroSys 2020 · 29 citations
- OBLIVIATE: A Data Oblivious Filesystem for Intel SGXAdil Ahmad, Kyungtae Kim, Muhammad Ihsanulhaq Sarfaraz, Byoungyoung LeeNDSS 2018 · 144 citations
- Efficient Oblivious Database JoinsSimeon Krastnikov, Florian Kerschbaum, Douglas StebilaVLDB 2020 · 57 citations
- Strong and Efficient Cache Side-Channel Protection using Hardware Transactional MemoryDaniel Gruss, Julian Lettner, Felix Schuster, Olga Ohrimenko et al.USENIX Security 2017 · 254 citations
