# US 2022/0294814 A1 · Method and system for detecting and mitigating https flood attacks

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

- Number: US 2022/0294814 A1
- Document ID: US20220294814A1
- Status: Published application
- Kind: A1
- Application number: 17/804,725
- Filed: 2022-05-31
- Published: 2022-09-15
- Earliest claimed: 2019-06-26
- Assignees: Radware, Ltd.
- Applicants: Radware Ltd.
- Inventors: Ehud DORON; Lev MEDVEDOVSKY; David AVIV; Eyal RUNDSTEIN; Ronit LUBITCH GREENBERG; Avishay BALDERMAN
- Web page: https://patentgrep.com/patent/US20220294814A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1458: {Denial of Service}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for detecting DoS attacks using an encrypted communication protocol includes estimating traffic telemetries of packets of at least ingress traffic passing over an insecure network that is directed to a protected entity by analyzing TCP headers of the packets, the packets using an encrypted version of a non-encrypted communication protocol, the packets being intended for the protected entity; providing at least one rate-based feature and at least one rate-invariant feature based on the estimated traffic telemetries, wherein the rate-based feature and the rate-invariant feature demonstrate a normal behavior of the traffic; and executing a mitigation action when a potential flood DoS attack using the encrypted communication protocol is detected by an evaluation of each of the at least one rate-based feature and the at least one rate-invariant feature with respect to respective baselines to determine whether the behavior of the ingress traffic indicates a potential flood DoS attack.

## Claims

### Claim 1

A method for detecting and mitigating denial-of-service (DoS) attacks that are using an encrypted communication protocol, comprising:
estimating traffic telemetries of packets of at least ingress traffic passing over an insecure network that is directed to a protected entity by analyzing transmission control protocol (TCP) headers of the packets, the packets of the at least ingress traffic being secured using an encrypted version of a non-encrypted communication protocol, the packets of the at least ingress traffic being intended for the protected entity;
providing at least one rate-based feature and at least one rate-invariant feature based on the estimated traffic telemetries, wherein the rate-based feature and the rate-invariant feature demonstrate a normal behavior of the traffic using the encrypted protocol intended for the protected entity; and
executing a mitigation action when a potential flood DoS attack using the encrypted communication protocol is detected by an evaluation of the at least one rate-based feature and the at least one rate-invariant feature to determine whether the behavior of the ingress traffic intended for the protected entity indicates a potential flood DoS attack using the encrypted communication protocol, wherein the evaluation of the at least one rate-based feature is with respect to at least a first baseline and the evaluation of the at least one rate-invariant feature is with respect to at least a second baseline.

### Claim 2 (depends on 1)

The method of claim 1, wherein estimating traffic telemetries further comprises:
estimating traffic telemetries of packets of egress traffic passing over the insecure network that are from the protected entity by analyzing TCP headers of the packets of the egress traffic, the packets of the egress traffic using the encrypted version of the non-encrypted communication protocol.

### Claim 3 (depends on 2)

The method of claim 2, wherein the evaluation of the at least one rate-based feature and the at least one rate-invariant feature is performed without decrypting any of the ingress traffic and the egress traffic.

### Claim 4 (depends on 2)

The method of claim 2, wherein estimating the traffic telemetries further comprises:
estimating a number of requests per second using the encrypted version of the non-encrypted protocol communication in the ingress traffic, a size in bytes of a request using the encrypted version of the non-encrypted protocol communication in the ingress traffic, and a size in bytes of a response in the egress traffic to the request, the estimating being based on a TCP sequence (SEQ) number of a plurality of TCP packets.

### Claim 5 (depends on 2)

The method of claim 2, wherein evaluation of the at least one rate-invariant feature further comprises:
estimating request size using the encrypted version of the non-encrypted protocol communication in the ingress traffic, a size in bytes of a request using the encrypted version of the non-encrypted protocol communication in the ingress traffic, and a size in bytes of a response in the egress traffic to the request the estimating being based on a TCP acknowledgement (ACK) number of a plurality of TCP packets.

### Claim 6 (depends on 1)

The method of claim 1, wherein the non-encrypted protocol is hypertext transfer protocol (HTTP), and the encrypted version of the non-encrypted communication protocol is hypertext transfer protocol secure (HTTPS).

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
computing the at least first baseline for the at least one rate-based feature and the at least second baseline for the at least one rate-invariant feature.

### Claim 8 (depends on 7)

The method of claim 7, wherein the at least first baseline includes: a short-term baseline and a long-term baseline, wherein the short-term baseline characterizes short-term changes in the ingress traffic and the long-term baseline characterizes changes in the ingress traffic over a long-term than the short-term.

### Claim 9 (depends on 7)

The method of claim 7, wherein the at least second baseline includes: a short-term baseline and a long-term baseline, wherein the short-term baseline characterizes short-term changes in the ingress traffic and the long-term baseline characterizes changes in the ingress traffic over a long-term than the short-term.

### Claim 10 (depends on 1)

The method of claim 1, wherein the behavior of the at least ingress traffic using an encrypted version of a non-encrypted communication protocol indicates a potential flood DoS attack when anomalies are detected on at least one rate-based feature and on at least one rate invariant feature.

