arrow
Return

Sql injection detection algorithm based on Bi-LSTM and integrated feature selection

delete2025-03-12
delete0
PRE
AI
Q
Qiurong Qin
Y
Yueqin Li *
Y
Yajie Mi
K
Kexin Wu
Z
Zhenzhao Wang
DOI:10.1007/s11227-025-07109-wdelete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
SQL injection attacks represent a significant web security threat. However, due to their diversity and variability, existing detection methods often suffer from high false alarm rates and low accuracy. To address these challenges, this paper proposes an efficient and lightweight SQL injection detection model, SQLLS, based on a bidirectional long short-term memory network. Initially, the term frequency-inverse document frequency algorithm is employed to convert SQL statements into numerical feature vectors, enabling the extraction of key information and enhancing the model's ability to characterize the input data. Subsequently, an integrated feature selection method, GFC, is presented, which combines multiple techniques to improve both the accuracy and robustness of feature selection. Specifically, gradient boosting regression trees are used to evaluate the importance of each feature, identifying those most significant for classification; Fisher score filters out features that can effectively distinguish between SQL injections and non-injections based on statistical significance; and the chi-square test further evaluates the relevance of the features with respect to the target label, ensuring that the selected features are highly correlated with SQL injection detection. After feature selection, a mixed precision training technique is utilized to reduce memory consumption and enhance training efficiency. To reduce the complexity of the bidirectional long short-term memory model and improve its computational efficiency, this paper introduces a pruning technique that minimizes computational overhead by removing unimportant weight connections, thereby improving the model's operational efficiency. Experimental results demonstrate that the SQLLS model achieves an accuracy of 100%, a low false alarm rate of 0.154%, and significantly shorter running times compared to existing models.
Keywords:
SQL injection
TF-IDF algorithm
Integrated feature selection
Bi-LSTM network

Journal

Journal of Supercomputing cover
Journal of Supercomputing
IF:
2.7
Papers:
1.2K
Citations:
1.0W

Organization

No organization information available
Cited Papers

Cited Papers

XIDINTFL-VAE: XGBoost-based intrusion detection of imbalance network traffic via class-wise focal loss variational autoencoder
err2024-10-17
err0
PREAI
errOluwadamilare Harazeem Abdulganiyu; Taha Ait Tchakoucht; Yakub Kayode Saheed; Hilali Alaoui Ahmed
errShare
errSave
Long Short-Term Memory
err1997-11-01
err0
PREAI
errSepp Hochreiter; Jürgen Schmidhuber
errShare
errSave
Evolutionary computation for feature selection in classification: A comprehensive survey of solutions, applications and challenges
err2024-10-01
err18
PREAI
errSong, Xianfang; Zhang, Yong; Zhang, Wanqiu; He, Chunlin; Hu, Ying; Wang, Jian; Gong, Dunwei
errShare
errSave
SS7 Vulnerabilities-A Survey and Implementation of Machine Learning vs Rule Based Filtering for Detection of SS7 Network Attacks
err2020-01-01
err158
PREAI
errUllah, Kaleem; Rashid, Imran; Afzal, Hammad; Iqbal, Mian Muhammad Waseem; Bangash, Yawar Abbas; Abbas, Haider
errShare
errSave
A Review of Recurrent Neural Networks: LSTM Cells and Network Architectures
err2019-07-01
err0
PREAI
errYong Yu; Xiaosheng Si; Changhua Hu; Jianxun Zhang
errShare
errSave
An empirical assessment of ensemble methods and traditional machine learning techniques for web-based attack detection in industry 5.0
err2023-03-01
err0
errOAAI
errOumaima Chakir; Abdeslam Rehaimi; Yassine Sadqi; El Arbi Abdellaoui Alaoui; Moez Krichen; Gurjot Singh Gaba; Andrei Gurtov
errShare
errSave
Analysis of SQL injection attacks in the cloud and in WEB applications
err2024-01-18
err0
PREAI
errAnimesh Kumar; Sandip Dutta; Prashant Pranav
errShare
errSave
Boosted GRU model for short-term forecasting of wind power with feature-weighted principal component analysis
errENERGY
IF9.4
err2023-03-01
err54
PREAI
errXiao, Yulong; Zou, Chongzhe; Chi, Hetian; Fang, Rengcun
errShare
errSave
researcher View more