# US 2016/0261592 A1 · Method and device for the secure authentication and execution of programs

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

- Number: US 2016/0261592 A1
- Document ID: US20160261592A1
- Status: Published application
- Kind: A1
- Application number: 15/027,963
- Filed: 2014-10-03
- Published: 2016-09-08
- Earliest claimed: 2013-10-08
- Assignees: Commissariat A L'energie Atomique Et Aux Energies Alternatives
- Applicants: Commissariat A L'energie Atomique Et Aux Energies Alternatives
- Inventors: Laurent HUBERT; Renaud SIRDEY
- Web page: https://patentgrep.com/patent/US20160261592A1

## CPC

- H04L 63/0869: {for achieving mutual authentication (cryptographic mechanisms or cryptographic arrangements for mutual authentication H04L9/3273)}
- 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
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 67/1001: for accessing one among a plurality of replicated servers
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F 2221/034: Test or assess a computer or a system
- 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 device and a method for encrypting a virtual machine by on-the-fly encryption and decryption of the memory is described. The device comprises hardware and software elements, including a hardware security module for executing, in response to data read/write requests, on-the-fly encryption and decryption operations of the data stream associated with an encrypted memory image. The device and the method are particularly suited to allowing the secure authentication and execution of programs in the context of the infrastructure as a service layer of the cloud computing model.

## Claims

### Claim 1

In a cloud computing environment composed of a plurality of servers and client terminals suitable for connecting to the cloud, one of the servers comprising a processor and a main memory enabling the execution of hypervisor software in order to assign virtual machines to the client terminals, a device comprising:
an encrypted memory image generation module for generating, in response to a request to connect to the cloud from a client terminal, an encrypted memory image of a virtual machine assigned to the client terminal;
a storage server to store the encrypted memory image; and
a security module coupled to the storage server and to said one of the servers, to execute, in response to data read/write requests received from the processor of one of the servers, on-the-fly encryption and decryption operations of the data stream associated with said encrypted memory image.

### Claim 2 (depends on 1)

The device as claimed in claim 1, wherein the encrypted memory image generation module comprises means for:
receiving a request to connect to the cloud from a client terminal;
establishing a bilaterally authenticated connection between the client terminal and the cloud;
generating a private encryption key to assign a virtual memory image to the client terminal;
downloading to the client terminal the assigned virtual memory image;
encrypting the assigned virtual memory image; and
uploading the assigned and encrypted virtual memory image to the cloud.

### Claim 3 (depends on 2)

The device as claimed in claim 2, wherein the means for establishing the authenticated connection between the client terminal and the cloud comprise chip card reader type means coupled to the client terminal to calculate an encryption key as a function of a personal code stored on the chip card and means coupled to an authentication server of the cloud for performing an authentication upon reception of the personal code.

### Claim 4 (depends on 3)

The device as claimed in claim 3, wherein the personal code is a 128-bit long term secret.

### Claim 5 (depends on 1)

The device as claimed in claim 1, wherein the private encryption key generated for a virtual machine is a function of the personal code.

### Claim 6 (depends on 2)

The device as claimed in claim 2, wherein the private encryption key is stored in the authentication server.

### Claim 7 (depends on 6)

The device as claimed in claim 6, wherein the execution of an on-the-fly encryption or decryption operation performed in response to a request to read a word at a clear address of the memory of one of the servers consists in comprises:
receiving from the authentication server the private encryption key;
retrieving in the encrypted memory image an encrypted data block containing the clear address of the word to be read;
decrypting the encrypted block with the private encryption key;
extracting the word to be read in the decrypted block; and
sending the extracted word to the processor of said one of the servers.

### Claim 8 (depends on 6)

The device as claimed in claim 6, wherein the execution of an on-the-fly encryption or decryption operation performed in response to a request to write a word at a clear address in the memory of one of the servers comprises:
receiving from the authentication server the private encryption key;
retrieving in the encrypted memory image an encrypted data block containing the clear address of the word to be written;
decrypting the encrypted block with the private encryption key; and
writing the word at the clear address in the decrypted block.

### Claim 9 (depends on 1)

The device as claimed in claim 1, additionally comprising an interrupt management module.

### Claim 10

In a cloud computing environment composed of a plurality of servers and client terminals suitable for connecting to the cloud, one of the servers comprising a processor and a main memory enabling the execution of hypervisor software in order to assign virtual machines to the client terminals, a method comprising the steps of:
in response to a request to connect to the cloud from a client terminal, generating an encrypted memory image of a virtual machine assigned to the client terminal;
storing on a storage server the encrypted memory image; and
in response to data read/write requests received from the processor of one of the servers, executing on-the-fly encryption and decryption operations of the data stream associated with said encrypted memory image.

### Claim 11 (depends on 10)

The method as claimed in claim 10, wherein the step for generating an encrypted memory image additionally comprises the steps of:
receiving a request to connect to the cloud from a client terminal;
establishing a bilaterally authenticated connection between the client terminal and the cloud;
generating a private encryption key to assign a virtual memory image to the client terminal;
downloading to the client terminal the assigned virtual memory image;
encrypting the assigned virtual memory image; and
uploading the assigned and encrypted virtual memory image to the cloud.

### Claim 12 (depends on 11)

The method as claimed in claim 11, wherein the step for establishing the authenticated connection between the client terminal and the cloud comprises a step for calculating an encryption key as a function of a personal code stored on a chip card read by chip card reader means coupled to the client terminal and a step for authenticating the personal code upon reception of the code by the authentication server.

### Claim 13 (depends on 10)

The method as claimed in claim 10, wherein the execution of an on-the-fly encryption or decryption operation is performed in response to a request to read a word at a clear address of the memory of said one of the servers and comprises the steps of:
receiving from the authentication server a private encryption key;
retrieving in the encrypted memory image an encrypted data block containing the clear address of the word to be read;
decrypting the encrypted block with the private encryption key;
extracting the word to be read in the decrypted block; and
sending the extracted word to the processor of one of the servers.

### Claim 14 (depends on 10)

The method as claimed in claim 10, wherein the execution of an on-the-fly encryption or decryption operation is performed in response to a request to write a word at a clear address in the memory of said one of the servers and comprises the steps of:
receiving from the authentication server a private encryption key;
retrieving in the encrypted memory image an encrypted data block containing the clear address of the word to be written;
decrypting the encrypted block with the private encryption key; and
writing the word at the clear address in the decrypted block.

### Claim 15 (depends on 10)

A computer program product, said computer program comprising code instructions for carrying out the steps of the method as claimed in claim 10, when said program is executed on a computer.
