Affiliation:
1. Hong Kong University of Science and Technology, Hong Kong, China
2. Shanghai Jiao Tong University, Shanghai, China
3. Purdue University, West Lafayette, USA
Abstract
Binary code similarity analysis is extremely useful, since it provides rich information about an unknown binary, such as revealing its functionality and identifying reused libraries. Robust binary similarity analysis is challenging, as heavy compiler optimizations can make semantically similar binaries have gigantic syntactic differences. Unfortunately, existing semantic-based methods still suffer from either incomplete coverage or low accuracy.
In this article, we propose
ARCTURUS
, a new technique that can achieve high code coverage and high accuracy simultaneously by manipulating program execution under the guidance of code reachability. Our key insight is that the compiler must preserve program semantics (e.g., dependences between code fragments) during compilation; therefore, the code reachability, which implies the interdependence between code, is invariant across code transformations. Based on the above insight, our key idea is to leverage the stability of code reachability to manipulate the program execution such that deep code logic can also be covered in a consistent way. Experimental results show that
ARCTURUS
achieves an average precision of 87.8% with 100% block coverage, outperforming compared methods by 38.4%, on average.
ARCTURUS
takes only 0.15 second to process one function, on average, indicating that it is efficient for practical use.
Publisher
Association for Computing Machinery (ACM)
Reference100 articles.
1. VMPSofe. 2017. VMPROTECT SOFTWARE. [Online]. Available: http://vmpsoft.com/
2. GrammaTech. 2019. Binary Software Composition Analysis. [Online]. Available: https://www.verifysoft.com/en_grammatech_codesentry.html/
3. Zynamics. 2020. BinDiff. [Online]. Available: https://www.zynamics.com/bindiff/manual/index.html
4. 2020. BinTuner. Retrieved from https://github.com/BinTuner/Dev
5. Chris Lattner. 2008. LLVM and Clang: Next generation compiler technology. The BSD Conference 5 (2008) 1–20.