# US 2022/0191242 A1 · Automatic Detection and Mitigation of Denial-of-Service Attacks

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

- Number: US 2022/0191242 A1
- Document ID: US20220191242A1
- Status: Published application
- Kind: A1
- Application number: 17/120,050
- Filed: 2020-12-11
- Published: 2022-06-16
- Earliest claimed: 2020-12-11
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Francois Pepin; Andre Lloyd Perlee Harder; Prajakta Joshi; Amitabha Roy; Saila Talagadadeevi; Emil Kiner; Chia- Tung Kuo; Jiayu Ye
- Web page: https://patentgrep.com/patent/US20220191242A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1458: {Denial of Service}
- G06N 20/00: Machine learning
- H04L 41/142: using statistical or mathematical methods
- H04L 41/16: using machine learning or artificial intelligence
- H04L 63/0263: {Rule management}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method for mitigating network abuse includes obtaining a first set of network traffic messages of network traffic currently received by a network service and determining, via a first model, whether network abuse is occurring based on the first set of network traffic messages. When the network abuse is occurring, the method includes obtaining a second set of current network traffic messages. The method also includes, for each network traffic message in the second set of network traffic messages, labeling, via a second model, the network traffic message as an abusing network traffic message or a non-abusing network traffic message. The method also includes generating, via a third model, at least one network traffic rule. Each network traffic rule, when implemented, reduces an effect of the abusing network traffic messages.

## Claims

### Claim 1

A computer-implemented method when executed by data processing hardware causes the data processing hardware to perform operations comprising
obtaining a first set of network traffic messages representative of network traffic currently received by a network service;
determining, via a first model, whether network abuse is occurring based on the first set of network traffic messages;
when the network abuse is occurring:
obtaining a second set of network traffic messages representative of network traffic currently received by the network service;
for each network traffic message in the second set of network traffic messages, labeling, via a second model, the network traffic message as an abusing network traffic message participating in the network abuse or a non-abusing network traffic message not participating in the network abuse, and
generating, via a third model, at least one network traffic rule, each network traffic rule configured to be implemented by a firewall and, when implemented, reduce an effect of the abusing network traffic messages.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first set of network traffic messages comprises a plurality of network traffic windows, each of the plurality of network traffic windows comprising a subset of network traffic messages of the first set of network traffic messages associated with a different discrete portion of time.

### Claim 3 (depends on 2)

The method of claim 2, wherein the operations further comprise, for each of the plurality of network traffic windows, sampling a set of sampled network traffic messages from the subset of network traffic messages, the set of sampled network traffic messages representative of the entirety of the subset of network traffic messages.

### Claim 4 (depends on 3)

The method of claim 3, wherein the operations further comprise storing, in a data structure, characteristics of the set of sampled network traffic messages for each of the plurality of network traffic windows.

### Claim 5 (depends on 1)

The method of claim 1, wherein determining whether the network abuse is occurring comprises:
generating, by the first model, an abuse probability score; and
determining that the abuse probability score satisfies an abuse probability threshold.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first model comprises a neural network trained on sets of labeled network traffic messages.

### Claim 7 (depends on 4)

The method of claim 4, wherein the operations further comprise, after determining that network abuse is occurring:
receiving feedback indicating that the occurring network abuse was either a false positive or actual network abuse; and
updating the first model based on the feedback.

### Claim 8 (depends on 1)

The method of claim 1, wherein the operations further comprise:
obtaining a set of historical network traffic messages representative of network traffic previously received by the network service,
wherein the set of historical network traffic messages is representative of network traffic previously received by the network service prior to the network abuse, and
wherein labeling the network traffic message as an abusing network traffic message participating in the network abuse or a non-abusing network traffic message not participating in the network abuse is based on the set of historical network traffic messages.

### Claim 9 (depends on 1)

