# US 2020/0265139 A1 · Machine Learning Model for Malware Dynamic Analysis

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

- Number: US 2020/0265139 A1
- Document ID: US20200265139A1
- Status: Published application
- Kind: A1
- Application number: 16/867,440
- Filed: 2020-05-05
- Published: 2020-08-20
- Earliest claimed: 2016-05-05
- Assignees: Cylance Inc.
- Applicants: Cylance Inc.
- Inventors: Xuan Zhao; Aditya Kapoor; Matthew Wolff; Andrew Davis; Derek A. Soeder; Ryan Permeh
- Web page: https://patentgrep.com/patent/US20200265139A1

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06N 3/044: Recurrent networks, e.g. Hopfield networks
- G06N 3/0442: characterised by memory or gating, e.g. long short-term memory [LSTM] or gated recurrent units [GRU]
- G06N 3/09: Supervised learning
- G06N 5/025: Extracting rules from data
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- G06F 3/048: Interaction techniques based on graphical user interfaces [GUI]
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06N 20/20: Ensemble learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

In some implementations there may be provided a system. The system may include a processor and a memory. The memory may include program code which causes operations when executed by the processor. The operations may include analyzing a series of events contained in received data. The series of events may include events that occur during the execution of a data object. The series of events may be analyzed to at least extract, from the series of events, subsequences of events. A machine learning model may determine a classification for the received data. The machine learning model may classify the received data based at least on whether the subsequences of events are malicious. The classification indicative of whether the received data is malicious may be provided. Related methods and articles of manufacture, including computer program products, are also disclosed.

## Claims

### Claim at position 1

1-32. (canceled)

### Claim 33

A computer-implemented method comprising:
analyzing a series of events contained in received data, the series of events comprising events that occur during the execution of a data object, and the series of events being analyzed to at least extract, from the series of events, two or more subsequences of events, at least two of the subsequences of events being non-consecutive;
determining, by a machine learning model and by using a logistic regression of an average representation of the two or more subsequences of events, a classification for the received data, the machine learning model classifying the received data based at least on whether the two or more subsequences of events are malicious; and
providing the classification indicative of whether the received data is malicious, the classification being used to make a determination of whether to continue to execute the data object in order to prevent damage to a computing system and/or software.

### Claim 34 (depends on 33)

The computer-implemented method according to claim 33, wherein the two or more subsequences of events are extracted by at least:
determining a plurality of subsequences in the series of events;
identifying a plurality of most frequent subsequences in the plurality of subsequences; and
selecting, from the plurality of the most frequent subsequences, the two or more subsequences of events.

### Claim 35 (depends on 34)

The computer-implemented method according to claim 34, wherein the selecting of the two or more subsequence of events is based on a frequency of occurrence of the plurality of most frequent subsequences exceeding a predetermined threshold.

### Claim 36 (depends on 34)

The computer-implemented method according to claim 34, wherein the plurality of the most frequent subsequences are identified by at least applying an Apriori algorithm.

### Claim 37 (depends on 36)

The computer-implemented method according to claim 36, wherein the Apriori algorithm is configured to at least:
identify a most frequent event; and
identify, based at least on the most frequent event, a most frequent subsequence of events, the most frequent subsequence of events including the most frequent event and at least one other event.

### Claim 38 (depends on 33)

The computer-implemented method according to claim 33, wherein the machine learning model comprises a recurrent neural network.

### Claim 39 (depends on 38)

The computer-implemented method according to claim 38, wherein the recurrent neural network comprises a long short term memory network.

### Claim 40 (depends on 39)

The computer-implemented method according to claim 39, wherein the long short term memory network comprises a memory cell, the memory cell being configured maintain a value, the memory cell being further configured to determine, based at least on an event, whether to update, output, discard, and/or continue to maintain the value.

### Claim 41 (depends on 33)

The computer-implemented method according to claim 33, wherein the machine learning model determines the classification for the received data by at least:
generating a representation the two or more subsequences of events;
determining an average representation of the two or more subsequences of events over a plurality of time steps associated with the series of events;
determining a logistic regression of an average representation of the two or more subsequences of events; and
determining, based on the logistic regression, the classification for the received data.

### Claim 42 (depends on 33)

The computer-implemented method according to claim 33 further comprising:
determining whether the series of events includes at least one malicious event; and
classifying the received data based at least on a presence of the at least one malicious event in the series of events.

### Claim 43 (depends on 42)

The computer-implemented method according to claim 42 further comprising:
determining that an event is malicious based at least on a filename and/or a filepath associated with the event.

### Claim 44 (depends on 43)

The computer-implemented method according to claim 43, wherein the filename and/or the filepath associated with the event is analyzed based at least on a pattern associated with one or more filenames and/or filepaths that are known to be non-malicious.

### Claim 45 (depends on 44)

The computer-implemented method according to claim 44, wherein the pattern associated with the one or more non-malicious filenames and/or filepaths is modeled using a Markov chain.

### Claim 46 (depends on 43)

The computer-implemented method of claim 43, wherein the data object comprises a file, a function, and/or a software program.

### Claim 47 (depends on 33)

The computer-implemented method according to claim 33, wherein the two or more subsequence of events comprise consecutive and/or non-consecutive events from the series of events.

### Claim 48

A system comprising:
at least one processor; and
at least one memory including program code which when executed by the at least one processor causes operations comprising:
analyzing a series of events contained in received data, the series of events comprising events that occur during the execution of a data object, and the series of events being analyzed to at least extract, from the series of events, two or more subsequences of events, at least two of the subsequences of events being non-consecutive;
determining, by a machine learning model and by using a logistic regression of an average representation of the two or more subsequences of events, a classification for the received data, the machine learning model classifying the received data based at least on whether the two or more subsequences of events are malicious; and
providing the classification indicative of whether the received data is malicious, the classification being used to make a determination of whether to continue to execute the data object in order to prevent damage to a computing system and/or software.

### Claim 49 (depends on 48)

The system according to claim 48, wherein the two or more subsequences of events are extracted by at least:
determining a plurality of subsequences in the series of events;
identifying a plurality of most frequent subsequences in the plurality of subsequences; and
selecting, from the plurality of the most frequent subsequences, the two or more subsequences of events.

### Claim 50 (depends on 49)

The system according to claim 49, wherein the selecting of the two or more subsequence of events is based on a frequency of occurrence of the plurality of most frequent subsequences exceeding a predetermined threshold.

### Claim 51 (depends on 49)

The system according to claim 49, wherein the plurality of the most frequent subsequences are identified by at least applying an Apriori algorithm that is configured to identify a most frequent event; and identify, based at least on the most frequent event, a most frequent subsequence of events, the most frequent subsequence of events including the most frequent event and at least one other event.

### Claim 52

A non-transitory computer-readable storage medium including program code, which when executed by at least one data processor, cause operations comprising:
analyzing a series of events contained in received data, the series of events comprising events that occur during the execution of a data object, and the series of events being analyzed to at least extract, from the series of events, two or more subsequences of events, at least two of the subsequences of events being non-consecutive;
determining, by a machine learning model and by using a logistic regression of an average representation of the two or more subsequences of events, a classification for the received data, the machine learning model classifying the received data based at least on whether the two or more subsequences of events are malicious; and
providing the classification indicative of whether the received data is malicious, the classification being used to make a determination of whether to continue to execute the data object in order to prevent damage to a computing system and/or software.
