# US 2021/0176260 A1 · Characterizing user behavior in a computer system by automated learning of intention embedded in a system-generated event graph

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

- Number: US 2021/0176260 A1
- Document ID: US20210176260A1
- Status: Published application
- Kind: A1
- Application number: 16/706,926
- Filed: 2019-12-09
- Published: 2021-06-10
- Earliest claimed: 2019-12-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Xiaorui Pan; Xiaokui Shu; Dhilung Hang Kirat; Jiyong Jang; Marc Philippe Stoecklin
- Web page: https://patentgrep.com/patent/US20210176260A1

## CPC

- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06N 3/04: Architecture, e.g. interconnection topology
- G06N 3/042: Knowledge-based neural networks; Logical representations of neural networks
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 5/022: Knowledge engineering; Knowledge acquisition
- H04L 63/083: {using passwords (cryptographic mechanisms or cryptographic arrangements for entity authentication using a predetermined code H04L9/3226)}
- H04L 63/0853: {using an additional device, e.g. smartcard, SIM or a different communication terminal (cryptographic mechanisms or cryptographic arrangements for entity authentication involving additional secure or trusted devices H04L9/3234)}
- H04L 63/0884: {by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 20/00: Machine learning
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

An automated technique for security monitoring leverages a labeled semi-directed temporal graph derived from system-generated events. The temporal graph is mined to derive process-centric subgraphs, with each subgraph consisting of events related to a process. The subgraphs are then processed to identify atomic operations shared by the processes, wherein an atomic operation comprises a sequence of system-generated events that provide an objective context of interest. The temporal graph is then reconstructed by substituting the identified atomic operations derived from the subgraphs for the edges in the original temporal graph, thereby generating a reconstructed temporal graph. Using graph embedding, the reconstructed graph is converted into a representation suitable for further machine learning, e.g., using a deep neural network. The network is then trained to learn the intention underlying the temporal graph. The approach operates to understand running behavior of programs, to classify them, and then enable detection of potential malicious behaviors.

## Claims

### Claim 1

A method to detect anomalous behavior in a computing system, comprising:
receiving a semi-directed temporal graph derived from system-generated events;
deriving from the semi-directed temporal graph one or more process-centric subgraphs, wherein a process-centric subgraph comprises one or more system-generated events associated with a given process;
identifying from the one or more process-centric subgraphs one or more atomic operations, wherein an atomic operation comprises a set of system-generated events common to more than one process-centric subgraph;
modifying the semi-directed temporal graph by replacing information therein with the one or more identified atomic operations; and
training a machine learning model using the modified semi-directed temporal graph.

### Claim 2 (depends on 1)

The method as described in claim 1 wherein training the machine learning model includes:
applying graph embedding to the modified semi-directed temporal graph to generate one or more vectors; and
applying to the machine learning model the one or more vectors as labeled data sets.

### Claim 3 (depends on 2)

The method as described in claim 2 wherein the machine learning model is a deep neural network (DNN) that is trained to distinguish between benign and malicious user actions.

### Claim 4 (depends on 1)

The method as described in claim 1 wherein the one or more atomic operations are identified by applying a statistical algorithm to sequences of events derived from the one or more process-centric subgraphs.

### Claim 5 (depends on 1)

The method as described in claim 1 further including:
receiving a set of system-generated events, wherein at least one system-generated event is responsive to a user action, and wherein each of the system-generated events has an associated set of parameters; and
using the associated parameters for one or more system-generated events to build the semi-directed temporal graph.

### Claim 6 (depends on 1)

The method as described in claim 1 further including setting a filter on an output of the machine learning model to attempt to identify a particular user intent or other given behavior information.

### Claim 7 (depends on 1)

The method as described in claim 1 further including using the trained machine learning model to detect a potentially malicious behavior associated with the computer system.

### Claim 8

An apparatus, comprising:
a processor;
computer memory holding computer program instructions executed by the processor, the computer program instructions configured to detect anomalous behavior in a computer system, the computer program instructions comprising program code configured to:
receive a semi-directed temporal graph derived from system-generated events;
derive from the semi-directed temporal graph one or more process-centric subgraphs, wherein a process-centric subgraph comprises one or more system-generated events associated with a given process;
identify from the one or more process-centric subgraphs one or more atomic operations, wherein an atomic operation comprises a set of system-generated events common to more than one process-centric subgraph;
modify the semi-directed temporal graph by replacing information therein with the one or more identified atomic operations; and
train a machine learning model using the modified semi-directed temporal graph.

### Claim 9 (depends on 8)

The apparatus as described in claim 8 wherein the program code configured to train the machine learning model includes program code further configured to:
apply graph embedding to the modified semi-directed temporal graph to generate one or more vectors; and
apply to the machine learning model the one or more vectors as labeled data sets.

### Claim 10 (depends on 9)

The apparatus as described in claim 9 wherein the machine learning model is a deep neural network (DNN) that is trained to distinguish between benign and malicious user actions.

### Claim 11 (depends on 8)

The apparatus as described in claim 8 wherein the program code configured to identify the one or more atomic operations includes program code further configured to apply a statistical algorithm to sequences of events derived from the one or more process-centric subgraphs.

### Claim 12 (depends on 8)

The apparatus as described in claim 8 wherein the computer program instructions are further configured to:
receive a set of system-generated events, wherein at least one system-generated event is responsive to a user action, and wherein each of the system-generated events has an associated set of parameters; and
use the associated parameters for one or more system-generated events to build the semi-directed temporal graph.

### Claim 13 (depends on 8)

The apparatus as described in claim 8 wherein the computer program instructions include program code further configured to set a filter on an output of the machine learning model to attempt to identify a particular user intent or other given behavior information.

### Claim 14 (depends on 8)

The apparatus as described in claim 8 wherein the computer program instructions include program code further configured to use the trained machine learning model to detect a potentially malicious behavior associated with the computer system.

### Claim 15

A computer program product in a non-transitory computer readable medium for use in a data processing system, the computer program product holding computer program instructions that, when executed by the data processing system, are configured to detect anomalous behavior in a computer system, the computer program instructions comprising program code configured to:
receive a semi-directed temporal graph derived from system-generated events;
derive from the semi-directed temporal graph one or more process-centric subgraphs, wherein a process-centric subgraph comprises one or more system-generated events associated with a given process;
identify from the one or more process-centric subgraphs one or more atomic operations, wherein an atomic operation comprises a set of system-generated events common to more than one process-centric subgraph;
modify the semi-directed temporal graph by replacing information therein with the one or more identified atomic operations; and
train a machine learning model using the modified semi-directed temporal graph.

### Claim 16 (depends on 15)

The computer program product as described in claim 15 wherein the program code configured to train the machine learning model includes program code further configured to:
apply graph embedding to the modified semi-directed temporal graph to generate one or more vectors; and
apply to the machine learning model the one or more vectors as labeled data sets.

### Claim 17 (depends on 16)

The computer program product as described in claim 16 wherein the machine learning model is a deep neural network (DNN) that is trained to distinguish between benign and malicious user actions.

### Claim 18 (depends on 15)

The computer program product as described in claim 15 wherein the program code configured to identify the one or more atomic operations includes program code further configured to apply a statistical algorithm to sequences of events derived from the one or more process-centric subgraphs.

### Claim 19 (depends on 15)

The computer program product as described in claim 15 wherein the computer program instructions are further configured to:
receive a set of system-generated events, wherein at least one system-generated event is responsive to a user action, and wherein each of the system-generated events has an associated set of parameters; and
use the associated parameters for one or more system-generated events to build the semi-directed temporal graph.

### Claim 20 (depends on 15)

The computer program product as described in claim 15 wherein the computer program instructions include program code further configured to set a filter on an output of the machine learning model to attempt to identify a particular user intent or other given behavior information.

### Claim 21 (depends on 15)

The computer program product as described in claim 15 wherein the computer program instructions include program code further configured to use the trained machine learning model to detect a potentially malicious behavior associated with the computer system.