### Claim 11 (depends on 1)

The method of claim 1, wherein the method is performed by a defense system including at least a detector for detecting the potential flood DoS attack and a mitigation resource for executing the mitigating action.

### Claim 12 (depends on 1)

The method of claim 1, wherein the evaluation of the at least one rate-based feature and the at least one rate-invariant feature with respect to at least one baseline further comprises:
comparing real-time samples of the at least one rate-based feature to the at least first baseline and comparing the at least one rate-invariant feature to the at least second baseline; and
detecting a potential flood DoS attack using the encrypted communication protocol is detected when at least one of: the at least one rate-based feature and at least one rate-invariant feature deviates from their respective at least one baseline, wherein the deviation from the at least one respective baseline is by a threshold.

### Claim 13 (depends on 12)

The method of claim 12, wherein the threshold is dynamically updated based on real-time estimation of the traffic telemetries.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
detecting rate-invariant anomaly based on at least abnormal distribution of size of HTTPS requests and responses.

### Claim 15 (depends on 12)

The method of claim 12, further comprising:
detecting rate-based anomaly based on at least a total number of ingress requests per second using the encrypted version of the non-encrypted communication protocol and a total volume of bytes of ingress requests per second using the encrypted version of the non-encrypted communication protocol and egress responses total volume of bytes per second using the encrypted version of the underlying communication protocol.

### Claim 16 (depends on 12)

The method of claim 12, wherein executing the mitigation action further comprises:
generating a suspect list including a list of source internet protocol (IP) addresses of client devices triggered the detected anomalies;
challenging each of the client devices in the suspect list; and
executing the mitigation action on traffic originated from any device client that fails the challenge.

### Claim 17

A non-transitory computer readable medium having stored thereon instructions for causing a processing circuitry to execute a process for detecting denial-of-service (DoS) attacks using an encrypted communication protocol, comprising:
estimating traffic telemetries of packets of at least ingress traffic passing over an insecure network that is directed to a protected entity by analyzing transmission control protocol (TCP) headers of the packets, the packets of the at least ingress traffic being secured using an encrypted version of a non-encrypted communication protocol, the packets of the at least ingress traffic being intended for the protected entity;
providing at least one rate-based feature and at least one rate-invariant feature based on the estimated traffic telemetries, wherein the rate-based feature and the rate-invariant feature demonstrate a normal behavior of the traffic using the encrypted protocol intended for the protected entity; and
executing a mitigation action when a potential flood DoS attack using the encrypted communication protocol is detected by an evaluation of the at least one rate-based feature and the at least one rate-invariant feature to determine whether the behavior of the ingress traffic intended for the protected entity indicates a potential flood DoS attack using the encrypted communication protocol, wherein the evaluation of the at least one rate-based feature is with respect to at least a first baseline and the evaluation of the at least one rate-invariant feature is with respect to at least a second baseline.

### Claim 18

A system for detecting denial-of-service (DoS) attacks using an encrypted communication protocol, comprising:
a processing circuitry; and
a memory, the memory containing instructions that, when executed by the processing circuitry, configure the system to:
estimate traffic telemetries of packets of at least ingress traffic passing over an insecure network that is directed to a protected entity by analyzing transmission control protocol (TCP) headers of the packets, the packets of the at least ingress traffic being secured using an encrypted version of a non-encrypted communication protocol, the packets of the at least ingress traffic being intended for the protected entity;
provide at least one rate-based feature and at least one rate-invariant feature based on the estimated traffic telemetries, wherein the rate-based feature and the rate-invariant feature demonstrate a normal behavior of the traffic using the encrypted protocol intended for the protected entity; and
execute a mitigation action when a potential flood DoS attack using the encrypted communication protocol is detected by an evaluation of the at least one rate-based feature and the at least one rate-invariant feature to determine whether the behavior of the ingress traffic intended for the protected entity indicates a potential flood DoS attack using the encrypted communication protocol, wherein the evaluation of the at least one rate-based feature is with respect to at least a first baseline and the evaluation of the at least one rate-invariant feature is with respect to at least a second baseline.

### Claim 19 (depends on 18)

The method of claim 18, wherein estimating traffic telemetries further comprises:
estimating traffic telemetries of egress traffic passing over an insecure network that is from the protected entity by analyzing TCP headers of the packets of the egress traffic, the packets of the egress traffic using the encrypted version of the underlying communication protocol.

### Claim 20 (depends on 19)

The method of claim 19, wherein the evaluation of the at least one rate-based feature and the at least one rate-invariant feature is performed without decrypting any of the ingress traffic and the egress traffic.

### Claim 21 (depends on 18)

The method of claim 18, wherein the evaluation of the at least one rate-based feature and the at least one rate-invariant feature with respect to at least one baseline further comprises:
comparing real-time samples of the at least one rate-based feature and at least one rate-invariant feature to the at least one baseline; and
detecting an anomaly when at least one of: the at least one rate-based feature and at least one rate-invariant feature deviates from the at least one baseline, wherein the deviation from the at least one baseline is by a threshold.
