HEBCS: A High-Efficiency Binary Code Search Method

被引:2
|
作者
Sun, Xiangjie [1 ,2 ]
Wei, Qiang [2 ]
Du, Jiang [2 ]
Wang, Yisen [2 ]
机构
[1] Zhengzhou Univ, Sch Cyber Sci & Engn, Zhengzhou 450002, Peoples R China
[2] PLA Informat Engn Univ, Sch Cyber Sci & Engn, Zhengzhou 450001, Peoples R China
关键词
binary code search; binary code similarity; locality-sensitive hash; software analysis;
D O I
10.3390/electronics12163464
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Binary code search is a technique that involves finding code with similarity to a given code within a code database. It finds extensive application in scenarios such as vulnerability queries and code defect analysis. While many existing methods employ advanced machine learning models for similarity analysis, their lack of interpretability and low efficiency in dealing with large-scale functions still remain challenges. To address these issues, we propose a high-efficiency binary code search method called HEBCS. It employs an interpretable approach to extract function-level features and transforms each feature into a locality-sensitive hash representation. Then, the hashes of these features are combined to form the hash of the function. By leveraging the pigeonhole principle, HEBCS enables efficient storage and retrieval of functions, ensuring high execution efficiency even in the presence of large-scale data. Furthermore, we compare HEBCS with a classic method and a state-of-the-art method, demonstrating that HEBCS achieves significantly higher search efficiency while maintaining a comparable accuracy, recall and F1-score. In real-world vulnerability query applications, HEBCS demonstrated promising results. Its effectiveness in large-scale binary function searches suggests significant potential for practical applications.
引用
收藏
页数:21
相关论文
共 50 条
  • [41] High-efficiency CARM
    Bratman, VL
    Denisov, GG
    Kolchugin, BD
    Samsonov, SV
    Volkov, AB
    NUCLEAR INSTRUMENTS & METHODS IN PHYSICS RESEARCH SECTION A-ACCELERATORS SPECTROMETERS DETECTORS AND ASSOCIATED EQUIPMENT, 1996, 375 (1-3): : 360 - 362
  • [42] HIGH-EFFICIENCY PHOTOSYNTHESIS
    BJORKMAN, O
    BERRY, J
    SCIENTIFIC AMERICAN, 1973, 229 (04) : 80 - 93
  • [43] High-efficiency optometry
    不详
    OPTOMETRY-JOURNAL OF THE AMERICAN OPTOMETRIC ASSOCIATION, 2009, 80 (11) : 657 - 661
  • [44] HIGH-EFFICIENCY HAULAGE
    SCALES, M
    CANADIAN MINING JOURNAL, 1991, 112 (06) : 12 - 15
  • [45] HIGH-EFFICIENCY FURNACE
    不详
    AMERICAN GAS ASSOCIATION MONTHLY, 1976, 58 (09): : 11 - 12
  • [46] A HIGH-EFFICIENCY METHOD FOR FINDING THE STATIC STATUS OF AN INCLINED CABLE
    Chen, Taicong
    Ma, Haitao
    Su, Cheng
    INTERNATIONAL SYMPOSIUM ON LIFE-CYCLE PERFORMANCE OF BRIDGES AND STRUCTURES, 2010, : 658 - 663
  • [47] High-efficiency MPPT method based on irradiance and temperature measurements
    Vicente, Eduardo Moreira
    Vicente, Paula dos Santos
    Moreno, Robson Luiz
    Ribeiro, Enio Roberto
    IET RENEWABLE POWER GENERATION, 2020, 14 (06) : 986 - 995
  • [48] A high-efficiency wavefield decomposition method based on the Hilbert transform
    Guo, Xuebao
    Shi, Ying
    Wang, Weihong
    Ke, Xuan
    Liu, Hong
    Chen, Shumin
    GEOPHYSICS, 2021, 86 (03) : S197 - S204
  • [49] Method of calculation of the service life of high-efficiency fibrous filters
    Lebedev, MN
    COLLOID JOURNAL, 1998, 60 (01) : 42 - 50
  • [50] A High-Efficiency Codesign Method for Bandgap Circuit by Submodule Optimization
    Yang, Yunqi
    Chen, Dongdong
    Wang, Xianglong
    Li, Di
    Yang, Yintang
    INTERNATIONAL JOURNAL OF CIRCUIT THEORY AND APPLICATIONS, 2025,