# US 2023/0056212 A1 · Automated Estimation of Network Security Policy Risk

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

- Number: US 2023/0056212 A1
- Document ID: US20230056212A1
- Status: Published application
- Kind: A1
- Application number: 17/979,439
- Filed: 2022-11-02
- Published: 2023-02-23
- Earliest claimed: 2019-06-11
- Assignees: Zscaler, Inc.
- Applicants: Zscaler, Inc.
- Inventors: John O'Neil; Michael J. Melson
- Web page: https://patentgrep.com/patent/US20230056212A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 41/142: using statistical or mathematical methods
- H04L 41/145: {involving simulating, designing, planning or modelling of a network}
- H04L 41/149: for prediction of maintenance
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 43/0876: Network utilisation, e.g. volume of load or congestion level
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A computer system automatically tests a network communication model by predicting whether particular traffic (whether actual or simulated) should be allowed on the network, and then estimating the accuracy of the network communication model based on the prediction. Such an estimate may be generated even before the model has been applied to traffic on the network. For example, steps can include observing positive data associated with a network; generating a network communication model based on the positive data; generating negative data based on the network communication model; calculating a precision of the network communication model based on the network communication model and the negative data; and calculating an accuracy of the network communication model based on one or more of the precision of the network communication model, or the network communication model and the positive data.

## Claims

### Claim 1

A non-transitory computer-readable medium comprising instructions that, when executed, cause one or more processors to perform steps of:
observing positive data associated with a network;
generating a network communication model based on the positive data;
generating negative data based on the network communication model;
calculating a precision of the network communication model based on the network communication model and the negative data; and
calculating an accuracy of the network communication model based on one or more of the precision of the network communication model, or the network communication model and the positive data.

### Claim 2 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the negative data is generated to represent negative data that could be observed on the network.

### Claim 3 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the negative data is generated based on all of the received positive data, or a portion of the received positive data.

### Claim 4 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the network communication model is generated based on positive flow match data representing some or all of the positive flow matches observed on the network.

### Claim 5 (depends on 4)

The non-transitory computer-readable medium of claim 4, wherein the negative data is generated by collecting all unique pairs from the observed positive flow match data, and generating a plurality of new flow matches which do not exist in the network communication model.

### Claim 6 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein an initial set of negative data is generated, and wherein a subset of the initial negative data is used for the calculating.

### Claim 7 (depends on 1)

The non-transitory computer-readable medium of claim 1, wherein the instructions further cause the one or more processors to perform steps of:
calculating a value of recall for the network communication model; and
calculating the accuracy of the network communication model based on the recall, or based on a combination of the precision and the recall.

### Claim 8

A method comprising steps of:
observing positive data associated with a network;
generating a network communication model based on the positive data;
generating negative data based on the network communication model;
calculating a precision of the network communication model based on the network communication model and the negative data; and
calculating an accuracy of the network communication model based on one or more of the precision of the network communication model, or the network communication model and the positive data.

### Claim 9 (depends on 8)

The method of claim 8, wherein the negative data is generated to represent negative data that could be observed on the network.

### Claim 10 (depends on 8)

The method of claim 8, wherein the negative data is generated based on all of the received positive data, or a portion of the received positive data.

### Claim 11 (depends on 8)

The method of claim 8, wherein the network communication model is generated based on positive flow match data representing some or all of the positive flow matches observed on the network.

### Claim 12 (depends on 11)

The method of claim 11, wherein the negative data is generated by collecting all unique pairs from the observed positive flow match data, and generating a plurality of new flow matches which do not exist in the network communication model.

### Claim 13 (depends on 8)

The method of claim 8, wherein an initial set of negative data is generated, and wherein a subset of the initial negative data is used for the calculating.

### Claim 14 (depends on 8)

The method of claim 8, further comprising the steps of:
calculating a value of recall for the network communication model; and
calculating the accuracy of the network communication model based on the recall, or based on a combination of the precision and the recall.

### Claim 15

A system comprising:
one or more processors; and
memory storing computer-executable instructions that, when executed, cause the one or more processors to:
observe positive data associated with a network;
generate a network communication model based on the positive data;
generate negative data based on the network communication model;
calculate a precision of the network communication model based on the network communication model and the negative data; and
calculate an accuracy of the network communication model based on one or more of the precision of the network communication model, or the network communication model and the positive data.

### Claim 16 (depends on 15)

The system of claim 15, wherein the negative data is generated to represent negative data that could be observed on the network.

### Claim 17 (depends on 15)

The system of claim 15, wherein the negative data is generated based on all of the received positive data, or a portion of the received positive data.

### Claim 18 (depends on 15)

The system of claim 15, wherein the network communication model is generated based on positive flow match data representing some or all of the positive flow matches observed on the network.

### Claim 19 (depends on 18)

The system of claim 18, wherein the negative data is generated by collecting all unique pairs from the observed positive flow match data, and generating a plurality of new flow matches which do not exist in the network communication model.

### Claim 20 (depends on 15)

The system of claim 15, further comprising the steps of:
calculating a value of recall for the network communication model; and
calculating the accuracy of the network communication model based on the recall, or based on a combination of the precision and the recall.
