PACStack: an Authenticated Call Stack
Hans Liljestrand, Thomas Nyman, Lachlan J. Gunn, Jan-Erik Ekberg, N. Asokan
摘要
A popular run-time attack technique is to compromise the control-flow integrity of a program by modifying function return addresses on the stack. So far, shadow stacks have proven to be essential for comprehensively preventing return address manipulation. Shadow stacks record return addresses in integrity-protected memory secured with hardware-assistance or software access control. Software shadow stacks incur high overheads or trade off security for efficiency. Hardwareassisted shadow stacks are efficient and secure, but require the deployment of special-purpose hardware. We present authenticated call stack (ACS), an approach that uses chained message authentication codes (MACs). Our prototype, PACStack , uses the ARMv8.3-A general purpose hardware mechanism for pointer authentication (PA) to implement ACS. Via a rigorous security analysis, we show that PACStack achieves security comparable to hardware-assisted shadow stacks without requiring dedicated hardware. We demonstrate that PACStack's performance overhead is small ( 3%).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 15 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- PACMAN: attacking ARM pointer authentication with speculative execution 引用了 PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
- PANIC: PAN-assisted Intra-process Memory Isolation on ARM 引用了 SoK: Shining Light on Shadow Stacks
- PANIC: PAN-assisted Intra-process Memory Isolation on ARM 引用了 PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
- SoK: Shining Light on Shadow Stacks 引用了 Efficient Protection of Path-Sensitive Control Security
- Enforcing Unique Code Target Property for Control-Flow Integrity 引用了 Efficient Protection of Path-Sensitive Control Security
- Enforcing Unique Code Target Property for Control-Flow Integrity 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- HIVE: A Hardware-assisted Isolated Execution Environment for eBPF on AArch64 引用了 PACMAN: attacking ARM pointer authentication with speculative execution
- HIVE: A Hardware-assisted Isolated Execution Environment for eBPF on AArch64 引用了 PANIC: PAN-assisted Intra-process Memory Isolation on ARM
- HIVE: A Hardware-assisted Isolated Execution Environment for eBPF on AArch64 引用了 PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
- PAC it up: Towards Pointer Integrity using ARM Pointer Authentication 引用了 Efficient Protection of Path-Sensitive Control Security
- PAC it up: Towards Pointer Integrity using ARM Pointer Authentication 引用了 Enforcing Unique Code Target Property for Control-Flow Integrity
- PAC it up: Towards Pointer Integrity using ARM Pointer Authentication 引用了 Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- On Bridging the Gap between Control Flow Integrity and Attestation Schemes 引用了 PACMAN: attacking ARM pointer authentication with speculative execution
- On Bridging the Gap between Control Flow Integrity and Attestation Schemes 引用了 Efficient Protection of Path-Sensitive Control Security
- 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 引用了 PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
引用它的顶会 Paper15
- PACMAN: attacking ARM pointer authentication with speculative executionJoseph Ravichandran, Weon Taek Na, Jay Lang, Mengjia YanISCA 2022 · 68 次引用
- PANIC: PAN-assisted Intra-process Memory Isolation on ARMJiali Xu, Mengyao Xie, Chenggang Wu, Yinqian Zhang 等CCS 2023 · 11 次引用
- On Bridging the Gap between Control Flow Integrity and Attestation SchemesMahmoud Ammar, Ahmed Abdelraoof, Silviu VlasceanuUSENIX Security 2024 · 9 次引用
- HIVE: A Hardware-assisted Isolated Execution Environment for eBPF on AArch64Peihua Zhang, Chenggang Wu, Xiangyu Meng, Yinqian Zhang 等USENIX Security 2024 · 8 次引用
- Limitations and Opportunities of Modern Hardware Isolation MechanismsXiangdong Chen, Zhaofeng Li, Tirth Jain, Vikram Narayanan 等USENIX ATC 2024 · 7 次引用
它引用的 Paper7
- Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua 等S&P 2016 · 420 次引用
- SoK: Shining Light on Shadow StacksNathan Burow, Xinping Zhang, Mathias PayerS&P 2019 · 170 次引用
- PAC it up: Towards Pointer Integrity using ARM Pointer AuthenticationHans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez 等USENIX Security 2019 · 168 次引用
- Enforcing Unique Code Target Property for Control-Flow IntegrityHong Hu, Chenxiong Qian, Carter Yagemann, Simon Pak Ho Chung 等CCS 2018 · 142 次引用
- Efficient Protection of Path-Sensitive Control SecurityRen Ding, Chenxiong Qian, Chengyu Song, William Harris 等USENIX Security 2017 · 123 次引用
相关 Paper
- Camouflage: Hardware-assisted CFI for the ARM Linux kernelRémi Denis-Courmont, Hans Liljestrand, Carlos Chinea Perez, Jan-Erik EkbergDAC 2020 · 18 次引用
- PTAuth: Temporal Memory Safety via Robust Points-to AuthenticationReza Mirzazade Farkhani, Mansour Ahmadi, Long LuUSENIX Security 2021 · 67 次引用
- Tightly Seal Your Sensitive Pointers with PACTightMohannad Ismail, Andrew Quach, Christopher Jelesnianski, Yeongjin Jang 等USENIX Security 2022
- ZeRØ: Zero-Overhead Resilient Operation Under Pointer Integrity AttacksMohamed Tarek Ibn Ziad, Miguel A. Arroyo, Evgeny Manzhosov, Simha SethumadhavanISCA 2021 · 17 次引用
- In-Kernel Control-Flow Integrity on Commodity OSes using ARM Pointer AuthenticationSungbae Yoo, Jinbum Park, Seolheui Kim, Yeji Kim 等USENIX Security 2022
