arrow
返回

A feature selection-based method for SQL injection detection using machine learning algorithms

delete2025-11-01
delete0
PRE
AI
B
Bahman Arasteh *
S
Seyed Salar Sefati
M
Mohammad Bagher Karimi
İ
İbrahim Furkan İnce
DOI:10.1177/18724981251385295delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
SQL injection (SQLi) is a serious security threat that allows attackers to access and manipulate databases through malicious input. Machine learning algorithms have shown strong potential for detecting SQL injection (SQLi) attacks. However, their performance depends heavily on the quality and relevance of the features used in training. Feature selection plays a key role in identifying the most effective, minimal set of features from the SQLi dataset. In this study, a hybrid SQLi detection method is proposed that combines feature selection with machine learning algorithms. A real-world dataset containing 13 features was first developed. Then, a hybrid Horse Herd Optimizer was developed and applied to select the most influential features before model training. Several machine learning classifiers were trained using the optimal feature set. The proposed method achieved high predictive performance, with 99.49% accuracy, 99.62% sensitivity, and 99.00% F1-score. These results were obtained using only about 45% of the original features. The reduction in feature size also improved the model's efficiency and training speed. The findings show that combining intelligent feature selection with machine learning significantly enhances SQLi detection. This approach is effective, scalable, and suitable for real-world security applications.
Keyword:
Cybersecurity
SQL injection
optimal feature extraction
machine learning algorithms
horse herd algorithm

期刊

I
Intelligent Decision Technologies-Netherlands
IF:
0.8
论文数:
72
被引数:
0

机构

K
kapadokya university
学者数:
104
论文数: 108
被引数: 0
I
istinye university
学者数:
297
论文数: 212
被引数: 0
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
Program Source-Code Re-Modularization Using a Discretized and Modified Sand Cat Swarm Optimization Algorithm
err2023-02-02
err0
errOAAI
errBahman Arasteh; Amir Seyyedabbasi; Jawad Rasheed; Adnan M. Abu-Mahfouz
err分享
err收藏
ModSec-AdvLearn: Countering Adversarial SQL Injections With Robust Machine LearningModSec-AdvLearn:用鲁棒机器学习对抗恶意SQL注入
err2025-01-01
err0
PREAI
errGiuseppe Floris; Christian Scano; Biagio Montaruli; Luca Demetrio; Andrea Valenza; Luca Compagna; Davide Ariu; Luca Piras; Davide Balzarotti; Battista Biggio
err分享
err收藏
err分享
err收藏
学者 查看更多内容