# US 2017/0372076 A1 · Technologies for provisioning and managing secure launch enclave with platform firmware

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

- Number: US 2017/0372076 A1
- Document ID: US20170372076A1
- Status: Published application
- Kind: A1
- Application number: 15/195,320
- Filed: 2016-06-28
- Published: 2017-12-28
- Earliest claimed: 2016-06-28
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Rajesh Poornachandran; Vincent J. Zimmer; Mingqiu Sun; Gopinatth Selvaraje
- Web page: https://patentgrep.com/patent/US20170372076A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- H04L 9/0897: {involving additional devices, e.g. trusted platform module [TPM], smartcard or USB}
- H04L 9/3268: {using certificate validation, registration, distribution or revocation, e.g. certificate revocation list [CRL]}
- G06F 9/44: Arrangements for executing specific programs
- G06F 9/4401: Bootstrapping (security arrangements therefor G06F21/57)
- G06F 2221/034: Test or assess a computer or a system
- 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

Technologies for configuring a launch enclave include a computing device having a processor with secure enclave support. A trusted execution environment (TEE) of the computing device stores a launch enclave hash in a launch enclave hash table in secure storage and provisions the launch enclave hash to platform firmware at runtime. The TEE may receive the launch enclave hash via trusted I/O. The platform firmware sets a configure enclave launch bit and resets the computing device. On reset, the TEE determines whether the launch enclave hash is allowed for launch. The TEE may evaluate one or more launch configuration policies and may select a launch enclave hash based on the launch configuration policies. If allowed, the platform firmware writes the launch enclave hash to a model-specific register of the processor, and the launch enclave may be loaded and verified with the launch enclave hash. Other embodiments are described and claimed.

## Claims

### Claim 1

A computing device for configuring a launch enclave, the computing device comprising a trusted execution environment and platform firmware, wherein:
the trusted execution environment comprises a hash management module to (i) store a launch enclave hash in a launch enclave hash table in a secure storage of the computing device, and (ii) provision the launch enclave hash to the platform firmware;
the platform firmware comprises a runtime module to (i) set a configure enclave launch bit in response to provision of the launch enclave hash to the platform firmware, and (ii) reset the computing device in response to setting of the configure enclave launch bit;
the trusted execution environment comprises a launch policy module to determine whether the launch enclave hash is allowed for launch in response to the setting of the configure enclave launch bit and a reset of the computing device; and
the platform firmware comprises a boot module to write the launch enclave hash to a launch enclave model-specific register of a processor of the computing device in response to a determination that the launch enclave hash is allowed for launch.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein the boot module is further to:
determine whether the configure enclave launch bit is set in response to the reset of the computing device; and
provide the launch enclave hash to the trusted execution environment in response to a determination that the configure enclave launch bit is set.

### Claim 3 (depends on 1)

The computing device of claim 1, wherein:
the runtime module is further to seal the launch enclave hash to generate an encrypted hash bound to a trusted firmware boot code of the computing device in response to provision of the launch enclave hash to the platform firmware; and
the boot module is further to unseal, by the trusted firmware boot code, the encrypted hash to recover the launch enclave hash in response to a determination that the configure enclave launch bit is set.

### Claim 4 (depends on 1)

The computing device of claim 1, further comprising a launch enclave module to load a launch enclave in response to a write of the launch enclave hash to the launch enclave model-specific register, wherein the launch enclave is protected by secure enclave support of the processor, and wherein the launch enclave is verified with the launch enclave model-specific register of the processor.

### Claim 5 (depends on 1)

The computing device of claim 1, wherein:
the trusted execution environment further comprises a trusted I/O module to (i) open a trusted I/O session and (ii) receive the launch enclave hash via the trusted I/O session;
wherein to store the launch enclave hash comprises to store the launch enclave hash in response to receipt of the launch enclave hash.

### Claim 6 (depends on 1)

The computing device of claim 1, wherein:
the trusted execution environment further comprises a remote management module to receive the launch enclave hash from a remote management server via an out-of-band network connection;
to store the launch enclave hash comprises to store the launch enclave hash in response to receipt of the launch enclave hash.

### Claim 7 (depends on 1)

The computing device of claim 1, wherein the launch enclave hash comprises a hash of a public key, wherein the launch enclave is signed by a private key corresponding to the public key.

### Claim 8 (depends on 7)

The computing device of claim 7, wherein to determine whether the launch enclave hash is allowed for launch comprises to receive a certificate corresponding to the public key and to validate the public key with the certificate.

### Claim 9 (depends on 8)

The computing device of claim 8, wherein to validate the public key with the certificate comprises to perform a certificate revocation check.

### Claim 10 (depends on 1)

The computing device of claim 1, wherein the hash management module is further to update the launch enclave hash table with a launch policy associated with the launch enclave hash in response to storage of the launch enclave hash.

### Claim 11 (depends on 10)

