IP Library Granted Patent US 11,363,061
Granted Patent B2
US 11,363,061 · App. 16/926,774 · Granted Jun 14, 2022

Runtime detection of injection attacks on web applications via static and dynamic analysis

Inventor: Jayant Shukla (Sierra Madre, CA)
H04L63/1466G06F21/566H04L63/1416H04L63/20
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,363,061
App. No.
16/926,774
Granted
Jun 14, 2022
Kind
B2
Abstract

In one aspect, a method for preventing attacks on a web application server by monitoring and validating the API calls executed by the dynamic language code of web application is provided. The method includes the step of scanning the computer system for web applications and the location of dynamic language code or script files used by the web applications. The method includes the step of parsing all script files to identify API calls, the location of API calls, and arguments used in the API calls and storing them as rules.

Claims (19)

1. A method for preventing attacks on a web application server by monitoring and validating the application programming interface (API) calls executed by the dynamic language code of web application, comprising the steps of:

scanning the computer system for web applications and the location of dynamic language code and script files used by the web applications;

parsing all script files to identify API calls, the location of API calls, and arguments used in the API calls and storing them as rules;

inserting hooks for monitoring incoming requests and API calls executed by the web application server;

inserting validation code that validates the API calls executed by the dynamic language code in a script file by matching them against a rule set for that script file;

generating an event at the time of an API call with information about the API call, arguments used in the API call, parameters of the web request, application stack, and script file responsible for the API call; and

with the validation code:

checking conformity of the API call's event with the rule set for the script as determined by the mapping,

applying a dynamic validation method if a matching rule is not found, and

taking a default action when a rule violation is detected for an event associated with an API call during the execution of the dynamic language code.

2. The method of claim 1 , wherein the executable dynamic language code is a script executed by the web application server.

3. The method of claim 1 , wherein the frames in the application stack are analyzed to determine the dynamic language file and the precise location in the file responsible for invoking the API call.

4. The method of claim 1 , wherein an observed API call event is reported to a rule server and the corresponding rule is received.

5. The method of claim 1 , wherein an observed API call is verified by matching the location and type of API call with a rule for the dynamic language code file.

6. The method of claim 1 , wherein an observed API call is validated by verifying the arguments used in the API call with those specified in the rule.

7. The method of claim 1 , wherein a rule list is downloaded from a rule server and used for validating API calls executed by the dynamic language code.

8. The method of claim 1 , wherein the validation code executes at a remote location.

9. The method of claim 1 , wherein additional information about the system state is reported to the rule server.

10. The method of claim 1 , wherein the collected events are validated in a monitoring mode to build rule set.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 15, 2023
From: SHUKLA, JAYANT
To: K2 CYBER SECURITY, INC.
Reel/Frame 065885/0435 →
SECURITY INTEREST Recorded Nov 8, 2023
From: NEW RELIC, INC.
To: BLUE OWL CAPITAL CORPORATION, AS COLLATERAL AGENT
Reel/Frame 065491/0507 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 26, 2022
From: K2 CYBER SECURITY,INC
To: NEW RELIC INC.
Reel/Frame 062219/0717 →
Continuity (2)
Provisional Application 62875124 · Jul 17, 2019
Related Publication 20210099483A1 · Apr 1, 2021