# US 2021/0004469 A1 · Execution environment and gatekeeper arrangement

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

- Number: US 2021/0004469 A1
- Document ID: US20210004469A1
- Status: Published application
- Kind: A1
- Application number: 16/503,455
- Filed: 2019-07-03
- Published: 2021-01-07
- Earliest claimed: 2019-07-03
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: David Thomas CHISNALL; Cédric Alain Marie FOURNET; Manuel COSTA; Samuel Alexander WEBSTER; Sylvan CLEBSCH; Kapil VASWANI
- Web page: https://patentgrep.com/patent/US20210004469A1

## CPC

- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- H04L 63/0227: {Filtering policies (mail message filtering H04L51/212)}
- H04L 63/105: {Multiple levels of security}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F 2221/033: Test or assess software
- 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

A computer system has a separation mechanism which enforces separation between at least two execution environments such that one execution environment is a gatekeeper which interposes on all communications of the other execution environment. The computer system has an attestation mechanism which enables the gatekeeper to attest to properties of the at least two execution environments. A first one of the execution environments runs application specific code which may contain security vulnerabilities. The gatekeeper is configured to enforce an input output policy on the first execution environment by interposing on all communication to and from the first execution environment by forwarding, modifying or dropping individual ones of the communications according to the policy. The gatekeeper provides evidence of attestation both for the application specific code and the policy.

## Claims

### Claim 1

A computer system comprising:
at least two execution environments;
a separation mechanism which enforces separation between the at least two execution environments such that one execution environment is a gatekeeper which interposes on all communications of the other execution environment;
an attestation mechanism which enables the gatekeeper to attest to properties of the at least two execution environments;
a first one of the execution environments running application specific code which may contain security vulnerabilities;
the gatekeeper configured to enforce an input output policy on the first execution environment by interposing on all communication to and from the first execution environment by forwarding, modifying or dropping individual ones of the communications according to the policy;
such that outgoing communications from the first execution environment are sent out of the computer system according to the policy and incoming communications to the first execution environment are accepted according to the policy; and
where the gatekeeper provides evidence of attestation both for the application specific code and the policy.

### Claim 2 (depends on 1)

The computer system of claim 1 wherein the separation mechanism is implemented using hardware by deploying the gatekeeper on a processor and deploying the other execution environment on a separate processor and connecting the processors by an interrupt line.

### Claim 3 (depends on 1)

The computer system of claim 1 wherein the other execution environment is deployed on a secure processor.

### Claim 4 (depends on 1)

The computer system of claim 1 wherein the processor deploying the gatekeeper has access to communications external of the computer system.

### Claim 5 (depends on 1)

The computer system of claim 1 wherein the separation mechanism is implemented using a plurality of privilege levels and where the gatekeeper is deployed in a highest one of the privilege levels.

### Claim 6 (depends on 5)

The computer system of claim 5 comprising at least one communication channel between the privilege levels.

### Claim 7 (depends on 5)

The computer system of claim 5 comprising a hypervisor and wherein the hypervisor cannot alter control or data flow in the privilege level holding the application specific code without going via the gatekeeper.

### Claim 8 (depends on 5)

The computer system of claim 5 comprising a hypervisor and wherein the gatekeeper is configured to compute an attestation quote which guarantees that memory assigned by a lower privilege level is not accessible by the hypervisor and that neither the hypervisor nor the application specific code can modify the memory assigned by the lower privilege level.

### Claim 9 (depends on 1)

The computer system of claim 1 wherein the separation mechanism is implemented using more than two privilege levels and where the gatekeeper is deployed in a highest one of the privilege levels and the application specific code is deployed at the other privilege levels.

### Claim 10 (depends on 1)

The computer system of claim 1 wherein the separation mechanism is implemented using a software-enforced sandbox as the execution environment running the application specific code.

### Claim 11 (depends on 1)

The computer system of claim 1 wherein the gatekeeper exposes at least one paravirtualized device that appears, from the point of view of the execution environment running the application specific code, as a storage device with built-in encryption support and a network interface with transport layer security offload.

### Claim 12 (depends on 1)

The computer system of claim 1 wherein the gatekeeper enforces both encryption and access-control using the policy.

### Claim 13 (depends on 1)

The computer system of claim 1 wherein the policy and/or the application specific code is replaceable by a new policy and/or application specific code.

### Claim 14

A computer-implemented method performed by a gatekeeper which is part of a computer system, the method comprising:
enforcing an input output policy on a first execution environment by interposing on all communication to and from the first execution environment by forwarding, modifying or dropping individual ones of the communications according to a policy, wherein the enforcing is done using a separation mechanism of the computer system;
such that outgoing communications from the first execution environment are sent out of the computer system according to the policy and incoming communications to the first execution environment are accepted according to the policy; and
computing evidence of attestation both for the application specific code and the policy using an attestation mechanism of the computer system.

### Claim 15 (depends on 14)

The method of claim 14 comprising sending the evidence of attestation to an entity.

### Claim 16 (depends on 14)

The method of claim 14 comprising replacing the policy with a new policy and replacing the application specific code.

### Claim 17 (depends on 14)

The method of claim 14 comprising exposing at least one paravirtualized device that appears, from the point of view of the execution environment running the application specific code, as a storage device with built-in encryption support and a network interface with transport layer security offload.

### Claim 18 (depends on 14)

The method of claim 14 comprising deploying the gatekeeper on a processor and deploying the first execution environment on an isolated processor separate from the gatekeeper.

### Claim 19 (depends on 18)

The method of claim 18 comprising connecting the gatekeeper to the secure processor.

### Claim 20

One or more device-readable media with device-executable instructions that, when executed by a computer system, direct the computing system to perform for performing operations comprising:
enforcing an input output policy on a first execution environment by interposing on all communication to and from the first execution environment by forwarding, modifying or dropping individual ones of the communications according to a policy, wherein the enforcing is done using a separation mechanism of the computer system;
sending outgoing communications from the first execution environment out of the computer system according to the policy and accepting incoming communications to the first execution environment according to the policy; and
computing evidence of attestation both for the application specific code and the policy using an attestation mechanism of the computer system.
