SpecFuzz: Bringing Spectre-type vulnerabilities to the surface
Oleksii Oleksenko, Bohdan Trach, Mark Silberstein, Christof Fetzer
摘要
SpecFuzz is the first tool that enables dynamic testing for speculative execution vulnerabilities (e.g., Spectre). The key is a novel concept of speculation exposure: The program is instrumented to simulate speculative execution in software by forcefully executing the code paths that could be triggered due to mispredictions, thereby making the speculative memory accesses visible to integrity checkers (e.g., AddressSanitizer). Combined with the conventional fuzzing techniques, speculation exposure enables more precise identification of potential vulnerabilities compared to state-of-the-art static analyzers. Our prototype for detecting Spectre V1 vulnerabilities successfully identifies all known variations of Spectre V1 and decreases the mitigation overheads across the evaluated applications, reducing the amount of instrumented branches by up to 77% given a sufficient test coverage.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 36 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Spectre Attacks: Exploiting Speculative Execution
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Meltdown: Reading Kernel Memory from User Space
- Spectector: Principled Detection of Speculative Information Flows 引用了 Spectre Attacks: Exploiting Speculative Execution
- Spectector: Principled Detection of Speculative Information Flows 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution Attacks 引用了 Spectre Attacks: Exploiting Speculative Execution
- Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution Attacks 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution Attacks 引用了 Meltdown: Reading Kernel Memory from User Space
- Revizor: testing black-box CPUs against speculation contracts 引用了 Spectre Attacks: Exploiting Speculative Execution
- Revizor: testing black-box CPUs against speculation contracts 引用了 Spectector: Principled Detection of Speculative Information Flows
- Revizor: testing black-box CPUs against speculation contracts 引用了 Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution Attacks
- Revizor: testing black-box CPUs against speculation contracts 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- Revizor: testing black-box CPUs against speculation contracts 引用了 Meltdown: Reading Kernel Memory from User Space
- Revizor: testing black-box CPUs against speculation contracts 引用了 SoK: Practical Foundations for Software Spectre Defenses
- An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 Spectre Attacks: Exploiting Speculative Execution
- An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 Spectector: Principled Detection of Speculative Information Flows
- An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- An Analysis of Speculative Type Confusion Vulnerabilities in the Wild 引用了 Meltdown: Reading Kernel Memory from User Space
- ret2spec: Speculative Execution Using Return Stack Buffers 引用了 Spectre Attacks: Exploiting Speculative Execution
- Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
- Meltdown: Reading Kernel Memory from User Space 引用了 Strong and Efficient Cache Side-Channel Protection using Hardware Transactional Memory
- SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectre Attacks: Exploiting Speculative Execution
- SoK: Practical Foundations for Software Spectre Defenses 引用了 Spectector: Principled Detection of Speculative Information Flows
- SoK: Practical Foundations for Software Spectre Defenses 引用了 An Analysis of Speculative Type Confusion Vulnerabilities in the Wild
- SoK: Practical Foundations for Software Spectre Defenses 引用了 ret2spec: Speculative Execution Using Return Stack Buffers
- SoK: Practical Foundations for Software Spectre Defenses 引用了 Meltdown: Reading Kernel Memory from User Space
引用它的顶会 Paper36
- Rage Against the Machine Clear: A Systematic Analysis of Machine Clears and Their Implications for Transient Execution AttacksHany Ragab, Enrico Barberis, Herbert Bos, Cristiano GiuffridaUSENIX Security 2021 · 76 次引用
- SoK: Practical Foundations for Software Spectre DefensesSunjay Cauligi, Craig Disselkoen, Daniel Moghimi, Gilles Barthe 等S&P 2022 · 59 次引用
- DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data ProtectionTapti Palit, Jarin Firose Moon, Fabian Monrose, Michalis PolychronakisS&P 2021 · 48 次引用
- An Analysis of Speculative Type Confusion Vulnerabilities in the WildOfek Kirzner, Adam MorrisonUSENIX Security 2021 · 40 次引用
- Revizor: testing black-box CPUs against speculation contractsOleksii Oleksenko, Christof Fetzer, Boris Köpf, Mark SilbersteinASPLOS 2022 · 36 次引用
它引用的 Paper6
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
- ret2spec: Speculative Execution Using Return Stack BuffersGiorgi Maisuradze, Christian RossowCCS 2018 · 282 次引用
- Strong and Efficient Cache Side-Channel Protection using Hardware Transactional MemoryDaniel Gruss, Julian Lettner, Felix Schuster, Olga Ohrimenko 等USENIX Security 2017 · 254 次引用
- Spectector: Principled Detection of Speculative Information FlowsMarco Guarnieri, Boris Köpf, José F. Morales, Jan Reineke 等S&P 2020 · 177 次引用
相关 Paper
- SpecTaint: Speculative Taint Analysis for Discovering Spectre GadgetsZhenxiao Qi, Qian Feng, Yueqiang Cheng, Mengjia Yan 等NDSS 2021
- BPUFuzzer: Effective Fuzz Testing for Branching Transient Execution Vulnerabilities of RISC-V CPURihui Sun, Jin Wu, Hanyin Liu, Zikang Tao 等DAC 2025
- Phantom Trails: Practical Pre-Silicon Discovery of Transient Data LeaksAlvise de Faveri Tron, Raphael Isemann, Hany Ragab, Cristiano Giuffrida 等USENIX Security 2025
- SpecDoctor: Differential Fuzz Testing to Find Transient Execution VulnerabilitiesJaewon Hur, Suhwan Song, Sunwoo Kim, Byoungyoung LeeCCS 2022 · 19 次引用
- SDFuzz: Target States Driven Directed FuzzingPenghui Li, Wei Meng, Chao ZhangUSENIX Security 2024 · 16 次引用
