Capacity: Cryptographically-Enforced In-Process Capabilities for Modern ARM Architectures
Kha Dinh Duy, Kyuwon Cho, Taehyun Noh, Hojoon Lee
摘要
In-process compartmentalization and access control have been actively explored to provide in-place and efficient isolation of inprocess security domains. Many works have proposed compartmentalization schemes that leverage hardware features. Newer ARM architectures introduce Pointer Authentication (PA) and Memory Tagging Extension (MTE), adapting the reference validation model for memory safety and runtime exploit mitigation. Despite their potential, these features are underexplored in the context of userspace program compartmentalization. This paper presents Capacity, a novel hardware-assisted intraprocess access control design that embraces capability-based security principles. Capacity coherently incorporates the new hardware security features on ARM, based on the insight that the features already exhibit inherent capability characteristics. It supports the life-cycle protection of the domain's sensitive objects -starting from their import from the file system to their place in memory. With intra-process domains authenticated with unique PA keys, Capacity transforms file descriptors and memory pointers into cryptographically-authenticated references and completely mediates reference usage with its program instrumentation framework and an efficient system call monitor. We evaluate our Capacity-enabled NGINX web server prototype and other common applications in which sensitive resources are isolated into different domains. Our evaluation shows that Capacity incurs a lowperformance overhead of approximately 17% for the single-threaded and 13.54% for the multi-threaded webserver.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Endokernel: A Thread Safe Monitor for Lightweight Subprocess Isolation 引用了 Shreds: Fine-Grained Execution Units with Private Memory
- Endokernel: A Thread Safe Monitor for Lightweight Subprocess Isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- SoK: Software Compartmentalization 引用了 TIMBER-V: Tag-Isolated Memory Bringing Fine-grained Enclaves to RISC-V
- SoK: Software Compartmentalization 引用了 Shreds: Fine-Grained Execution Units with Private Memory
- SoK: Software Compartmentalization 引用了 ACES: Automatic Compartments for Embedded Systems
- DirtyFree: Simplified Data-Oriented Programming in the Linux Kernel 引用了 PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux
- PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux 引用了 PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
- PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- NanoTag: Systems Support for Efficient Byte-Granular Overflow Detection on ARM MTE 引用了 TIMBER-V: Tag-Isolated Memory Bringing Fine-grained Enclaves to RISC-V
- NanoTag: Systems Support for Efficient Byte-Granular Overflow Detection on ARM MTE 引用了 PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux
- ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) 引用了 Shreds: Fine-Grained Execution Units with Private Memory
引用它的顶会 Paper10
- Endokernel: A Thread Safe Monitor for Lightweight Subprocess IsolationFangfei Yang, Bumjin Im, Weijie Huang, Kelly Kaoudis 等USENIX Security 2024 · 8 次引用
- PeTAL: Ensuring Access Control Integrity against Data-only Attacks on LinuxJuhee Kim, Jinbum Park, Yoochan Lee, Chengyu Song 等CCS 2024 · 6 次引用
- DirtyFree: Simplified Data-Oriented Programming in the Linux KernelYoochan Lee, Hyuk Kwon, Thorsten HolzNDSS 2026 · 1 次引用
- NanoTag: Systems Support for Efficient Byte-Granular Overflow Detection on ARM MTEMingkai Li, Hang Ye, Joseph Devietti, Suman Jana 等S&P 2026 · 1 次引用
- SoK: Software CompartmentalizationHugo Lefeuvre, Nathan Dautenhahn, David Chisnall, Pierre OlivierS&P 2025
它引用的 Paper22
- ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler 等USENIX Security 2019 · 247 次引用
- PAC it up: Towards Pointer Integrity using ARM Pointer AuthenticationHans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez 等USENIX Security 2019 · 168 次引用
- Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 次引用
- TIMBER-V: Tag-Isolated Memory Bringing Fine-grained Enclaves to RISC-VSamuel Weiser, Mario Werner, Ferdinand Brasser, Maja Malenko 等NDSS 2019 · 115 次引用
- ACES: Automatic Compartments for Embedded SystemsAbraham A. Clements, Naif Saleh Almakhdhub, Saurabh Bagchi, Mathias PayerUSENIX Security 2018 · 89 次引用
相关 Paper
- Limitations and Opportunities of Modern Hardware Isolation MechanismsXiangdong Chen, Zhaofeng Li, Tirth Jain, Vikram Narayanan 等USENIX ATC 2024 · 7 次引用
- BASTAG: Byte-level Access Control on Shared Memory using ARM Memory Tagging ExtensionJunseung You, Jiwon Seo, Kyeongryong Lee, Yeongpil Cho 等CCS 2025
- Capstone: A Capability-based Foundation for Trustless Secure Memory AccessJason Zhijingcheng Yu, Conrad Watt, Aditya Badole, Trevor E. Carlson 等USENIX Security 2023
- MTSan: A Feasible and Practical Memory Sanitizer for Fuzzing COTS BinariesXingman Chen, Yinghao Shi, Zheyu Jiang, Yuan Li 等USENIX Security 2023
- Tiktag: Breaking ARM's Memory Tagging Extension with Speculative ExecutionJuhee Kim, Jinbum Park, Sihyeon Roh, Jaeyoung Chung 等S&P 2025
