arrow
返回

UniASM: Binary code similarity detection without fine-tuning

delete2025-05-01
delete0
PRE
AI
Y
Yeming Gu *
H
Hui Shu
F
Fei Kang
H
Hu, Fan
DOI:10.1016/j.neucom.2025.129646delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
Similarity detection
Embedding
Binary code
Assembly language
Vulnerability

期刊

Neurocomputing 封面图
Neurocomputing
IF:
6.5
论文数:
2.5W
被引数:
6.5W

机构

暂无机构信息
引用论文

引用论文

Accurate and Scalable Cross-Architecture Cross-OS Binary Code Search with Emulation
err2019-11-01
err43
PREAI
errXue, Yinxing; Xu, Zhengzi; Chandramohan, Mahinthan; Liu, Yang
err分享
err收藏
err分享
err收藏
Control Flow-Based Malware Variant Detection
err2014-07-01
err116
PREAI
errCesare, Silvio; Xiang, Yang; Zhou, Wanlei
err分享
err收藏
An Improved Denoising Method in RDTS Based on Wavelet Transform Modulus Maxima
err2015-02-01
err0
PREAI
errZongliang Wang; Guangping Lv; Jun Chang; Sasa Zhang; Sha Luo; Chuanwu Jia; Shuo Jiang; Boning Sun; Yongning Liu; Xiaohui Liu
err分享
err收藏
A Semantics-Based Hybrid Approach on Binary Code Similarity Comparison
err2021-06-01
err14
errOAAI
errHu, Yikun; Wang, Hui; Zhang, Yuanyuan; Li, Bodong; Gu, Dawu
err分享
err收藏
Unleashing the power of pseudo-code for binary code similarity analysis
err2022-12-01
err2
errOAAI
errZhang, Weiwei; Xu, Zhengzi; Xiao, Yang; Xue, Yinxing
err分享
err收藏
Codee: A Tensor Embedding Scheme for Binary Code Search
err2022-07-01
err34
errOAAI
errYang, Jia; Fu, Cai; Liu, Xiao-Yang; Yin, Heng; Zhou, Pan
err分享
err收藏
BEDetector: A Two-Channel Encoding Method to Detect Vulnerabilities Based on Binary Similarity
err2021-01-01
err8
errOAAI
errYu, Lu; Lu, Yuliang; Shen, Yi; Huang, Hui; Zhu, Kailong
err分享
err收藏
err分享
err收藏
没有更多内容