Article Details

Title · Authors · Abstract · Keywords · DOI · References

Research and Implementation of Web Injection Detection Method Based on Hybrid Deep Learning Architecture

YU Zhenyang, LIU Yuanxia

(Guangdong Polytechnic of Science and Technology, Zhuhai 519090, China)

Received: 2025-04-02

Section:Artificial Intelligence · 2025, Vol. 9, No. 15 · Pages:72-77 · 2096-4706(2025)15-0072-06 · CLC number:TP393.0;TP183 · Document code:A · DOI:10.19850/j.cnki.2096-4706.2025.15.015 · Updated:2026-12-04

Abstract

With the continuous increase of network security threats, Web injection attacks have become one of the common means of attack. Traditional Web injection detection methods generally have problems such as poor adaptability, dependence on handcrafted features, and difficulty in dealing with encryption confusion attacks. Therefore, this paper proposes a Web injection detection model based on hybrid Deep Learning architecture, which combines Convolutional Neural Network (CNN) and Long Short-Term Memory (LSTM) network to improve the detection accuracy of SQL injection, XSS and other attacks. The experiment is carried out on the public dataset. This method first effectively filters out noise data through multi-level cleaning, then combines TF-IDF vectorization (n-gram range 1~3) to represent the data, and uses CNN to extract local features and LSTM to model temporal dependencies to construct a hybrid neural network structure. The experimental results show that the method has high detection accuracy, which verifies its effectiveness and practicability.

Keywords

Web injection attack detection; Deep Learning; CNN; LSTM; AUC

References

  1. [1] Yu Xinsheng, Zhao Linna, Xu Zechen. Microservice mimetic defense method based on dynamic heterogeneous redundancy [J]. Network Security Technology and Applications, 2023 (12): 1-4
  2. [2] Wang Yihang. Static vulnerability mining technology for scripting languages based on universal intermediate representation [D]. Harbin: Harbin Institute of Technology, 2022
  3. [3] Liu Qiang, Wang Jian, Wang Yanan, et al. A Dynamic Detection Method for Malicious Code Based on Ensemble Learning [J]. Information Network Security, 2025, 25 (1): 159-172
  4. [4] Zhang Jiujiu, Shi Xinli, Cao Jinde. A Road Structure Optimization Design System Based on Network Attack Detection and Heuristic Algorithms [J]. Journal of Nantong University: Natural Science Edition, 2024, 23 (4): 23-35
  5. [5] Ji Yuqing, Fang Yanhong, Tan Shunhua, et al. Malicious JavaScript code detection method based on Bi LSTM model [J]. Computer Applications and Software, 2024, 41 (9): 357-362
  6. [6] Jin Lizhong, Xue Huiqin, Duan Mingbo, et al. Malicious code variant classification based on multi frequency feature learning [J]. Computer Engineering and Design, 2024, 45 (7): 1934-1940
  7. [7] Wang Jinwei, Chen Zhengjia, Xie Xue, et al. Visualization classification method for deep malicious code based on Ngram TFIDF [J]. Journal of Communications, 2024, 45 (6): 160-175
  8. [8] Ge Shunqing. Design and Engineering Implementation of SQL Injection Detection Based on AdaBoost Algorithm [D]. Yantai: Yantai University, 2024
  9. [9] Zhou Qiao. Research on Web Shell and Injection Attack Detection Methods Based on Deep Learning [D]. Nanjing: Nanjing University of Information Science and Technology, 2024
  10. [10] Luo Yiming. Research on SQL Injection Attack Detection Method Based on Generative Adversarial Networks [D]. Zhengzhou: Henan University of Technology, 2024
  11. [11] Yang Chaosheng. Analysis of SQL time blind injection attack technology based on Python [J]. Journal of Shijiazhuang Vocational and Technical College, 2024, 36 (6): 33-38
  12. [12] Chen Junzhang. Research on Vulnerability Prevention Strategies for PHP File Upload [J]. Journal of Anyang Institute of Technology, 2021, 20 (2): 43-45
  13. [13] Li Haifang, Lu Xiaoya. Deep Learning based APT Attack Detection Method for Computer Communication Networks [J]. Information Technology and Informatization, 2025 (2): 3-6
  14. [14] Qi Zijian, Liu Yi. Malicious network traffic detection method based on bidirectional GRU and CNN [J]. Computer Applications and Software, 2024, 41 (12): 334-340+366

Funding

Guangdong Province Ordinary University Research Project - Young Innovative Talents (Self Science) (2023KQNCX182)

About the authors

Yu Zhenyang (1989-), male, Han nationality, from Lianjiang, Guangdong, lecturer, master's student, research direction: network security, network engineering; Liu Yuanxia (1987-), female, Han ethnicity, from Meizhou, Guangdong, is a research intern with a bachelor's degree in material management.