Lune

ASPLOS2024Top-tier venue

Enforcing C/C++ Type and Scope at Runtime for Control-Flow and Data-Flow Integrity

Mohannad Ismail, Christopher Jelesnianski, Yeongjin Jang, Changwoo Min, Wenjie Xiong

Abstract

Control-flow hijacking and data-oriented attacks are becoming more sophisticated. These attacks, especially dataoriented attacks, can result in critical security threats, such as leaking an SSL key. Data-oriented attacks are hard to defend against with acceptable performance due to the sheer amount of data pointers present. The root cause of such attacks is using pointers in unintended ways; fundamentally, these attacks rely on abusing pointers to violate the original scope they were used in or the original types that they were declared as.

This paper proposes Scope Type Integrity (STI), a new defense policy that enforces all pointers (both code and data pointers) to conform to the original programmer's intent, as well as Runtime Scope Type Integrity (RSTI) mechanisms to enforce STI at runtime leveraging ARM Pointer Authentication. STI gathers information about the scope, type, and permissions of pointers. This information is then leveraged by RSTI to ensure pointers are legitimately utilized at runtime. We implemented three defense mechanisms of RSTI, with varying levels of security and performance tradeoffs to showcase the versatility of RSTI. We employ these three variants on a variety of benchmarks and real-world applications for a full security and performance evaluation of these mechanisms. Our results show that they have overheads of 5.29%, 2.97%, and 11.12%, respectively.

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.

2 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

  • Enforcing Unique Code Target Property for Control-Flow Integrity cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Lippen: a Lightweight in-Place Pointer Encryption Architecture for Pointer Integrity cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • Lippen: a Lightweight in-Place Pointer Encryption Architecture for Pointer Integrity cites PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
  • PAC it up: Towards Pointer Integrity using ARM Pointer Authentication cites HDFI: Hardware-Assisted Data-Flow Isolation
  • PAC it up: Towards Pointer Integrity using ARM Pointer Authentication cites Enforcing Unique Code Target Property for Control-Flow Integrity
  • PAC it up: Towards Pointer Integrity using ARM Pointer Authentication cites Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
  • On Bridging the Gap between Control Flow Integrity and Attestation Schemes cites Spectre Attacks: Exploiting Speculative Execution
  • On Bridging the Gap between Control Flow Integrity and Attestation Schemes cites Enforcing Unique Code Target Property for Control-Flow Integrity
  • On Bridging the Gap between Control Flow Integrity and Attestation Schemes cites PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. On Bridging the Gap between Control Flow Integrity and Attestation SchemesMahmoud Ammar, Ahmed Abdelraoof, Silviu VlasceanuUSENIX Security 2024 · 9 citations
  2. Lippen: a Lightweight in-Place Pointer Encryption Architecture for Pointer IntegrityErfan Iravani, Lalit Prasad Peri, Mohannad Ismail, Charitha Tumkur Siddalingaradhya et al.ISCA 2026

Builds on16

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. Data-Oriented Programming: On the Expressiveness of Non-control Data AttacksHong Hu, Shweta Shinde, Sendroiu Adrian, Zheng Leong Chua et al.S&P 2016 · 420 citations
  3. 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
  4. HDFI: Hardware-Assisted Data-Flow IsolationChengyu Song, Hyungon Moon, Monjur Alam, Insu Yun et al.S&P 2016 · 146 citations
  5. Enforcing Unique Code Target Property for Control-Flow IntegrityHong Hu, Chenxiong Qian, Carter Yagemann, Simon Pak Ho Chung et al.CCS 2018 · 142 citations

Related papers

  1. Protect the System Call, Protect (Most of) the World with BASTIONChristopher Jelesnianski, Mohannad Ismail, Yeongjin Jang, Dan Williams et al.ASPLOS 2023 · 15 citations
  2. Tightly Seal Your Sensitive Pointers with PACTightMohannad Ismail, Andrew Quach, Christopher Jelesnianski, Yeongjin Jang et al.USENIX Security 2022
  3. Not All Data are Created Equal: Data and Pointer Prioritization for Scalable Protection Against Data-Oriented AttacksSalman Ahmed, Hans Liljestrand, Hani Jamjoom, Matthew Hicks et al.USENIX Security 2023
  4. Enforcing Kernel Security Invariants with Data Flow IntegrityChengyu Song, Byoungyoung Lee, Kangjie Lu, William Harris et al.NDSS 2016 · 141 citations
  5. VTrust: Regaining Trust on Virtual CallsChao Zhang, Dawn Song, Scott A. Carr, Mathias Payer et al.NDSS 2016 · 91 citations
Dusk over the sea between two cliffs drawn in fine vertical lines