CHEx86: Context-Sensitive Enforcement of Memory Safety via Microcode-Enabled Capabilities
Rasool Sharifi, Ashish Venkat
摘要
This work introduces the CHEx86 processor architecture for securing applications, including legacy binaries, against a wide array of security exploits that target temporal and spatial memory safety vulnerabilities such as out-of-bounds accesses, use-after-free, double-free, and uninitialized reads, by instrumenting the code at the microcode-level, completely under-the-hood, with only limited access to source-level symbol information. In addition, this work presents a novel scheme for speculatively tracking pointer arithmetic and pointer movement, including the detection of pointer aliases in memory, at the machine code-level using a configurable set of automatically constructed rules. This architecture outperforms the address sanitizer, a state-of-the-art software-based mitigation by 59%, while eliminating porting, deployment, and verification costs that are invariably associated with recompilation.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 13 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Hardware-based Always-On Heap Memory Safety 引用了 Spectre Attacks: Exploiting Speculative Execution
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks 引用了 Hardware-based Always-On Heap Memory Safety
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks 引用了 Spectre Attacks: Exploiting Speculative Execution
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks 引用了 No-FAT: Architectural Support for Low Overhead Memory Safety Checks
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks
- Cryptographic Capability Computing 引用了 Hardware-based Always-On Heap Memory Safety
- I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches 引用了 Spectre Attacks: Exploiting Speculative Execution
- I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches 引用了 HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security
- HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security 引用了 Automatic Heap Layout Manipulation for Exploitation
- HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security 引用了 FreeGuard: A Faster Secure Heap Allocator
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing 引用了 Spectre Attacks: Exploiting Speculative Execution
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 Hardware-based Always-On Heap Memory Safety
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 Spectre Attacks: Exploiting Speculative Execution
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks 引用了 I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches
引用它的顶会 Paper13
- I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op CachesXida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan 等ISCA 2021 · 59 次引用
- Hardware-based Always-On Heap Memory SafetyYonghae Kim, Jaekyu Lee, Hyesoon KimMICRO 2020 · 41 次引用
- Cryptographic Capability ComputingMichael LeMay, Joydeep Rakshit, Sergej Deutsch, David M. Durham 等MICRO 2021 · 29 次引用
- No-FAT: Architectural Support for Low Overhead Memory Safety ChecksMohamed Tarek Ibn Ziad, Miguel A. Arroyo, Evgeny Manzhosov, Ryan Piersma 等ISCA 2021 · 26 次引用
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity AttacksMohamed Tarek Ibn Ziad, Miguel A. Arroyo, Evgeny Manzhosov, Simha SethumadhavanISCA 2021 · 17 次引用
它引用的 Paper8
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance ComputingJiyong Yu, Lucas Hsiung, Mohamad El Hajj, Christopher W. FletcherNDSS 2019 · 106 次引用
- FreeGuard: A Faster Secure Heap AllocatorSam Silvestro, Hongyu Liu, Corey Crosser, Zhiqiang Lin 等CCS 2017 · 71 次引用
- Automatic Heap Layout Manipulation for ExploitationSean Heelan, Tom Melham, Daniel KroeningUSENIX Security 2018 · 62 次引用
- HeapHopper: Bringing Bounded Model Checking to Heap Implementation SecurityMoritz Eckert, Antonio Bianchi, Ruoyu Wang, Yan Shoshitaishvili 等USENIX Security 2018 · 62 次引用
相关 Paper
- MTSan: A Feasible and Practical Memory Sanitizer for Fuzzing COTS BinariesXingman Chen, Yinghao Shi, Zheyu Jiang, Yuan Li 等USENIX Security 2023
- CAMP: Compiler and Allocator-based Heap Memory ProtectionZhenpeng Lin, Zheng Yu, Ziyi Guo, Simone Campanoni 等USENIX Security 2024 · 14 次引用
- Speculation at Fault: Modeling and Testing Microarchitectural Leakage of CPU ExceptionsJana Hofmann, Emanuele Vannacci, Cédric Fournet, Boris Köpf 等USENIX Security 2023
- Mitigating Information Leakage Vulnerabilities with Type-based Data IsolationAlyssa Milburn, Erik van der Kouwe, Cristiano GiuffridaS&P 2022 · 16 次引用
- Mon CHERI: Mitigating Uninitialized Memory Access with Conditional CapabilitiesMerve Gülmez, Håkan Englund, Jan Tobias Mühlberg, Thomas NymanS&P 2025
