Skip to content
Free planNo credit card requiredStart writing

article · 2021

SQL Injection Detection Using Machine Learning Techniques

Eman Hosam, Hagar Hosny, Walaa Ashraf, Ahmed S. Kaseb

Cited by 25Abstract and details only

Abstract

SQL Injection is one of the most popular cyberattacks in which hackers can gain unauthorized access to sensitive data such as customer information, trade secrets, etc. SQL Injection works by injecting malicious SQL code into user input fields in order to illegitimately read, update, or delete database contents. Detecting SQL Injection is a binary classification problem in which it is required to decide whether a user input is malicious (i.e., includes an injected SQL code) or benign. SQL Injection can be detected using rule-based, machine learning, or deep learning techniques. This paper focuses on machine learning techniques for SQL Injection detection. The paper defines 13 relevant features that can be extracted from user inputs, and it presents and evaluates 6 different machine learning algorithms. A feature selection process is also conducted, and the models achieve an accuracy up to 99.6%. The presented models show clear abilities to generalize to unseen data and perform well with a limited training set size. Overall, Logistic Regression is concluded to be the most performing model.

Cite this paper

APA 7

Hosam, E., Hosny, H., Ashraf, W., & Kaseb, A. S. (2021). SQL Injection Detection Using Machine Learning Techniques. https://doi.org/10.1109/iscmi53840.2021.9654820

MLA 9

Hosam, Eman, et al. “SQL Injection Detection Using Machine Learning Techniques.” 2021, pp. 15–20, https://doi.org/10.1109/iscmi53840.2021.9654820.

Chicago

Hosam, Eman, Hagar Hosny, Walaa Ashraf, and Ahmed S. Kaseb. 2021. “SQL Injection Detection Using Machine Learning Techniques.” https://doi.org/10.1109/iscmi53840.2021.9654820.

Harvard

Hosam, E. et al. (2021) ‘SQL Injection Detection Using Machine Learning Techniques’. Available at: https://doi.org/10.1109/iscmi53840.2021.9654820.

BibTeX
@article{hosam2021injection,
  title = {{SQL Injection Detection Using Machine Learning Techniques}},
  author = {Hosam, Eman and Hosny, Hagar and Ashraf, Walaa and Kaseb, Ahmed S.},
  pages = {15--20},
  year = {2021},
  doi = {10.1109/iscmi53840.2021.9654820}
}

Made from the index record. Check names, capitalisation and page numbers against the paper. Need another style? AI for Research has over 10,000.