# US 2021/0273959 A1 · Cyber security system applying network sequence prediction using transformers

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

- Number: US 2021/0273959 A1
- Document ID: US20210273959A1
- Status: Published application
- Kind: A1
- Application number: 17/187,379
- Filed: 2021-02-26
- Published: 2021-09-02
- Earliest claimed: 2020-02-28
- Assignees: Darktrace Limited
- Applicants: Darktrace Limited
- Inventors: Carl Joseph Salji
- Web page: https://patentgrep.com/patent/US20210273959A1

## CPC

- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06F 21/554: {involving event detection and direct action}
- G06N 3/0895: Weakly supervised learning, e.g. semi-supervised or self-supervised learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- H04L 63/105: {Multiple levels of security}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/1433: {Vulnerability analysis}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- G06F 2221/2113: Multi-level security, e.g. mandatory access control
- G06N 3/08: Learning methods
- G06N 20/00: Machine learning
- G06N 20/20: Ensemble learning
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A cyber threat defense system and a method for detecting a cyber threat may use a predictor, e.g. a Transformer deep learning model, which is configured to predict a next item in the sequence of events and to detect one or more anomalies in the sequence of events. This provides a notification comprising (i) information about the one or more anomalies; and (ii) a prediction of what would have been expected.

## Claims

### Claim 1

A cyber threat defense system, the cyber threat defense system comprising:
an analyzer module comprising a modeler to model network data as a sequence of events, and a predictor to predict a next item in the sequence of events and to identify one or more anomalies in the sequence of events;
a user interface configured to convey a notification of one or more anomalies occurring in a network protected by the cyber threat defense system; and
an autonomous response module configured to generate at least a notification in response to the analyzer module identifying the one or more anomalies;
wherein the predictor is configured to provide in the notification conveyed on the user interface (i) information about the one or more anomalies, and ii) additional contextual information, beyond a possible score, about the one or more anomalies in order to enhance a user's understanding regarding the identified one or more anomalies.

### Claim 2 (depends on 1)

The cyber threat defense system according to claim 1, wherein the autonomous response module is configured to generate at least the notification to a user in response to detected one or more anomalies above a first threshold level and/or configured to generate an autonomous response to mitigate a cyber threat when the detected one or more anomalies are indicative above a second threshold level.

### Claim 3 (depends on 1)

The cyber threat defense system according to claim 1, wherein the predictor is a Transformer deep learning model.

### Claim 4 (depends on 1)

The cyber threat defense system according to claim 1, wherein the additional contextual information identifies each anomalous part of an event in the sequence of events.

### Claim 5 (depends on 1)

The cyber threat defense system according to claim 1, wherein the additional contextual information identifies a plurality of anomalies in parts of an event in a sequence of events, when multiple anomalies were detected with the identified one or more anomalies in the sequence of events.

### Claim 6 (depends on 1)

The cyber threat defense system according to claim 1, wherein the predictor is configured to generate likelihoods for anomaly detection and then present the likelihood for the anomaly detection on the user interface.

### Claim 7 (depends on 1)

The cyber threat defense system according to claim 1, wherein the additional contextual information comprises (i) information about the anomaly, (ii) a prediction of what would have been expected and/or (iii) likelihoods for anomaly detection.

### Claim 8 (depends on 1)

The cyber threat defense system according to claim 1, wherein the predictor is configured to provide a notification comprising an anomaly score in addition to the additional contextual information about the one or more anomalies.

### Claim 9 (depends on 1)

The cyber threat defense system according to claim 1, wherein the sequence of events is string data.

### Claim 10 (depends on 1)

The cyber threat defense system according to claim 1, wherein the sequence of events is string data derived from an SaaS event.

### Claim 11 (depends on 1)

The cyber threat defense system according to claim 1, wherein the predictor is further configured to match a JA3 hash of the network data to particular user agents; and to provide in the notification information about the particular user agents.

### Claim 12

A method of detecting a cyber threat, the method comprising:
using a modeler to model network data as a sequence of events;
using a predictor to predict a next item in the sequence of events and to identify one or more anomalies in the sequence of events;
a user interface conveying a notification of the one or more anomalies occurring in a network protected by a cyber threat defense system; and
generating at least a notification in response to the predictor identifying the one or more anomalies, the notification conveying on the user interface (i) information about the one or more anomalies, and ii) additional contextual information, beyond a possible score, about the one or more anomalies in order to enhance a user's understanding regarding the identified one or more anomalies.

### Claim 13 (depends on 12)

The method according to claim 12, wherein the predictor is a Transformer deep learning model.

### Claim 14 (depends on 12)

The method according to claim 12, wherein the additional contextual information identifies each anomalous part of an event in the sequence of events.

### Claim 15 (depends on 12)

The method according to claim 12, wherein the additional contextual information identifies a plurality of anomalies in parts of an event in a sequence of events, when multiple anomalies were detected with the identified one or more anomalies in the sequence of events.

### Claim 16 (depends on 12)

The method according to claim 12, further comprising the predictor generating likelihoods for anomaly detection and then present the likelihood for the anomaly detection on the user interface.

### Claim 17 (depends on 12)

The method according to claim 12, wherein the additional contextual information comprises (i) information about the anomaly, (ii) a prediction of what would have been expected and/or (iii) likelihoods for anomaly detection.

### Claim 18 (depends on 12)

The method according to claim 12, wherein the sequence of events is string data derived from a SaaS event.

### Claim 19 (depends on 12)

The method according to claim 12, further comprising using the predictor to match a JA3 hash of the network data to particular user agents; and to provide in the notification information about the particular user agents.

### Claim 20 (depends on 12)

A non-transitory computer-readable medium including executable instructions that, when executed with one or more processors, cause a cyber-threat defense system to perform the method of claim 12.
