A general model for hiding control flow
Authors:
Open Access
- 4 October 2010
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 35-42
Abstract
This paper proposes a general model for hiding control flow graph flattening in C programs. We explain what control flow graph flattening is and illustrate why it is successful as protection against static control flow analysis. Furthermore, we propose a scheme, complementary to control flow graph flattening, which does not leak any control flow graph information statically. Instead of relying on ad hoc security by using variable aliasing and global pointers to complicate data flow analysis of the switch variable, we try to base our security claims more on information theory, data flow, and cryptography. Our formal model is structured and extendable. Moreover, it can specify which minimum of information to hide from the program (e.g. a secret value or function) such that no control flow information is leaked. To express the robustness of our scheme we present some attacks and their feasibility. Finally, we sketch a few scenarios in which our solution could be deployed.Keywords
This publication has 7 references indexed in Scilit:
- Opaque Predicates Detection by Abstract Interpretation2006
- Control flow based obfuscation2005
- Improved Randomness Extraction from Two Independent Sources2004
- Obfuscation of executable code to improve resistance to static disassembly2003
- Manufacturing cheap, resilient, and stealthy opaque constructs1998
- Undecidability of static analysisACM Letters on Programming Languages and Systems, 1992
- A Complexity MeasureIEEE Transactions on Software Engineering, 1976