arrow
返回

OpTrans: enhancing binary code similarity detection with function inlining re-optimization

delete2024-12-26
delete0
PRE
AI
Z
Zihan Sha *
杨
杨澜 (Lan Yang)
C
Chao Zhang
H
Hao Wang
Z
Zeyu Gao
B
Bolun Zhang
H
Hui Shu
DOI:10.1007/s10664-024-10605-xdelete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Binary code similarity detection (BCSD) is pivotal in system security including reverse engineering, vulnerability detection and software component analysis. Recent studies on BCSD have proliferated, yet they exhibit poor performance when confronting semantic alterations (e.g., function inlining) caused by compiler optimization. To tackle this challenge, we present OpTrans, an innovative framework that fuses binary code Optimization techniques with the Transformer model for BCSD. OpTrans employs an algorithm based on binary program analysis to determine which functions should be inlined, followed by binary rewriting techniques to effectuate re-optimization on binaries. This innovative method significantly reduces false positives and enhances model performance in real-world BCSD tasks. We evaluated OpTrans on the BinaryCorp datasets, and it outperformed the state-of-the-art BCSD solutions by 21.5% on average. The inline re-optimization improved all BCSD solutions by up to 32.1%. Our ablation study and vulnerability experiment demonstrate the practicality of inline re-optimization in real-world detection scenarios, showing the usefulness of our approach.
Keyword:
Static analysis
Similarity detection
Optimization
Neural networks

期刊

Empirical Software Engineering 封面图
Empirical Software Engineering
IF:
3.6
论文数:
2.0K
被引数:
5.3K

机构

T
tsinghua university
学者数:
11.9W
论文数: 10.0W
被引数: 137
引用论文

引用论文

err分享
err收藏
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
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收藏
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收藏
Dislocation damping in zinc single crystals
err2002-11-20
err0
errOAAI
errW G Ferguson; F E Hauser; J E Dorn
err分享
err收藏
学者 查看更多内容