SQL Injection Detection Using RNN Deep Learning Model
Open Access
- 10 December 2023
- journal article
- research article
- Published by Yayasan Riset dan Pengembangan Intelektual in Journal of Applied Engineering and Technological Science (JAETS)
- Vol. 5 (1) , 531-541
Abstract
SQL injection attacks are a common type of cyber-attack that exploit vulnerabilities in web applications to access databases through malicious SQL queries. These attacks pose a serious threat to the security and integrity of web applications and their data. The existing methods for detecting SQL injection attacks are based on predefined rules that can be easily circumvented by sophisticated attackers. Therefore, there is a need for a more robust and effective method for detecting SQL injection attacks. In this research, we propose a novel method for detecting SQL injection attacks using recurrent neural networks (RNN), which are a type of deep learning model that can capture the syntax and semantic features of SQL queries. We train an RNN model on a dataset of benign and malicious SQL queries, and use it to classify queries as either benign or malicious. We evaluate our method on a benchmark dataset and compare it with the existing rule-based methods. Our experimental results show that our method achieved high accuracy and outperformed the rule-based methods for detecting SQL injection attacks. Our research contributes to the field of web application security by providing a new and effective solution for protecting web applications from SQL injection attacks using deep learning. Our method has both practical and theoretical implications, as it can be easily integrated into existing web application security frameworks to provide an additional layer of protection against SQL injection attacks, and it can also advance the understanding of how deep learning models can be applied to natural language processing tasks such as SQL query analysis.Keywords
This publication has 29 references indexed in Scilit:
- Detection SQL Injection Attacks Against Web Application by Using K-Nearest Neighbors with Principal Component Analysis2023
- SQL Injection Detection Using Machine Learning with Different TF-IDF Feature Extraction Approaches2022
- SQL Injection Attack Detection by Machine Learning Classifier2022
- ConfusionVis: Comparative evaluation and selection of multi-class classifiers based on confusion matricesKnowledge-Based Systems, 2022
- A Deep Learning Approach for Detection of SQL Injection Attacks Using Convolutional Neural Networks2021
- A Review of SQL Injection Attack and Various Detection Approaches2021
- SQL Injection Attack Detection and Prevention Techniques Using Deep LearningJournal of Physics: Conference Series, 2021
- Detection of SQL injection based on artificial neural networkKnowledge-Based Systems, 2020
- Research on SQL injection detection technology based on SVMMATEC Web of Conferences, 2018
- Classifying Malicious URLs Using Gated Recurrent Neural Networks2018