Invention Grant
- Patent Title: Machine learning detection of database injection attacks
-
Application No.: US17319770Application Date: 2021-05-13
-
Publication No.: US11716349B2Publication Date: 2023-08-01
- Inventor: Udo Klein
- Applicant: SAP SE
- Applicant Address: DE Walldorf
- Assignee: SAP SE
- Current Assignee: SAP SE
- Current Assignee Address: DE Walldorf
- Agency: Klarquist Sparkman, LLP
- Main IPC: G06F16/00
- IPC: G06F16/00 ; H04L9/40 ; G06N20/00 ; G06F16/2458 ; G06F16/22 ; G06F18/214

Abstract:
Techniques and solutions are described for detecting malicious database activity, such as SQL injection attempts. A first machine learning classifier can be trained by comparing processed and unprocessed user input, where a difference between the two can indicate suspicious or malicious activity. The trained classifier can be used to analyze user input before query execution. A second machine learning classifier is trained with a data set that includes call stack information for an application requesting execution of a dynamic query and query statistics associated with processing of the query at the database. The query of the application can be correlated with a corresponding database query by hashing the application query and the database query and comparing the hash values, where matching hash value indicate a common query. The trained classifier can monitor execution of future queries to identify queries having anomalous patterns, which may indicate malicious or suspicious activity.
Public/Granted literature
- US20210263924A1 MACHINE LEARNING DETECTION OF DATABASE INJECTION ATTACKS Public/Granted day:2021-08-26
Information query