Asteria-Pro: Enhancing Deep Learning-based Binary Code Similarity Detection by Incorporating Domain Knowledge

被引:0
|
作者
Yang, Shouguo [1 ,2 ]
Dong, Chaopeng [1 ,2 ]
Xiao, Yang [1 ,2 ]
Cheng, Yiran [1 ,2 ]
Shi, Zhiqiang [1 ,2 ]
Li, Zhi [1 ,2 ]
Sun, Limin [1 ,2 ]
机构
[1] Chinese Acad Sci, Inst Informat Engn, 19 Shucun Rd, Beijing 100085, Peoples R China
[2] Univ Chinese Acad Sci, Sch Cyber Secur, 1 Yanqihu East Rd, Beijing 101408, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
Binary code similarity detection; pre-fitering; re-ranking; abstract syntactic tree; graph neural network; SEARCH;
D O I
10.1145/3604611
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Widespread code reuse allows vulnerabilities to proliferate among a vast variety of firmware. There is an urgent need to detect these vulnerable codes effectively and efficiently. By measuring code similarities, AI-based binary code similarity detection is applied to detecting vulnerable code at scale. Existing studies have proposed various function features to capture the commonality for similarity detection. Nevertheless, the significant code syntactic variability induced by the diversity of IoT hardware architectures diminishes the accuracy of binary code similarity detection. In our earlier study and the tool Asteria, we adopted a Tree-LSTM network to summarize function semantics as function commonality, and the evaluation result indicates an advanced performance. However, it still has utility concerns due to excessive time costs and inadequate precision while searching for large-scale firmware bugs. To this end, we propose a novel deep learning-enhancement architecture by incorporating domain knowledge-based pre-filtration and re-ranking modules, and we develop a prototype named ASTERIA-PRO based on Asteria. The pre-filtration module eliminates dissimilar functions, thus reducing the subsequent deep learning-model calculations. The re-ranking module boosts the rankings of vulnerable functions among candidates generated by the deep learning model. Our evaluation indicates that the pre-filtration module cuts the calculation time by 96.9%, and the re-ranking module improves MRR and Recall by 23.71% and 36.4%, respectively. By incorporating these modules, ASTERIA-PRO outperforms existing state-of-the-art approaches in the bug search task by a significant margin. Furthermore, our evaluation shows that embedding baseline methods with pre-filtration and re-ranking modules significantly improves their precision. We conduct a large-scale real-world firmware bug search, and ASTERIA-PRO manages to detect 1,482 vulnerable functions with a high precision 91.65%.
引用
收藏
页数:40
相关论文
共 50 条
  • [31] Enhancing Video Surveillance with Deep Learning-Based Real-Time Handgun Detection and Tracking
    Yadav, Pavinder
    Gupta, Nidhi
    Sharma, Pawan Kumar
    COMPUTER VISION AND IMAGE PROCESSING, CVIP 2023, PT I, 2024, 2009 : 173 - 184
  • [32] Enhancing waste sorting and recycling efficiency: robust deep learning-based approach for classification and detection
    Faizul Rakib Sayem
    Md. Sakib Bin Islam
    Mansura Naznine
    Mohammad Nashbat
    Mazhar Hasan-Zia
    Ali K Ansaruddin Kunju
    Amith Khandakar
    Azad Ashraf
    Molla Ehsanul Majid
    Saad Bin Abul Kashem
    Muhammad E. H. Chowdhury
    Neural Computing and Applications, 2025, 37 (6) : 4567 - 4583
  • [33] Easy domain adaptation method for filling the species gap in deep learning-based fruit detection
    Zhang, Wenli
    Chen, Kaizhen
    Wang, Jiaqi
    Shi, Yun
    Guo, Wei
    HORTICULTURE RESEARCH, 2021, 8 (01)
  • [34] MECKD: Deep Learning-Based Fall Detection in Multilayer Mobile Edge Computing With Knowledge Distillation
    Mao, Wei-Lung
    Wang, Chun-Chi
    Chou, Po-Heng
    Liu, Kai-Chun
    Tsao, Yu
    IEEE Sensors Journal, 2024, 24 (24) : 42195 - 42209
  • [35] Enhancing trustworthiness among iot network nodes with ensemble deep learning-based cyber attack detection
    Malathi, S.
    Begum, S. Razool
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 255
  • [36] Federated Deep Learning-based Intrusion Detection Approach for Enhancing Privacy in Fog-IoT Networks
    Radjaa, Bensaid
    Nabila, Labraoui
    Salameh, Haythem Bany
    2023 10TH INTERNATIONAL CONFERENCE ON INTERNET OF THINGS: SYSTEMS, MANAGEMENT AND SECURITY, IOTSMS, 2023, : 156 - 160
  • [37] Enhancing ransomware defense: deep learning-based detection and family-wise classification of evolving threats
    Hussain, Amjad
    Saadia, Ayesha
    Alhussein, Musaed
    Gul, Ammara
    Aurangzeb, Khursheed
    PEERJ, 2024, 10 : 1 - 44
  • [38] Enhancing moisture detection in coal gravels: A deep learning-based adaptive microwave spectra fusion method
    Tian, Jun
    Li, Ming
    Zhang, Xiaofu
    Lei, Meng
    Ke, Lin
    Zou, Liang
    SPECTROCHIMICA ACTA PART A-MOLECULAR AND BIOMOLECULAR SPECTROSCOPY, 2024, 313
  • [39] Enhancing Quality Control in Battery Component Manufacturing: Deep Learning-Based Approaches for Defect Detection on Microfasteners
    Vu, Thi-Thu-Huyen
    Chang, Tai-Woo
    Kim, Haejoong
    SYSTEMS, 2024, 12 (01):
  • [40] Robust R-peak Detection using Deep Learning based on Integrating Domain Knowledge
    Kovalchuk, Oleksii
    Radiuk, Pavlo
    Barmak, Olexander
    Krak, Iurii
    6TH INTERNATIONAL CONFERENCE ON INFORMATICS & DATA-DRIVEN MEDICINE, IDDM 2023, 2023, 3609