2020 · 19 citations · 27 references
ComputingComputer EngineeringComputer ScienceCompilersProgramming LanguagesSoftware EngineeringAbstract Syntax TreesData-flow AnalysisStatic Code AnalysisType CheckingType SystemsContext InferenceContext-sensitive AnalysisInference From ContextSource Code AnalysisType Inference
Code analysis is a powerful way to eliminate vulnerabilities. Closed-source programs lack crucial information vital for code analysis because that information is stripped on compilation to achieve smaller executable size. Restoration has always been a challenge for experts. Variable type information is fundamental in this process because it helps to provide a perspective on program semantic. In this paper, we present an efficient approach for inferring types, and we overcome the challenge of scattered information provided by static analysis on stripped binaries. We discover that neighboring instructions are likely to operate the same type of variables, which are leveraged to enrich the features that we rely on. Therefore, we implement a system called CATI, which locates variables from stripped binaries and infers 19 types from variables. Experiments show that it infers variable type with 71.2% accuracy on unseen binaries. Meanwhile, it takes approximately 6 seconds to process a typical binary.
27
Distributed Representations of Words and Phrases and their Compositionality
Tomáš Mikolov, Ilya Sutskever, Kai Chen et al. · arXiv (Cornell University) · 2013 · 18.1K citations · Full text
Data mining methods for detection of new malicious executables
Matthew G. Schultz, Eleazar Eskin, F. Zadok et al. · 2002 · 1.1K citations · Full text
Practical Control Flow Integrity and Randomization for Binary Executables
Chao Zhang, Tao Wei, Zhaofeng Chen et al. · 2013 · 479 citations · Full text
Learning to detect malicious executables in the wild
Marcus A. Maloof · 2004 · 472 citations