UniASM: Binary code similarity detection without fine-tuning
Neurocomputing · 2025-05 · 630 · 129646
DOI: 10.1016/j.neucom.2025.129646 ↗Kurz gefasst
Fachartikel in der Zeitschrift Neurocomputing, 2025-05. Verfasst von Yeming Gu und 3 weiteren Autor:innen. Die Arbeit wurde bisher 16-mal zitiert (Crossref) und nennt 90 Literaturangaben. Gefördert von: National Key Research and Development Program of China.
Abstract (Originalsprache)
Binary code similarity detection (BCSD) is widely used in various binary analysis tasks such as vulnerability search, malware detection, clone detection, and patch analysis. Recent studies have shown that the learning-based binary code embedding models perform better than the traditional feature-based approaches. However, previous studies have not delved deeply into the key factors that affect model performance. In this paper, we design extensive ablation studies to explore these influencing factors. The experimental results have provided us with many new insights. We have made innovations in both code representation and model selection: we propose a novel rich-semantic function representation technique to ensure the model captures the intricate nuances of binary code, and we introduce the first UniLM-based binary code embedding model, named UniASM, which includes two newly designed training tasks to learn representations of binary functions. The experimental results show that UniASM outperforms the state-of-the-art (SOTA) approaches on the evaluation datasets. The average scores of Recall@1 on cross-compilers, cross-optimization-levels, and cross-obfuscations have improved by 12.7%, 8.5%, and 22.3%, respectively, compared to the best of the baseline methods. Besides, in the real-world task of known vulnerability search, UniASM outperforms all the current baselines.
Förderung
- National Key Research and Development Program of China
Zitieren
APA
Gu, Y., Shu, H., Kang, F., & Hu, F. (2025). UniASM: Binary code similarity detection without fine-tuning. Neurocomputing, 630, 129646. https://doi.org/10.1016/j.neucom.2025.129646
Vancouver
Gu Y, Shu H, Kang F, Hu F. UniASM: Binary code similarity detection without fine-tuning. Neurocomputing. 2025;630:129646. doi:10.1016/j.neucom.2025.129646
BibTeX
@article{Gu2025,
author = {Gu, Yeming and Shu, Hui and Kang, Fei and Hu, Fan},
title = {UniASM: Binary code similarity detection without fine-tuning},
journal = {Neurocomputing},
year = {2025},
volume = {630},
pages = {129646},
doi = {10.1016/j.neucom.2025.129646}
}
EUVIMED