Results 1 -
1 of
1
Losing Control: On the Effectiveness of Control-Flow Integrity under Stack Attacks
"... Adversaries exploit memory corruption vulnerabilities to hi-jack a program’s control flow and gain arbitrary code ex-ecution. One promising mitigation, control-flow integrity (CFI), has been the subject of extensive research in the past decade. One of the core findings is that adversaries can con-st ..."
Abstract
- Add to MetaCart
(Show Context)
Adversaries exploit memory corruption vulnerabilities to hi-jack a program’s control flow and gain arbitrary code ex-ecution. One promising mitigation, control-flow integrity (CFI), has been the subject of extensive research in the past decade. One of the core findings is that adversaries can con-struct Turing-complete code-reuse attacks against coarse-grained CFI policies because they admit control flows that are not part of the original program. This insight led the research community to focus on fine-grained CFI implemen-tations. In this paper we show how to exploit heap-based vul-nerabilities to control the stack contents including security-critical values used to validate control-flow transfers. Our investigation shows that although program analysis and compiler-based mitigations reduce stack-based vulnerabili-ties, stack-based memory corruption remains an open prob-lem. Using the Chromium web browser we demonstrate real-world attacks against various CFI implementations: 1) against CFI implementations under Windows 32-bit by exploiting unprotected context switches, and 2) against state-of-the-art fine-grained CFI implementations (IFCC and VTV) in the two premier open-source compilers un-der Unix-like operating systems. Both 32 and 64-bit x86 CFI checks are vulnerable to stack manipulation. Finally, we provide an exploit technique against the latest shadow stack implementation.