# US 2013/0159726 A1 · Method and apparatus to provide secure application execution

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

- Number: US 2013/0159726 A1
- Document ID: US20130159726A1
- Status: Published application
- Kind: A1
- Application number: 13/527,547
- Filed: 2012-06-19
- Published: 2013-06-20
- Earliest claimed: 2009-12-22
- Assignees: Intel Corporation
- Inventors: Francis X. MCKEEN; Carlos V. Rozas; Uday R. Savagaonkar; Simon P. Johnson; Vincent Scarlata; Michael A. Goldsmith; Ernie Brickell; Jiang Tao Li; Howard C. Herbert; Prashant Dewan; Stephen J. Tolopka; Gilbert Neiger; David Durham; Gary Graunke; Bernard Lint; Don A. Van Dyke; Joseph Cihula; Stalinselvaraj Jeyasingh; Stephen R. Van Doren; Dion Rodgers; John Garney; Asher Altman
- Web page: https://patentgrep.com/patent/US20130159726A1

## CPC

- G06F 21/60: Protecting data
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/72: in cryptographic circuits
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A technique to enable secure application and data integrity within a computer system. In one embodiment, one or more secure enclaves are established in which an application and data may be stored and executed.

## Claims

### Claim 1

A processor comprising:
execution logic to perform at least a first instruction to move protected data between an enclave page cache (EPC) and a second storage area during execution of a program accessing the protected data, wherein the program is to run in a protected mode.

### Claim 2 (depends on 1)

The processor of claim 1, wherein a security map (SMAP) is to help ensure the integrity of the program when the program is stored in a hard disk drive or protected memory.

### Claim 3

A processor comprising:
execution logic to perform a first instruction to identify a software thread running in a secure enclave, wherein the first instruction is to inform a user's program of the identity of the software thread.

### Claim 4

A processor comprising:
execution logic to perform at least a first instruction to dynamically access at least one information field to determine the integrity of data stored in the secure enclave, wherein the at least one information field includes a secure map (SMAP) field and a security information (SEC_INFO) field.

### Claim 5

A processor comprising:
execution logic to perform a first instruction to report the state of a secure enclave stored in memory to either a local or remote agent.

### Claim 6

A processor comprising:
a crypto memory aperture (CMA) to protect software program against attacks when the software program is executing; and a secure map (SMAP) to protect the software program when the software program is not executing.

### Claim 7

A processor comprising:
execution logic to perform at least one secure enclave access instruction to allocate or de-allocate memory or software threads inside a secure enclave.

### Claim 8

A processor comprising:
a hierarchical protection tree, SMAP, to enable multiple memory updates within a secure enclave in a single processor cycle.

### Claim 9

A processor comprising:
execution logic to perform a first instruction to provide a unique key to a secure enclave.

### Claim 10

A processor comprising:
logic to perform a first instruction to build a trusted environment to be managed by an untrusted agent.

### Claim 11

A processor comprising:
logic to perform an instruction to determine the validity of a license to access a secure enclave, wherein the instruction compares the size of the enclave to that prescribed by a license certificate to determine the validity of the license.

### Claim 12

A processor comprising logic to enable user-level policy management for a secure enclave, wherein the logic is to be controlled by control bits.

### Claim 13

A processor comprising logic to perform at least one instruction to enable access to at least one instance of a secure enclave to be licensed to a user.

### Claim 14

A processor comprising:
logic to perform at least one instruction to enable debugging of a secure enclave, wherein the at least one instruction is to usurp enclave security for only enclaves that are enabled to be debugged.

### Claim 15

A processor comprising:
execution logic to perform at least one instruction to allocate or de-allocate memory pages to or from, respectively, an enclave page cache (EPC).
