Mind the Heap: Preventing Capability Leakage Across CHERI Compartments
Seyedhamed Ghavamnia, Maurice D. Hanisch, Julien Vanegue
摘要
CAPability Warding by Automatically Restricting Dereference. Artifact for Mind the Heap: Preventing Capability Propagation Across CHERI Compartments. CHERI's library compartmentalization isolates code, but not the heap: a pointer handed across a compartment boundary remains a fully dereferenceable capability, so a compromised compartment can read and write any object it has ever been given. CAPWARD closes that gap automatically. It analyses a program's LLVM IR to find every struct type shared across a compartment boundary, decides which of them the non-owning compartment never actually dereferences, and rewrites the IR to seal those pointers with CHERI hardware seal/unseal operations at the boundary. A sealed capability can be stored and passed around but not dereferenced, so a pointer that leaks into a compromised compartment is inert there. The repository contains the analysis and instrumentation toolchain, the orchestration needed to apply it to real applications, the Rocq formalization, and the measurements reported in the paper.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- Efficient and provable local capability revocation using uninitialized capabilitiesAïna Linn Georges, Armaël Guéneau, Thomas Van Strydonck, Amin Timany 等POPL 2021 · 被引用 30 次
- Formal Mechanised Semantics of CHERI C: Capabilities, Undefined Behaviour, and ProvenanceVadim Zaliva, Kayvan Memarian, Ricardo Almeida, Jessica Clarke 等ASPLOS 2024 · 被引用 6 次
- PoisonCap: Efficient Hierarchical Temporal Safety for CHERIYuecheng Wang, Jonathan Woodruff, Alfredo Mazzinghi, Peter Rugg 等CCS 2026 · 被引用 3 次
- Capstone: A Capability-based Foundation for Trustless Secure Memory AccessJason Zhijingcheng Yu, Conrad Watt, Aditya Badole, Trevor E. Carlson 等USENIX Security 2023
- CHERIoT: Complete Memory Safety for Embedded DevicesSaar Amar, David Chisnall, Tony Chen, Nathaniel Wesley Filardo 等MICRO 2023 · 被引用 22 次
