On the Effectiveness of Type-based Control Flow Integrity
Reza Mirzazade Farkhani, Saman Jafari, Sajjad Arshad, William, Robertson, Engin Kirda, Hamed Okhravi

TL;DR
This paper evaluates the security and practicality of runtime type checking (RTC) based control flow integrity (CFI), revealing its limitations against sophisticated attacks despite its applicability to large codebases.
Contribution
It provides the first comprehensive security analysis of RTC-based CFI, including attack bypasses and practical implementation challenges.
Findings
Type collisions are common in large codebases.
Attackers can bypass RTC using type-respecting ROP variants.
RTC is practical but not sufficiently secure against motivated attackers.
Abstract
Control flow integrity (CFI) has received significant attention in the community to combat control hijacking attacks in the presence of memory corruption vulnerabilities. The challenges in creating a practical CFI has resulted in the development of a new type of CFI based on runtime type checking (RTC). RTC-based CFI has been implemented in a number of recent practical efforts such as GRSecurity Reuse Attack Protector (RAP) and LLVM-CFI. While there has been a number of previous efforts that studied the strengths and limitations of other types of CFI techniques, little has been done to evaluate the RTC-based CFI. In this work, we study the effectiveness of RTC from the security and practicality aspects. From the security perspective, we observe that type collisions are abundant in sufficiently large code bases but exploiting them to build a functional attack is not straightforward. Then…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Diamond and Carbon-based Materials Research
