CHEx86: Context-Sensitive Enforcement of Memory Safety via Microcode-Enabled Capabilities
Rasool Sharifi, Ashish Venkat
Abstract
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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
13 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Hardware-based Always-On Heap Memory Safety cites Spectre Attacks: Exploiting Speculative Execution
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks cites Hardware-based Always-On Heap Memory Safety
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks cites Spectre Attacks: Exploiting Speculative Execution
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks cites No-FAT: Architectural Support for Low Overhead Memory Safety Checks
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks cites ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity Attacks
- Cryptographic Capability Computing cites Hardware-based Always-On Heap Memory Safety
- I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches cites Spectre Attacks: Exploiting Speculative Execution
- I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches cites HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security
- HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security cites Automatic Heap Layout Manipulation for Exploitation
- HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security cites FreeGuard: A Faster Secure Heap Allocator
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance Computing cites Spectre Attacks: Exploiting Speculative Execution
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks cites Hardware-based Always-On Heap Memory Safety
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks cites Spectre Attacks: Exploiting Speculative Execution
- No-FAT: Architectural Support for Low Overhead Memory Safety Checks cites I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches
Cited by top-tier papers13
- I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op CachesXida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan et al.ISCA 2021 · 59 citations
- Hardware-based Always-On Heap Memory SafetyYonghae Kim, Jaekyu Lee, Hyesoon KimMICRO 2020 · 41 citations
- Cryptographic Capability ComputingMichael LeMay, Joydeep Rakshit, Sergej Deutsch, David M. Durham et al.MICRO 2021 · 29 citations
- No-FAT: Architectural Support for Low Overhead Memory Safety ChecksMohamed Tarek Ibn Ziad, Miguel A. Arroyo, Evgeny Manzhosov, Ryan Piersma et al.ISCA 2021 · 26 citations
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity AttacksMohamed Tarek Ibn Ziad, Miguel A. Arroyo, Evgeny Manzhosov, Simha SethumadhavanISCA 2021 · 17 citations
Builds on8
- Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
- Data Oblivious ISA Extensions for Side Channel-Resistant and High Performance ComputingJiyong Yu, Lucas Hsiung, Mohamad El Hajj, Christopher W. FletcherNDSS 2019 · 106 citations
- FreeGuard: A Faster Secure Heap AllocatorSam Silvestro, Hongyu Liu, Corey Crosser, Zhiqiang Lin et al.CCS 2017 · 71 citations
- Automatic Heap Layout Manipulation for ExploitationSean Heelan, Tom Melham, Daniel KroeningUSENIX Security 2018 · 62 citations
- HeapHopper: Bringing Bounded Model Checking to Heap Implementation SecurityMoritz Eckert, Antonio Bianchi, Ruoyu Wang, Yan Shoshitaishvili et al.USENIX Security 2018 · 62 citations
Related papers
- MTSan: A Feasible and Practical Memory Sanitizer for Fuzzing COTS BinariesXingman Chen, Yinghao Shi, Zheyu Jiang, Yuan Li et al.USENIX Security 2023
- CAMP: Compiler and Allocator-based Heap Memory ProtectionZhenpeng Lin, Zheng Yu, Ziyi Guo, Simone Campanoni et al.USENIX Security 2024 · 14 citations
- Speculation at Fault: Modeling and Testing Microarchitectural Leakage of CPU ExceptionsJana Hofmann, Emanuele Vannacci, Cédric Fournet, Boris Köpf et al.USENIX Security 2023
- Mitigating Information Leakage Vulnerabilities with Type-based Data IsolationAlyssa Milburn, Erik van der Kouwe, Cristiano GiuffridaS&P 2022 · 16 citations
- Mon CHERI: Mitigating Uninitialized Memory Access with Conditional CapabilitiesMerve Gülmez, Håkan Englund, Jan Tobias Mühlberg, Thomas NymanS&P 2025
