Lune

ASPLOS2022顶会

Revizor: testing black-box CPUs against speculation contracts

Oleksii Oleksenko, Christof Fetzer, Boris Köpf, Mark Silberstein

摘要

Speculative vulnerabilities such as Spectre and Meltdown expose speculative execution state that can be exploited to leak information across security domains via side-channels. Such vulnerabilities often stay undetected for a long time as we lack the tools for systematic testing of CPUs to find them.

In this paper, we propose an approach to automatically detect microarchitectural information leakage in commercial black-box CPUs. We build on speculation contracts, which we employ to specify the permitted side effects of program execution on the CPU's microarchitectural state. We propose a Model-based Relational Testing (MRT) technique to empirically assess the CPU compliance with these specifications.

We implement MRT in a testing framework called Revizor, and showcase its effectiveness on real Intel x86 CPUs. Revizor automatically detects violations of a rich set of contracts, or indicates their absence. A highlight of our findings is that Revizor managed to automatically surface Spectre, MDS, and LVI, as well as several previously unknown variants.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Spectre Attacks: Exploiting Speculative Execution
  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 RIDL: Rogue In-Flight Data Load
  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Meltdown: Reading Kernel Memory from User Space
  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Serberus: Protecting Cryptographic Code from Spectres at Compile-Time
  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Pensieve: Microarchitectural Modeling for Security Evaluation
  • RTL Verification for Secure Speculation Using Contract Shadow Logic 引用了 Fallout: Leaking Data on Meltdown-resistant CPUs
  • ZombieLoad: Cross-Privilege-Boundary Data Sampling 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 RIDL: Rogue In-Flight Data Load
  • Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts 引用了 Meltdown: Reading Kernel Memory from User Space
  • RIDL: Rogue In-Flight Data Load 引用了 Spectre Attacks: Exploiting Speculative Execution
  • RIDL: Rogue In-Flight Data Load 引用了 Meltdown: Reading Kernel Memory from User Space
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors 引用了 Spectre Attacks: Exploiting Speculative Execution
  • WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors 引用了 Specification and Verification of Side-channel Security for Open-source Processors via Leakage Contracts
  • WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors 引用了 RIDL: Rogue In-Flight Data Load
  • Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 RIDL: Rogue In-Flight Data Load
  • Serberus: Protecting Cryptographic Code from Spectres at Compile-Time 引用了 Fallout: Leaking Data on Meltdown-resistant CPUs
  • Pensieve: Microarchitectural Modeling for Security Evaluation 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Pensieve: Microarchitectural Modeling for Security Evaluation 引用了 Meltdown: Reading Kernel Memory from User Space
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 ZombieLoad: Cross-Privilege-Boundary Data Sampling
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 RIDL: Rogue In-Flight Data Load
  • Fallout: Leaking Data on Meltdown-resistant CPUs 引用了 Meltdown: Reading Kernel Memory from User Space
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper29

  1. WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in ProcessorsPallavi Borkar, Chen Chen, Mohamadreza Rostami, Nikhilesh Singh 等USENIX Security 2024 · 31 次引用
  2. Pensieve: Microarchitectural Modeling for Security EvaluationYuheng Yang, Thomas Bourgeat, Stella Lau, Mengjia YanISCA 2023 · 23 次引用
  3. Specification and Verification of Side-channel Security for Open-source Processors via Leakage ContractsZilong Wang, Gideon Mohr, Klaus von Gleissenthall, Jan Reineke 等CCS 2023 · 20 次引用
  4. Serberus: Protecting Cryptographic Code from Spectres at Compile-TimeNicholas Mosier, Hamed Nemati, John C. Mitchell, Caroline TrippelS&P 2024 · 16 次引用
  5. RTL Verification for Secure Speculation Using Contract Shadow LogicQinhan Tan, Yuheng Yang, Thomas Bourgeat, Sharad Malik 等ASPLOS 2025 · 12 次引用

它引用的 Paper20

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
  3. ZombieLoad: Cross-Privilege-Boundary Data SamplingMichael Schwarz, Moritz Lipp, Daniel Moghimi, Jo Van Bulck 等CCS 2019 · 464 次引用
  4. RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo 等S&P 2019 · 408 次引用
  5. Fallout: Leaking Data on Meltdown-resistant CPUsClaudio Canella, Daniel Genkin, Lukas Giner, Daniel Gruss 等CCS 2019 · 289 次引用

相关 Paper

  1. Speculation at Fault: Modeling and Testing Microarchitectural Leakage of CPU ExceptionsJana Hofmann, Emanuele Vannacci, Cédric Fournet, Boris Köpf 等USENIX Security 2023
  2. Enter, Exit, Page Fault, Leak ‡{ }^{\ddagger}: Testing Isolation Boundaries for Microarchitectural LeaksOleksii Oleksenko, Flavien Solt, Cédric Fournet, Jana Hofmann 等S&P 2026 · 4 次引用
  3. Hide and Seek with Spectres: Efficient discovery of speculative information leaks with random testingOleksii Oleksenko, Marco Guarnieri, Boris Köpf, Mark SilbersteinS&P 2023
  4. Phantom Trails: Practical Pre-Silicon Discovery of Transient Data LeaksAlvise de Faveri Tron, Raphael Isemann, Hany Ragab, Cristiano Giuffrida 等USENIX Security 2025
  5. Trevex: A Black-Box Detection Framework for Data-Flow Transient Execution VulnerabilitiesDaniel Weber, Fabian Thomas, Leon Trampert, Ruiyi Zhang 等S&P 2026 · 1 次引用
黄昏的海面,两侧是细线勾勒的悬崖