# US 2017/0286673 A1 · Malware-Resistant Application Control in Virtualized Environments

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

- Number: US 2017/0286673 A1
- Document ID: US20170286673A1
- Status: Published application
- Kind: A1
- Application number: 15/086,490
- Filed: 2016-03-31
- Published: 2017-10-05
- Earliest claimed: 2016-03-31
- Assignees: Bitdefender IPR Management Ltd.
- Applicants: Bitdefender IPR Management Ltd.
- Inventors: Sandor LUKACS; Andrei V. LUTAS
- Web page: https://patentgrep.com/patent/US20170286673A1

## CPC

- G06F 21/554: {involving event detection and direct action}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2221/033: Test or assess software
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Described systems and methods enable enforcing application control remotely and automatically, on a relatively large number of client systems (e.g., a corporate network, a virtual desktop infrastructure system, etc.). An application control engine executes outside a virtual machine exposed on a client system, the application control engine configured to enforce application control within the virtual machine according to a set of control policies. When a policy indicates that a specific process is not allowable on the respective client system, the app control engine may prevent execution of the respective process. To assist in data gathering and/or other activities associated with application control, some embodiments temporarily drop a control agent into the controlled virtual machine.

## Claims

### Claim 1

A computer system comprising at least one hardware processor configured to execute a set of guest virtual machines (VM) and to further execute an application control engine, the application control engine executing outside the set of guest VMs, the application control engine configured to:
detect an event indicative of a launch of a target process within a guest VM of the set of guest VMs, wherein the event comprises an item selected from a group consisting of setting up a virtual memory space for the target process, and writing to a data structure used by the at least one hardware processor to perform memory address translations for the target process;
in response to detecting the event, determine according to an application control policy whether the target process is allowed to execute on the computer system, wherein the application control policy maps allowed processes to users of the computer system; and
in response to determining whether the target process is allowed to execute, when the target process is not allowed to execute, prevent an execution of the target process.

### Claim 2 (depends on 1)

The computer system of claim 1, wherein the event comprises writing to the data structure.

### Claim 3 (depends on 1)

The computer system of claim 1, wherein detecting the event comprises detecting an attempt to write to a control register of the at least one hardware processor, the control register configured to store a pointer to the data structure.

### Claim 4 (depends on 1)

The computer system of claim 1, wherein the application control engine is further configured to maintain a list of processes executing within the guest VM, and wherein detecting the event comprises determining according to a value read from a control register of the at least one hardware processor whether the target process is on the list of processes.

### Claim 5 (depends on 1)

The computer system of claim 1, wherein the application control unit is further configured, in response to detecting the event, to identify the target process according to a set of identifying features of the target process, and wherein identifying the target process comprises:
in response to detecting the event, inserting a control agent into the guest VM, the control agent configured to determine the identifying features; and
in response to the control agent determining the identifying features, removing the control agent from the guest VM.

### Claim 6 (depends on 1)

The computer system of claim 1, wherein inserting the control agent comprises:
writing a driver loader to a memory of the computer system, the driver loader configured to load a control driver into the guest VM, the control driver configured to determine the identifying features; and
configuring the target VM to switch, when a computer program executing within the guest VM issues a system call, from executing the computer program to executing the driver loader.

### Claim 7 (depends on 1)

The computer system of claim 1, wherein preventing the execution of the target process comprises changing a value of an instruction pointer of the at least one hardware processor, to alter an execution flow of the target process.

### Claim 8 (depends on 1)

The computer system of claim 1, wherein determining whether the target process is allowed to execute on the computer system comprises:
transmitting an indicator of the target process to a remote server computer system; and
in response, receiving from the server computer system a policy indicator indicating whether the target process is allowed to execute on the computer system.

### Claim 9

