Malicious database request identification
AssigneeBritish Telecommunications public limited company
InventorsPaul Fagan, Nigel Bell
Life of this patent
Estimating the term…
Abstract
A computer implemented method to identify a malicious database request including receiving a database query for retrieving data from a database; classifying the received query based on query instructions contained in the query to identify a class of query for the query, the class of query having associated attributes defining expected characteristics of queries of the class when executed by the database; monitoring characteristics of the received query executed to retrieve data from the database; and responsive to a determination that the monitored characteristics deviate from the expected characteristics, identifying the query as malicious.
Claims6
A computer implemented method to identify, by a database driver proxy including computing hardware of at least one processor and memory operably coupled to the at least one processor, a malicious database request originating from a software application, the database driver proxy communicatively coupled between the software application and a target database of the malicious database request, the method comprising:
- the database driver proxy receiving a query from the software application for retrieving data from the target database;
- before execution of the query, the database driver proxy classifying the query based on instructions contained in the query to identify a class of query for the query, the class of query having associated attributes defining expected characteristics of queries of the class when the query is executed by the target database;
- the database driver proxy monitoring characteristics of the query execution when the query is executed by the target database;
- the database driver proxy determining that the monitored characteristics deviate from the expected characteristics by an extent equal to or exceeding a predetermined threshold and identifying the query as malicious;
- and
- the database driver proxy implementing at least one protective measure in response to the identifying, wherein the at least one protective measure includes rejecting subsequent queries belonging to a same class as the query and having attributes determined to be similar to attributes of the query based on a predetermined threshold degree of similarity of attributes.
A computer system comprising:
- a processor and memory storing computer program code such that the processor and memory are configured to operate as a database driver proxy communicatively coupled between a software application and a target database of a malicious database request to identify the malicious database request originating from the software application by:
- receiving a query from the software application for retrieving data from the target database,
- classifying the query prior to execution of the query based on instructions contained in the query to identify a class of query for the query, the class of query having associated attributes defining expected characteristics of queries of the class when executed by the target database,
- monitoring characteristics of execution of the query by the target database,
- determining that the monitored characteristics deviate from the expected characteristics by an extent equal to or exceeding a predetermined threshold and identifying the query as malicious, and
- implementing at least one protective measure, wherein the at least one protective measure includes rejecting subsequent queries belonging to a same class as the query and having attributes determined to be similar to attributes of the query based on a predetermined threshold degree of similarity of attributes.
Dependencies are inferred from the claim text.