arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2308.15449cs.SE
收藏

PEM:通过概率执行模型表示二进制程序语义以进行相似性分析

PEM: Representing Binary Program Semantics for Similarity Analysis via a Probabilistic Execution Model

Xiangzhe Xu, Zhou Xuan, Shiwei Feng, Siyuan Cheng, Yapeng Ye, Qingkai Shi, Guanhong Tao, Le Yu, Zhuo Zhang, Xiangyu Zhang

AI总结:

本文提出PEM,一种基于概率执行引擎的二进制程序语义表示方法,通过有效采样输入和路径空间并确保跨二进制可比性,在9个项目35k函数上达到96%精度,优于基线10-20%。

摘要:

二进制相似性分析用于确定两个二进制可执行文件是否源自同一源程序。现有技术利用静态和动态程序特征,并可能采用先进的深度学习技术。尽管这些技术已展现出巨大潜力,但业界认为,更有效的程序语义表示可以进一步提升相似性分析的效果。本文提出了一种表示二进制程序语义的新方法,该方法基于一种新颖的概率执行引擎,能够有效地对目标二进制的输入空间和程序路径空间进行采样。更重要的是,它确保了跨二进制收集的样本具有可比性,解决了输入规范差异显著的问题。我们在9个真实世界项目(包含35k个函数)上的评估,以及与6种最先进技术的比较表明,PEM在常规设置下可实现96%的精确度,比基线方法高出10-20%。

英文摘要:

Binary similarity analysis determines if two binary executables are from the same source program. Existing techniques leverage static and dynamic program features and may utilize advanced Deep Learning techniques. Although they have demonstrated great potential, the community believes that a more effective representation of program semantics can further improve similarity analysis. In this paper, we propose a new method to represent binary program semantics. It is based on a novel probabilistic execution engine that can effectively sample the input space and the program path space of subject binaries. More importantly, it ensures that the collected samples are comparable across binaries, addressing the substantial variations of input specifications. Our evaluation on 9 real-world projects with 35k functions, and comparison with 6 state-of-the-art techniques show that PEM can achieve a precision of 96% with common settings, outperforming the baselines by 10-20%.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