arrow
Return

Fus: Combining Semantic and Structural Graph Information for Binary Code Similarity Detection

delete2025-10-02
delete0
delete
OA
AI
Y
Yanlin Li
T
Taiyan Wang
L
Lu Yu
Z
Zulie Pan *
DOI:10.3390/electronics14193781delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Binary code similarity detection (BCSD) plays an important role in software security. Recent deep learning-based methods have made great progress. Existing methods based on a single feature, such as semantics or graph structure, struggle to handle changes caused by the architecture or compilation environment. Methods fusing semantics and graph structure suffer from insufficient learning of the function, resulting in low accuracy and robustness. To address this issue, we proposed Fus, a method that integrates semantic information from the pseudo-C code and structural features from the Abstract Syntax Tree (AST). The pseudo-C code and AST are robust against compilation and architectural changes and can represent the function well. Our approach consists of three steps. First, we preprocess the assembly code to obtain the pseudo-C code and AST for each function. Second, we employ a Siamese network with CodeBERT models to extract semantic embeddings from the pseudo-C code and Tree-Structured Long Short-Term Memory (Tree LSTM) to encode the AST. Finally, function similarity is computed by summing the respective semantic and structural similarities. The evaluation results show that our method outperforms the state-of-the-art methods in most scenarios. Especially in large-scale scenarios, its performance is remarkable. In the vulnerability search task, Fus achieves the highest recall. It demonstrates the accuracy and robustness of our method.
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Electronics cover
Electronics
IF:
2.6
Papers:
1.1W
Citations:
4.7W

Organization

N
National University of Defense Technology
Scholars:
3.3K
Papers: 1.0K
Citations: 8.2K
Cited Papers

Cited Papers

Asteria-Pro: Enhancing Deep Learning-based Binary Code Similarity Detection by Incorporating Domain Knowledge
err2023-11-24
err16
errOAAI
errYang, Shouguo; Dong, Chaopeng; Xiao, Yang; Cheng, Yiran; Shi, Zhiqiang; Li, Zhi; Sun, Limin
errShare
errSave
FirmUp
err2018-03-19
err0
PREAI
errYaniv David; Nimrod Partush; Eran Yahav
errShare
errSave
errShare
errSave
Control Flow-Based Malware Variant Detection
err2014-07-01
err116
PREAI
errCesare, Silvio; Xiang, Yang; Zhou, Wanlei
errShare
errSave
Binary executable file similarity calculation using function matching
err2016-12-09
err0
PREAI
errTaeGuen Kim; Yeo Reum Lee; BooJoong Kang; Eul Gyu Im
errShare
errSave
errShare
errSave
Statistical similarity of binaries
err2016-06-02
err0
PREAI
errYaniv David; Nimrod Partush; Eran Yahav
errShare
errSave
researcher View more