# US 2023/0275908 A1 · Thumbprinting security incidents via graph embeddings

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

- Number: US 2023/0275908 A1
- Document ID: US20230275908A1
- Status: Published application
- Kind: A1
- Application number: 17/683,266
- Filed: 2022-02-28
- Published: 2023-08-31
- Earliest claimed: 2022-02-28
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Daniel Lee MACE; Andrew White WICKER
- Web page: https://patentgrep.com/patent/US20230275908A1

## CPC

- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1433: {Vulnerability analysis}
- G06F 21/552: {involving long-term monitoring or reporting}
- G06F 21/554: {involving event detection and direct action}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- 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)

## Abstract

In network security systems, graph-based techniques may be employed to generate “thumbprints” of security incidents, which may thereafter be used, e.g., for threat actor attribution or the identification of similar incidents. In various embodiments, each security incident is represented by a graph in which security events correspond to nodes, and which encodes associated metadata in additional nodes and/or node/edge attributes. Graph representation learning may be used to compute node and/or edge embeddings, which can then be aggregated into the thumbprint of the incident.

## Claims

### Claim 1

A computer-implemented method comprising:
monitoring a computer network for security events;
determining, among the security events based on correlations between their attributes, a group of correlated security events that collectively constitute a security incident;
generating a graph representation of the security incident, the graph representation comprising nodes representing the security events within the security incident and nodes representing security metadata associated with the security incident;
computing graph embeddings of the nodes within the graph representation of the security incident;
aggregating the graph embeddings of the nodes into a thumbprint representation of the security incident; and
generating an output based on the thumbprint representation.

### Claim 2 (depends on 1)

The method of claim 1, wherein the security metadata comprises at least one of entities involved in the security events or an insight associated with the security incident.

### Claim 3 (depends on 1)

The method of claim 1, wherein generating the output comprises identifying at least one of a threat actor or a threat campaign responsible for the security incident.

### Claim 4 (depends on 3)

The method of claim 3, wherein identifying the threat actor or threat campaign responsible for the security incident comprises grouping the security incident together with other security incidents based on similarity between their thumbprint representations, and identifying a threat actor or threat campaign previously determined to be responsible for one of the other security incidents as the threat actor or threat campaign responsible for the security incident.

### Claim 5 (depends on 3)

The method of claim 3, wherein identifying the threat actor or threat campaign comprises passing the thumbprint representation as input to a classification model trained based on features of known threat actors or threat campaigns.

### Claim 6 (depends on 1)

The method of claim 1, wherein generating the output comprises identifying at least one other security incident having a thumbprint representations similar to the thumbprint representation of the security incident, and wherein the output comprises information about the one or more other security incidents.

### Claim 7 (depends on 1)

The method of claim 1, wherein generating the output comprises clustering the security incidents based on similarity between the thumbprint representations, and wherein the output for each cluster of security incidents comprises one or more threat-mitigating actions applied as bulk operations to all security incidents within the cluster.

### Claim 8 (depends on 1)

The method of claim 1, wherein generating the output comprises projecting the thumbprint representations into a lower-dimensional representation space, and wherein the output comprises a visualization, in a user interface, of the security incidents in the lower-dimensional representation space.

### Claim 9 (depends on 8)

The method of claim 8, further comprising receiving, from a user via the user interface, assignments of security policies to the security incidents.

### Claim 10 (depends on 1)

The method of claim 1, further comprising comparing the graph embeddings of the nodes across multiple security incidents to identify similar nodes belonging to different ones of the security incidents, and expanding at last one of the security incidents by addition of at least one similar node from another one of the security incidents.

### Claim 11 (depends on 1)

The method of claim 1, further comprising comparing the graph embeddings of the nodes within one of the security incidents to identify subgraphs of similar nodes.

### Claim 12 (depends on 11)

The method of claim 11, further comprising associating the subgraphs with respective phases within the incident.

### Claim 13 (depends on 11)

The method of claim 11, further comprising performing knowledge context learning on the subgraphs, encoding learned context into the graph representation of the security incident, and computing updated graph embeddings of the nodes within the graph representations of the security incident.

### Claim 14 (depends on 1)

The method of claim 1, further comprising computing graph embeddings of the edges between the nodes of the graph representation of the security incident, and augmenting the graph representation based on the graph embeddings of the edges.

### Claim 15 (depends on 14)

The method of claim 14, wherein at least some of the edges within the graph representation are labeled with attributes, and wherein augmenting the graph representation comprises assigning attributes to additional edges based on similarity between the graph embeddings of the edges.

### Claim 16 (depends on 14)

The method of claim 14, wherein augmenting the graph representation comprises adding nodes to the graph representation, the nodes predicted based at least in part on the graph embeddings of the edges.

### Claim 17 (depends on 1)

The method of claim 1, wherein generating the output comprises causing performance of at least one threat-mitigating action selected among: suspending network accounts, sending warnings to network users, causing authentication credentials to be reset, isolating affected machines, preforming scans for malware, de-installing malware, removing a persistence mechanism associated with the security incident, backing up data, restoring destroyed data from back-up copies, identifying exfiltrated data, fixing security bugs, increasing a level of network traffic monitoring, and notifying authorities.

### Claim 18 (depends on 1)

The method of claim 1, wherein the graph embeddings are computed using a graph representation learning technique.

### Claim 19

A computer system, comprising:
at least one hardware processor; and
at least one machine-readable medium storing instructions that, when executed by the at least one hardware processor, cause the at least one hardware processor to perform operations for processing a security incident comprising multiple security events, the operations comprising:
generating a graph representation of the security incident, the graph representation comprising nodes representing the security events within the security incident and nodes representing security metadata associated with the security incident;
computing graph embeddings of the nodes within the graph representation of the security incident;
aggregating the graph embeddings of the nodes into a thumbprint representation of the security incident; and
generating an output based on the thumbprint representation.

### Claim 20

One or more non-transitory machine-readable media storing instructions that, when executed by at least one hardware processor, cause the at least one hardware processor to perform operations for processing a security incident comprising multiple security events, the operations comprising:
generating a graph representation of the security incident, the graph representation comprising nodes representing the security events within the security incident and nodes representing security metadata associated with the security incident;
computing graph embeddings of the nodes within the graph representation of the security incident;
aggregating the graph embeddings of the nodes into a thumbprint representation of the security incident; and
generating an output based on the thumbprint representation.
