# US 10,956,573 B2 · Dynamic analysis techniques for applications

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

- Number: US 10,956,573 B2
- Document ID: US10956573B2
- Status: Granted
- Kind: B2
- Application number: 16/024,515
- Filed: 2018-06-29
- Published: 2020-01-02
- Granted: 2021-03-23
- Earliest claimed: 2018-06-29
- Assignees: Palo Alto Networks, Inc.
- Applicants: Palo Alto Networks, Inc.
- Inventors: Cong Zheng; Wenjun Hu; Zhi Xu
- Web page: https://patentgrep.com/patent/US10956573B2

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/562: {Static detection}
- G06F 11/3414: {Workload generation, e.g. scripts, playback}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A sample is analyzed to determine a set of events that should be selected for performing by a dynamic analyzer executing the sample in an instrumented, emulated environment. The set of selected events is performed. A maliciousness verdict is determined for the sample based at least in part on one or more responses taken by the sample in response to the set of selected events being performed by the dynamic analyzer.

## Claims

### Claim 1

A system, comprising:
a processor configured to:
analyze a sample to determine a set of actions that should be taken by a dynamic analyzer executing the sample in an instrumented, emulated environment, wherein determining the set of actions includes evaluating user interface elements of the sample and identifying which of the user interface elements of the sample are actionable;
imitate user interaction behavior at least in part by performing the set of actions; and
determine a maliciousness verdict for the sample based at least in part on one or more responses taken by the sample in response to the set of actions being performed by the dynamic analyzer; 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 determining the set of actions includes extracting the sample's user interface layout into a tree hierarchy of user interface elements.

### Claim 3 (depends on 2)

The system of claim 2 wherein performing the set of selected actions includes interacting with at least one user interface element.

### Claim 4 (depends on 1)

The system of claim 1 wherein determining which elements of the sample are actionable includes determining which elements of the sample have previously been interacted with.

### Claim 5 (depends on 1)

The system of claim 1 wherein analyzing the sample includes evaluating a manifest file.

### Claim 6 (depends on 5)

The system of claim 5 wherein performing the set of selected actions includes simulating a system event.

### Claim 7 (depends on 5)

The system of claim 5 wherein performing the set of selected actions includes forcibly launching a component.

### Claim 8 (depends on 1)

The system of claim 1 wherein the processor is further configured to perform an emulator detection resistance action.

### Claim 9 (depends on 8)

The system of claim 8 wherein performing the emulator detection resistance action includes returning a random value in response to receiving a system call.

### Claim 10 (depends on 8)

The system of claim 8 wherein performing the emulator detection resistance action includes modifying a system static constant field.

### Claim 11 (depends on 8)

The system of claim 8 wherein performing the emulator detection resistance action includes receiving a file open request from the sample, determining that the file is on a list, and redirecting a file handler associated with the file.

### Claim 12 (depends on 8)

The system of claim 8 wherein performing the emulator detection resistance action includes generating artificial user data.

### Claim 13 (depends on 12)

The system of claim 12 wherein the artificial user data includes artificial contacts.

### Claim 14 (depends on 12)

The system of claim 12 wherein the processor is further configured to detect when the sample attempts to access at least some of the artificial user data and in response log the attempted access.

### Claim 15

A method, comprising:
analyzing a sample to determine a set of actions events that should be taken by a dynamic analyzer executing the sample in an instrumented, emulated environment, wherein determining the set of actions includes evaluating user interface elements of the sample and identifying which of the user interface elements of the sample are actionable;
imitating user interaction behavior at least in part by performing the set of actions; and
determining a maliciousness verdict for the sample based at least in part on one or more responses taken by the sample in response to the set of actions being performed by the dynamic analyzer.

### Claim 16 (depends on 15)

The method of claim 15 wherein analyzing the sample includes evaluating a manifest file.

### Claim 17 (depends on 16)

The method of claim 16 wherein performing the set of selected actions includes simulating a system event.

### Claim 18 (depends on 16)

The method of claim 16 wherein performing the set of selected actions includes forcibly launching a component.

### Claim 19 (depends on 15)

The method of claim 15 further comprising performing an emulator detection resistance action.

### Claim 20 (depends on 19)

The method of claim 19 wherein performing the emulator detection resistance action includes returning a random value in response to receiving a system call.

### Claim 21 (depends on 19)

The method of claim 19 wherein performing the emulator detection resistance action includes modifying a system static constant field.

### Claim 22 (depends on 19)

The method of claim 19 wherein performing the emulator detection resistance action includes receiving a file open request from the sample, determining that the file is on a list, and redirecting a file handler associated with the file.

### Claim 23 (depends on 19)

The method of claim 19 wherein performing the emulator detection resistance action includes generating artificial user data.

### Claim 24 (depends on 23)

The method of claim 23 wherein the artificial user data includes artificial contacts.

### Claim 25 (depends on 23)

The method of claim 23 further comprising detecting when the sample attempts to access at least some of the artificial user data and in response log the attempted access.

### Claim 26

The method of 15 wherein determining the set of actions includes extracting the sample's user interface layout into a tree hierarchy of user interface elements.

### Claim 27 (depends on 26)

The method of claim 26 wherein performing the set of selected actions includes interacting with at least one user interface element.

### Claim 28 (depends on 15)

The method of claim 15 wherein determining which elements of the sample are actionable includes determining which elements of the sample have previously been interacted with.
