Cross-Platform Binary Code Homology Analysis Based on GRU Graph Embedding

被引:0
|
作者
Wang, Shen [1 ]
Jiang, Xunzhi [1 ]
Yu, Xiangzhan [1 ]
Su, Xiaohui [1 ]
机构
[1] Harbin Inst Technol, Sch Cyberspace Sci, Harbin 150001, Peoples R China
关键词
14;
D O I
10.1155/2021/3095203
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Binary code homology analysis refers to detecting whether two pieces of binary code are compiled from the same piece of source code, which is a fundamental technique for many security applications, such as vulnerability search, plagiarism detection, and malware detection. With the increase in critical vulnerabilities in IoT devices, homology analysis is increasingly needed to perform cross-platform vulnerability searches. Existing methods for cross-platform binary code homology detection usually convert binary code to instruction sequences and do semantic embedding of the sequences as if they were natural language. However, the gap between natural language and binary code is large, and the spatial features of the binary code are easily lost by directly comparing the semantics. In this paper, we propose a GRU-based graph embedding method to compare the homology of binary functions. First, the attribute control flow graph (ACFG) is built for the assembly function, then the GRU-based graph embedding neural network is used to generate the embedding vector for the ACFG, and finally the homology of the binary code is determined by calculating the distance between the embedding vectors. The experimental results show that our method greatly improves the detection accuracy of negative samples compared with Gemini, the latest method based on graph embedding binary code similarity detection.
引用
收藏
页数:8
相关论文
共 50 条
  • [1] Cross-platform binary code similarity detection based on NMT and graph embedding
    Zhu, Xiaodong
    Jiang, Liehui
    Chen, Zeng
    [J]. MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2021, 18 (04) : 4528 - 4551
  • [2] Investigating Graph Embedding Methods for Cross-Platform Binary Code Similarity Detection
    Cochard, Victor
    Pfammatter, Damian
    Duong, Chi Thang
    Humbert, Mathias
    [J]. 2022 IEEE 7TH EUROPEAN SYMPOSIUM ON SECURITY AND PRIVACY (EUROS&P 2022), 2022, : 60 - 73
  • [3] Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
    Xu, Xiaojun
    Liu, Chang
    Feng, Qian
    Yin, Heng
    Song, Le
    Song, Dawn
    [J]. CCS'17: PROCEEDINGS OF THE 2017 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2017, : 363 - 376
  • [4] FuncNet: A Euclidean Embedding Approach for Lightweight Cross-platform Binary Recognition
    Luo, Mengxia
    Yang, Can
    Gong, Xiaorui
    Yu, Lei
    [J]. SECURITY AND PRIVACY IN COMMUNICATION NETWORKS, SECURECOMM, PT I, 2019, 304 : 319 - 337
  • [5] Improving Cross-Platform Binary Analysis using Representation Learning via Graph Alignment
    Kim, Geunwoo
    Hong, Sanghyun
    Franz, Michael
    Song, Dokyung
    [J]. PROCEEDINGS OF THE 31ST ACM SIGSOFT INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, ISSTA 2022, 2022, : 151 - 163
  • [6] A CROSS-PLATFORM BINARY DIFF
    COPPIETERS, K
    [J]. DR DOBBS JOURNAL, 1995, 20 (05): : 32 - &
  • [7] Binary Code Modularization Method Based on Graph Embedding
    Sun, Huaqi
    Kang, Fei
    Shu, Hui
    Huang, Yuyao
    Bu, Wenjuan
    [J]. Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2024, 61 (09): : 2275 - 2289
  • [8] Cross-platform Product Matching Based on Knowledge Graph
    Liu, Wenlong
    Pan, Jiahua
    Zhang, Xingyu
    Gong, Xinxin
    Ye, Yang
    Zhao, Xujin
    Wang, Xin
    Wu, Kent
    Xiang, Hua
    Zhang, Qingpeng
    [J]. WEB AND BIG DATA. APWEB-WAIM 2022 INTERNATIONAL WORKSHOPS, KGMA 2022, SEMIBDMA 2022, DEEPLUDA 2022, 2023, 1784 : 45 - 48
  • [9] Asteria: Deep Learning-based AST-Encoding for Cross-platform Binary Code Similarity Detection
    Yang, Shouguo
    Cheng, Long
    Zeng, Yicheng
    Lang, Zhe
    Zhu, Hongsong
    Shi, Zhiqiang
    [J]. 51ST ANNUAL IEEE/IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS (DSN 2021), 2021, : 224 - 236
  • [10] Smart Cross-Platform Binary Visualisation Tool
    Ong, Lee
    Yeo, Chai Kiat
    [J]. 2018 9TH IEEE ANNUAL UBIQUITOUS COMPUTING, ELECTRONICS & MOBILE COMMUNICATION CONFERENCE (UEMCON), 2018, : 412 - 417