@article {10.3844/jcssp.2021.296.303, article_type = {journal}, title = {Machine Learning-Based Technique to Detect SQL Injection Attack}, author = {Azman, Muhammad Amirulluqman and Marhusin, Mohd Fadzli and Sulaiman, Rossilawati}, volume = {17}, number = {3}, year = {2021}, month = {Mar}, pages = {296-303}, doi = {10.3844/jcssp.2021.296.303}, url = {https://thescipub.com/abstract/jcssp.2021.296.303}, 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.}, journal = {Journal of Computer Science}, publisher = {Science Publications} }