Deep Learning-Based Detection Technology for SQL Injection Research and Implementation

被引:1
作者
Sun, Hao [1 ]
Du, Yuejin [2 ]
Li, Qi [1 ]
机构
[1] Beijing Univ Posts & Telecommun, Cyberspace Secur Acad, Beijing 100876, Peoples R China
[2] Beijing Qihoo Technol Co Ltd, Beijing 100015, Peoples R China
来源
APPLIED SCIENCES-BASEL | 2023年 / 13卷 / 16期
基金
中国国家自然科学基金;
关键词
deep learning; SQL injection detection; TextCNN; LSTM;
D O I
10.3390/app13169466
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Amid the incessant evolution of the Internet, an array of cybersecurity threats has surged at an unprecedented rate. A notable antagonist within this plethora of attacks is the SQL injection assault, a prevalent form of Internet attack that poses a significant threat to web applications. These attacks are characterized by their extensive variety, rapid mutation, covert nature, and the substantial damage they can inflict. Existing SQL injection detection methods, such as static and dynamic detection and command randomization, are principally rule-based and suffer from low accuracy, high false positive (FP) rates, and false negative (FN) rates. Contemporary machine learning research on SQL injection attack (SQLIA) detection primarily focuses on feature extraction. The effectiveness of detection is heavily reliant on the precision of feature extraction, leading to a deficiency in tackling more intricate SQLIA. To address these challenges, we propose a novel SQLIA detection approach harnessing the power of an enhanced TextCNN and LSTM. This method begins by vectorizing the samples in the corpus and then leverages an improved TextCNN to extract local features. It then employs a Bidirectional LSTM (Bi-LSTM) network to decipher the sequence information inherent in the samples. Given LSTM's modest effectiveness for relatively long sequences, we further integrate an attention mechanism, reducing the distance between any two words in the sequence to one, thereby enhancing the model's effectiveness. Moreover, pre-trained word vector features acquired via BERT for transfer learning are incorporated into the feature section. Comparative experimental results affirm the superiority of our deep learning-based SQLIA detection approach, as it effectively elevates the SQLIA recognition rate while reducing both FP and FN rates.
引用
收藏
页数:21
相关论文
共 50 条
  • [31] Deep Learning-Based Self-Admitted Technical Debt Detection Empirical Research
    Qu, Yubin
    Bao, Tie
    Yuan, Meng
    Li, Long
    JOURNAL OF INTERNET TECHNOLOGY, 2023, 24 (04): : 975 - 987
  • [32] A review of the research and application of deep learning-based computer vision in structural damage detection
    Zhang Lingxin
    Shen Junkai
    Zhu Baijie
    EARTHQUAKE ENGINEERING AND ENGINEERING VIBRATION, 2022, 21 (01) : 1 - 21
  • [33] Deep learning-based vein visualization and its mobile implementation☆
    Tang, Chaoying
    Qian, Mengen
    Wang, Biao
    BIOMEDICAL SIGNAL PROCESSING AND CONTROL, 2025, 102
  • [34] A review of the research and application of deep learning-based computer vision in structural damage detection
    Zhang Lingxin
    Shen Junkai
    Zhu Baijie
    Earthquake Engineering and Engineering Vibration, 2022, 21 : 1 - 21
  • [35] Deep learning-based signal detection in OFDM systems
    Chang D.
    Zhou J.
    Dongnan Daxue Xuebao (Ziran Kexue Ban)/Journal of Southeast University (Natural Science Edition), 2020, 50 (05): : 912 - 917
  • [36] A survey on deep learning-based image forgery detection
    Mehrjardi, Fatemeh Zare
    Latif, Ali Mohammad
    Zarchi, Mohsen Sardari
    Sheikhpour, Razieh
    PATTERN RECOGNITION, 2023, 144
  • [37] Deep learning-based small object detection: A survey
    Feng, Qihan
    Xu, Xinzheng
    Wang, Zhixiao
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (04) : 6551 - 6590
  • [38] A survey of deep learning-based network anomaly detection
    Kwon, Donghwoon
    Kim, Hyunjoo
    Kim, Jinoh
    Suh, Sang C.
    Kim, Ikkyun
    Kim, Kuinam J.
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2019, 22 (Suppl 1): : 949 - 961
  • [39] Deep Learning-Based Weed Detection in Turf: A Review
    Jin, Xiaojun
    Liu, Teng
    Chen, Yong
    Yu, Jialin
    AGRONOMY-BASEL, 2022, 12 (12):
  • [40] Deep Learning-based Joint Symbol Detection for NOMA
    Emir, Ahmet
    Kara, Ferdi
    Kaya, Hakan
    2019 27TH SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE (SIU), 2019,