SQL injection attack detection method based on machine learning
A technology of injection attack and machine learning, applied in the field of big data analysis, can solve the problems of stealing or abusing data information, stealing money, consuming resources, etc., to protect system security, defend against malicious attacks, and improve recognition.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment
[0039] Such as figure 1 As shown, the present invention provides a kind of SQL injection attack detection method based on machine learning, and it comprises the following steps:
[0040] Step S1, obtaining sufficient labeled data is specifically: High-quality labeled sample data is the cornerstone of machine learning, but manual labeling of all data sets requires considerable time and labor costs. We can obtain a large number of business request data, but these The data has not been classified into normal and SQL injection. The present invention proposes to manually mark a small part of the data sets with obvious characteristics, and then calculate all the data with a similarity of more than 90% through the cosine similarity calculation, and mark them uniformly, so as to reduce the The cost of labeling data. Clean and preprocess the original request data; in order to reduce the noise of the data set, the original data needs to be cleaned, and the collected original data shoul...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


