# US 2022/0046030 A1 · Simulating user interactions for malware analysis

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

- Number: US 2022/0046030 A1
- Document ID: US20220046030A1
- Status: Published application
- Kind: A1
- Application number: 17/508,737
- Filed: 2021-10-22
- Published: 2022-02-10
- Earliest claimed: 2019-09-13
- Assignees: Palo Alto Networks, Inc.
- Applicants: Palo Alto Networks, Inc.
- Inventors: Brandon R. Young; Daniel Raygoza; Sebas Sujeen Reymond Johnson; Abhiroop Dabral
- Web page: https://patentgrep.com/patent/US20220046030A1

## CPC

- H04L 63/145: {the attack involving the propagation of malware through the network, e.g. viruses, trojans or worms}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- H04L 63/1416: {Event detection, e.g. attack signature detection}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- H04L 63/0254: {Stateful filtering}
- 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)

## Abstract

Simulating user interactions during dynamic analysis of a sample is disclosed. A sample is received for analysis. Prior to execution of the sample, a baseline screenshot of a system folder is generated by accessing frame buffer data stored on a graphics card. The sample is caused to execute, at least in part using one or more hypervisor instructions to move a pointing device to an icon associated with the sample. A current screenshot of the system folder is generated by accessing current frame buffer data stored on the graphics card.

## Claims

### Claim 1

A system, comprising:
a processor configured to:
receive a sample for analysis;
generate, prior to execution of the sample, a baseline screenshot of a system folder by accessing frame buffer data stored on a graphics card;
cause the sample to execute, at least in part by using one or more hypervisor instructions to move a pointing device to an icon associated with the sample; and
generate a current screenshot of the system folder by accessing current frame to buffer data stored on the graphics card; 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 system folder is a downloads folder.

### Claim 3 (depends on 1)

The system of claim 1, wherein the processor is further configured to compare the current is screenshot to the baseline screenshot.

### Claim 4 (depends on 3)

The system of claim 3, wherein comparing the current screenshot to the baseline screenshot includes normalizing the screenshots.

### Claim 5 (depends on 3)

The system of claim 3, wherein comparing the current screenshot to the baseline screenshot includes determining a structural similarity index.

### Claim 6 (depends on 3)

The system of claim 3, wherein the processor is further configured to take an action in response to a comparison result.

### Claim 7 (depends on 6)

The system of claim 6, wherein the action includes performing optical character recognition on the current screenshot.

### Claim 8 (depends on 7)

The system of claim 7, wherein the processor is further configured to take an action based on a result of the optical character recognition.

### Claim 9 (depends on 6)

The system of claim 6, wherein the action includes moving the pointing device to a pixel location identified as being within a region of the desktop whose content changed between the baseline screenshot and the current screenshot.

### Claim 10 (depends on 1)

The system of claim 1, wherein the processor is further configured to determine whether any predetermined artifacts are present in the baseline screenshot.

### Claim 11 (depends on 10)

The system of claim 10, wherein the processor is configured to determine whether the predetermined artifacts are present at least in part by performing image recognition on the baseline screenshot.

### Claim 12 (depends on 10)

The system of claim 10, wherein the processor is configured to return coordinates of any of the predetermined artifacts determined to be present in the baseline screenshot.

### Claim 13 (depends on 1)

The system of claim 1, wherein the processor is further configured to generate a subsequent screenshot of the desktop and compare the subsequent screenshot to at least one of the baseline screenshot and the current screenshot.

### Claim 14 (depends on 1)

The system of claim 1, wherein the processor is configured to trigger a shutdown event prior to the generating the current screenshot.

### Claim 15 (depends on 1)

The system of claim 1, wherein the processor is configured to cause a launch of an application prior to generating the current screenshot.

### Claim 16

A method, comprising:
receiving a sample for analysis;
generating, prior to execution of the sample, a baseline screenshot of a system folder by accessing frame buffer data stored on a graphics card;
causing the sample to execute, at least in part by using one or more hypervisor instructions to move a pointing device to an icon associated with the sample; and
generating a current screenshot of the system folder by accessing current frame buffer data stored on the graphics card.

### Claim 17

A computer program product embodied in a tangible computer readable storage medium and comprising computer instructions for:
receiving a sample for analysis;
generating, prior to execution of the sample, a baseline screenshot of a system folder by accessing frame buffer data stored on a graphics card;
causing the sample to execute, at least in part by using one or more hypervisor instructions to move a pointing device to an icon associated with the sample; and
generating a current screenshot of the system folder by accessing current frame buffer data stored on the graphics card.
