Lune

S&P2020顶会

xMP: Selective Memory Protection for Kernel and User Space

Sergej Proskurin, Marius Momeu, Seyedhamed Ghavamnia, Vasileios P. Kemerlis, Michalis Polychronakis

摘要

Attackers leverage memory corruption vulnerabilities to establish primitives for reading from or writing to the address space of a vulnerable process. These primitives form the foundation for code-reuse and data-oriented attacks. While various defenses against the former class of attacks have proven effective, mitigation of the latter remains an open problem. In this paper, we identify various shortcomings of the x86 architecture regarding memory isolation, and leverage virtualization to build an effective defense against data-oriented attacks. Our approach, called xMP, provides (in-guest) selective memory protection primitives that allow VMs to isolate sensitive data in user or kernel space in disjoint xMP domains. We interface the Xen altp2m subsystem with the Linux memory management system, lending VMs the flexibility to define custom policies. Contrary to conventional approaches, xMP takes advantage of virtualization extensions, but after initialization, it does not require any hypervisor intervention. To ensure the integrity of in-kernel management information and pointers to sensitive data within isolated domains, xMP protects pointers with HMACs bound to an immutable context, so that integrity validation succeeds only in the right context. We have applied xMP to protect the page tables and process credentials of the Linux kernel, as well as sensitive data in various user-space applications. Overall, our evaluation shows that xMP introduces minimal overhead for real-world workloads and applications, and offers effective protection against data-oriented attacks.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Spectre Attacks: Exploiting Speculative Execution
  • DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Block Oriented Programming: Automating Data-Only Attacks
  • DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Meltdown: Reading Kernel Memory from User Space
  • DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Block Oriented Programming: Automating Data-Only Attacks 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Meltdown: Reading Kernel Memory from User Space 引用了 Spectre Attacks: Exploiting Speculative Execution
  • A Systematic Study of Elastic Objects in Kernel Exploitation 引用了 Block Oriented Programming: Automating Data-Only Attacks
  • A Systematic Study of Elastic Objects in Kernel Exploitation 引用了 Meltdown: Reading Kernel Memory from User Space
  • Mitigating Information Leakage Vulnerabilities with Type-based Data Isolation 引用了 Spectre Attacks: Exploiting Speculative Execution
  • PAC it up: Towards Pointer Integrity using ARM Pointer Authentication 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • CETIS: Retrofitting Intel CET for Generic and Efficient Intra-process Memory Isolation 引用了 Block Oriented Programming: Automating Data-Only Attacks
  • CETIS: Retrofitting Intel CET for Generic and Efficient Intra-process Memory Isolation 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Annotating, Tracking, and Protecting Cryptographic Secrets with CryptoMPK 引用了 Spectre Attacks: Exploiting Speculative Execution
  • Annotating, Tracking, and Protecting Cryptographic Secrets with CryptoMPK 引用了 DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data Protection
  • Annotating, Tracking, and Protecting Cryptographic Secrets with CryptoMPK 引用了 Meltdown: Reading Kernel Memory from User Space
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper29

  1. DynPTA: Combining Static and Dynamic Analysis for Practical Selective Data ProtectionTapti Palit, Jarin Firose Moon, Fabian Monrose, Michalis PolychronakisS&P 2021 · 48 次引用
  2. A Systematic Study of Elastic Objects in Kernel ExploitationYueqi Chen, Zhenpeng Lin, Xinyu XingCCS 2020 · 35 次引用
  3. Annotating, Tracking, and Protecting Cryptographic Secrets with CryptoMPKXuancheng Jin, Xuangan Xiao, Songlin Jia, Wang Gao 等S&P 2022 · 31 次引用
  4. Mitigating Information Leakage Vulnerabilities with Type-based Data IsolationAlyssa Milburn, Erik van der Kouwe, Cristiano GiuffridaS&P 2022 · 16 次引用
  5. CETIS: Retrofitting Intel CET for Generic and Efficient Intra-process Memory IsolationMengyao Xie, Chenggang Wu, Yinqian Zhang, Jiali Xu 等CCS 2022 · 14 次引用

它引用的 Paper9

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin 等S&P 2019 · 2,435 次引用
  2. Meltdown: Reading Kernel Memory from User SpaceMoritz Lipp, Michael Schwarz, Daniel Gruss, Thomas Prescher 等USENIX Security 2018 · 1,456 次引用
  3. Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua 等S&P 2016 · 420 次引用
  4. PAC it up: Towards Pointer Integrity using ARM Pointer AuthenticationHans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez 等USENIX Security 2019 · 168 次引用
  5. Block Oriented Programming: Automating Data-Only AttacksKyriakos K. Ispoglou, Bader AlBassam, Trent Jaeger, Mathias PayerCCS 2018 · 143 次引用

相关 Paper

  1. IMIX: In-Process Memory Isolation EXtensionTommaso Frassetto, Patrick Jauernig, Christopher Liebchen, Ahmad-Reza SadeghiUSENIX Security 2018 · 77 次引用
  2. SEIMI: Efficient and Secure SMAP-Enabled Intra-process Memory IsolationZhe Wang, Chenggang Wu, Mengyao Xie, Yinqian Zhang 等S&P 2020 · 37 次引用
  3. HDFI: Hardware-Assisted Data-Flow IsolationChengyu Song, Hyungon Moon, Monjur Alam, Insu Yun 等S&P 2016 · 146 次引用
  4. VIP: Safeguard Value Invariant Property for Thwarting Critical Memory Corruption AttacksMohannad Ismail, Jinwoo Yom, Christopher Jelesnianski, Yeongjin Jang 等CCS 2021 · 8 次引用
  5. PeTAL: Ensuring Access Control Integrity against Data-only Attacks on LinuxJuhee Kim, Jinbum Park, Yoochan Lee, Chengyu Song 等CCS 2024 · 6 次引用
黄昏的海面,两侧是细线勾勒的悬崖