# US 2020/0287927 A1 · Anomaly detection based on changes in an entity relationship graph

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

- Number: US 2020/0287927 A1
- Document ID: US20200287927A1
- Status: Published application
- Kind: A1
- Application number: 16/883,887
- Filed: 2020-05-26
- Published: 2020-09-10
- Earliest claimed: 2017-01-30
- Assignees: Splunk Inc.
- Applicants: Splunk Inc.
- Inventors: Joseph Auguste Zadeh; Rodolfo Soto; George Apostolopoulos; John Clifton Pierce
- Web page: https://patentgrep.com/patent/US20200287927A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 43/045: for graphical visualisation of monitoring data
- H04L 43/08: Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
- H04L 61/103: across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
- H04L 61/45: Network directories; Name-to-address mapping
- H04L 67/30: Profiles
- H04L 41/12: Discovery or management of network topologies
- H04L 43/106: using time related information in packets, e.g. by adding timestamps
- H04L 61/5007: Internet protocol [IP] addresses
- H04L 61/5014: using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
- H04L 2101/00: Indexing scheme associated with group H04L61/00
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques are described for analyzing data regarding activity in an IT environment to determine information regarding the entities associated with the activity and using the information to detect anomalous activity that may be indicative of malicious activity. In an embodiment, a plurality of events reflecting activity by a plurality of entities in an IT environment are processed to resolve the identities of the entities, discover how the entities fit within a topology of the IT environment, and determine what the entities are. This information is then used to generate an entity relationship graph that includes nodes representing the entities in the IT environment and edges connecting the nodes representing interaction relationships between the entities. In some embodiments, baselines are established by monitoring the activity between entities. This baseline information can be represented in the entity relationship graph in the form of directionality applied to the edges. The entity relationship graph can then be monitored to detect anomalous activity.

## Claims

### Claim 1

A method comprising:
accessing an entity relationship graph indicative of relationships and activity between a plurality of entities in an information technology (IT) environment;
wherein the entity relationship graph includes:
a first node representative of a first entity of the plurality of entities;
a second node representative of a second entity of the plurality of entities; and
an edge connecting the first node to the second node, the edge including a directionality indicative of a direction of communication between the first entity and the second entity;
detecting a change in a characteristic of the edge; and
detecting an anomaly in response to detecting the change in the characteristic of the edge.

### Claim 2 (depends on 1)

The method of claim 1, wherein the characteristic of the edge is the directionality of the edge, and wherein the anomaly is detected in response to detecting a change in the directionality of the edge.

### Claim 3 (depends on 1)

The method of claim 1, wherein the characteristic of the edge is indicative of a particular relationship between the first entity and the second entity, and wherein the anomaly is detected in response to detecting a change in the particular relationship between the first entity and the second entity.

### Claim 4 (depends on 1)

The method of claim 1,
wherein the characteristic of the edge is indicative of a first client-server relationship between the first entity and the second entity, wherein the first client-server relationship is indicative that the first entity is a client and the second entity is a server, and
wherein the anomaly is detected in response to detecting a change in the first client-server relationship to a second client-server relationship between the first entity and the second entity, wherein the second client-server relationship is indicative that the first entity is a server and the first entity is a client.

### Claim 5 (depends on 1)

The method of claim 1, wherein the characteristic of the edge is indicative of a particular communication between the first entity and the second entity, and wherein the anomaly is detected in response to detecting a change in the particular communication that does not conform with the directionality of the edge.

### Claim 6 (depends on 1)

The method of claim 1, wherein the anomaly is indicative of anomalous communication between a particular entity of the plurality of entities and the at least one other entity of the plurality of entities.

### Claim 7 (depends on 1)

The method of claim 1, wherein the anomaly is indicative of anomalous communication by the first entity and/or the second entity.

### Claim 8 (depends on 1)

The method of claim 1, wherein the anomaly is indicative of a web shell attack.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
analyzing communication between the first entity and the second to establish a baseline for communications between the first entity and the second entity; and
setting the directionality of the edge based on the established baseline for communication between the first entity and the second entity.

### Claim 10 (depends on 1)

The method of claim 1, further comprising:
determining a topology of the IT environment by processing a set of events indicative of activity in the IT environment; and
generating the entity relationship graph based on the topology of the IT environment.

### Claim 11 (depends on 1)

The method of claim 1, further comprising:
updating the entity relationship graph to further include:
a third node indicative of the detected anomaly; and
a second edge connecting the third node to the first node or the second node.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
determining, based on activity by a particular entity of the plurality of entities, a logical location of the particular entity in a topology of the IT environment;
wherein the logical location of the particular entity is any one of the logical locations from a set of logical locations including:
local area network (LAN);
demilitarized zone (DMZ);
wide area network (WAN); or
external.

### Claim 13 (depends on 1)

The method of claim 1, further comprising:
monitoring on a portion of the entity relationship graph associated with a particular logical location in a topology of the IT environment.

### Claim 14 (depends on 1)

