arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2406.02606cs.CRcs.AIcs.IRcs.LG
收藏

了解你的邻域:由 Call Graphlets 驱动的通用与零样本能力二进制函数搜索

Know Your Neighborhood: General and Zero-Shot Capable Binary Function Search Powered by Call Graphlets

Loughborough University(拉夫堡大学)

Joshua Collyer, Tim Watson, Iain Phillips

AI总结:

本文提出结合 call graphlets 图数据表示与新颖图神经网络架构的二进制代码相似性检测方法,在跨架构、单架构及零样本任务中达到先进性能,并在域外函数内联任务中表现良好。

摘要:

二进制代码相似性检测是一个重要问题,应用领域包括恶意软件分析、漏洞研究和许可证违规检测。本文提出了一种新颖的图神经网络架构,并结合一种称为 call graphlets 的新颖图数据表示。call graphlet 编码二进制可执行文件中每个函数周围的邻域,通过一系列统计特征捕获局部和全局上下文。一个专门的图神经网络模型在此图表示上运行,学习将其映射到特征向量,该向量使用深度度量学习编码语义二进制代码相似性。所提出的方法在五个不同的数据集上进行了评估,涵盖不同的架构、编译器工具链和优化级别。实验结果表明,与基线技术相比,call graphlets 与新颖的图神经网络架构的组合在跨架构、单架构和零样本任务中取得了相当或最先进的性能。此外,当针对域外函数内联任务进行评估时,我们提出的方法也表现良好。这项工作为进行二进制代码相似性检测提供了一种通用且有效的基于图神经网络的解决方案。

英文摘要:

Binary code similarity detection is an important problem with applications in areas such as malware analysis, vulnerability research and license violation detection. This paper proposes a novel graph neural network architecture combined with a novel graph data representation called call graphlets. A call graphlet encodes the neighborhood around each function in a binary executable, capturing the local and global context through a series of statistical features. A specialized graph neural network model operates on this graph representation, learning to map it to a feature vector that encodes semantic binary code similarities using deep-metric learning. The proposed approach is evaluated across five distinct datasets covering different architectures, compiler tool chains, and optimization levels. Experimental results show that the combination of call graphlets and the novel graph neural network architecture achieves comparable or state-of-the-art performance compared to baseline techniques across cross-architecture, mono-architecture and zero shot tasks. In addition, our proposed approach also performs well when evaluated against an out-of-domain function inlining task. The work provides a general and effective graph neural network-based solution for conducting binary code similarity detection.

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

↑