A New Method for WebShell Detection Based on Bidirectional GRU and Attention Mechanism

被引:0
|
作者
Liu, Zhiqiang [1 ,2 ]
Li, Daofeng [1 ,2 ]
Wei, Lulu [1 ,2 ]
机构
[1] School of Computer and Electronics Information, Guangxi University, Nanning,530004, China
[2] Guangxi Colleges and Universities, Key Laboratory of Multimedia Communications and Information Processing, Guangxi University, Nanning,530004, China
关键词
Attack methods - Attention mechanisms - Detection methods - Features matching - Network intruders - Networks security - Recall rate - Security issues - Technology network - Word vectors;
D O I
暂无
中图分类号
学科分类号
摘要
With the rapid development of hacker technology, network security issues have become increasingly serious. Uploading WebShell is one of the most common attack methods used by network intruders. WebShell escape technology is changing with each passing day, and the traditional method based on feature matching is difficult to accurately detect. In order to detect WebShell more accurately and mitigate the threat caused by WebShell attacks, a WebShell detection method combining bidirectional GRU (gated recurrent unit) and attention mechanism is proposed for the first time. First, the sample is preprocessed to remove useless information such as annotations. Then, the sample is divided into a series of words, the word2vec model is used to obtain the word vector, and finally, the word vector is input into the network for prediction. According to the experimental results, compared with peer methods, the method in this study performs better in performance indicators such as accuracy rate, recall rate, and F1 value. The model not only detects the PHP-type WebShell but also has a good performance on the WebShell written in JSP, ASPX, or ASP languages. The detection accuracy of PHP-type, JSP-type, and ASP-type WebShell reached 99.36%, 99.23%, and 99.87%, respectively, and the recall rate was 98.6%, 99.13%, and 99.56%, respectively. © 2022 Zhiqiang Liu et al.
引用
收藏
相关论文
共 50 条
  • [1] A New Method for WebShell Detection Based on Bidirectional GRU and Attention Mechanism
    Liu, Zhiqiang
    Li, Daofeng
    Wei, Lulu
    SECURITY AND COMMUNICATION NETWORKS, 2022, 2022
  • [2] Webshell Detection Based on the Word Attention Mechanism
    Li, Tingting
    Ren, Chunhui
    Fu, Yusheng
    Xu, Jie
    Guo, Jinhong
    Chen, Xinyu
    IEEE ACCESS, 2019, 7 : 185140 - 185147
  • [3] Human Motion Prediction Based on Bidirectional-GRU and Attention Mechanism Model
    Sang H.
    Chen Z.
    He D.
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2019, 31 (07): : 1166 - 1174
  • [4] A Hybrid Approach for Network Rumor Detection Based on Attention Mechanism and Bidirectional GRU Model in Big Data Environment
    Zhang, Li
    Huang, Guan
    MOBILE INFORMATION SYSTEMS, 2022, 2022
  • [5] Bidirectional-GRU Based on Attention Mechanism for Aspect-level Sentiment Analysis
    Zhai Penghua
    Zhang Dingyi
    ICMLC 2019: 2019 11TH INTERNATIONAL CONFERENCE ON MACHINE LEARNING AND COMPUTING, 2019, : 86 - 90
  • [6] An Air Target Tactical Intention Recognition Model Based on Bidirectional GRU With Attention Mechanism
    Teng, Fei
    Guo, Xinpeng
    Song, Yafei
    Wang, Gang
    IEEE ACCESS, 2021, 9 : 169122 - 169134
  • [7] Early Fault Detection Method of Rolling Bearing Based on MCNN and GRU Network with an Attention Mechanism
    Zhang, Xiaochen
    Cong, Yiwen
    Yuan, Zhe
    Zhang, Tian
    Bai, Xiaotian
    SHOCK AND VIBRATION, 2021, 2021
  • [8] A Rumor Events Detection Method Based on Deep Bidirectional GRU Neural Network
    Li, Lizhao
    Cai, Guoyong
    Chen, Nannan
    2018 IEEE 3RD INTERNATIONAL CONFERENCE ON IMAGE, VISION AND COMPUTING (ICIVC), 2018, : 755 - 759
  • [9] Text Sentiment Orientation Analysis Based on Multi-Channel CNN and Bidirectional GRU With Attention Mechanism
    Cheng, Yan
    Yao, Leibo
    Xiang, Guoxiong
    Zhang, Guanghe
    Tang, Tianwei
    Zhong, Linhui
    IEEE ACCESS, 2020, 8 (08): : 134964 - 134975
  • [10] Security situation prediction method of GRU neural network based on attention mechanism
    He C.
    Zhu J.
    Xi Tong Gong Cheng Yu Dian Zi Ji Shu/Systems Engineering and Electronics, 2021, 43 (01): : 258 - 266