Lune

S&P2024顶会

Obelix: Mitigating Side-Channels Through Dynamic Obfuscation

Jan Wichelmann, Anja Rabich, Anna Pätschke, Thomas Eisenbarth

摘要

Trusted execution environments (TEEs) offer hardware-assisted means to protect code and data. However, as shown in numerous results over the years, attackers can use side-channels to leak data access patterns and even single-step the code. While the vendors are slowly introducing hardware-based countermeasures for some attacks, others will stay unaddressed. This makes a software-level countermeasure desirable, but current available solutions only address very specific attack vectors or have a narrow leakage model.In this work, we take a holistic view at the vulnerabilities of TEEs and design a tool named Obelix, which is the first to protect both code and data against a wide range of TEE attacks, from cache attacks over single-stepping to ciphertext side-channels. We analyze the practically achievable precision of state-of-the-art single-stepping tools, and present an algorithm which uses that knowledge to divide a program into uniform code blocks, that are indistinguishable for a strong attacker. By storing these blocks and the program data in oblivious RAM, the attacker cannot follow execution, effectively protecting both secret code and data. We describe how we automate our approach to make it available for developers who are unfamiliar with side-channels. As an obfuscation tool, Obelix comes with a considerable performance overhead, but compensates this with strong security guarantees and easy applicability without requiring any expert knowledge.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 9 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels 引用了 Spectre Attacks: Exploiting Speculative Execution
  • MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side Channels 引用了 Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
  • CipherSteal: Stealing Input Data from TEE-Shielded Neural Networks with Ciphertext Side Channels 引用了 Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
  • Plundervolt: Software-based Fault Injection Attacks against Intel SGX 引用了 Spectre Attacks: Exploiting Speculative Execution
  • TLBlur: Compiler-Assisted Automated Hardening against Controlled Channels on Off-the-Shelf Intel SGX Platforms 引用了 T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
  • TLBlur: Compiler-Assisted Automated Hardening against Controlled Channels on Off-the-Shelf Intel SGX Platforms 引用了 Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX
  • Heracles: Chosen Plaintext Attack on AMD SEV-SNP 引用了 CipherSteal: Stealing Input Data from TEE-Shielded Neural Networks with Ciphertext Side Channels
  • A Systematic Evaluation of Transient Execution Attacks and Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Erebor: A Drop-In Sandbox Solution for Private Data Processing in Untrusted Confidential Virtual Machines 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Erebor: A Drop-In Sandbox Solution for Private Data Processing in Untrusted Confidential Virtual Machines 引用了 Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGX 引用了 T-SGX: Eradicating Controlled-Channel Attacks Against Enclave Programs
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper9

  1. MDPeek: Breaking Balanced Branches in SGX with Memory Disambiguation Unit Side ChannelsChang Liu, Shuaihu Feng, Yuan Li, Dongsheng Wang 等ASPLOS 2025 · 7 次引用
  2. Erebor: A Drop-In Sandbox Solution for Private Data Processing in Untrusted Confidential Virtual MachinesChuqi Zhang, Rahul Priolkar, Yuancheng Jiang, Yuan Xiao 等EuroSys 2025 · 4 次引用
  3. Heracles: Chosen Plaintext Attack on AMD SEV-SNPBenedict Schlüter, Christoph Wech, Shweta ShindeCCS 2025 · 1 次引用
  4. CipherSteal: Stealing Input Data from TEE-Shielded Neural Networks with Ciphertext Side ChannelsYuanyuan Yuan, Zhibo Liu, Sen Deng, Yanzuo Chen 等S&P 2025
  5. TLBlur: Compiler-Assisted Automated Hardening against Controlled Channels on Off-the-Shelf Intel SGX PlatformsDaan Vanoverloop, Andrés Sánchez, Flavio Toffalini, Frank Piessens 等USENIX Security 2025

它引用的 Paper28

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  3. T-SGX: Eradicating Controlled-Channel Attacks Against Enclave ProgramsMing-Wei Shih, Sangho Lee, Taesoo Kim, Marcus PeinadoNDSS 2017 · 431 次引用
  4. Leaky Cauldron on the Dark Land: Understanding Memory Side-Channel Hazards in SGXWenhao Wang, Guoxing Chen, Xiaorui Pan, Yinqian Zhang 等CCS 2017 · 403 次引用
  5. Plundervolt: Software-based Fault Injection Attacks against Intel SGXKit Murdock, David F. Oswald, Flavio D. Garcia, Jo Van Bulck 等S&P 2020 · 369 次引用

相关 Paper

  1. Cipherfix: Mitigating Ciphertext Side-Channel Attacks in SoftwareJan Wichelmann, Anna Pätschke, Luca Wilke, Thomas EisenbarthUSENIX Security 2023
  2. Chunked-Cache: On-Demand and Scalable Cache Isolation for Security ArchitecturesGhada Dessouky, Emmanuel Stapf, Pouya Mahmoody, Alexander Gruler 等NDSS 2022
  3. TDXploit: Novel Techniques for Single-Stepping and Cache Attacks on Intel TDXFabian Rauscher, Luca Wilke, Hannes Weissteiner, Thomas Eisenbarth 等USENIX Security 2025
  4. On (the Lack of) Code Confidentiality in Trusted Execution EnvironmentsIvan Puddu, Moritz Schneider, Daniele Lain, Stefano Boschetto 等S&P 2024 · 14 次引用
  5. SNPeek: Side-Channel Analysis for Privacy Applications on Confidential VMsRuiyi Zhang, Albert Cheu, Adrià Gascón, Daniel Moghimi 等NDSS 2026 · 7 次引用
黄昏的海面,两侧是细线勾勒的悬崖