# US 2014/0208097 A1 · Securing results of privileged computing operations

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

- Number: US 2014/0208097 A1
- Document ID: US20140208097A1
- Status: Published application
- Kind: A1
- Application number: 13/746,780
- 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/US20140208097A1

## 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 21/33: using certificates
- G06F 21/44: Program or device authentication
- G06F 21/606: {by securing the transmission between two devices or processes}
- G06F 21/629: {to features or functions of an application}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 2221/2107: File encryption
- 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 to secure the results of privileged operations on systems such as the operating system (OS) kernel and/or the hypervisor. The interface allows a public key to be included into a request to perform a privileged operation on a hypervisor and/or kernel. The kernel and/or hypervisor use the key included in the request to encrypt the results of the privileged operation. In some embodiments, the request itself can also be encrypted, such that any intermediate parties are not able to read the parameters and other information of the request.

## Claims

### Claim 1

A computer implemented method for securing data in a virtualized computing environment, said method comprising:
under the control of one or more computer systems configured with executable instructions,
providing an interface to receive API requests on a host computing device, the host computing device including at least one of: a hypervisor or a kernel;
receiving, by the host computing device, a request to perform a privileged operation on the hypervisor or the kernel, the request being encrypted using a first key, the request including a second key as a parameter with the request, the second key capable of being used to encrypt information; wherein the hypervisor or the kernel is configured to decrypt the request and execute the privileged operation to produce a set of results on the host computing device; and
encrypting, by the hypervisor or the kernel, the set of results by using the second key provided with the request, the set of results encrypted before the set of results are communicated out of the hypervisor or the kernel to an external location.

### Claim 2 (depends on 1)

The computer implemented method of claim 1, further comprising:
communicating the set of results encrypted with the second key to a location that is external with respect to the host computing device; and
decrypting the set of results using a private key.

### Claim 3 (depends on 1)

The computer implemented method of claim 1, wherein the request is issued by a monitoring service configured to monitor a plurality of host computing devices, each host computing device including a hypervisor that manages one or more virtual machine instances.

### Claim 4 (depends on 1)

The computer implemented method of claim 1, wherein the privileged operation includes:
reading a location in memory on the host computing device, the location associated with the at least one of: the virtual machine manager or the kernel.

### Claim 4

A computer implemented method, comprising:
under the control of one or more computer systems configured with executable instructions,
generating a request to perform a privileged operation on a virtualization layer of a host computing device;
obtaining a public key and including the public key in the request, the public key capable of being used to encrypt information, the public key having a corresponding private key that is capable of being used to decrypt the information encrypted using the public key;
submitting the request including the public key to the virtualization layer of the host computing device, the virtualization layer configured to execute the privileged operation to produce a result; and
wherein the virtualization layer is configured to encrypt the result of the privileged operation by using the public key provided with the request.

### Claim 5 (depends on 4)

The computer implemented method of claim 4, wherein the virtualization layer is configured to encrypt the result before the result is communicated out of the virtualization layer of the host computing device.

### Claim 6 (depends on 4)

The computer implemented method of claim 4, wherein the virtualization layer is configured to communicate the encrypted result to a location that is external with respect to the host computing device; and wherein the encrypted result is decrypted at the location by using a private key.

### Claim 7 (depends on 4)

The computer implemented method of claim 4, wherein the request to perform the privileged operation is encrypted using a second key, and wherein the request is decryptable by the virtualization layer.

### Claim 8 (depends on 4)

The computer implemented method of claim 4, wherein the request to perform the privileged operation is signed using a service private key, and wherein a signature of the request is verifiable by the virtualization layer using a service public key.

### Claim 9 (depends on 8)

The computer implemented method of claim 8, further comprising:
obtaining a certificate including the service public key from a certificate authority (CA).

### Claim 10 (depends on 4)

The computer implemented method of claim 4, wherein obtaining the public key further includes:
obtaining, using a certificate authority (CA), at least one certificate that certifies ownership of the public key.

### Claim 11 (depends on 4)

