Figshare · 2018 · 169 citations · 7 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSoftware EngineeringCompiler ConstructionData TypesData-flow AnalysisReverse EngineeringType CheckingType SystemsBinary AnalysisBinary Code DecompilationBinary Control-flow AnalysisBinary DecompilationCode DecompilationSoftware Reverse EngineeringType Reconstruction
Reverse engineering binary code to recover high‑level data abstractions such as buffers, structures, and local variables remains a persistent challenge in security, because compilation removes these abstractions. This paper develops novel techniques for reverse engineering data type abstractions from binary programs. The authors present a type reconstruction system that analyzes binary code and can be integrated into both static and dynamic analyses. On 87 programs, the system, named TIE, outperforms existing methods in accuracy and precision of type recovery.
A recurring problem in security is reverse engineering binary code to recover high-level language data abstractions and types. High-level programming languages have data abstractions such as buffers, structures, and local variables that all help programmers and program analyses reason about programs in a scalable manner. During compilation, these abstractions are removed as code is translated down to operations on registers and one globally addressed memory region. Reverse engineering consists of “undoing” the compilation to recover high-level information so that programmers, security professionals, and analyses can all more easily reason about the binary code. In this paper we develop novel techniques for reverse engineering data type abstractions from binary programs. At the heart of our approach is a novel type reconstruction system based upon binary code analysis. Our techniques and system can be applied as part of both static or dynamic analysis, thus are extensible to a large number of security settings. Our results on 87 programs show that TIE is both more accurate and more precise at recovering high-level types than existing mechanisms.
7
Chi-Keung Luk, Robert Cohn, Robert Muth et al. · ACM SIGPLAN Notices · 2005 · 3.2K citations
From system F to typed assembly language
Greg Morrisett, David Walker, Karl Crary et al. · ACM Transactions on Programming Languages and Systems · 1999 · 587 citations · Full text
Static disassembly of obfuscated binaries
Christopher Kruegel, William Robertson, Fredrik Valeur et al. · 2004 · 286 citations
Stack-based typed assembly language
Greg Morrisett, Karl Crary, Neal Glew et al. · Journal of Functional Programming · 2002 · 102 citations · Full text