The method of claim 1, wherein the operations further comprise:
providing the generated at least one network traffic rule to a user associated with the network service;
receiving an indication from the user accepting one of the generated at least one network traffic rule; and
implementing the accepted network traffic rule indicated by the user.

### Claim 10 (depends on 1)

The method of claim 1, wherein the operations further comprise:
receiving user preferences associated with desired network traffic rules;
selecting one of the generated at least one network traffic rule based on the user preferences; and
implementing the selected network traffic rule.

### Claim 11 (depends on 10)

The method of claim 10, wherein the user preferences comprise an amount of non-abusing network traffic messages that may be affected by the selected network traffic rule.

### Claim 12 (depends on 1)

The method of claim 1, wherein the network abuse comprises a denial-of-service attack.

### Claim 13

A system comprising:
data processing hardware, and
memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising:
obtaining a first set of network traffic messages representative of network traffic currently received by a network service;
determining, via a first model, whether network abuse is occurring based on the first set of network traffic messages;
when the network abuse is occurring:
obtaining a second set of network traffic messages representative of network traffic currently received by the network service;
for each network traffic message in the second set of network traffic messages, labeling, via a second model, the network traffic message as an abusing network traffic message participating in the network abuse or a non-abusing network traffic message not participating in the network abuse; and
generating, via a third model, at least one network traffic rule, each network traffic rule configured to be implemented by a firewall and, when implemented, reduce an effect of the abusing network traffic messages.

### Claim 14 (depends on 13)

The system of claim 13, wherein the first set of network traffic messages comprises a plurality of network traffic windows, each of the plurality of network traffic windows comprising a subset of network traffic messages of the first set of network traffic messages associated with a different discrete portion of time.

### Claim 15 (depends on 14)

The system of claim 14, wherein the operations further comprise, for each of the plurality of network traffic windows, sampling a set of sampled network traffic messages from the subset of network traffic messages, the set of sampled network traffic messages representative of the entirety of the subset of network traffic messages.

### Claim 16 (depends on 15)

The system of claim 15, wherein the operations further comprise storing, in a data structure, characteristics of the set of sampled network traffic messages for each of the plurality of network traffic windows.

### Claim 17 (depends on 13)

The system of claim 13, wherein determining whether the network abuse is occurring comprises:
generating, by the first model, an abuse probability score, and
determining that the abuse probability score satisfies an abuse probability threshold.

### Claim 18 (depends on 13)

The system of claim 13, wherein the first model comprises a neural network trained on sets of labeled network traffic messages.

### Claim 19 (depends on 16)

The system of claim 16, wherein the operations further comprise, after determining that network abuse is occurring:
receiving feedback indicating that the occurring network abuse was either a false positive or actual network abuse; and
updating the first model based on the feedback.

### Claim 20 (depends on 13)

The system of claim 13, wherein the operations further comprise:
obtaining a set of historical network traffic messages representative of network traffic previously received by the network service,
wherein the set of historical network traffic messages is representative of network traffic previously received by the network service prior to the network abuse, and
wherein labeling the network traffic message as an abusing network traffic message participating in the network abuse or a non-abusing network traffic message not participating in the network abuse is based on the set of historical network traffic messages.

### Claim 21 (depends on 13)

The system of claim 13, wherein the operations further comprise:
providing the generated at least one network traffic rule to a user associated with the network service;
receiving an indication from the user accepting one of the generated at least one network traffic rule; and
implementing the accepted network traffic rule indicated by the user.

### Claim 22 (depends on 13)

The system of claim 13, wherein the operations further comprise:
receiving user preferences associated with desired network traffic rules;
selecting one of the generated at least one network traffic rule based on the user preferences; and
implementing the selected network traffic rule.

### Claim 23 (depends on 22)

The system of claim 22, wherein the user preferences comprise an amount of non-abusing network traffic messages that may be affected by the selected network traffic rule.

### Claim 24 (depends on 13)

The system of claim 13, wherein the network abuse comprises a denial-of-service attack.
