# US 2024/0403092 A1 · Graphical console confidentiality for confidential virtual machines

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

- Number: US 2024/0403092 A1
- Document ID: US20240403092A1
- Status: Published application
- Kind: A1
- Application number: 18/326,268
- Filed: 2023-05-31
- Published: 2024-12-05
- Earliest claimed: 2023-05-31
- Assignees: Red Hat, Inc.
- Applicants: Red Hat, Inc.
- Inventors: Daniel Pierres Berrangé
- Web page: https://patentgrep.com/patent/US20240403092A1

## CPC

- G06F 9/4555: {Para-virtualisation, i.e. guest operating system has to be modified}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/4557: {Distribution of virtual machine instances; Migration and load balancing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for securing pixel data in a virtual framebuffer and efficiently providing the secure pixel data are presented. The systems and methods partition a virtual framebuffer into a plurality of sectors, wherein each one of the plurality of sectors corresponds to one of a plurality of regions of a screen. The systems and methods encrypt first pixel data corresponding to the plurality of regions to produce encrypted first pixel data and storing the encrypted first pixel data in the plurality of sectors of the virtual framebuffer. The systems and methods modify a portion of the first pixel data to produce second pixel data, wherein the portion of the first pixel data corresponds to a first sector in the plurality of sectors. The systems and methods encrypt the second pixel data to produce encrypted second pixel data. The systems and methods update the first sector of the virtual framebuffer with the encrypted second pixel data.

## Claims

### Claim 1

A method comprising:
partitioning a virtual framebuffer into a plurality of sectors, wherein each one of the plurality of sectors corresponds to one of a plurality of regions of a screen;
encrypting first pixel data corresponding to the plurality of regions to produce encrypted first pixel data and storing the encrypted first pixel data in the plurality of sectors of the virtual framebuffer;
modifying, by a processing device, a portion of the first pixel data to produce second pixel data, wherein the portion of the first pixel data corresponds to a first sector in the plurality of sectors;
encrypting the second pixel data to produce encrypted second pixel data; and
updating the first sector of the virtual framebuffer with the encrypted second pixel data.

### Claim 2 (depends on 1)

The method of claim 1, wherein, after the updating, the virtual framebuffer comprises the encrypted second pixel data in the first sector and a subset of the encrypted first pixel data in the remaining plurality of sectors.

### Claim 3 (depends on 1)

The method of claim 1, wherein a virtual machine comprises the virtual framebuffer and a guest operating system, the method further comprising:
generating a mapping rule that is authorized by the guest operating system; and
mapping the plurality of sectors of the virtual framebuffer to the plurality of regions of a screen of a remote client of the virtual machine based on the mapping rule, wherein each one of the plurality of regions comprises a block of pixels corresponding to the screen.

### Claim 4 (depends on 3)

The method of claim 3, further comprising:
receiving, from the guest operating system, a sector size corresponding to the partitioning of the virtual framebuffer;
sending the sector size to the remote client; and
including the sector size in the mapping rule.

### Claim 5 (depends on 4)

The method of claim 4, further comprising:
detecting, by a hypervisor, the updating of the first sector of the virtual framebuffer with the encrypted second pixel data; and
sending the encrypted second pixel data from the first sector to the remote client.

### Claim 6 (depends on 3)

The method of claim 3 further comprising:
requesting an attestation report responsive to instantiating the virtual machine;
sending the attestation report to an attestation service;
receiving a secret at the virtual machine from the attestation service in response to the attestation service verifying the attestation report; and
utilizing, by the virtual machine, the secret to encrypt the first pixel data and the second pixel data.

### Claim 7 (depends on 6)

The method of claim 6, wherein the secret that is received by the virtual machine is generated by the remote client.

### Claim 8

A system comprising:
a processing device; and
a memory to store instructions that, when executed by the processing device cause the processing device to:
partition a virtual framebuffer into a plurality of sectors, wherein each one of the plurality of sectors corresponds to one of a plurality of regions of a screen;
encrypt first pixel data that corresponds to the plurality of regions to produce encrypted first pixel data and store the encrypted first pixel data in the plurality of sectors of the virtual framebuffer;
modify a portion of the first pixel data to produce second pixel data, wherein the portion of the first pixel data corresponds to a first sector in the plurality of sectors;
encrypt the second pixel data to produce encrypted second pixel data; and
update the first sector of the virtual framebuffer with the encrypted second pixel data.

### Claim 9 (depends on 8)

The system of claim 8, wherein, after the update of the first sector, the virtual framebuffer comprises the encrypted second pixel data in the first sector and a subset of the encrypted first pixel data in the remaining plurality of sectors.

### Claim 10 (depends on 8)

The system of claim 8, wherein a virtual machine operates on the processing device, and wherein the processing device, responsive to executing the instructions, further causes the system to:
generate a mapping rule that is authorized by a guest operating system that executes on the virtual machine; and
map the plurality of sectors of the virtual framebuffer to the plurality of regions of a screen of a remote client of the virtual machine based on the mapping rule, wherein each one of the plurality of regions comprises a block of pixels that correspond to the screen.

### Claim 11 (depends on 10)

The system of claim 10, wherein the processing device, responsive to executing the instructions, further causes the system to:
receive, from the guest operating system, a sector size that corresponds to the partition of the virtual framebuffer;
send the sector size to the remote client; and
include the sector size in the mapping rule.

### Claim 12 (depends on 11)

The system of claim 11, wherein the processing device, responsive to executing the instructions, further causes the system to:
detect, by a hypervisor, the update of the first sector of the virtual framebuffer with the encrypted second pixel data; and
send the encrypted second pixel data from the first sector to the remote client.

### Claim 13 (depends on 10)

The system of claim 10, wherein the processing device, responsive to executing the instructions, further causes the system to:
instantiate the virtual machine and request an attestation report;
send the attestation report to an attestation service;
receive a secret at the virtual machine from the attestation service in response to a verification of the attestation report by the attestation service; and
utilize, by the virtual machine, the secret to encrypt the first pixel data and the second pixel data.

### Claim 14 (depends on 13)

The system of claim 13, wherein the secret that is received by the virtual machine is generated by the remote client.

### Claim 15

A non-transitory computer readable medium, having instructions stored thereon which, when executed by a processing device, cause the processing device to:
partition a virtual framebuffer into a plurality of sectors, wherein each one of the plurality of sectors corresponds to one of a plurality of regions of a screen;
encrypt first pixel data corresponding to the plurality of regions to produce encrypted first pixel data and store the encrypted first pixel data in the plurality of sectors of the virtual framebuffer;
modify a portion of the first pixel data to produce second pixel data, wherein the portion of the first pixel data corresponds to a first sector in the plurality of sectors;
encrypt the second pixel data to produce encrypted second pixel data; and
update the first sector of the virtual framebuffer with the encrypted second pixel data.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein, after the update of the first sector, the virtual framebuffer comprises the encrypted second pixel data in the first sector and a subset of the encrypted first pixel data in the remaining plurality of sectors.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein a virtual machine operates on the processing device, and wherein the processing device is to:
generate a mapping rule that is authorized by a guest operating system that executes on the virtual machine; and
map the plurality of sectors of the virtual framebuffer to the plurality of regions of a screen of a remote client of the virtual machine based on the mapping rule, wherein each one of the plurality of regions comprises a block of pixels that correspond to the screen.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the processing device is to:
receive, from the guest operating system, a sector size that corresponds to the partition of the virtual framebuffer;
send the sector size to the remote client; and
include the sector size in the mapping rule.

### Claim 19 (depends on 18)

The non-transitory computer readable medium of claim 18, wherein the processing device is to:
detect, by a hypervisor, the update of the first sector of the virtual framebuffer with the encrypted second pixel data; and
send the encrypted second pixel data from the first sector to the remote client.

### Claim 20 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein the processing device is to:
instantiate the virtual machine and request an attestation report;
send the attestation report to an attestation service;
receive a secret at the virtual machine from the attestation service in response to the attestation service verifying the attestation report; and
utilize, by the virtual machine, the secret to encrypt the first pixel data and the second pixel data.