The method of claim 1, further comprising:
determining a topology of the IT environment; and
monitoring the edge connecting the first node to the second node based on the topology of the IT environment.

### Claim 15 (depends on 1)

The method of claim 1, further comprising:
determining that the first entity and/or the second entity is operating in a particular logical location in a topology of the IT environment; and
monitoring the edge connecting the first node to the second node in response to determining that the first entity and/or the second entity is operating in the particular logical location in the topology of the IT environment.

### Claim 16 (depends on 1)

The method of claim 1, further comprising:
determining, based on a topology of the IT environment, that the first entity and/or the second entity is web server and that the web server is operating in a DMZ associated with the IT environment; and
the edge connecting the first node to the second node in response to determining that the first entity and/or the second entity is a web server and that the web server is operating in the DMZ associated with the IT environment.

### Claim 17 (depends on 1)

The method of claim 1, further comprising:
outputting, via a user interface, an indication of the detected anomaly.

### Claim 18 (depends on 1)

The method of claim 1, further comprising:
outputting, via a user interface, a notable event associated with the detected anomaly.

### Claim 19 (depends on 1)

The method of claim 1, further comprising:
receiving events associated with activity by the plurality of entities in the IT environment, wherein each event includes a portion of raw machine data that reflects activity in the IT environment and that is produced by a component of the IT environment, wherein each event is associated with a timestamp extracted from the raw machine data; and
updating the entity relationship graph based on the events.

### Claim 20 (depends on 1)

The method of claim 1, further comprising:
receiving events associated with activity by the plurality of entities in the IT environment, wherein each event includes a portion of raw machine data that reflects activity in the IT environment and that is produced by a component of the IT environment, wherein each event is associated with a timestamp extracted from the raw machine data; and
processing the events to generate the entity relationship graph.

### Claim 21 (depends on 1)

The method of claim 1, further comprising:
receiving events associated with activity by the plurality of entities in the IT environment, wherein each event includes a portion of raw machine data that reflects activity in the IT environment and that is produced by a component of the IT environment, wherein each event is associated with a timestamp extracted from the raw machine data; and
extracting an identifier from the events; and
associating the identifier with the first entity or the second entity.

### Claim 22 (depends on 1)

The method of claim 1, further comprising:
associating an identifier to with the first entity or the second entity;
wherein the identifier includes any one or more of: a domain name, a uniform resource locater (URL), uniform resource identifier (URI), a unique identifier (UID), an Internet Protocol (IP) address, a Media Access Control (MAC) address, a device identification, or a user identification.

### Claim 23 (depends on 1)

The method of claim 1, wherein the entity relationship graph is a composite entity relationship graph that is generated based on a plurality of event-specific entity relationship graphs.

### Claim 24 (depends on 1)

The method of claim 1, wherein the entity relationship graph is a composite entity relationship graph, the method further comprising:
receiving events associated with activity by the plurality of entities in the IT environment, wherein each event includes a portion of raw machine data that reflects activity in the IT environment and that is produced by a component of the IT environment, wherein each event is associated with a timestamp extracted from the raw machine data;
generating a plurality of event-specific entity relationship graphs by processing the events, each of the plurality of event-specific entity relationship graphs associated with a different one of the events; and
generating the composite entity relationship graph based on the plurality of event-specific entity relationship graphs.

### Claim 25 (depends on 1)

The method of claim 1, further comprising:
generating anomaly data indicative of the detected anomaly; and
processing the anomaly data using a machine learning model to identify security threat to the IT environment.

### Claim 26 (depends on 1)

The method of claim 1, wherein the entity relationship graph is persistently stored in a distributed file system.

### Claim 27 (depends on 1)

The method of claim 1, wherein the plurality of entities include any of:
a device;
an application;
a user; or
data.

### Claim 28 (depends on 1)

The method of claim 1, wherein the first entity and second entity are different types of entities.

### Claim 29

A computer system comprising:
a processor; and
a storage device having instructions stored thereon, which when executed by the processor cause the computer system to:
access an entity relationship graph indicative of relationships and activity between a plurality of entities in an information technology (IT) environment;
wherein the entity relationship graph includes:
a first node representative of a first entity of the plurality of entities;
a second node representative of a second entity of the plurality of entities; and
an edge connecting the first node to the second node, the edge including a directionality indicative of a direction of communication between the first entity and the second entity;
detect a change in a characteristic of the edge; and
detect an anomaly in response to detecting the change in the characteristic of the edge.

### Claim 30

A non-transitory computer-readable medium containing instructions, execution of which in a computer system causes the computer system to:
access an entity relationship graph indicative of relationships and activity between a plurality of entities in an information technology (IT) environment;
wherein the entity relationship graph includes:
a first node representative of a first entity of the plurality of entities;
a second node representative of a second entity of the plurality of entities; and
an edge connecting the first node to the second node, the edge including a directionality indicative of a direction of communication between the first entity and the second entity;
detect a change in a characteristic of the edge; and
detect an anomaly in response to detecting the change in the characteristic of the edge.
