arrow
返回

BinCola: Diversity-Sensitive Contrastive Learning for Binary Code Similarity Detection

delete2024-10-01
delete1
PRE
AI
S
Shuai Jiang
杨
杨佳 (Jia Yang) *
S
Shuai He
J
Jianqiang Lv
韩
韩兰胜 (Lansheng Han)
H
Hong Hu
DOI:10.1109/TSE.2024.3411072delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Binary Code Similarity Detection (BCSD) is a fundamental binary analysis technique in the area of software security. Recently, advanced deep learning algorithms are integrated into BCSD platforms to achieve superior performance on well-known benchmarks. However, real-world large programs embed more complex diversities due to different compilers, various optimization levels, multiple architectures and even obfuscations. Existing BCSD solutions suffer from low accuracy issues in such complicated real-world application scenarios. In this paper, we propose BinCola, a novel Transformer-based dual diversity-sensitive contrastive learning framework that comprehensively considers the diversity of compiler options and candidate functions in the real-world application scenarios and employs the attention mechanism to fuse multi-granularity function features for enhancing generality and scalability. BinCola simultaneously compares multiple candidate functions across various compilation option scenarios to learn the differences caused by distinct compiler options and different candidate functions. We evaluate BinCola's performance in a variety of ways, including binary similarity detection and real-world vulnerability search in multiple application scenarios. The results demonstrate that BinCola achieves superior performance compared to state-of-the-art (SOTA) methods, with improvements of 2.80%, 33.62%, 22.41%, and 34.25% in cross-architecture, cross-optimization level, cross-compiler, and cross-obfuscation scenarios, respectively.
Keyword:
Feature extraction
Contrastive learning
Vectors
Source coding
Software
Semantics
Training
Diversity sensitive
binary analysis
similarity detection
attention mechanism

期刊

IEEE Transactions on Software Engineering 封面图
IEEE Transactions on Software Engineering
IF:
5.6
论文数:
2.9K
被引数:
1.1W

机构

P
pennsylvania commonwealth system of higher education (pcshe)
学者数:
12.9W
论文数: 11.7W
被引数: 177
引用论文

引用论文

The Seattle Structural Genomics Center for Infectious Disease (SSGCID)
err2009-10-01
err0
errOAAI
errP. Myler; R. Stacy; L. Stewart; B. Staker; W. Van Voorhis; G. Varani; G. Buchko
err分享
err收藏
Preparation and structural characterization of an unprotected copper sol
err2002-05-01
err0
PREAI
errAndrew C. Curtis; Daniel G. Duff; Peter P. Edwards; David A. Jefferson; Brian F. G. Johnson; Angus I. Kirkland; Andrew S. Wallace
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Spiking Suppression Precedes Cued Attentional Enhancement of Neural Responses in Primary Visual Cortex
err2017-11-23
err0
errOAAI
errMichele A Cox; Kacie Dougherty; Geoffrey K Adams; Eric A Reavis; Jacob A Westerberg; Brandon S Moore; David A Leopold; Alexander Maier
err分享
err收藏
Editorial: Neurotransmitters and Emotions
err2020-01-29
err0
errOAAI
errFushun Wang; Jiongjiong Yang; Fang Pan; Roger C. Ho; Jason H. Huang
err分享
err收藏
Programmable large-scale simulation of lattices with photonic synthetic frequency dimensions
err2023-01-01
err0
PREAI
errAlen Senanian; Logan G. Wright; Peter F. Wade; Hannah K. Doyle; Peter L. McMahon
err分享
err收藏
学者 查看更多内容