Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection

By Xiaojun Xu, Chang Liu, Qian Feng, Heng Yin, Le Song, Dawn Song. 2017

700 citations recorded by the source corpus.

The problem of cross-platform binary code similarity detection aims at detecting whether two binary functions coming from different platforms are similar or not. It has many security applications, including plagiarism detection, malware detection, vulnerability search, etc. Existing approaches rely on approximate graph-matching algorithms, which are inevitably slow and sometimes inaccurate, and hard to adapt to a new task. To address these issues, in this work, we propose a novel neural network-based approach to compute the embedding, i.e., a numeric vector, based on the control flow graph of each binary function, then the similarity detection can be done efficiently by measuring the distance between the embeddings for two functions. We implement a prototype called Gemini. Our extensive evaluation shows that Gemini outperforms the state-of-the-art approaches by large margins with respect to similarity detection accuracy. Further, Gemini can speed up prior art's embedding generation time by 3 to 4 orders of magnitude and reduce the required training time from more than 1 week down to 30 minutes to 10 hours. Our real world case studies demonstrate that Gemini can identify significantly more vulnerable firmware images than the state-of-the-art, i.e., Genius. Our research showcases a successful application of deep learning on computer security problems.

Subfields: Information Systems, Software, Signal Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Information Systems

  1. Neil Zhenqiang Gong
  2. Binghui Wang
  3. Jinyuan Jia
  4. Jibesh Patra
  5. Rabee Sohail Malik
  6. Yang Liu
  7. Tal Ben-Nun
  8. Alice Shoshana Jakobovits

In Software

  1. Jibesh Patra
  2. Rabee Sohail Malik
  3. Yang Liu
  4. Bihuan Chen
  5. Tal Ben-Nun
  6. Alice Shoshana Jakobovits
  7. Pushmeet Kohli
  8. Torsten Hoefler

In Signal Processing

  1. Jinyuan Jia
  2. Torsten Hoefler
  3. Tal Ben-Nun
  4. Yang Liu
  5. Jibesh Patra
  6. Rabee Sohail Malik
  7. Chong Wang
  8. Bihuan Chen

Citations in the corpus