# US 2013/0254879 A1 · Method and system for detecting and mitigating attacks performed using cryptographic protocols

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

- Number: US 2013/0254879 A1
- Document ID: US20130254879A1
- Status: Published application
- Kind: A1
- Application number: 13/425,978
- Filed: 2012-03-21
- Published: 2013-09-26
- Earliest claimed: 2012-03-21
- Assignees: Radware, Ltd.
- Inventors: Avi Chesla; Yosefa Shulman; Ziv Ichilov; Iko Azoulay
- Web page: https://patentgrep.com/patent/US20130254879A1

## CPC

- H04L 63/1458: {Denial of Service}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method and security system for detecting and mitigating encrypted denial-of-service (DoS) attacks. The system includes a DoS defense (DoSD) module configured to detect an encrypted DoS attack in an inbound traffic by analyzing attributes only in the inbound traffic that relate to at least one of a network layer and an application layer, wherein the DoSD module is further configured to mitigate a detected encrypted attack, the inbound traffic originates at a client and is addressed to a protected server; and a cryptographic protocol engine (CPE) configured to establish a new encrypted session between the client and the security system, decrypt requests included in the inbound traffic, and send encrypted responses to the client over the new encrypted session between the client and the security system.

## Claims

### Claim 1

A security system for detecting and mitigating encrypted denial-of-service (DoS) attacks, comprising:
a DoS defense (DoSD) module configured to detect an encrypted DoS attack in an inbound traffic by analyzing attributes only in the inbound traffic that relate to at least one of a network layer and an application layer, wherein the DoSD module is further configured to mitigate a detected encrypted attack, the inbound traffic originates at a client and is addressed to a protected server; and
a cryptographic protocol engine (CPE) configured to establish a new encrypted session between the client and the security system, decrypt requests included in the inbound traffic, and send encrypted responses to the client over the new encrypted session between the client and the security system.

### Claim 2 (depends on 1)

The security system of claim 1, wherein the encrypted DoS attack is performed using an application layer cryptographic protocol, wherein the cryptographic protocol includes at least any one of a secure socket layer (SSL) protocol and a transport layer security (TLS), wherein the encrypted DoS attack also includes an encrypted distributed DoS (DDoS) attack.

### Claim 3 (depends on 1)

The security system of claim 1, wherein the DoSD module comprises:
a traffic anomaly mechanism configured to detect at least the DoS encrypted attack by identifying abnormal traffic behavior in the network layer attributes of the inbound traffic;
a network-based DoS mechanism configured to detect at least the DoS encrypted attack by identifying known attack patterns in the network layer attributes, wherein the network layer attributes are not encrypted;
an application-based DoS mechanism configured to detect at least the DoS encrypted attack by analyzing application layer attributes only in the inbound traffic; and
a directed-application DoS mechanism configured to detect at least the DoS encrypted attack by identifying one or more known application layer attack patterns in the application layer attributes, wherein the application layer attributes are encrypted.

### Claim 4 (depends on 3)

The security system of claim 3, wherein the application-based DoS mechanism and the directed-application mechanism utilize the CPE to decrypt application layer attributes, wherein the CPE is configured with encryption keys of the protected server.

### Claim 5 (depends on 3)

The security system of claim 3, wherein at least one of the traffic anomaly mechanism and the network-based DoS mechanism attempt to detect the encrypted DoS attack at the network layer, wherein the network-based DoS mechanism is further configured to drop a current encrypted connection established between the client and the protected server, when the encrypted DoS attack is detected.

### Claim 6 (depends on 5)

The security system of claim 5, wherein the security system is further configured to detect the encrypted DoS attack at the application layer, when the encrypted DoS attack at the network layer has not been detected.

### Claim 7 (depends on 6)

The security system of claim 6, wherein the security system is configured to detect the encrypted DoS attack at the application layer by:
terminating the current TCP connection and encrypted session between the client and the protected server by means of the CPE;
establishing the new encrypted session between the client and the security system;
decrypting a first request from the client by means of the CPE;
matching the decrypted first request against the one or more known application layer attack patterns by means of the directed-application DoS mechanism, wherein the first request is part of application layer attributes; and
dropping the new encrypted session with the client, if the decrypted first request matches at least one of the one or more known application attack patterns.

### Claim 8 (depends on 1)

The security system of claim 1, wherein the security system is further configured to:
generate a client web challenge, if the first request does not match at least one of the one or more known application attack patterns by means of the application-based DoS mechanism;
encrypting, by means of the CPE, the client web challenge using encryption keys exchanged with the client during the establishment of the new encrypted session with the client;
responding to the first request with the encrypted client web challenge over the new encrypted session with the client;
determining if the client correctly responds to the encrypted client web challenge; and
dropping the new encrypted session with the client, if the client does not correctly respond to the encrypted client web challenge.

