IoTSim: Internet of Things-Oriented Binary Code Similarity Detection with Multiple Block Relations

Author:

Luo Zhenhao1,Wang Pengfei1,Xie Wei1,Zhou Xu1ORCID,Wang Baosheng1

Affiliation:

1. College of Computer, National University of Defense Technology, Changsha 410073, China

Abstract

Binary code similarity detection (BCSD) plays a crucial role in various computer security applications, including vulnerability detection, malware detection, and software component analysis. With the development of the Internet of Things (IoT), there are many binaries from different instruction architecture sets, which require BCSD approaches robust against different architectures. In this study, we propose a novel IoT-oriented binary code similarity detection approach. Our approach leverages a customized transformer-based language model with disentangled attention to capture relative position information. To mitigate out-of-vocabulary (OOV) challenges in the language model, we introduce a base-token prediction pre-training task aimed at capturing basic semantics for unseen tokens. During function embedding generation, we integrate directed jumps, data dependency, and address adjacency to capture multiple block relations. We then assign different weights to different relations and use multi-layer Graph Convolutional Networks (GCN) to generate function embeddings. We implemented the prototype of IoTSim. Our experimental results show that our proposed block relation matrix improves IoTSim with large margins. With a pool size of 103, IoTSim achieves a recall@1 of 0.903 across architectures, outperforming the state-of-the-art approaches Trex, SAFE, and PalmTree.

Funder

National University of Defense Technology Research Project

National Natural Science Foundation China

HUNAN Province Natural Science Foundation

National Key Research and Development Program of China

Publisher

MDPI AG

Subject

Electrical and Electronic Engineering,Biochemistry,Instrumentation,Atomic and Molecular Physics, and Optics,Analytical Chemistry

Reference63 articles.

1. Lionel Sujay Vailshery (2023, March 03). IoT Connected Devices Worldwide 2019–2023. Available online: https://news.sophos.com/en-us/2022/05/04/attacking-emotets-control-flow-flattening/.

2. A large-scale empirical study on the vulnerability of deployed iot devices;Zhao;IEEE Trans. Dependable Secur. Comput.,2020

3. Wang, Q., Ji, S., Tian, Y., Zhang, X., Zhao, B., Kan, Y., Lin, Z., Lin, C., Deng, S., and Liu, A.X. (2021, January 11–13). MPInspector: A Systematic and Automatic Approach for Evaluating the Security of IoT Messaging Protocols. Proceedings of the 30th USENIX Security Symposium (USENIX Security 21), Virtual.

4. Iot malware: Comprehensive survey, analysis framework and case studies;Costin;BlackHat USA,2018

5. Luo, Z., Wang, B., Tang, Y., and Xie, W. (2019). Semantic-based representation binary clone detection for cross-architectures in the internet of things. Appl. Sci., 9.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3