The patent badge is an abbreviated version of the USPTO patent document. The patent badge does contain a link to the full patent document.

The patent badge is an abbreviated version of the USPTO patent document. The patent badge covers the following: Patent number, Date patent was issued, Date patent was filed, Title of the patent, Applicant, Inventor, Assignee, Attorney firm, Primary examiner, Assistant examiner, CPCs, and Abstract. The patent badge does contain a link to the full patent document (in Adobe Acrobat format, aka pdf). To download or print any patent click here.

Date of Patent:
Jan. 24, 2023

Filed:

Jan. 28, 2021
Applicant:

International Business Machines Corporation, Armonk, NY (US);

Inventors:

Galia Diamant, Lexington, MA (US);

Leonid Rodniansky, Allston, MA (US);

Cheng-Ta Lee, Taipei, TW;

Chun-Shuo Lin, Tainan, TW;

Richard Ory Jerrell, Manchester, NH (US);

Attorneys:
Primary Examiner:
Int. Cl.
CPC ...
G06F 21/62 (2013.01); G06F 21/56 (2013.01); G06F 21/55 (2013.01); G06F 21/60 (2013.01);
U.S. Cl.
CPC ...
G06F 21/6227 (2013.01); G06F 21/554 (2013.01); G06F 21/566 (2013.01); G06F 21/602 (2013.01);
Abstract

A database protection system (DPS) mitigates injection attacks. DPS receives an unrestricted database query, extract a syntax tree, and evaluates whether it recognizes the query. To this end, DPS applies a hash function over the extracted syntax tree, and then determines whether the resulting hash has been seen by DPS before. If so, DPS retrieves a previously-generated prepared statement associated with the syntax tree, and that prepared statement is then forward to the database server in lieu of sending the original query. If the syntax tree is not recognized, DPS creates a new prepared statement, generates a hash of the syntax tree, and stores the hash and the new prepared statement, and forwards the new prepared statement. The prepared statements are configured based on the native wire protocol used by the database server, and DPS includes additional functionality by which it can learn the semantics of this protocol if necessary.


Find Patent Forward Citations

Loading…