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

Inter-BIN:基于交互的跨架构IoT二进制相似性比较

Inter-BIN: Interaction-based Cross-architecture IoT Binary Similarity Comparison

Qige Song, Yongzheng Zhang, Binglai Wang, Yige Chen

摘要:

物联网(IoT)恶意软件的大浪潮反映了当前物联网生态系统的脆弱性。研究发现,物联网恶意软件可以在不同处理器架构的设备上快速传播,这导致我们关注跨架构二进制相似性比较技术。二进制相似性比较的目标是确定两个二进制代码段的语义是否相似。现有的基于学习的方法通常单独学习二进制代码片段的表示,并基于距离度量执行相似性匹配,而不考虑二进制间的语义交互。此外,它们往往依赖于大规模的外部代码语料库进行指令嵌入预训练,这是重量级的,容易遭受词汇表(OOV)问题。在本文中,我们提出了一个基于交互的跨架构物联网二进制相似性比较系统,Inter-BIN。我们的关键见解是通过共同注意力机制引入指令序列之间的交互,该机制可以灵活地执行来自不同体系结构的语义相关指令的软对齐。设计了一种轻量级的基于多特征融合的指令嵌入方法,避免了以往方法的工作量大和OOV问题。大量的实验表明,Inter-BIN在不同输入粒度的跨架构二进制相似性比较任务上可以显着优于最先进的方法。此外,我们提出了一个物联网恶意软件功能匹配数据集,从真实的网络环境,CrossMal,包含1,878,437跨架构重用功能对。在CrossMal上的实验结果证明了Inter-BIN在真实世界的二进制相似性比较集合上的实用性和可扩展性。

英文摘要:

The big wave of Internet of Things (IoT) malware reflects the fragility of the current IoT ecosystem. Research has found that IoT malware can spread quickly on devices of different processer architectures, which leads our attention to cross-architecture binary similarity comparison technology. The goal of binary similarity comparison is to determine whether the semantics of two binary snippets is similar. Existing learning-based approaches usually learn the representations of binary code snippets individually and perform similarity matching based on the distance metric, without considering inter-binary semantic interactions. Moreover, they often rely on the large-scale external code corpus for instruction embeddings pre-training, which is heavyweight and easy to suffer the out-of-vocabulary (OOV) problem. In this paper, we propose an interaction-based cross-architecture IoT binary similarity comparison system, Inter-BIN. Our key insight is to introduce interaction between instruction sequences by co-attention mechanism, which can flexibly perform soft alignment of semantically related instructions from different architectures. And we design a lightweight multi-feature fusion-based instruction embedding method, which can avoid the heavy workload and the OOV problem of previous approaches. Extensive experiments show that Inter-BIN can significantly outperform state-of-the-art approaches on cross-architecture binary similarity comparison tasks of different input granularities. Furthermore, we present an IoT malware function matching dataset from real network environments, CrossMal, containing 1,878,437 cross-architecture reuse function pairs. Experimental results on CrossMal prove that Inter-BIN is practical and scalable on real-world binary similarity comparison collections.

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

↑