A method comprising employing at least one hardware processor of a client system to execute an application control engine outside of a set of guest virtual machines (VM) exposed on the client system, wherein executing the application control engine comprises:
detecting an event indicative of a launch of a target process within a guest VM of the set of guest VMs, wherein the event comprises an item selected from a group consisting of setting up a virtual memory space for the target process, and writing to a data structure used by the at least one hardware processor to perform memory address translations for the target process;
in response to detecting the event, determining according to an application control policy whether the target process is allowed to execute on the client system, wherein the application control policy maps allowed processes to users of the client system; and
in response to determining whether the target process is allowed to execute, when the target process is not allowed to execute, preventing an execution of the target process.

### Claim 10 (depends on 9)

The method of claim 9, wherein the event comprises writing to the data structure.

### Claim 11 (depends on 9)

The method of claim 9, wherein detecting the event comprises detecting an attempt to write to a control register of the at least one hardware processor, the control register configured to store a pointer to the data structure.

### Claim 12 (depends on 9)

The method of claim 9, wherein the application control engine is configured to maintain a list of processes executing within the guest VM, and wherein detecting the event comprises determining according to a value read from a control register of the at least one hardware processor whether the target process is on the list of processes.

### Claim 13 (depends on 9)

The method of claim 9, wherein executing the application control unit further comprises, in response to detecting the event, identifying the target process according to a set of identifying features of the target process, and wherein identifying the target process comprises:
in response to detecting the event, inserting a control agent into the guest VM, the control agent configured to determine the identifying features; and
in response to the control agent completing the determination of the identifying features, removing the control agent from the guest VM.

### Claim 14 (depends on 13)

The method of claim 13, wherein inserting the control agent comprises:
writing a driver loader to a memory of the computer system, the driver loader configured to load a control driver into the guest VM, the control driver configured to determine the identifying features; and
configuring the target VM to switch, when a computer program executing within the guest VM issues a system call, from executing the computer program to executing the driver loader.

### Claim 15 (depends on 9)

The method of claim 9, wherein preventing the execution of the target process comprises changing a value of an instruction pointer of the at least one hardware processor, to alter an execution flow of the target process.

### Claim 16 (depends on 9)

The method of claim 9, wherein determining whether the target process is allowed to execute on the client system comprises:
transmitting an indicator of the target process to a remote server computer system; and
in response, receiving the application control policy from the server computer system, the application control policy determined by the server computer system according to the indicator of the target process.

### Claim 17

A server computer system comprising at least one hardware processor configured to:
receive from a client system an indicator of a target process; and
in response, transmit an application control policy to the client system, the application control policy mapping computer programs to users of the client system,
wherein the client system is configured to execute a set of guest virtual machines (VM) and to further execute an application control engine, the application control engine executing outside the set of guest VMs, the application control engine configured to:
detect an event indicative of a launch of a target process within a guest VM of the set of guest VMs, wherein the event comprises an item selected from a group consisting of setting up a virtual memory space for the target process, and writing to a data structure used by the at least one hardware processor to perform memory address translations for the target process;
in response to detecting the event, determine according to the application control policy whether the target process is allowed to execute on the computer system, and
in response to determining whether the target process is allowed to execute, when the target process is not allowed to execute, prevent an execution of the target process.

### Claim 18

A non-transitory computer-readable medium storing instructions which, when executed by at least one hardware processor of a computer system configured to execute a set of guest virtual machines (VM), cause the computer system to execute an application control engine, the application control engine executing outside the set of guest VMs, the application control engine configured to:
detect an event indicative of a launch of a target process within a guest VM of the set of guest VMs, wherein the event comprises an item selected from a group consisting of setting up a virtual memory space for the target process, and writing to a data structure used by the at least one hardware processor to perform memory address translations for the target process;
in response to detecting the event, determine according to an application control policy whether the target process is allowed to execute on the computer system, wherein the application control policy maps allowed processes to users of the computer system; and
in response to determining whether the target process is allowed to execute, when the target process is not allowed to execute, prevent an execution of the target process.