The computer implemented method of claim 4, wherein the request is generated by a monitoring service that monitors a plurality of host computing devices.

### Claim 12 (depends on 11)

The computer implemented method of claim 11, further comprising:
detecting, by the monitoring service, that at least one of the plurality of host computing devices is operating abnormally based at least in part on a profile associated with the at least one of the plurality of host computing devices.

### Claim 13 (depends on 4)

The computer implemented method of claim 4, wherein the request is bound to a specified time duration.

### Claim 14 (depends on 4)

The computer implemented method of claim 4, wherein the privileged operation modifies a running memory image of the virtualization layer on the host computing device.

### Claim 15 (depends on 4)

The computer implemented method of claim 4, wherein the privileged operation further includes:
reading a location in memory on the host computing device, the location associated with the virtualization layer.

### Claim 16

A system, comprising:
a first computer system including at least one processor; and
memory including instructions that, when executed by the at least one processor, cause the computing system to:
receive, from a trusted party, a request to perform a privileged operation on a virtualization layer of a host computing device, the request including a public key, the public key capable of being used to encrypt information, the public key having a corresponding private key that is capable of being used to decrypt the information encrypted using the public key; and
issue the request to an application programming interface (API) of the host computing device, wherein the virtualization layer is configured to execute the privileged operation to produce a result and encrypt the result using the public key provided with the request.

### Claim 17 (depends on 16)

The system of claim 16, further comprising:
the host computing device, wherein the host computing device includes at least one processor and memory including instructions that, when executed cause the host computing device to:
execute the privileged operation;
encrypt the result using the public key provided with the request; and
store the encrypted result in a predetermined location.

### Claim 18 (depends on 17)

The system of claim 17, wherein the host computing device is configured to encrypt the result within the virtualization layer before the result is communicated out of the virtualization layer.

### Claim 19 (depends on 16)

The computing system of claim 16, wherein the request to perform the privileged operation is encrypted using a second key, and wherein the request is decrypted by the virtualization layer.

### Claim 20

A computing system, comprising:
at least one processor; and
memory including instructions that, when executed by the at least one processor, cause the computing system to:
receive a request to perform a privileged operation on a virtualization layer of a host computing device, the request including a public key, the public key capable of being used to encrypt information, the public key having a corresponding private key that is capable of being used to decrypt the information encrypted using the public key;
execute the request in the virtualization layer of the host computing device to produce a result; and
cause the result of the privileged operation to be encrypted by using the public key provided with the request.

### Claim 21 (depends on 20)

The computing system of claim 20, wherein the memory further includes instructions that cause the computing system to:
communicate the encrypted result to a location that is external with respect to the host computing device, the location storing the private key; and
wherein the result is decryptable by using the private key.

### Claim 22 (depends on 20)

The computing system of claim 20, wherein the request to perform the privileged operation is encrypted using a second key, and wherein the request is decryptable by the virtualization layer.

### Claim 23

A non-transitory computer readable storage medium storing one or more sequences of instructions executable by one or more processors to:
receive a request to perform a privileged operation on a virtualization layer of a host computing device, the request including a public key, the public key capable of being used to encrypt information, the public key having a corresponding private key that is capable of being used to decrypt the information encrypted using the public key; execute the request in the virtualization layer of the host computing device to produce a result; and
cause the result of the privileged operation to be encrypted by using the public key provided with the request.

### Claim 24 (depends on 23)

The non-transitory computer readable storage medium of claim 23, further comprising instructions that cause the one or more processors to:
communicate the encrypted result to a location that is external with respect to the host computing device, the location storing the private key; and
decrypt the result at the location by using the private key.

### Claim 25 (depends on 23)

The non-transitory computer readable storage medium of claim 23, wherein the request to perform the privileged operation is encrypted using a second key, and wherein the request is decrypted by the virtualization layer.

### Claim 26 (depends on 23)

The non-transitory computer readable storage medium of claim 23, wherein the result is encrypted at the virtualization layer before the result is communicated from the host computing device to an external location.
