Lune

CCS2023Top-tier venue

Capacity: Cryptographically-Enforced In-Process Capabilities for Modern ARM Architectures

Kha Dinh Duy, Kyuwon Cho, Taehyun Noh, Hojoon Lee

Abstract

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.

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.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Endokernel: A Thread Safe Monitor for Lightweight Subprocess Isolation cites Shreds: Fine-Grained Execution Units with Private Memory
  • Endokernel: A Thread Safe Monitor for Lightweight Subprocess Isolation cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • SoK: Software Compartmentalization cites TIMBER-V: Tag-Isolated Memory Bringing Fine-grained Enclaves to RISC-V
  • SoK: Software Compartmentalization cites Shreds: Fine-Grained Execution Units with Private Memory
  • SoK: Software Compartmentalization cites ACES: Automatic Compartments for Embedded Systems
  • DirtyFree: Simplified Data-Oriented Programming in the Linux Kernel cites PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux
  • PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux cites PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
  • PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux cites ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • NanoTag: Systems Support for Efficient Byte-Granular Overflow Detection on ARM MTE cites TIMBER-V: Tag-Isolated Memory Bringing Fine-grained Enclaves to RISC-V
  • NanoTag: Systems Support for Efficient Byte-Granular Overflow Detection on ARM MTE cites PeTAL: Ensuring Access Control Integrity against Data-only Attacks on Linux
  • ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) cites Shreds: Fine-Grained Execution Units with Private Memory
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Endokernel: A Thread Safe Monitor for Lightweight Subprocess IsolationFangfei Yang, Bumjin Im, Weijie Huang, Kelly Kaoudis et al.USENIX Security 2024 · 8 citations
  2. PeTAL: Ensuring Access Control Integrity against Data-only Attacks on LinuxJuhee Kim, Jinbum Park, Yoochan Lee, Chengyu Song et al.CCS 2024 · 6 citations
  3. DirtyFree: Simplified Data-Oriented Programming in the Linux KernelYoochan Lee, Hyuk Kwon, Thorsten HolzNDSS 2026 · 1 citation
  4. NanoTag: Systems Support for Efficient Byte-Granular Overflow Detection on ARM MTEMingkai Li, Hang Ye, Joseph Devietti, Suman Jana et al.S&P 2026 · 1 citation
  5. SoK: Software CompartmentalizationHugo Lefeuvre, Nathan Dautenhahn, David Chisnall, Pierre OlivierS&P 2025

Builds on22

  1. ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler et al.USENIX Security 2019 · 247 citations
  2. PAC it up: Towards Pointer Integrity using ARM Pointer AuthenticationHans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez et al.USENIX Security 2019 · 168 citations
  3. Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 citations
  4. TIMBER-V: Tag-Isolated Memory Bringing Fine-grained Enclaves to RISC-VSamuel Weiser, Mario Werner, Ferdinand Brasser, Maja Malenko et al.NDSS 2019 · 115 citations
  5. ACES: Automatic Compartments for Embedded SystemsAbraham A. Clements, Naif Saleh Almakhdhub, Saurabh Bagchi, Mathias PayerUSENIX Security 2018 · 89 citations

Related papers

  1. Limitations and Opportunities of Modern Hardware Isolation MechanismsXiangdong Chen, Zhaofeng Li, Tirth Jain, Vikram Narayanan et al.USENIX ATC 2024 · 7 citations
  2. BASTAG: Byte-level Access Control on Shared Memory using ARM Memory Tagging ExtensionJunseung You, Jiwon Seo, Kyeongryong Lee, Yeongpil Cho et al.CCS 2025
  3. Capstone: A Capability-based Foundation for Trustless Secure Memory AccessJason Zhijingcheng Yu, Conrad Watt, Aditya Badole, Trevor E. Carlson et al.USENIX Security 2023
  4. MTSan: A Feasible and Practical Memory Sanitizer for Fuzzing COTS BinariesXingman Chen, Yinghao Shi, Zheyu Jiang, Yuan Li et al.USENIX Security 2023
  5. Tiktag: Breaking ARM's Memory Tagging Extension with Speculative ExecutionJuhee Kim, Jinbum Park, Sihyeon Roh, Jaeyoung Chung et al.S&P 2025
Dusk over the sea between two cliffs drawn in fine vertical lines