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 条
  • [1] A Semantic Learning-Based SQL Injection Attack Detection Technology
    Lu, Dongzhe
    Fei, Jinlong
    Liu, Long
    ELECTRONICS, 2023, 12 (06)
  • [2] Research on SQL Injection Defense Technology Based on Deep Learning
    Shi, Weiyu
    Liu, Xiaoqian
    ARTIFICIAL INTELLIGENCE AND SECURITY, ICAIS 2022, PT II, 2022, 13339 : 538 - 549
  • [3] A learning-based approach to the detection of SQL attacks
    Valeur, F
    Mutz, D
    Vigna, G
    DETECTION OF INTRUSIONS AND MALWARE, AND VULNERABILITY ASSESSMENT, PROCEEDINGS, 2005, 3548 : 123 - 140
  • [4] Deep learning-based rice pest detection research
    Xiong, Peng
    Zhang, Cong
    He, Linfeng
    Zhan, Xiaoyun
    Han, Yuantao
    PLOS ONE, 2024, 19 (11):
  • [5] SQL Injection Behavior Mining Based Deep Learning
    Tang, Peng
    Qiu, Weidong
    Huang, Zheng
    Lian, Huijuan
    Liu, Guozhen
    ADVANCED DATA MINING AND APPLICATIONS, ADMA 2018, 2018, 11323 : 445 - 454
  • [6] SQL Injection Detection Based on Deep Belief Network
    Zhang, Huafeng
    Zhao, Bo
    Yuan, Hui
    Zhao, Jinxiong
    Yan, Xiaobin
    Li, Fangjun
    PROCEEDINGS OF THE THIRD INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND APPLICATION ENGINEERING (CSAE2019), 2019,
  • [7] DEEP LEARNING-BASED DETECTION OF FAKE TASK INJECTION IN MOBILE CROWDSENSING
    Sood, Ankkita
    Simsek, Murat
    Zhang, Yueqian
    Kantarci, Burak
    2019 7TH IEEE GLOBAL CONFERENCE ON SIGNAL AND INFORMATION PROCESSING (IEEE GLOBALSIP), 2019,
  • [8] A deep learning approach based on multi-view consensus for SQL injection detection
    Kakisim, Arzu Gorgulu
    INTERNATIONAL JOURNAL OF INFORMATION SECURITY, 2024, 23 (2) : 1541 - 1556
  • [9] A learning-based anomaly detection model of SQL attacks
    Xu Ruzhi
    Deng Liwu
    Guo Jian
    2010 IEEE INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS, NETWORKING AND INFORMATION SECURITY (WCNIS), VOL 2, 2010, : 639 - 642
  • [10] A deep learning approach based on multi-view consensus for SQL injection detection
    Arzu Gorgulu Kakisim
    International Journal of Information Security, 2024, 23 : 1541 - 1556