# US 2020/0287921 A1 · Reconstructing network activity from sampled network data using archetypal analysis

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

- Number: US 2020/0287921 A1
- Document ID: US20200287921A1
- Status: Published application
- Kind: A1
- Application number: 16/295,957
- Filed: 2019-03-07
- Published: 2020-09-10
- Earliest claimed: 2019-03-07
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Omer Karin
- Web page: https://patentgrep.com/patent/US20200287921A1

## CPC

- H04L 63/1408: {by monitoring network traffic (monitoring network traffic per se H04L43/00)}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06N 20/00: Machine learning
- H04L 43/026: using flow identification
- H04L 43/04: Processing captured monitoring data, e.g. for logfile generation
- H04L 43/062: related to network traffic
- H04L 43/0876: Network utilisation, e.g. volume of load or congestion level
- H04L 63/1458: {Denial of Service}
- H04L 63/1466: {Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks}
- G06F 21/552: {involving long-term monitoring or reporting}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- H04L 63/1433: {Vulnerability analysis}
- H04L 63/1441: {Countermeasures against malicious traffic (countermeasures against attacks on cryptographic mechanisms H04L9/002)}
- 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

Methods, systems, apparatuses, and computer program products are provided for reconstructing network activity. A network activity monitor is configured to monitor network activity for various network entities. Based on the monitoring, a set of features may be obtained for each network entity. A determination may be made for a number of vertices suitable for describing the sets of features in a multidimensional space. In some implementations, the vertices may define a convex hull in the multidimensional space. Each of the vertices may be assigned a different usage pattern that represents a certain type of network usage types. Reconstructed network activity for a particular network entity may be represented as a weighted combination of the usage patterns. Based on the reconstruction, a network anomaly may be detected, a network may be modified, and/or an alert may be generated.

## Claims

### Claim 1

A system for reconstructing network activity, the system comprising:
one or more processors; and
one or more memory devices that store program code configured to be executed by the one or more processors, the program code comprising:
a network activity monitor configured to monitor network activity of a plurality of network entities;
a feature determiner configured to obtain a set of features for each network entity in the plurality of network entities based on the monitoring;
a vertex determiner configured to determine a number of vertices to describe the sets of features in a multidimensional space;
a usage pattern assignor configured to assign a different usage pattern to each of the vertices;
a network activity reconstructor configured to obtain at least some of the features in the set of features for a particular network entity, and to represent the particular network entity as a weighted combination of the usage patterns based on the at least some of the features in the set of features for the particular network entity; and
a network modifier configured to alter at least one aspect of the network based at least on the representation of the particular network entity.

### Claim 2 (depends on 1)

The system of claim 1, wherein at least one feature in the set of features for each network entity in the plurality of network entities is determined by aggregating a certain type of network activity over a period of time.

### Claim 3 (depends on 1)

The system of claim 1, wherein the usage pattern assignor is configured to assign the different usage patterns to the vertices based on user input.

### Claim 4 (depends on 1)

The system of claim 1, wherein the usage pattern assignor is configured to automatically assign the different usage patterns to the vertices.

### Claim 5 (depends on 1)

The system of claim 1, wherein the vertices define a convex hull that describes the sets of features in the multidimensional space.

### Claim 6 (depends on 1)

The system of claim 1, wherein the different usage patterns assigned to the vertices include one or more of:
a port scanning activity;
a web crawler or indexer;
a web server;
a connection initiator;
a login activity;
a remote desktop protocol activity;
a denial of service attack; or
a file transfer activity.

### Claim 7 (depends on 1)

The system of claim 1, wherein the number of vertices is determined based, at least in part, on a degree of variance between the sets of features and the number of vertices.

### Claim 8 (depends on 1)

The system of claim 1, wherein the network modifier is configured to alter the at least one aspect of the network by at least one of:
blocking network traffic to or from a node of the network; or
filtering network traffic to or from the node.

### Claim 9

A computer-readable memory having program code recorded thereon that when executed by at least one processor causes the at least one processor to perform a method comprising:
monitoring network activity of a plurality of network entities;
obtaining a set of features for each network entity in the plurality of network entities based on the monitoring;
determining a number of vertices to describe the sets of features in a multidimensional space;
assigning a different usage pattern to each of the vertices;
obtaining at least some of the features in the set of features for a particular network entity;
representing the particular network entity as a weighted combination of the usage patterns based on the at least some of the features in the set of features for the particular network entity; and
detecting a network anomaly based at least on the representation of the particular network entity.

### Claim 10 (depends on 9)

The computer-readable memory of claim 9, wherein said assigning the different usage patterns to the vertices comprises automatically assigning the different usage patterns to the vertices.

### Claim 11 (depends on 9)

The computer-readable memory of claim 9, wherein the vertices define a convex hull that describes the sets of features in the multidimensional space.

### Claim 12 (depends on 9)

The computer-readable memory of claim 9, wherein the different usage patterns assigned to the vertices includes one or more of:
a port scanning activity;
a web crawler or indexer;
a web server;
a connection initiator;
a login activity;
a remote desktop protocol activity;
a denial of service attack; or
a file transfer activity.

### Claim 13 (depends on 9)

The computer-readable memory of claim 9, wherein the number of vertices is determined based, at least in part, on a degree of variance between the sets of features and the number of vertices.

### Claim 14 (depends on 9)

The computer-readable memory of claim 9, wherein the method further comprises:
performing an action based, at least in part, on the detected network anomaly, the action including one or more of:
blocking network traffic to or from a node of the network;
filtering network traffic to or from the node; or
generating a notification corresponding to the detected anomaly.

### Claim 15

A method of reconstructing network activity, the method comprising:
obtaining a set of usage patterns for a network that describes sets of features for each of a plurality of network entities, each usage pattern in the set of usage patterns corresponding to a different vertex in a multidimensional space;
obtaining at least some of the features in the set of features for a particular network entity; and
representing the particular network entity as a weighted combination of the usage patterns based on the at least some of the features in the set of features for the particular network entity.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
performing analytics for the network based at least on the representation of the particular network entity.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
detecting a network anomaly based at least on the performed analytics.

### Claim 18 (depends on 17)

The method of claim 17, further comprising:
performing an action based at least on the detected network anomaly, the action including one or more of:
altering at least one aspect of the network; or
generating a notification corresponding to the detected anomaly.

### Claim 19 (depends on 15)

The method of claim 15, wherein the set of usage patterns define a convex hull that describes the sets of features in the multidimensional space.

### Claim 20 (depends on 15)

The method of claim 15, wherein the set of usage patterns includes one or more of:
a port scanning activity;
a web crawler or indexer;
a web server;
a connection initiator;
a login activity;
a remote desktop protocol activity;
a denial of service attack; or
a file transfer activity.
