Affiliation:
1. Academy of Cyberspace Security, Beijing University of Posts and Telecommunications, Beijing 100876, China
2. Beijing Qihoo Technology Co., Ltd., Beijing 100015, China
Abstract
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.
Funder
National Natural Science Foundation of China
Natural Science Foundation of Ningxia
Subject
Fluid Flow and Transfer Processes,Computer Science Applications,Process Chemistry and Technology,General Engineering,Instrumentation,General Materials Science
Reference33 articles.
1. Uwagbole, S.O., Buchanan, W.J., and Fan, L. (2017, January 8–12). Applied machine learning predictive analytics to SQL injection attack detection and prevention. Proceedings of the 2017 IFIP/IEEE Symposium on Integrated Network and Service Management (IM), Lisbon, Portugal.
2. SQL injection detection using machine learning;Krishnan;Rev. Geintec-Gest. Inov. Tecnol.,2021
3. Ensemble machine learning approaches for detection of sql injection attack;Farooq;Teh. Glas.,2021
4. Adebiyi, M.O., Arowolo, M.O., Archibong, G.I., Mshelia, M.D., and Adebiyi, A.A. (2021, January 9–10). An SQL injection detection model using chi-square with classification techniques. Proceedings of the 2021 International Conference on Electrical, Computer and Energy Technologies (ICECET), Cape Town, South Africa.
5. Instance cloned extreme learning machine;Zhang;Pattern Recognit.,2017
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Research on SQL Injection Detection Method Based on Mixed Word Embedding;2024 6th International Conference on Communications, Information System and Computer Engineering (CISCE);2024-05-10
2. A Study on SQL Injection Detection: AI-based Perspective;2023 International Conference on Energy, Materials and Communication Engineering (ICEMCE);2023-12-14
3. Request-Response Network Traffic Packets: Enhancing SQL Injection Attack Detection with a Transformer-Based Model;2023 9th International Conference on Computer and Communications (ICCC);2023-12-08