Designing a Detection Model for SQL Injection Attack

SQL injection attacks pose a critical threat to web application security, exploiting vulnerabilities to gain access, or modify sensitive data. Traditional rule-based and machine learning approaches have limitations when applied to real-time web application environments, making detection of injection attacks difficult. Therefore, this study seeks to design and evaluate a Deep Learning-Based SQL Injection Detection System Specifically Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs). These models can be utilized to detect SQL injection attacks in real-time web applications. The empirical results show that the proposed model is very accurate, with a mean accuracy of 94.5%, a low standard deviation, and a precision of 96%, meaning that the system correctly identified all the SQL injections as malicious without any false positives. Furthermore, the distributions of the amounts, frequencies, time, and duration of the transactions, all of which are derived from behavioral analyses of the transaction data, were also useful in identifying the existence of unusual patterns of activities that could be associated with fraudulent transactions.

Authors

Publication Details

Journal
Journal of Computer and Communications
Published
2025-01-01
DOI
https://doi.org/10.4236/jcc.2025.138003
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Designing a Detection Model for SQL Injection Attack

D. Nguyen, Dawood F. Alrubie
Journal of Computer and Communications
Network Security and Intrusion Detection
article

Designing a Detection Model for SQL Injection Attack

D. Nguyen, Dawood F. Alrubie
article en

Abstract

SQL injection attacks pose a critical threat to web application security, exploiting vulnerabilities to gain access, or modify sensitive data. Traditional rule-based and machine learning approaches have limitations when applied to real-time web application environments, making detection of injection attacks difficult. Therefore, this study seeks to design and evaluate a Deep Learning-Based SQL Injection Detection System Specifically Convolutional Neural Networks (CNNs) and Recurrent Neural Networks (RNNs). These models can be utilized to detect SQL injection attacks in real-time web applications. The empirical results show that the proposed model is very accurate, with a mean accuracy of 94.5%, a low standard deviation, and a precision of 96%, meaning that the system correctly identified all the SQL injections as malicious without any false positives. Furthermore, the distributions of the amounts, frequencies, time, and duration of the transactions, all of which are derived from behavioral analyses of the transaction data, were also useful in identifying the existence of unusual patterns of activities that could be associated with fraudulent transactions.

Journal of Computer and CommunicationsVol. 13(08)
Openalex Percentile: Top 78%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.