# US 2025/0209170 A1 · Method and system for detecting volumetric attacks using multi-phase analysis of application programming interface calls

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0209170 A1
- Document ID: US20250209170A1
- Status: Published application
- Kind: A1
- Application number: 18/391,721
- Filed: 2023-12-21
- Published: 2025-06-26
- Earliest claimed: 2023-12-21
- Assignees: Harness Inc.
- Inventors: Jisheng Wang; Sanjay Nagaraj; Min-yi Shen; Swapnil Kura
- Web page: https://patentgrep.com/patent/US20250209170A1

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/552: {involving long-term monitoring or reporting}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for detecting volumetric attacks using multi-phase analysis of API calls is disclosed. The method includes collecting API calls data having API calls to and from protected actors. The method also includes identifying a triggering suspicious time window during which a first set of actors indicate suspicious volume spikes. Further, the method includes performing an API-sequence-based user behavior clustering to identify a subset of the API attack sequence and a second set of actors. Thereafter, the method includes correlating the activities of the second set of actors over a large period of time to identify the complete API attack sequence to extract an attack signature of the complete API attack sequence for detecting potential attacks.

## Claims

### Claim 1

A system for detecting volumetric attacks using multi-phase analysis of Application Programming Interface (API) calls, the system comprises:
a receiver to collect API calls data having API calls to and from protected actors;
a time-series anomaly detector, employing one or more time-series prediction models, to identify a triggering suspicious time window during which a first set of actors indicate suspicious volume spikes;
a behavior anomaly detector to perform an API-sequence-based user behavior clustering to identify a subset of an API attack sequence and a second set of actors; and
a cross-actor correlator to:
correlate activities of the second set of actors over a large period of time to identify the complete API attack sequence; and
extract an attack signature of the complete API attack sequence based on the correlated activities, such that the attack signature is utilized for detecting potential attacks.

### Claim 2 (depends on 1)

The system as claimed in claim 1, wherein the first set of actors includes at least one of: a user device, a network service, a network device, and an API endpoint.

### Claim 3 (depends on 1)

The system as claimed in claim 1, wherein the second set of actors are larger than the first set of actors and have similar behavior as the first set of actors.

### Claim 4 (depends on 1)

The system as claimed in claim 1, wherein the suspicious volume may be associated with at least one of: number of calls, number of users, number of failures, and number of data access requests.

### Claim 5 (depends on 1)

The system as claimed in claim 1, wherein the API calls data further includes at least one of: a total number of API calls, total number of successful vs failed API calls, total number of unique source users, and total number of unique sources countries.

### Claim 6 (depends on 1)

The system as claimed in claim 1, wherein the triggering suspicious time window is identified by at least one of: historical data analysis, prediction of future values, residual analysis, threshold-based analysis, statistical analysis, seasonality and trend analysis, and ensemble analysis.

### Claim 7 (depends on 1)

The system as claimed in claim 1, wherein the one or more time-series prediction models utilize feedback loops for retraining, such that anomalies detected in real-time are provided as input for retraining to evolve data patterns and reducing false alarms over time.

### Claim 8 (depends on 1)

The system as claimed in claim 1, wherein the one or more time-series prediction models further remove anomalies pertaining to business context of a user that are determined by capturing one or more user feedback and manually excluding them from baseline to avoid generating similar detections.

### Claim 9 (depends on 1)

The system as claimed in claim 1, wherein the triggering suspicious time window identified based on a minimal baseline window size that is selected based at least on one of: stability of baseline patterns and API endpoint access patterns.

### Claim 10 (depends on 1)

The system as claimed in claim 1, wherein the one or more time-series prediction models include at least one of: Autoregressive Integrated Moving Average (ARIMA), Long Term Short Memory (LTSM), and Prophet Forecasting Model.

### Claim 11 (depends on 1)

The system as claimed in claim 1, wherein the subset of the API attack sequence and the second set of actors are identified by utilizing a volume and frequency-based peer anomaly detection technique.

### Claim 12 (depends on 1)

The system as claimed in claim 1, wherein the cross-actor correlator correlates the activities of the second set of actors by using different dimensions of behavior along with the API calls.

### Claim 13

A method for detecting volumetric attacks using multi-phase analysis of Application Programming Interface (API) calls, the method comprises:
collecting API calls data having API calls to and from protected actors;
identifying, by employing one or more time-series prediction models, a triggering suspicious time window during which a first set of actors indicate suspicious volume spikes;
performing an API-sequence-based user behavior clustering to identify a subset of the API attack sequence and a second set of actors;
correlating activities of the second set of actors over a large period of time to identify the complete API attack sequence; and
extracting an attack signature of the complete API attack sequence based on the correlated activities, such that the attack signature is utilized for detecting potential attacks.

### Claim 14 (depends on 13)

The method as claimed in claim 13,
wherein the first set of actors includes at least one of: a user device, a network service, a network device, and an API endpoint;
wherein the second set of actors are larger than the first set of actors and have similar behavior as the first set of actors;
wherein the suspicious volume may be associated with at least one of: number of calls, number of users, number of failures, and number of data access requests;
wherein the API calls data further includes at least one of: a total number of API calls, total number of successful vs failed API calls, total number of unique source users, and total number of unique sources countries.

### Claim 15 (depends on 13)

The method as claimed in claim 13, wherein the triggering suspicious time window is identified by at least one of: historical data analysis, prediction of future values, residual analysis, threshold-based analysis, statistical analysis, seasonality and trend analysis, and ensemble analysis.

### Claim 16 (depends on 13)

The method as claimed in claim 13, further comprises utilizing feedback loops for retraining, such that anomalies detected in real-time are provided as input for retraining to evolve data patterns and reducing false alarms over time.

### Claim 17 (depends on 13)

The method as claimed in claim 13, further comprises removing anomalies pertaining to business context of a user that are determined by capturing one or more user feedback and manually excluding them from baseline to avoid generating similar detections.

### Claim 18 (depends on 13)

The method as claimed in claim 13, wherein the triggering suspicious time window identified based on a minimal baseline window size that is selected based at least on one of: stability of baseline patterns and API endpoint access patterns.

### Claim 19 (depends on 13)

The method as claimed in claim 13, wherein the one or more time-series prediction models include at least one of: Autoregressive Integrated Moving Average (ARIMA), Long Term Short Memory (LTSM), and Prophet Forecasting Model.

### Claim 20 (depends on 13)

The method as claimed in claim 13, further comprises correlating the activities of the second set of actors by using different dimensions of behavior along with the API calls.
