# US 2014/0351956 A1 · Enforcing restrictions related to a virtualized computer environment

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

- Number: US 2014/0351956 A1
- Document ID: US20140351956A1
- Status: Published application
- Kind: A1
- Application number: 14/340,506
- Filed: 2014-07-24
- Published: 2014-11-27
- Earliest claimed: 2006-09-14
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Matthew David GINZTON; Matthew B. ECCLESTON; Srinivas KRISHNAMURTI; Gerald C. CHEN; Nick Michael RYAN
- Web page: https://patentgrep.com/patent/US20140351956A1

## CPC

- G06F 21/6281: {at program execution time, where the protection is within the operating system}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- H04L 63/0236: {Filtering by address, protocol, port number or service, e.g. IP-address or URL}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2221/2107: File encryption
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

An administrator may set restrictions related to the operation of a virtual machine (VM), and virtualization software enforces such restrictions. There may be restrictions related to the general use of the VM, such as who may use the VM, when the VM may be used, and on what physical computers the VM may be used. There may be similar restrictions related to a general ability to modify a VM, such as who may modify the VM. There may also be restrictions related to what modifications may be made to a VM, such as whether the VM may be modified to enable access to various devices or other resources. There may also be restrictions related to how the VM may be used and what may be done with the VM. Information related to the VM and any restrictions placed on the operation of the VM may be encrypted to inhibit a user from circumventing the restrictions.

## Claims

### Claim 1

A method for enforcing restrictions on a virtual machine (VM), said method comprising:
executing the VM on a physical computer, the VM configured to give a user access to guest software on the VM, the VM being executed using virtualization software and a virtual disk for storing data accessible to the guest software;
determining when an action relating to operation of the VM violates one or more restrictions, the one or more restrictions being defined by contents of a policy file;
intercepting the action relating to operation of the VM that violates the one or more restrictions; and
restricting the action relating to the operation of the VM that violates the one or more restrictions.

### Claim 2 (depends on 1)

The method of claim 1, wherein the VM is configured based on a configuration file containing configuration information defining virtual system hardware to emulate for the VM.

### Claim 3 (depends on 1)

The method of claim 1, wherein at least one of the one or more restrictions is a network restriction that limits access to predefined IP addresses on a TCP/IP network, the network restriction being enforced by intercepting and scanning outgoing TCP/IP packets to determine whether the TCP/IP packets violate the network restriction by being addressed to the predefined IP addresses;
wherein TCP/IP packets that do not violate the network restriction are allowed to be passed on to a physical network interface card (NIC) to be transmitted; and
wherein the TCP/IP packets that violate the network restriction are not allowed to be passed on to the physical NIC.

### Claim 4 (depends on 1)

The method of claim 1, wherein at least one of the one or more restrictions is an expiration date restriction that sets an expiration date beyond which the VM is prevented from being run; and
wherein the VM is prevented from being executed when a current date is past the expiration date.

### Claim 5 (depends on 1)

The method of claim 1, wherein at least one of the one or more restrictions is a machine restriction that permits the VM to execute only on one or more specified physical computer systems; and
wherein the VM is prevented from being executed if the physical computer is not one of the specified physical computer systems.

### Claim 6 (depends on 2)

The method of claim 2, wherein the VM is configured to enable the user to modify configuration settings for the VM, the modifying of the configuration settings including modifying contents of the configuration file; and
wherein at least one of the one or more restrictions is a restriction on the modifying of the configuration file.

### Claim 7 (depends on 2)

The method of claim 2, further comprising:
encrypting data written to the configuration file such that the user does not have direct access to the configuration file.

### Claim 8

