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

被引:8
|
作者
Liu, Zhiqiang [1 ,2 ]
Li, Daofeng [1 ,2 ]
Wei, Lulu [1 ,2 ]
机构
[1] Guangxi Univ, Sch Comp & Elect Informat, Nanning 530004, Peoples R China
[2] Guangxi Univ, Guangxi Coll & Univ Key Lab Multimedia Commun & I, Nanning 530004, Peoples R China
基金
中国国家自然科学基金;
关键词
D O I
10.1155/2022/3434920
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
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.
引用
收藏
页数:11
相关论文
共 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] 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
  • [6] 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
  • [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] AttentivECGRU: GRU based autoencoder with attention mechanism and automated for ECG detection
    Roy, Moumita
    Halder, Anindya
    Majumder, Sukanta
    Biswas, Utpal
    APPLIED SOFT COMPUTING, 2024, 167
  • [9] 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
  • [10] 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