SAViP: Semantic-Aware Vulnerability Prediction for Binary Programs with Neural Networks

被引:0
|
作者
Zhou, Xu [1 ]
Duan, Bingjie [1 ]
Wu, Xugang [1 ]
Wang, Pengfei [1 ]
机构
[1] Natl Univ Def Technol, Coll Comp, Changsha 410073, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2023年 / 13卷 / 04期
关键词
vulnerability prediction; binary program; neural networks; software security;
D O I
10.3390/app13042271
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Vulnerability prediction, in which static analysis is leveraged to predict the vulnerabilities of binary programs, has become a popular research topic. Traditional vulnerability prediction methods depend on vulnerability patterns, which must be predefined by security experts in a time-consuming manner. The development of Artificial Intelligence (AI) has yielded new options for vulnerability prediction. Neural networks allow vulnerability patterns to be learned automatically. However, current works extract only one or two types of features and use traditional models such as word2vec, which results in the loss of much instruction-level information. In this paper, we propose a model named SAViP to predict vulnerabilities in binary programs. To fully extract binary information, we integrate three kinds of features: semantic, statistical, and structural features. For semantic features, we apply the Masked Language Model (MLM) pre-training task of the RoBERTa model to the assembly code to build our language model. Using this model, we innovatively combine the beginning token and the operation-code token to create the instruction embedding. For the statistical features, we design a 56-dimensional feature vector that contains 43 kinds of instructions. For the structural features, we improve the ability of the structure2vec network to obtain the characteristic of the network by emphasizing node self-attention. Through these optimizations, we significantly increase the accuracy of vulnerability prediction over existing methods. Our experiments show that SAViP achieves a recall of 77.85% and Top 100 similar to 600 accuracies all above 95%. The results are 10% and 13% higher than those of the state-of-the-art V-Fuzz, respectively.
引用
收藏
页数:17
相关论文
共 50 条
  • [1] Order Matters: Semantic-Aware Neural Networks for Binary Code Similarity Detection
    Yu, Zeping
    Cao, Rui
    Tang, Qiyi
    Nie, Sen
    Huang, Junzhou
    Wu, Shi
    THIRTY-FOURTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, THE THIRTY-SECOND INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE AND THE TENTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2020, 34 : 1145 - 1152
  • [2] Semantic-Aware Vulnerability Detection
    Huang, Zhen
    White, Marc
    2022 IEEE INTERNATIONAL CONFERENCE ON CYBER SECURITY AND RESILIENCE (IEEE CSR), 2022, : 68 - 75
  • [3] Semantic-aware Graph Neural Network for Smart Contract Bytecode Vulnerability Detection
    Zhao B.
    Shangguan C.
    Peng X.
    An Y.
    Tong J.
    Yuan A.
    Gongcheng Kexue Yu Jishu/Advanced Engineering Sciences, 2022, 54 (02): : 49 - 55
  • [4] Semantic-aware neural style transfer
    Park, Joo Hyun
    Park, Song
    Shim, Hyunjung
    IMAGE AND VISION COMPUTING, 2019, 87 : 13 - 23
  • [5] Hierarchical semantic-aware neural code representation
    Jiang, Yuan
    Su, Xiaohong
    Treude, Christoph
    Wang, Tiantian
    JOURNAL OF SYSTEMS AND SOFTWARE, 2022, 191
  • [6] Learning Semantic-Aware Dynamics for Video Prediction
    Bei, Xinzhu
    Yang, Yanchao
    Soatto, Stefano
    2021 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION, CVPR 2021, 2021, : 902 - 912
  • [7] Semantic-aware quality assessment of building elements using graph neural networks
    Kayhani, Navid
    Mccabe, Brenda
    Sankaran, Bharath
    AUTOMATION IN CONSTRUCTION, 2023, 155
  • [8] Learning Semantic-aware Normalization for Generative Adversarial Networks
    Zheng, Heliang
    Fu, Jianlong
    Zeng, Yanhong
    Luo, Jiebo
    Zha, Zheng-Jun
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 33, NEURIPS 2020, 2020, 33
  • [9] Resource Optimization for Semantic-Aware Networks With Task Offloading
    Ji, Zelin
    Qin, Zhijin
    Tao, Xiaoming
    Han, Zhu
    IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2024, 23 (09) : 12284 - 12296
  • [10] Interference Suppressed NOMA for Semantic-Aware Communication Networks
    Zhang, Yimeng
    Zhong, Ruikang
    Liu, Yuanwei
    Xu, Wenjun
    Zhang, Ping
    IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, 2024, 23 (08) : 10383 - 10397