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

跨体系结构二进制相似性比较的多关系指令关联图

Multi-relational Instruction Association Graph for Cross-architecture Binary Similarity Comparison

Qige Song, Yongzheng Zhang, Shuhao Li

摘要:

跨体系结构的二进制相似性比较在许多安全应用中是必不可少的。最近,研究人员提出了基于学习的方法来提高比较性能。他们采用了指令预训练、个体二进制编码和基于距离的相似性比较的范式。然而,在外部代码语料库上预训练的指令嵌入在各种现实世界的应用中并不通用。对跨体系结构的二进制代码单独编码会积累指令集的语义差距,限制比较的准确性。提出了一种基于多关系指令关联图的跨体系结构二进制相似性比较方法。我们从不同的角度将单架构指令令牌与上下文相关性和跨架构令牌与潜在的语义相关性相关联。然后,我们利用关系图卷积网络(R-GCN)进行特定类型的图信息传播。我们的方法可以弥合跨架构指令表示空间的差距,同时避免外部预训练工作量。我们进行了大量的实验,基本块级和功能级数据集,以证明我们的方法的优越性。此外,对大规模真实世界物联网恶意软件重用功能集合的评估表明,我们的方法对于识别在各种架构的物联网设备上传播的恶意软件是有价值的。

英文摘要:

Cross-architecture binary similarity comparison is essential in many security applications. Recently, researchers have proposed learning-based approaches to improve comparison performance. They adopted a paradigm of instruction pre-training, individual binary encoding, and distance-based similarity comparison. However, instruction embeddings pre-trained on external code corpus are not universal in diverse real-world applications. And separately encoding cross-architecture binaries will accumulate the semantic gap of instruction sets, limiting the comparison accuracy. This paper proposes a novel cross-architecture binary similarity comparison approach with multi-relational instruction association graph. We associate mono-architecture instruction tokens with context relevance and cross-architecture tokens with potential semantic correlations from different perspectives. Then we exploit the relational graph convolutional network (R-GCN) to perform type-specific graph information propagation. Our approach can bridge the gap in the cross-architecture instruction representation spaces while avoiding the external pre-training workload. We conduct extensive experiments on basic block-level and function-level datasets to prove the superiority of our approach. Furthermore, evaluations on a large-scale real-world IoT malware reuse function collection show that our approach is valuable for identifying malware propagated on IoT devices of various architectures.

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

↑