# US 2014/0208096 A1 · Secure interface for invoking privileged operations

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

- Number: US 2014/0208096 A1
- Document ID: US20140208096A1
- Status: Published application
- Kind: A1
- Application number: 13/746,737
- Filed: 2013-01-22
- Published: 2014-07-24
- Earliest claimed: 2013-01-22
- Assignees: Amazon Technologies, Inc.
- Inventors: Eric Jason Brandwine; Matthew Shawn Wilson
- Web page: https://patentgrep.com/patent/US20140208096A1

## CPC

- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/335: {for accessing specific resources, e.g. using Kerberos tickets}
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/629: {to features or functions of an application}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- G06F 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2221/033: Test or assess software
- G06F 2221/2107: File encryption
- G06F 2221/2115: Third party
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F 2221/2149: Restricted operating environment
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A formalized set of interfaces (e.g., application programming interfaces (APIs)) is described, that uses a security scheme, such as asymmetric (or symmetric) cryptography, in order authorize and authenticate requests sent to a virtualization later. The interfaces can be invoked to perform security monitoring, forensic capture, and/or patch software systems at runtime. In addition to the foregoing, other aspects are described in the claims, detailed description, and figures.

## Claims

### Claim 1

A computer implemented method for securing software modifications in a virtualized computing environment, said method comprising:
under the control of one or more computer systems configured with executable instructions,
providing at least one application programming interface (API) configured to receive requests submitted to a host computing device, the host computing device including a virtualization layer configured to host one or more guests;
storing a public key capable of being used to decrypt information on the host computing device, wherein a corresponding private key capable of being used to encrypt the information is stored in a secure location that is external with respect to the host computing device;
receiving, by the host computing device over the API, a request to execute a privileged operation in the virtualization layer of the host computing device, the request signed using the private key stored in the secure location; and
executing, by the virtualization layer, the privileged operation if a signature of the request is successfully validated using the public key, wherein the privileged operation fails if the signature of the request is unable to be successfully validated using the public key.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, wherein the request further includes a unique value that is associated with the host computing device and wherein validating the signature further comprises determining that the unique value included in the request matches a unique value assigned to the host computing device.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, wherein the request is encrypted using a second public key that is part of a cryptographic identity associated with the virtualization layer of the host computing device, the cryptographic identity including a key pair that includes the second public key and a second private key used to decrypt the request encrypted using the second public key.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, wherein the request further includes a time stamp that causes the request to be valid only for a limited duration of time.

### Claim 5 (depends on 1)

The computer implemented method of claim 1, wherein storing the public key on the host computing device further includes:
receiving a certificate issued by a certificate authority, the certificate including the public key.

### Claim 6

A computer implemented method, comprising:
under the control of one or more computer systems configured with executable instructions,
generating, during a boot operation of a host computing device, an asymmetric key pair including a public key and a private key;
publishing the public key;
receiving, using an interface, a request to execute a privileged operation in a virtualization layer of the host computing device, the request secured by at least the public key;
verifying the request by the virtualization layer of the host computing device; and
executing the privileged operation in the virtualization layer of the host computing device.

### Claim 7 (depends on 6)

The computer implemented method of claim 6, wherein the request is signed using a second private key stored remotely with respect to the host computing device and wherein a signature of the request is validated using a second public key available to the host computing device.

### Claim 8 (depends on 6)

The computer implemented method of claim 6, further comprising:
storing the private key only in volatile memory accessible to the virtualization layer of the host computing device.

### Claim 9 (depends on 6)

The method of claim 6, wherein publishing the public key further includes:
sending a certificate signing request to a certificate authority (CA) configured to embed the public key in a certificate.

### Claim 10 (depends on 6)

The computer implemented method of claim 6, wherein the request transmitted to the host computing device is encrypted using the public key, and wherein the host computing device is operable to decrypt the request using the private key stored on the host computing device.

### Claim 11 (depends on 6)

The computer implemented method of claim 6, wherein the privileged operation is a request to modify a running memory image of the virtualization layer of the host computing device.

### Claim 12 (depends on 6)

The computer implemented method of claim 6, wherein the privileged operation is a request to:
apply a patch to at least one of: a hypervisor or the kernel on the host computing device;
read a location in memory of a guest hosted on the host computing device;
modify one or more variables executing on the host computing device; or
shut down or reboot a guest executing on the host computing device.

### Claim 13 (depends on 6)

The computer implemented method of claim 6, wherein the private key is stored in a trusted platform module (TPM) of the host computing device.

### Claim 14 (depends on 6)

The computer implemented method of claim 6, wherein the request further includes at least one of:
a time stamp that limits a duration of time during which the request remains valid; or
a unique value that is associated with the host computing device.

### Claim 15 (depends on 6)

The computer implemented method of claim 6, wherein the public key is associated with a set of privileged operations granted to a party that is in possession of the public key and wherein verifying the request includes determining that the privileged operation is included within the set.

### Claim 16

A computing system, comprising:
at least one processor; and
memory including instructions that, when executed by the processor, cause the computing system to:
receive, via an application programming interface (API), a request to execute a privileged operation on a virtualization layer of a host computing device, the request secured using at least one key; and
attempt to verify the request by the virtualization layer of the host computing device; and
execute the privileged operation in the virtualization layer of the host computing device if the request is successfully verified.

### Claim 17 (depends on 16)

The computing system of claim 16, wherein the request is secured by a signature generated using a private key that is stored remotely with respect to the host computing device and wherein the request is verified using a public key that is available to the host computing device.

### Claim 18 (depends on 17)

The computing system of claim 17, wherein the host computing device is configured to use the public key if the public key is included in a certificate that is issued to an authorized party and signed by a certificate authority trusted by the host computing device.

### Claim 19 (depends on 16)

The computing system of claim 16, wherein upon booting, the host computing device is configured to:
generate an asymmetric key pair including a second public key and a second private key; and
publish the second public key and store the second private key in volatile memory on the host computing device.

### Claim 20 (depends on 19)

The computing system of claim 19, wherein publishing the second public key further includes:
sending a certificate signing request to a certificate authority to bind the second public key to a certificate.

### Claim 21

A non-transitory computer readable storage medium storing one or more sequences of instructions executable by one or more processors to:
provide an interface to submit requests to a host computing device, the host computing device including at least one virtualization layer;
receive, using the interface, a request to execute a privileged operation on the virtualization layer of the host computing device, the request secured using at least one key, wherein the secured request can be verified in the virtualization layer of the host computing device;
attempt to verify the request by the virtualization layer of the host computing device; and
execute the privileged operation in the virtualization layer of the host computing device if the request is successfully verified.

### Claim 22 (depends on 21)

The non-transitory computer readable storage medium of claim 21, wherein the request is signed using a signing private key stored remotely with respect to the host computing device and wherein a signature of the request is validated using a signing public key available to the host computing device.

### Claim 23 (depends on 22)

The non-transitory computer readable storage medium of claim 22, wherein the host computing device is configured to use the signing public key if the signing public key is included in a certificate that is issued to an authorized party and signed by a certificate authority trusted by the host computing device.

### Claim 24 (depends on 21)

The non-transitory computer readable storage medium of claim 21, wherein the instructions executable by one or more processors further comprise instructions that cause the one or more processors to:
generate, during a boot procedure of the host computing device, an asymmetric key pair including a public key and a private key; and
publish the public key and store the private key on the host computing device.

### Claim 25 (depends on 24)

The non-transitory computer readable storage medium of claim 24, wherein publishing the public key further includes:
sending a certificate signing request to a certificate authority to attach the public key to a certificate.
