Adaptive Call-Site Sensitive Control Flow Integrity
- 1 June 2019
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 95-110
Abstract
Low-level languages like C/C++ are widely used in various applications for their performance and flexibility. Unfortunately, these languages are prone to memory corruption vulnerabilities, leading to control-flow hijacking attacks. Control flow integrity (CFI) is a general principle to enforce run-time control flow of a program to a pre-computed control-flow graph (CFG). While the traditional context-insensitive CFI falls short in protecting critical control transfers, recent context-sensitive CFI research shows promising improvements but has various limitations. We present Control Flow Integrity with Look Back (CFI-LB), a call-site sensitive CFI in which a conventional source-target control transfer is strengthened by a look back into its call-sites (return addresses). CFI-LB features the adaptive call-site sensitivity in which each indirect call has its own level of sensitivity and the multi-scope CFG to improve the security even if a precise context-sensitive static CFG is not available, especially for large programs such as GCC and NGINX. One of the CFGs is constructed by our localized concolic execution, which significantly extends the dynamic CFG with very low false positives. In addition, CFI-LB is the first CFI system explicitly designed to protect its reference monitors from race conditions. We have built a prototype of CFI-LB. The evaluation with SPEC CPU2006 benchmarks and NGINX indicates that CFI-LB has a low-performance overhead (less than 5% on average for the full protection) while increasing the security.Keywords
This publication has 30 references indexed in Scilit:
- Fine-Grained Control-Flow Integrity Through Binary Hardening2015
- HAFIX2015
- Opaque Control-Flow Integrity2015
- RockJIT2014
- Modular control-flow integrityACM SIGPLAN Notices, 2014
- Hardware-Assisted Fine-Grained Control-Flow Integrity2014
- ROPecker: A Generic and Practical Approach For Defending Against ROP Attacks2014
- RIPE2011
- Semi-sparse flow-sensitive pointer analysisACM SIGPLAN Notices, 2009
- Which pointer analysis should I use?2000