2021 · 31 citations · 27 references
ComputingComputer EngineeringComputer ScienceCompilersComputer SecurityCryptographyCryptographic VulnerabilitiesMicroarchitectural SecuritySoftware Vulnerability DiscoverySpeculative ExecutionStatic Vulnerability AnalysisSymbolic ExecutionMicroarchitectural OptimizationPath ExplosionSpectre AttacksSpeculative Execution AttacksSpeculative OptimizationState Space ExplorationSymbolic AnalysisSymbolic Execution Engines
Spectre are microarchitectural attacks which were made public in January 2018. They allow an attacker to recover secrets by exploiting speculations. Detection of Spectre is particularly important for cryptographic libraries and defenses at the software level have been proposed. Yet, defenses correctness and Spectre detection pose challenges due on one hand to the explosion of the exploration space induced by speculative paths, and on the other hand to the introduction of new Spectre vulnerabilities at different compilation stages. We propose an optimization, coined Haunted RelSE, that allows scalable detection of Spectre vulnerabilities at binary level. We prove the optimization semantically correct w.r.t. the more naive explicit speculative exploration approach used in state-of-the-art tools. We implement Haunted RelSE in a symbolic analysis tool, and extensively test it on a wellknown litmus testset for Spectre-PHT, and on a new litmus testset for Spectre-STL, which we propose. Our technique finds more violations and scales better than state-of-the-art techniques and tools, analyzing real-world cryptographic libraries and finding new violations. Thanks to our tool, we discover that indexmasking-a standard defense for Spectre-PHT-and well-known gcc options to compile position independent executables introduce Spectre-STL violations. We propose and verify a correction to index-masking to avoid the problem.
27
Symbolic execution and program testing
James C. King · Communications of the ACM · 1976 · 3K citations · Full text
Automated Whitebox Fuzz Testing.
Patrice Godefroid, Michael Y. Levin, David A. Molnar · 2008 · 1.1K citations
SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
Yan Shoshitaishvili, Ruoyu Wang, Christopher Salls et al. · 2016 · 911 citations · Full text
SAGE: Whitebox Fuzzing for Security Testing
Patrice Godefroid, Michael Y. Levin, Dávid Molnár · Queue · 2012 · 316 citations · Full text