SQL Injection Vulnerability Detection Using Deep Learning: A Feature-based Approach

DOI: https://doi.org/10.52549/.v9i3.3131
Published: 18-08-2021 • Issue: Vol. 9 No. 3: September 2021 • Section: Computer_&_Informatics

Abstract

SQL injection (SQLi), a well-known exploitation technique, is a serious risk factor for database-driven web applications that are used to manage the core business functions of organizations. SQLi enables an unauthorized user to get access to sensitive information of the database, and subsequently, to the application’s administrative privileges. Therefore, the detection of SQLi is crucial for businesses to prevent financial losses. There are different rules and learning-based solutions to help with detection, and pattern recognition through support vector machines (SVMs) and random forest (RF) have recently become popular in detecting SQLi. However, these classifiers ensure 97.33% accuracy with our dataset. In this paper, we propose a deep learning-based solution for detecting SQLi in web applications. The solution employs both correlation and chi-squared methods to rank the features from the dataset. Feed-forward network approach has been applied not only in feature selection but also in the detection process. Our solution provides 98.04% accuracy over 1,850+ recorded datasets, where it proves its superior efficiency among other existing machine learning solutions.

Author Biographies

Md. Maruf Hassan

1. PhD Student, School of Computer & Communication Engineering (SCCE), UniMap, UniMap.

2. Assistant Professor, The Department of Software Engineering, Daffodil International University, Bangladesh

R. Badlishah Ahmad
Professor, School of Computer & Communication Engineering (SCCE), UniMap
Tonmoy Ghosh
Researcher, Cyber Security Centre, Daffodil International University, Bangladesh

How to Cite

[1]
M. M. Hassan, R. B. Ahmad, and T. Ghosh, “SQL Injection Vulnerability Detection Using Deep Learning: A Feature-based Approach”, IJEEI, vol. 9, no. 3, pp. 702–718, Aug. 2021, doi: 10.52549/.v9i3.3131.