Lune

Abstract

Program obfuscation is a popular cryptographic construct with a wide range of uses such as IP theft prevention. Although cryptographic solutions for program obfuscation impose impractically high overheads, a recent breakthrough leveraging trusted hardware has shown promise. However, the existing solution is based on special-purpose trusted hardware, restricting its use-cases to a limited few. In this paper, we first study if such obfuscation is feasible based on commodity trusted hardware, Intel SGX, and we observe that certain important security considerations are not afforded by commodity hardware. In particular, we found that existing obfuscation/obliviousness schemes are insecure if directly applied to Intel SGX primarily due to side-channel limitations. To this end, we present OBFUSCURO, the first system providing program obfuscation using commodity trusted hardware, Intel SGX. The key idea is to leverage ORAM operations to perform secure code execution and data access. Initially, OBFUSCURO transforms the regular program layout into a side-channelsecure and ORAM-compatible layout. Then, OBFUSCURO ensures that its ORAM controller performs data oblivious accesses in order to protect itself from all memory-based side-channels. Furthermore, OBFUSCURO ensures that the program is secure from timing attacks by ensuring that the program always runs for a pre-configured time interval. Along the way, OBFUSCURO also introduces a systematic optimization such as register-based ORAM stash. We provide a thorough security analysis of OBFUSCURO along with empirical attack evaluations showing that OBFUSCURO can protect the SGX program execution from being leaked by access pattern-based and timing-based channels. We also provide a detailed performance benchmark results in order to show the practical aspects of OBFUSCURO.

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.

20 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Spectre Attacks: Exploiting Speculative Execution cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • GraphOS: Towards Oblivious Graph Processing cites Spectre Attacks: Exploiting Speculative Execution
  • GraphOS: Towards Oblivious Graph Processing cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • Meltdown: Reading Kernel Memory from User Space cites Spectre Attacks: Exploiting Speculative Execution
  • Obelix: Mitigating Side-Channels Through Dynamic Obfuscation cites Spectre Attacks: Exploiting Speculative Execution
  • Obelix: Mitigating Side-Channels Through Dynamic Obfuscation cites TRUSTORE: Side-Channel Resistant Storage for SGX using Intel Hybrid CPU-FPGA
  • CrossTalk: Speculative Data Leaks Across Cores Are Real cites Spectre Attacks: Exploiting Speculative Execution
  • CrossTalk: Speculative Data Leaks Across Cores Are Real cites Meltdown: Reading Kernel Memory from User Space
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites Oblivious Multi-Party Machine Learning on Trusted Processors
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites Spectre Attacks: Exploiting Speculative Execution
  • CURE: A Security Architecture with CUstomizable and Resilient Enclaves cites Sanctum: Minimal Hardware Extensions for Strong Software Isolation
  • TRUSTORE: Side-Channel Resistant Storage for SGX using Intel Hybrid CPU-FPGA cites Inferring Fine-grained Control Flow Inside SGX Enclaves with Branch Shadowing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers20

  1. CrossTalk: Speculative Data Leaks Across Cores Are RealHany Ragab, Alyssa Milburn, Kaveh Razavi, Herbert Bos et al.S&P 2021 · 162 citations
  2. CURE: A Security Architecture with CUstomizable and Resilient EnclavesRaad Bahmani, Ferdinand Brasser, Ghada Dessouky, Patrick Jauernig et al.USENIX Security 2021 · 150 citations
  3. 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
  4. GraphOS: Towards Oblivious Graph ProcessingJavad Ghareh Chamani, Ioannis Demertzis, Dimitrios Papadopoulos, Charalampos Papamanthou et al.VLDB 2023 · 21 citations
  5. Obelix: Mitigating Side-Channels Through Dynamic ObfuscationJan Wichelmann, Anja Rabich, Anna Pätschke, Thomas EisenbarthS&P 2024 · 15 citations

Builds on17

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher et al.USENIX Security 2018 · 1,456 citations
  3. Sanctum: Minimal Hardware Extensions for Strong Software IsolationVictor Costan, Ilia A. Lebedev, Srinivas DevadasUSENIX Security 2016 · 649 citations
  4. Oblivious Multi-Party Machine Learning on Trusted ProcessorsOlga Ohrimenko, Felix Schuster, Cédric Fournet, Aastha Mehta et al.USENIX Security 2016 · 594 citations
  5. 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

Related papers

  1. Klotski: Efficient Obfuscated Execution against Controlled-Channel AttacksPan Zhang, Chengyu Song, Heng Yin, Deqing Zou et al.ASPLOS 2020 · 14 citations
  2. HOP: Hardware makes Obfuscation PracticalKartik Nayak, Christopher W. Fletcher, Ling Ren, Nishanth Chandran et al.NDSS 2017 · 54 citations
  3. OBLIVIATE: A Data Oblivious Filesystem for Intel SGXAdil Ahmad, Kyungtae Kim, Muhammad Ihsanulhaq Sarfaraz, Byoungyoung LeeNDSS 2018 · 144 citations
  4. Bulkor: Enabling Bulk Loading for Path ORAMXiang Li, Yunqian Luo, Mingyu GaoS&P 2024 · 8 citations
  5. T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 citations
Dusk over the sea between two cliffs drawn in fine vertical lines