conference-paper Open access

Detection of SQL Injection Attacks Based on Improved TFIDF Algorithm

  • Journal of Physics Conference Series
  • IOP Publishing
Research footprint

At a glance

Citations
10
References
9
Comments
0
Paper overview

Abstract

Abstract Detecting SQL injection attacks (SQLIAs) effectively is one of the critical issues to be solved in Web secure fields. Aiming at the problem that the distribution of feature words in the same kind of statements is not considered when using TFIDF algorithm to vectorize the text of SQL statements, a method of detecting SQLIAs based on improved Term Frequency-Inverse Document Frequency (TFIDF) algorithm is proposed. Firstly, TFIDF algorithm is improved based on the distribution of feature words in the same kind of statements. Then, the improved TFIDF (ITFIDF) algorithm is used to vectorize the dataset of SQL statements to increase the feature weight of the SQL statement. Finally, the detection of SQLIAs is carried out based on Support Vector Machine (SVM). The experimental results show that the combination of SVM and ITFIDF has higher accuracy, recall rate and F-score compared with other similar methods. At the same time, the experimental results also show that SVM has better classification performance when dealing with this problem than other machine learning models such as DNN and Decision Tree.

Record transparency

Publication details

DOI
10.1088/1742-6596/1395/1/012013
OpenAlex
W2989571657
Document type
conference-paper
Language
EN
Source
Journal of Physics Conference Series
Last metadata update
Community

Comments

Log in to join the discussion.

  1. No comments yet. Start the discussion.