### Claim 9 (depends on 8)

The security system of claim 8, wherein the security system is further configured to cause the client to establish a new encrypted connection with the protected server if the client correctly responds to the encrypted client web challenge.

### Claim 10 (depends on 1)

The security system of claim 1, wherein the security system is deployed in a secured datacenter and the inbound traffic is diverted to the security system when it is suspected that the inbound traffic includes malicious threats.

### Claim 11 (depends on 1)

The security system of claim 1, wherein the security system is deployed between the client and the protected server as an in-line deployment, wherein the security system processes only inbound traffic.

### Claim 12 (depends on 1)

The security system of claim 1, wherein during processing of the inbound traffic by the security system no traffic is relayed from the client to the protected server.

### Claim 13

A method for detecting and mitigating encrypted denial-of-service (DoS) attacks, comprising:
detecting an encrypted DoS attack in an inbound traffic by analyzing network layer attributes of only the inbound traffic, the inbound traffic originates at a client and is addressed to a protected server and the network layer attributes are not encrypted;
dropping a connection between the client and the protected server if an encrypted DoS attack at the network layer has been detected;
terminating an encrypted connection with the client if an encrypted DoS attack at the network layer has not been detected;
detecting an encrypted DoS attack in the inbound traffic by analyzing application layer attributes of only the inbound traffic, wherein the network layer attributes are encrypted; and
causing to establish a new encrypted connection between the client and the protected server, if an encrypted DoS attack at the application layer has not been detected.

### Claim 14 (depends on 13)

The method of claim 13, wherein detecting the encrypted DoS attack by analyzing network layer attributes of the inbound traffic further comprising:
identifying abnormal traffic behavior in the network layer attributes; and
identifying one or more known network layer attack patterns in the network layer attributes.

### Claim 15 (depends on 13)

The method of claim 13, wherein detecting the encrypted DoS attack by analyzing application layer attributes further comprising:
establishing a new encrypted session with the client;
decrypting a request received from the client, wherein the request is part of the application layer attributes;
generating a client web challenge;
encrypting the client web challenge using encryption keys exchanged with the client during the establishment of the new encrypted session with the client;
responding to the client's request with an encrypted client web challenge over the new encrypted session;
determining if the client correctly responds to the encrypted client web challenge; and
dropping the new encrypted session with the client, if the client does not correctly respond to the encrypted client web challenge.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
matching the decrypted request against one or more known application layer attack patterns; and
dropping the encrypted connection with the client, if the decrypted request matches at least one of the one or more known application attack patterns.

### Claim 17 (depends on 13)

The method of claim 13, wherein the encrypted DoS attack is performed using a cryptographic protocol, wherein the cryptographic protocol includes at least any one of a secure socket layer (SSL) protocol and a transport layer security (TLS), wherein the encrypted DoS attack also includes an encrypted distributed DoS (DDoS) attack.

### Claim 18 (depends on 13)

The method of claim 13, wherein during attempts to detect the encrypted DoS attack there is no active encrypted connection between the client and the protected server in which harmful traffic is relayed to the protected server.

### Claim 19 (depends on 13)

A non-transitory computer readable medium having stored thereon instructions for causing one or more processing units to execute the method according to claim 13.

### Claim 20

A method for detecting and mitigating encrypted denial-of-service (DoS) attacks, comprising:
terminating an encrypted connection between the client and a protected server, upon reception of only an inbound traffic diverted from a client, wherein the inbound traffic is suspected to include malicious threats;
establishing a new encrypted session with the client;
responding to a client's request received over the new encrypted session with an encrypted client web challenge;
determining if the client correctly responds to the encrypted client web challenge;
dropping the new encrypted session with the client, if the client does not correctly respond to the encrypted client web challenge; and
causing the client to establish a new encrypted session with the protected server, if the client does correctly respond to the encrypted client web challenge.

### Claim 21 (depends on 13)

The method of claim 13, further comprising:
generating a client web challenge; and
encrypting the client web challenge using an encryption keys exchange with the client during the establishment of the new encrypted connection with the client.

### Claim 22 (depends on 21)

The method of claim 21, further comprising:
matching the decrypted request against one or more known application layer attack patterns; and
dropping the new encrypted session with the client, if the decrypted request matches at least one of the one or more known application attack patterns.

### Claim 23 (depends on 21)

The method of claim 21, further comprising:
detecting an encrypted DoS attack in an inbound traffic by analyzing network layer attributes of the inbound traffic, wherein the network layer attributes are not encrypted; and
dropping a connection between the client and the protected server if an encrypted DoS attack at the network layer has been detected.

### Claim 24 (depends on 20)

A non-transitory computer readable medium having stored thereon instructions for causing one or more processing units to execute the method according to claim 20.
