Lune

USENIX Security2024顶会

Endokernel: A Thread Safe Monitor for Lightweight Subprocess Isolation

Fangfei Yang, Bumjin Im, Weijie Huang, Kelly Kaoudis, Anjo Vahldiek-Oberwagner, Chia-Che Tsai, Nathan Dautenhahn

摘要

Compartmentalization decomposes applications into isolated components, effectively confining the scope of potential security breaches. Recent approaches nest the protection monitor within processes for efficient memory isolation at the cost of security. However, these systems lack solutions for efficient multithreaded safety and neglect kernel semantics that can be abused to bypass the monitor.

The Endokernel is an intra-process security monitor that isolates memory at subprocess granularity. It ensures backwards-compatible and secure emulation of system interfaces, a task uniquely challenging due to the need to analyze OS and hardware semantics beyond mere interface usability. We introduce an inside-out methodology where we identify core OS primitives that allow bypass and map that back to the interfaces that depend on them. This approach led to the identification of several missing policies as well as aided in developing a fine-grained locking approach to deal with complex thread safety when inserting a monitor between the OS and the application. Results indicate that we can achieve fast isolation while greatly enhancing security and maintaining backwards-compatibility, and also showing a new method for systematically finding gaps in policies.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • SoK: On the Fragility of Memory Error Exploit Mitigations 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • SEIMI: Efficient and Secure SMAP-Enabled Intra-process Memory Isolation 引用了 Enforcing Least Privilege Memory Views for Multithreaded Applications
  • SEIMI: Efficient and Secure SMAP-Enabled Intra-process Memory Isolation 引用了 Shreds: Fine-Grained Execution Units with Private Memory
  • SEIMI: Efficient and Secure SMAP-Enabled Intra-process Memory Isolation 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening 引用了 SEIMI: Efficient and Secure SMAP-Enabled Intra-process Memory Isolation
  • Secpoline: A Scalable Approach to Build Secure In-Process Syscall Interposers 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Efficient Linkage-Based Compartmentalization on CHERI 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication 引用了 Enforcing Least Privilege Memory Views for Multithreaded Applications
  • Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication 引用了 Shreds: Fine-Grained Execution Units with Private Memory
  • Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication 引用了 SHARD: Fine-Grained Kernel Specialization with Context-Aware Hardening
  • Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote Communication 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
  • ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) 引用了 Enforcing Least Privilege Memory Views for Multithreaded Applications
  • ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) 引用了 Shreds: Fine-Grained Execution Units with Private Memory
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper4

  1. Pegasus: Transparent and Unified Kernel-Bypass Networking for Fast Local and Remote CommunicationDinglan Peng, Congyu Liu, Tapti Palit, Anjo Vahldiek-Oberwagner 等EuroSys 2025 · 6 次引用
  2. SoK: On the Fragility of Memory Error Exploit MitigationsAdriaan Jacobs, Mahmoud Ammar, Stijn VolckaertUSENIX Security 2026
  3. Secpoline: A Scalable Approach to Build Secure In-Process Syscall InterposersRuben Sturm, Anton Schelfhout, Merve Gülmez, Adriaan Jacobs 等USENIX Security 2026
  4. Efficient Linkage-Based Compartmentalization on CHERIDapeng Gao, John Baldwin, Jessica Clarke, Nicholas C. Connolly 等CCS 2026

它引用的 Paper17

  1. ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler 等USENIX Security 2019 · 247 次引用
  2. Shreds: Fine-Grained Execution Units with Private MemoryYaohui Chen, Sebassujeen Reymondjohnson, Zhichuang Sun, Long LuS&P 2016 · 116 次引用
  3. Enforcing Least Privilege Memory Views for Multithreaded ApplicationsTerry Ching-Hsiang Hsu, Kevin J. Hoffman, Patrick Eugster, Mathias PayerCCS 2016 · 71 次引用
  4. SHARD: Fine-Grained Kernel Specialization with Context-Aware HardeningMuhammad Abubakar, Adil Ahmad, Pedro Fonseca, Dongyan XuUSENIX Security 2021 · 47 次引用
  5. SEIMI: Efficient and Secure SMAP-Enabled Intra-process Memory IsolationZhe Wang, Chenggang Wu, Mengyao Xie, Yinqian Zhang 等S&P 2020 · 37 次引用

相关 Paper

  1. PKU Pitfalls: Attacks on PKU-based Memory Isolation SystemsR. Joseph Connor, Tyler McDaniel, Jared M. Smith, Max SchuchardUSENIX Security 2020
  2. EKC: A Portable and Extensible Kernel Compartment for De-Privileging Commodity OSJiaqin Yan, Qiujiang Chen, Shuai Zhou, Yuke Peng 等USENIX Security 2025
  3. BULKHEAD: Secure, Scalable, and Efficient Kernel Compartmentalization with PKSYinggang Guo, Zicheng Wang, Weiheng Bai, Qingkai Zeng 等NDSS 2025
  4. EC: Embedded Systems Compartmentalization via Intra-Kernel IsolationArslan Khan, Dongyan Xu, Dave Jing TianS&P 2023
  5. VDom: Fast and Unlimited Virtual Domains on Multiple ArchitecturesZiqi Yuan, Siyu Hong, Rui Chang, Yajin Zhou 等ASPLOS 2023 · 19 次引用
黄昏的海面,两侧是细线勾勒的悬崖