BinShoo: Binary Code Similarity Detection Using Optimized Function Embedding and Siamese Neural Network
Binary code similarity detection (BCSD) is important for cybersecurity, software analysis, and security research, helping to identify malware, vulnerabilities, and duplicate code as well as analyze attack patterns. Traditional methods, which are often limited when dealing with obfuscation, are being outperformed by deep learning (DL)-based techniques that can learn and compare code features efficiently regardless of transformations. In this work, we introduce BinShoo, a DL-based BCSD framework that uses the advanced Proc2vec+ method derived from the original Proc2vec method. Specifically, BinShoo converts binary functions into vector form for DL analysis, allowing the model to detect complex similarities between functions despite obfuscation, optimization, and other transformations. Experimental results on the BinaryCorp dataset show that BinShoo outperforms Bindeep in similarity detection across the following scenarios: i) same architecture, different optimizations and compilers, ii) same optimization, different architectures and compilers, iii) different architectures, optimizations, and compilers.
Authors
- Phan The Duy (ORCID: https://orcid.org/0000-0002-5945-3712)
- Van-Hau Pham (ORCID: https://orcid.org/0000-0003-3147-3356)
- Do Thi Thu Hien (ORCID: https://orcid.org/0000-0002-9765-9754)
- Nguyễn Thanh Hải
- Khanh-Khoa Ngo
Publication Details
- Published
- 2024-12-21
- DOI
- https://doi.org/10.1109/rivf64335.2024.11009080
- Citations
- 1
- Primary Topic
- Biochemical and Structural Characterization
- Type
- article
- Field-Weighted Citation Impact
- 0.23