# US 2022/0278996 A1 · Context profiling for malware detection

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

- Number: US 2022/0278996 A1
- Document ID: US20220278996A1
- Status: Published application
- Kind: A1
- Application number: 17/669,813
- Filed: 2022-02-11
- Published: 2022-09-01
- Earliest claimed: 2018-01-31
- Assignees: Palo Alto Networks, Inc.
- Applicants: Palo Alto Networks, Inc.
- Inventors: Jun Wang; Wei Xu
- Web page: https://patentgrep.com/patent/US20220278996A1

## CPC

- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06F 21/564: {by virus signature recognition}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- H04L 63/1458: {Denial of Service}
- H04W 12/128: Anti-malware arrangements, e.g. protection against SMS fraud or mobile malware
- 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)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

Analysis of samples for maliciousness is disclosed. A sample is executed and one or more network activities associated with executing the sample are recorded. The recorded network activities are compared to a malware profile. The malware profile comprises a set of network activities taken by a known malicious application during execution of the known malicious application. A verdict of “malicious” is assigned to the sample based at least in part on a determination that the recorded network activities match the malware profile.

## Claims

### Claim 1

A system, comprising:
a processor configured to:
execute a potentially malicious sample and record one or more network activities associated with the executing of the potentially malicious sample;
compare at least some of the recorded network activities to a previously generated malware profile, wherein the malware profile comprises a set of network activities taken by a known malicious application during execution of the known malicious application; and
assign a malicious verdict to the potentially malicious sample based at least in part on a determination that the recorded network activities match the malware profile; and
a memory coupled to the processor and configured to provide the processor with instructions.

### Claim 2 (depends on 1)

The system of claim 1, wherein the malware profile is generated at least in part by abstracting a capture of network activity associated with the execution of the known malicious application into the set of network activities taken by the known malicious application.

### Claim 3 (depends on 1)

The system of claim 1, wherein abstracting the capture of network activity includes aggregating raw network packets into request-response pairs.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The system of claim 1, wherein at least one network activity included in the set of network activities taken by the known malicious application comprises service probing.

### Claim 6 (depends on 1)

The system of claim 1, wherein at least one network activity included in the set of network activities taken by the known malicious application comprises a denial of service activity.

### Claim 7 (depends on 1)

The system of claim 1, wherein the malware profile further comprises a set of local actions taken by the known malicious application.

### Claim 8 (depends on 1)

The system of claim 1, wherein the match determination comprises an exact match between the malware profile and an activity pattern associated with the potentially malicious sample.

### Claim 9 (depends on 1)

The system of claim 1, wherein the match determination comprises a fuzzy match between the malware profile and an activity pattern associated with the potentially malicious sample, wherein at least one attribute included in the malware profile has a different value from a corresponding attribute in the activity pattern.

### Claim 10 (depends on 1)

The system of claim 1, wherein the match determination comprises a fuzzy match between the malware profile and an activity pattern associated with the potentially malicious sample, wherein at least one activity included in the malware profile occurs in an order that is different from a corresponding activity in the activity pattern.

### Claim 11 (depends on 1)

The system of claim 1, wherein the match determination comprises a fuzzy match between the malware profile and an activity pattern associated with the potentially malicious sample, wherein at least one activity included in the activity pattern is not present in the malware profile.

### Claim 12 (depends on 1)

The system of claim 1, wherein the malware profile corresponds to a malware family and wherein the known malicious application shares the malware profile with a plurality of malicious applications that are members of the malware family.

### Claim 13 (depends on 1)

The system of claim 1, wherein the malware profile is generated at least in part after a determination is made that the malware profile has a false positive score below a threshold.

### Claim 14

A method, comprising:
executing a potentially malicious sample and recording one or more network activities associated with executing the potentially malicious sample;
comparing at least some of the recorded network activities to a previously generated malware profile, wherein the malware profile comprises a set of network activities taken by a known malicious application during execution of the known malicious application; and
assigning a malicious verdict to the potentially malicious sample based at least in part on a determination that the recorded network activities match the malware profile.

### Claim 15

A computer program product embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
executing a potentially malicious sample and recording one or more network activities associated with executing the potentially malicious sample;
comparing at least some of the recorded network activities to a previously generated malware profile, wherein the malware profile comprises a set of network activities taken by a known malicious application during execution of the known malicious application; and
assigning a malicious verdict to the potentially malicious sample based at least in part on a determination that the recorded network activities match the malware profile.
