Lune

S&P2024顶会

Architectural Mimicry: Innovative Instructions to Efficiently Address Control-Flow Leakage in Data-Oblivious Programs

Hans Winderix, Marton Bognar, Job Noorman, Lesly-Ann Daniel, Frank Piessens

摘要

The control flow of a program can often be observed through side-channel attacks. Hence, when control flow depends on secrets, attackers can learn information about these secrets. Widely used software-based countermeasures ensure that attacker-observable aspects of the control flow do not depend on secrets, relying on techniques like dummy execution (for balancing code) or conditional execution (for linearizing code). In the current state-of-practice, the primitives to implement these techniques have to be found in an existing instruction set architecture (ISA) that was not designed a priori to provide them, leading to performance, security, and portability issues. To counter these issues, this paper proposes lightweight hardware extensions for supporting these techniques in a principled way. We propose (1) a novel hardware mechanism (mimic execution), that executes an instruction stream only for its attacker-observable effects, and suppresses (most) architectural effects, and (2) ISA support (called AMi, for Architectural Mimicry) and programming models to effectively use mimic execution to balance or linearize code. We show the feasibility and benefits of our proposal by implementing mimic execution and AMi for a 32-bit out-of-order RISC-V core that leaks control flow in multiple ways (via e.g., the branch predictor, instruction timings, and the data cache). Our experimental evaluation shows that the hardware cost is low (most importantly, no impact on the processor′s critical path), and that AMi enables significant performance improvements. In particular, AMi reduces the overhead of state-of-the-art linearized code by 60% in our benchmarks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • BLACKOUT: Data-Oblivious Computation with Blinded Capabilities 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • BLACKOUT: Data-Oblivious Computation with Blinded Capabilities 引用了 Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End Processors
  • Synthesis of Sound and Precise Leakage Contracts for Open-Source RISC-V Processors 引用了 Verifying Constant-Time Implementations
  • Synthesis of Sound and Precise Leakage Contracts for Open-Source RISC-V Processors 引用了 Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End Processors
  • dfence: Fine-Grained Speculation Barriers for Efficient and Effective Hardware-Software Protection in the Spectre Era 引用了 A Systematic Evaluation of Transient Execution Attacks and Defenses
  • dfence: Fine-Grained Speculation Barriers for Efficient and Effective Hardware-Software Protection in the Spectre Era 引用了 Verifying Constant-Time Implementations
  • dfence: Fine-Grained Speculation Barriers for Efficient and Effective Hardware-Software Protection in the Spectre Era 引用了 Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End Processors
  • PLATYPUS: Software-based Power Side-Channel Attacks on x86 引用了 Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory
  • Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End Processors 引用了 Plundervolt: Software-based Fault Injection Attacks against Intel SGX
  • Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End Processors 引用了 Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory
  • Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End Processors 引用了 PLATYPUS: Software-based Power Side-Channel Attacks on x86
  • Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End Processors 引用了 Verifying Constant-Time Implementations
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Libra: Architectural Support For Principled, Secure And Efficient Balanced Execution On High-End ProcessorsHans Winderix, Marton Bognar, Lesly-Ann Daniel, Frank PiessensCCS 2024 · 4 次引用
  2. dfence: Fine-Grained Speculation Barriers for Efficient and Effective Hardware-Software Protection in the Spectre EraDavide Davoli, Marton Bognar, Lesly-Ann Daniel, Benjamin Gregoire 等CCS 2026 · 1 次引用
  3. BLACKOUT: Data-Oblivious Computation with Blinded CapabilitiesHossam ElAtali, Merve Gülmez, Thomas Nyman, N. AsokanCCS 2025
  4. Synthesis of Sound and Precise Leakage Contracts for Open-Source RISC-V ProcessorsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke 等CCS 2025

它引用的 Paper21

  1. A Systematic Evaluation of Transient Execution Attacks and DefensesClaudio Canella, Jo Van Bulck, Michael Schwarz, Moritz Lipp 等USENIX Security 2019 · 442 次引用
  2. Plundervolt: Software-based Fault Injection Attacks against Intel SGXKit Murdock, David F. Oswald, Flavio D. Garcia, Jo Van Bulck 等S&P 2020 · 369 次引用
  3. Verifying Constant-Time ImplementationsJosé Bacelar Almeida, Manuel Barbosa, Gilles Barthe, François Dupressoir 等USENIX Security 2016 · 274 次引用
  4. Strong and Efficient Cache Side-Channel Protection using Hardware Transactional MemoryDaniel Gruss, Julian Lettner, Felix Schuster, Olga Ohrimenko 等USENIX Security 2017 · 254 次引用
  5. PLATYPUS: Software-based Power Side-Channel Attacks on x86Moritz Lipp, Andreas Kogler, David F. Oswald, Michael Schwarz 等S&P 2021 · 242 次引用

相关 Paper

  1. ProSpeCT: Provably Secure Speculation for the Constant-Time PolicyLesly-Ann Daniel, Marton Bognar, Job Noorman, Sébastien Bardin 等USENIX Security 2023
  2. Data Oblivious CPU: Microarchitectural Side-channel Leakage-Resilient ProcessorBehnam Omidi, Ihsen Alouani, Khaled N. KhasawnehDAC 2025
  3. Phantom Trails: Practical Pre-Silicon Discovery of Transient Data LeaksAlvise de Faveri Tron, Raphael Isemann, Hany Ragab, Cristiano Giuffrida 等USENIX Security 2025
  4. Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance ComputingJiyong Yu, Lucas Hsiung, Mohamad El Hajj, Christopher W. FletcherNDSS 2019 · 106 次引用
  5. FaSe: fast selective flushing to mitigate contention-based cache timing attacksTuo Li, Sri ParameswaranDAC 2022 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