FASER:利用中间表示进行二进制代码相似性搜索
FASER: Binary Code Similarity Search through the use of Intermediate Representations
AI总结:
本文提出FASER方法,利用二进制中间表示与长文档变换器实现跨架构函数搜索,无需手动特征工程或预训练,在通用函数搜索和定向漏洞搜索任务上均优于基线方法。
摘要:
能够识别跨架构软件中的感兴趣函数,无论你是进行恶意软件分析、保障软件供应链安全还是开展漏洞研究,都具有实用价值。跨架构二进制代码相似性搜索已在大量研究中得到探索,并使用了广泛的不同数据源来实现其目标。通常使用的数据源利用了从二进制文件中提取的常见结构,例如函数控制流图或二进制级调用图、反汇编过程的输出或动态分析方法的输出。一个受到较少关注的数据源是二进制中间表示。二进制中间表示具有两个有趣的特性:它们本质上就是跨架构的,并且显式编码函数的语义以支持下游使用。在本文中,我们提出了函数作为字符串编码表示(FASER),它将长文档变换器与中间表示的使用相结合,创建了一个能够进行跨架构函数搜索的模型,而无需手动特征工程、预训练或动态分析步骤。我们将我们的方法与一系列基线方法在两个任务上进行了比较:一个通用函数搜索任务和一个定向漏洞搜索任务。我们的方法在两个任务上都表现出强劲的性能,优于所有基线方法。
英文摘要:
Being able to identify functions of interest in cross-architecture software is useful whether you are analysing for malware, securing the software supply chain or conducting vulnerability research. Cross-Architecture Binary Code Similarity Search has been explored in numerous studies and has used a wide range of different data sources to achieve its goals. The data sources typically used draw on common structures derived from binaries such as function control flow graphs or binary level call graphs, the output of the disassembly process or the outputs of a dynamic analysis approach. One data source which has received less attention is binary intermediate representations. Binary Intermediate representations possess two interesting properties: they are cross architecture by their very nature and encode the semantics of a function explicitly to support downstream usage. Within this paper we propose Function as a String Encoded Representation (FASER) which combines long document transformers with the use of intermediate representations to create a model capable of cross architecture function search without the need for manual feature engineering, pre-training or a dynamic analysis step. We compare our approach against a series of baseline approaches for two tasks; A general function search task and a targeted vulnerability search task. Our approach demonstrates strong performance across both tasks, performing better than all baseline approaches.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。