Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 27 March 2021

Machine Learning-Based Technique to Detect SQL Injection Attack

Muhammad Amirulluqman Azman1, Mohd Fadzli Marhusin1 & Rossilawati Sulaiman2

Journal of Computer Science, Volume 17, Issue 3, pp. 296–303 · doi.org/10.3844/jcssp.2021.296.303

8,535 accesses7,040 downloads25 citations (Crossref)Metrics
Cite Check for updates

Abstract

Lack of secure codes implemented in the web apps will lead to cyber-attack because of vulnerabilities. The statistic shows that highest record on the data theft related cyber-attacks are through the SQL injection technique. Hence, an effective SQL injection detection is needed in any web system to combat this threat. In this research, machine learning technique is used where training is provided to the SQL injection detector using a training data and then is evaluated against a testing data. The research relies on the preparation of the training and testing datasets. Training sets are used by the detector to establish the knowledge base and the test set is used to evaluate the performance of the detector. The result of the detection shows that the proposed technique produces high accuracy in recognizing malicious and benign web requests.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Azman, M. A., Marhusin, M. F. & Sulaiman, R. (2021). Machine Learning-Based Technique to Detect SQL Injection Attack. Journal of Computer Science, 17(3), 296–303. https://doi.org/10.3844/jcssp.2021.296.303

Licence
CC BY 4.0
Issue
Volume 17, Issue 3
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
Machine Learning-Based Technique to Detect SQL Injection AttackJournal of Computer Science · Volume 17, Issue 3 · pp. 296–303 · CC BY 4.0Download