The computing device of claim 10, wherein to determine whether the launch enclave hash is allowed for launch comprises to evaluate the launch policy associated with the launch enclave hash.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein the launch policy module is further to select the launch enclave hash from the launch enclave hash table based on the associated launch policy, wherein the launch enclave hash table stores a plurality of launch enclave hashes.

### Claim 13 (depends on 1)

The computing device of claim 1, further comprising a converged security and manageability engine, wherein the converged security and manageability engine comprises the trusted execution environment.

### Claim 14

A method for configuring a launch enclave, the method comprising:
storing, by a trusted execution environment of a computing device, a launch enclave hash in a launch enclave hash table in a secure storage of the computing device;
provisioning, by the trusted execution environment, the launch enclave hash to a platform firmware of the computing device;
setting, by the platform firmware, a configure enclave launch bit in response to provisioning the launch enclave hash to the platform firmware;
resetting, by the platform firmware, the computing device in response to setting the configure enclave launch bit;
determining, by the trusted execution environment, whether the launch enclave hash is allowed for launch in response to setting the configure enclave launch bit and resetting the computing device; and
writing, by the platform firmware, the launch enclave hash to a launch enclave model-specific register of a processor of the computing device in response to determining that the launch enclave hash is allowed for launch.

### Claim 15 (depends on 14)

The method of claim 14, further comprising:
determining, by the platform firmware, whether the configure enclave launch bit is set in response to resetting the computing device; and
providing, by the platform firmware, the launch enclave hash to the trusted execution environment in response to determining that the configure enclave launch bit is set.

### Claim 16 (depends on 14)

The method of claim 14, further comprising updating, by the trusted execution environment, the launch enclave hash table with a launch policy associated with the launch enclave hash in response to storing the launch enclave hash.

### Claim 17 (depends on 16)

The method of claim 16, wherein determining whether the launch enclave hash is allowed for launch comprises evaluating the launch policy associated with the launch enclave hash.

### Claim 18 (depends on 17)

The method of claim 17, further comprising selecting, by the trusted execution environment, the launch enclave hash from the launch enclave hash table based on the associated launch policy, wherein the launch enclave hash table stores a plurality of launch enclave hashes.

### Claim 19

One or more computer-readable storage media comprising a plurality of instructions that in response to being executed cause a computing device to:
store, by a trusted execution environment of the computing device, a launch enclave hash in a launch enclave hash table in a secure storage of the computing device;
provision, by the trusted execution environment, the launch enclave hash to a platform firmware of the computing device;
set, by the platform firmware, a configure enclave launch bit in response to provisioning the launch enclave hash to the platform firmware;
reset, by the platform firmware, the computing device in response to setting the configure enclave launch bit;
determine, by the trusted execution environment, whether the launch enclave hash is allowed for launch in response to setting the configure enclave launch bit and resetting the computing device; and
write, by the platform firmware, the launch enclave hash to a launch enclave model-specific register of a processor of the computing device in response to determining that the launch enclave hash is allowed for launch.

### Claim 20 (depends on 19)

The one or more computer-readable storage media of claim 19, further comprising a plurality of instructions that in response to being executed cause the computing device to:
determine, by the platform firmware, whether the configure enclave launch bit is set in response to resetting the computing device; and
provide, by the platform firmware, the launch enclave hash to the trusted execution environment in response to determining that the configure enclave launch bit is set.

### Claim 21 (depends on 19)

The one or more computer-readable storage media of claim 19, further comprising a plurality of instructions that in response to being executed cause the computing device to:
open, by the trusted execution environment, a trusted I/O session; and
receive, by the trusted execution environment, the launch enclave hash via the trusted I/O session;
wherein to store the launch enclave hash comprises to store the launch enclave hash in response to receiving the launch enclave hash.

### Claim 22 (depends on 19)

The one or more computer-readable storage media of claim 19, further comprising a plurality of instructions that in response to being executed cause the computing device to:
receive, by the trusted execution environment, the launch enclave hash from a remote management server via an out-of-band network connection;
wherein to store the launch enclave hash comprises to store the launch enclave hash in response to receiving the launch enclave hash.

### Claim 23 (depends on 19)

The one or more computer-readable storage media of claim 19, further comprising a plurality of instructions that in response to being executed cause the computing device to update, by the trusted execution environment, the launch enclave hash table with a launch policy associated with the launch enclave hash in response to storing the launch enclave hash.

### Claim 24 (depends on 23)

The one or more computer-readable storage media of claim 23, wherein to determine whether the launch enclave hash is allowed for launch comprises to evaluate the launch policy associated with the launch enclave hash.

### Claim 25 (depends on 24)

The one or more computer-readable storage media of claim 24, further comprising a plurality of instructions that in response to being executed cause the computing device to select, by the trusted execution environment, the launch enclave hash from the launch enclave hash table based on the associated launch policy, wherein the launch enclave hash table stores a plurality of launch enclave hashes.
