VIP: Safeguard Value Invariant Property for Thwarting Critical Memory Corruption Attacks
Mohannad Ismail, Jinwoo Yom, Christopher Jelesnianski, Yeongjin Jang, Changwoo Min
摘要
Most modern software attacks are rooted in memory corruption vulnerabilities, which are capable of altering security-sensitive data (e.g., function pointers) to unintended values. This paper introduces a new security property, the Value Invariant Property (VIP), and HyperSpace, our prototype that enforces VIP on security-sensitive data. HyperSpace safeguards the integrity of "data values" instead of enforcing control/data flow, allowing for low runtime overhead, yet defeating critical attacks effectively. We implement four representative security policies including Control Flow Integrity (VIP-CFI), Code Pointer Integrity (VIP-CPI), Virtual function Table protection (VIP-VTPtr), and heap metadata protection based on HyperSpace. We evaluate HyperSpace with SPEC CPU2006 benchmarks and real-world applications (NGINX and PostgreSQL) and test how HyperSpace defeats memory corruption-based attacks, including three real-world exploits and six attacks that bypass existing defenses (COOP, heap exploits, etc.). Our experimental evaluation shows that HyperSpace successfully stops all these attacks with low runtime overhead: 0.88% and 6.18% average performance overhead for VIP-CFI and VIP-CPI, respectively, and overall approximately 13.18% memory overhead with VIP-CPI in SPEC CPU2006.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 8 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Segue & ColorGuard: Optimizing SFI Performance and Scalability on Modern Architectures 引用了 You shall not (by)pass!: practical, secure, and fast PKU-based sandboxing
- Segue & ColorGuard: Optimizing SFI Performance and Scalability on Modern Architectures 引用了 Protect the System Call, Protect (Most of) the World with BASTION
- Segue & ColorGuard: Optimizing SFI Performance and Scalability on Modern Architectures 引用了 ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)
- You shall not (by)pass!: practical, secure, and fast PKU-based sandboxing 引用了 SoK: Shining Light on Shadow Stacks
- Protect the System Call, Protect (Most of) the World with BASTION 引用了 SoK: Shining Light on Shadow Stacks
- Protect the System Call, Protect (Most of) the World with BASTION 引用了 Enforcing Unique Code Target Property for Control-Flow Integrity
- Enforcing Unique Code Target Property for Control-Flow Integrity 引用了 A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary Level
- Enforcing C/C++ Type and Scope at Runtime for Control-Flow and Data-Flow Integrity 引用了 HDFI: Hardware-Assisted Data-Flow Isolation
- Enforcing C/C++ Type and Scope at Runtime for Control-Flow and Data-Flow Integrity 引用了 Enforcing Unique Code Target Property for Control-Flow Integrity
- On Bridging the Gap between Control Flow Integrity and Attestation Schemes 引用了 Enforcing Unique Code Target Property for Control-Flow Integrity
- On Bridging the Gap between Control Flow Integrity and Attestation Schemes 引用了 Enforcing C/C++ Type and Scope at Runtime for Control-Flow and Data-Flow Integrity
- ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK) 引用了 SoK: Shining Light on Shadow Stacks
引用它的顶会 Paper8
- You shall not (by)pass!: practical, secure, and fast PKU-based sandboxingAlexios Voulimeneas, Jonas Vinck, Ruben Mechelinck, Stijn VolckaertEuroSys 2022 · 33 次引用
- Protect the System Call, Protect (Most of) the World with BASTIONChristopher Jelesnianski, Mohannad Ismail, Yeongjin Jang, Dan Williams 等ASPLOS 2023 · 15 次引用
- On Bridging the Gap between Control Flow Integrity and Attestation SchemesMahmoud Ammar, Ahmed Abdelraoof, Silviu VlasceanuUSENIX Security 2024 · 9 次引用
- Enforcing C/C++ Type and Scope at Runtime for Control-Flow and Data-Flow IntegrityMohannad Ismail, Christopher Jelesnianski, Yeongjin Jang, Changwoo Min 等ASPLOS 2024 · 3 次引用
- Segue & ColorGuard: Optimizing SFI Performance and Scalability on Modern ArchitecturesShravan Narayan, Tal Garfinkel, Evan Johnson, Zachary Yedidia 等ASPLOS 2025 · 1 次引用
它引用的 Paper19
- ERIM: Secure, Efficient In-process Isolation with Protection Keys (MPK)Anjo Vahldiek-Oberwagner, Eslam Elnikety, Nuno O. Duarte, Michael Sammler 等USENIX Security 2019 · 247 次引用
- A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary LevelVictor van der Veen, Enes Göktas, Moritz Contag, Andre Pawlowski 等S&P 2016 · 227 次引用
- SoK: Shining Light on Shadow StacksNathan Burow, Xinping Zhang, Mathias PayerS&P 2019 · 170 次引用
- HDFI: Hardware-Assisted Data-Flow IsolationChengyu Song, Hyungon Moon, Monjur Alam, Insu Yun 等S&P 2016 · 146 次引用
- Enforcing Unique Code Target Property for Control-Flow IntegrityHong Hu, Chenxiong Qian, Carter Yagemann, Simon Pak Ho Chung 等CCS 2018 · 142 次引用
相关 Paper
- xMP: Selective Memory Protection for Kernel and User SpaceSergej Proskurin, Marius Momeu, Seyedhamed Ghavamnia, Vasileios P. Kemerlis 等S&P 2020 · 89 次引用
- Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris 等NDSS 2016 · 141 次引用
- SHORE: Hardware/Software Method for Memory Safety Acceleration on RISC-VHsu-Kang Dow, Tuo Li, William Miles, Sri ParameswaranDAC 2021 · 4 次引用
- Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient DiversityRobert Rudd, Richard Skowyra, David Bigelow, Veer Dedhia 等NDSS 2017 · 78 次引用
- Top of the Heap: Efficient Memory Error Protection of Safe Heap ObjectsKaiming Huang, Mathias Payer, Zhiyun Qian, Jack Sampson 等CCS 2024 · 3 次引用