A computing device, comprising:
at least one processor; and
memory including instructions that, when executed by the at least one processor, cause the computing device to:
execute a VM on a physical computer, the VM configured to give a user access to guest software on the VM, the VM being executed using virtualization software and a virtual disk for storing data accessible to the guest software;
determine when an action relating to operation of the VM violates one or more restrictions, the one or more restrictions being defined by contents of a policy file;
intercept the action relating to operation of the VM that violates the one or more restrictions; and
restrict the action relating to the operation of the VM that violates the one or more restrictions.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein the VM is configured based on a configuration file containing configuration information defining virtual system hardware to emulate for the VM.

### Claim 10 (depends on 8)

The computing device of claim 8, wherein at least one of the one or more restrictions is a network restriction that limits access to predefined IP addresses on a TCP/IP network, the network restriction being enforced by intercepting and scanning outgoing TCP/IP packets to determine whether the TCP/IP packets violate the network restriction by being addressed to the predefined IP addresses;
wherein TCP/IP packets that do not violate the network restriction are allowed to be passed on to a physical network interface card (NIC) to be transmitted; and
wherein the TCP/IP packets that violate the network restriction are not allowed to be passed on to the physical NIC.

### Claim 11 (depends on 8)

The computing device of claim 8, wherein at least one of the one or more restrictions is an expiration date restriction that sets an expiration date beyond which the VM is prevented from being run; and
wherein the VM is prevented from being executed when a current date is past the expiration date.

### Claim 12 (depends on 8)

The computing device of claim 8, wherein at least one of the one or more restrictions is a machine restriction that permits the VM to execute only on one or more specified physical computer systems; and
wherein the VM is prevented from being executed if the physical computer is not one of the specified physical computer systems.

### Claim 13 (depends on 9)

The computing device of claim 9, wherein the VM is configured to enable the user to modify configuration settings for the VM, the modifying of the configuration settings including modifying contents of the configuration file; and
wherein at least one of the one or more restrictions is a restriction on the modifying of the configuration file.

### Claim 14 (depends on 9)

The computing device of claim 9, wherein the memory further includes instructions that when executed by the at least one processor, cause the computing device to:
encrypt data written to the configuration file such that the user does not have direct access to the configuration file.

### Claim 15

A non-transitory computer readable storage medium comprising one or more sequences of instructions, the instructions when executed by one or more processors causing the one or more processors to execute the operations of:
executing a VM on a physical computer, the VM configured to give a user access to guest software on the VM, the VM being executed using virtualization software and a virtual disk for storing data accessible to the guest software;
determining when an action relating to operation of the VM violates one or more restrictions, the one or more restrictions being defined by contents of a policy file;
intercepting the action relating to operation of the VM that violates the one or more restrictions; and
restricting the action relating to the operation of the VM that violates the one or more restrictions.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the VM is configured based on a configuration file containing configuration information defining virtual system hardware to emulate for the VM.

### Claim 17 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein at least one of the one or more restrictions is a network restriction that limits access to predefined IP addresses on a TCP/IP network, the network restriction being enforced by intercepting and scanning outgoing TCP/IP packets to determine whether the TCP/IP packets violate the network restriction by being addressed to the predefined IP addresses;
wherein TCP/IP packets that do not violate the network restriction are allowed to be passed on to a physical network interface card (NIC) to be transmitted; and
wherein the TCP/IP packets that violate the network restriction are not allowed to be passed on to the physical NIC.

### Claim 18 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein at least one of the one or more restrictions is an expiration date restriction that sets an expiration date beyond which the VM is prevented from being run; and
wherein the VM is prevented from being executed when a current date is past the expiration date.

### Claim 19 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein at least one of the one or more restrictions is a machine restriction that permits the VM to execute only on one or more specified physical computer systems; and
wherein the VM is prevented from being executed if the physical computer is not one of the specified physical computer systems.

### Claim 20 (depends on 16)

The non-transitory computer readable storage medium of claim 16, wherein the VM is configured to enable the user to modify configuration settings for the VM, the modifying of the configuration settings including modifying contents of the configuration file; and
wherein at least one of the one or more restrictions is a restriction on the modifying of the configuration file.
