# US 2021/0004467 A1 · Rollback Resistant Security

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

- Number: US 2021/0004467 A1
- Document ID: US20210004467A1
- Status: Published application
- Kind: A1
- Application number: 17/024,589
- Filed: 2020-09-17
- Published: 2021-01-07
- Earliest claimed: 2016-12-07
- Assignees: Google Inc.
- Applicants: Google LLC
- Inventors: Paul Dermot Crowley
- Web page: https://patentgrep.com/patent/US20210004467A1

## CPC

- G06F 21/575: {Secure boot}
- G06F 21/57: Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3247: {involving digital signatures}
- 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

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for rollback resistant security are disclosed. In one aspect, a method, during a boot process of a computing device, includes the actions of obtaining a secret key derived from device-specific information for the computing device. The method further includes verifying that a signature for a software module is valid. The method further includes obtaining information indicating a current version of the software module. The method further includes using the secret key to generate a first encryption key corresponding to the current version of the software module and a second encryption key corresponding to a prior version of the software module. The method further includes preventing future access to the secret key until the computing device is rebooted. The method further includes providing the software module access to the first encryption key and the second encryption key.

## Claims

### Claim 1

A computing device comprising:
a system on a chip (SoC) configured to, during a boot process of the computing device:
read a file of a software module installed on the computing device;
determine, using the file, that a signature for the software module is not valid; and
responsive to a determination that the signature for the software module is not valid:
discontinue the boot process and not load the software module; and
display an error on a display of the computing device.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein the software module is at least part of an operating system.

### Claim 3 (depends on 2)

The computing device of claim 2, wherein the SoC is further configured to, during the boot process of the computing device:
obtain a public key of the operating system; and
wherein the determination that the signature for the software module is not valid comprises determine, using the file and the public key, that the signature for the operating system is not valid.

### Claim 4 (depends on 2)

The computing device of claim 2, wherein the SoC is further configured to, during the boot process of the computing device:
obtain, using the file, information indicating a current version of the operating system on the computing device; and
wherein the determination that the signature for the software module is not valid comprises determine that the operating system on the computing device is an out-of-date version of the operating system.

### Claim 5 (depends on 4)

The computing device of claim 4, wherein the error indicates a boot error in loading the out-of-date version of the operating system.

### Claim 6 (depends on 4)

The computing device of claim 4, wherein the SoC is further configured to, during the boot process of the computing device:
responsive to a determination that the operating system on the computing device is the out-of-date version of the operating system, output an instruction for the computing device to install a valid version of the operating system or restore the computing device to factory settings.

### Claim 7 (depends on 4)

The computing device of claim 4, wherein the information indicating the current version of the operating system is obtained from the signature for the operating system.

### Claim 8 (depends on 4)

The computing device of claim 4, wherein the information indicating the current version of the operating system is obtained from data used to generate the signature for the operating system.

### Claim 9 (depends on 4)

The computing device of claim 4, wherein the information indicating the current version of the operating system comprises an integer.

### Claim 10 (depends on 4)

The computing device of claim 4, wherein the information indicating the current version of the operating system comprises a version number of the operating system.

### Claim 11 (depends on 1)

The computing device of claim 1, the SoC is further configured to, during the boot process of the computing device:
obtain a secret key derived from device-specific information for the computing device; and
responsive to the determination that the signature for the software module is not valid, prevent future access to the secret key until the computing device is rebooted.

### Claim 12 (depends on 11)

The computing device of claim 11, wherein the device-specific information for the computing device is stored in hardware, is immutable, and is not accessible by the software module.

### Claim 13 (depends on 11)

The computing device of claim 11, wherein a prevention of future access to the secret key until the device is rebooted comprises an overwrite of the secret key with zeros.

### Claim 14 (depends on 11)

The computing device of claim 11, wherein a prevention of future access to the secret key until the device is rebooted comprises an adjustment of permissions for the software module to access the secret key.

### Claim 15

A computer-implemented method comprising:
during a boot process of a computing device:
reading, by the computing device, a file of a software module installed on the computing device;
determining, using the file, that a signature for the software module is not valid; and
responsive to determining that the signature for the software module is not valid:
discontinuing the boot process and not loading the software module; and
displaying an error on a display of the computing device.

### Claim 16 (depends on 15)

The method of claim 15, wherein the software module is at least part of an operating system.

### Claim 17 (depends on 16)

The method of claim 16, the method further comprising, during the boot process of the computing device:
obtaining, using the file, information indicating a current version of the operating system on the computing device; and
wherein determining that the signature for the software module is not valid, determining that the operating system on the computing device is an out-of-date version of the operating system.

### Claim 18 (depends on 17)

The method of claim 17, wherein the error indicates a boot error in loading the out-of-date version of the operating system.

### Claim 19 (depends on 17)

The method of claim 17, the method further comprising, during the boot process of the computing device:
responsive to determining that the operating system on the computing device is the out-of-date version of the operating system, outputting an instruction for the computing device to install a valid version of the operating system or restore the computing device to factory settings.

### Claim 20

A non-transitory computer-readable medium storing software comprising instructions executable by a computing device that, upon execution, cause the computing device, during a boot process of the computing device, to:
read a file of a software module installed on the computing device;
determine, using the file, that a signature for the software module is not valid; and
responsive to a determination that the signature for the software module is not valid:
discontinue the boot process and not load the software module; and
display an error on a display of the computing device.
