# US 2022/0012044 A1 · System compliance based on a mix of hotpatches and coldpatches

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

- Number: US 2022/0012044 A1
- Document ID: US20220012044A1
- Status: Published application
- Kind: A1
- Application number: 16/925,169
- Filed: 2020-07-09
- Published: 2022-01-13
- Earliest claimed: 2020-07-09
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Maxwell Christopher RENKE; Benjamin M. SCHULTZ; Yevgeniy BAK; Vijaykumar SHARMA; Apurva Ashvinkumar THANKY; Hari R. PULAPAKA
- Web page: https://patentgrep.com/patent/US20220012044A1

## CPC

- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 8/656: while running
- G06F 8/63: {Image based installation; Cloning; Build to order}
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/577: {Assessing vulnerabilities and evaluating computer system security}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Enacting a compliance action using an assessment that considers a mix of coldpatches and hotpatches includes identifying a policy defining the compliance condition based on patching status of a software component. A patching state of the software component is determined, including identifying evidence of coldpatched binary file(s) and hotpatch binary file(s) applicable to the software component, and using the evidence to determine whether or not the hotpatch binary file(s) have been applied to a memory image into which an instance of the software component is loaded. Based on the policy and on the patching state of the software component, a compliance action is enacted for the compliance condition. The compliance action includes generating a health report or a health attestation, initiating a patching action, initiating an execution control action, and the like.

## Claims

### Claim 1

A method, implemented at a computer system that includes a processor, for enacting compliance actions using an assessment that considers a mix of coldpatches and hotpatches, the method comprising:
identifying one or more system policies that define one or more compliance conditions based on patching status of software components, including identifying a particular system policy that defines a particular compliance condition for a particular software component, the particular compliance condition defining a set of one or more hotpatch binaries to be applied to at least one coldpatched binary from which the particular software component is loaded;
determining a patching state of the particular software component, including:
identifying a plurality of evidence, each corresponding to a binary file of a plurality of binary files that has been applied to the particular software component, the plurality of binary files including (i) one or more coldpatched binary files from which the particular software component is loadable, and (ii) one or more hotpatch binary files applicable to the particular software component; and
determining, based on the plurality of evidence, whether or not at least a subset of the one or more hotpatch binary files has been applied to a memory image into which an instance of the particular software component is loaded from at least a subset of the one or more coldpatched binary files within system memory at the computer system;
based on the particular system policy, and based on the determined patching state of the particular software component, enacting a compliance action for the particular compliance condition, the compliance action including at least one of:
generating at least one of a health report or a health attestation, based at least on the patching state of the particular software component;
initiating a patching action on the particular software component; or
initiating an execution control action on the particular software component.

### Claim 2 (depends on 1)

The method of claim 1, wherein the method generates the health report based at least on the patching state of the particular software component, and wherein generating the health report comprises at least one of:
generating a health score based at least on having determined whether or not the subset of the one or more hotpatch binary files has been applied to the memory image into which the instance of the particular software component is loaded within the system memory; or
generating the health score based at least on whether or not the subset of the one or more hotpatch binary files address a vulnerability identified in an external vulnerability database.

### Claim 3 (depends on 1)

The method of claim 1, wherein the method generates the health attestation based at least on the patching state of the particular software component, and wherein generating the health attestation comprises generating the health attestation only when the subset of the one or more hotpatch binary files has been applied to the memory image into which the instance of the particular software component is loaded within the system memory, and only when an operating system is determined to have an identified trust level.

### Claim 4 (depends on 1)

The method of claim 1, wherein the method generates at least one of the health report or the health attestation, and wherein the method further comprises sending the generated report or health attestation to a compliance service.

### Claim 5 (depends on 1)

The method of claim 1, wherein the method initiates the patching action on the particular software component, and wherein initiating the patching action on the particular software component comprises at least one of:
initiating application of the subset of the one or more hotpatch binary files to the memory image into which the instance of the particular software component is loaded;
initiating reloading of the instance of the particular software component from one of the one or more coldpatched binary files; or
scheduling downloading of one or more additional patch files for the particular software component.

### Claim 6 (depends on 5)

The method of claim 5, wherein a particular patching action is selected based at least on part on the one or more system policies.

### Claim 7 (depends on 1)

The method of claim 1, wherein the method initiates the execution control action on the particular software component, wherein initiating the execution control action on the particular software component comprises at least one of:
permitting loading of an additional instance of the particular software component;
denying loading of the additional instance of the particular software component;
permitting loading of an other software component that depends on the instance of the particular software component;
denying loading of the other software component that depends on the instance of the particular software component;
terminating the instance of the particular software component; or
sandboxing the additional instance of the particular software component.

### Claim 8 (depends on 7)

The method of claim 7, wherein permitting the loading of the additional instance of the particular software component comprises enforcing application of the subset of the one or more hotpatch binary files to an additional memory image into which the additional instance of the particular software component is loaded.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining the patching state of the particular software component also includes analyzing the memory image into which the instance of the particular software component is loaded to verify application of the subset of the one or more hotpatch binary files.

### Claim 10 (depends on 1)

The method of claim 1, wherein each of the one or more coldpatched binary files and the one or more hotpatch binary files are associated with a corresponding digital signature, and wherein determining the patching state of the particular software component also includes verifying, from a patch log, validity of a chain of two or more of corresponding digital signatures.

### Claim 11 (depends on 1)

The method of claim 1, wherein the method is performed, at least in part, by a component residing in a protected memory region that is isolated from another memory region in which the particular software component resides.

### Claim 12 (depends on 1)

The method of claim 1, wherein at least one of the one or more system policies is received or encoded within a patch file.

### Claim 13 (depends on 1)

The method of claim 1, wherein the particular system policy comprises at least one of a health policy or a functionality policy.

### Claim 14

A computer system for enacting compliance actions using an assessment that considers a mix of coldpatches and hotpatches, comprising:
a processor; and
a hardware storage device that stores computer-executable instructions that are executable by the processor to at least:
identify one or more system policies that define one or more compliance conditions based on patching status of software components, including identifying a particular system policy that defines a particular compliance condition for a particular software component, the particular compliance condition defining a set of one or more hotpatch binaries to be applied to at least one coldpatched binary from which the particular software component is loaded;
determine a patching state of the particular software component, including:
identifying a plurality of evidence, each corresponding to a binary file of a plurality of binary files that has been applied to the particular software component, the plurality of binary files including (i) one or more coldpatched binary files from which the particular software component is loadable, and (ii) one or more hotpatch binary files applicable to the particular software component; and
determining, based on the plurality of evidence, whether or not at least a subset of the one or more hotpatch binary files has been applied to a memory image into which an instance of the particular software component is loaded from at least a subset of the one or more coldpatched binary files within system memory at the computer system;
based on the particular system policy, and based on the determined patching state of the particular software component, enact a compliance action for the particular compliance condition, the compliance action including at least one of:
generating at least one of a health report or a health attestation, based at least on the patching state of the particular software component;
initiating a patching action on the particular software component; or
initiating an execution control action on the particular software component.

### Claim 15 (depends on 14)

The computer system of claim 14, wherein the computer system generates the health report based at least on the patching state of the particular software component, and wherein generating the health report comprises at least one of:
generating a health score based at least on having determined whether or not the subset of the one or more hotpatch binary files has been applied to the memory image into which the instance of the particular software component is loaded within the system memory; or
generating the health score based at least on whether or not the subset of the one or more hotpatch binary files address a vulnerability identified in an external vulnerability database.

### Claim 16 (depends on 14)

The computer system of claim 14, wherein the computer system generates the health attestation based at least on the patching state of the particular software component, and wherein generating the health attestation comprises generating the health attestation only when the subset of the one or more hotpatch binary files has been applied to the memory image into which the instance of the particular software component is loaded within the system memory, and only when an operating system is determined to have an identified trust level.

### Claim 17 (depends on 14)

The computer system of claim 14, wherein the computer system initiates the patching action on the particular software component, and wherein initiating the patching action on the particular software component comprises at least one of:
initiating application of the subset of the one or more hotpatch binary files to the memory image into which the instance of the particular software component is loaded;
initiating reloading of the instance of the particular software component from one of the one or more coldpatched binary files; or
scheduling downloading of one or more additional patch files for the particular software component.

### Claim 18 (depends on 14)

The computer system of claim 14, wherein the computer system initiates the execution control action on the particular software component, and wherein initiating the execution control action on the instance of the particular software component comprises at least one of:
permitting loading of an additional instance of the particular software component;
denying loading of the additional instance of the particular software component;
permitting loading of an other software component that depends on the instance of the particular software component;
denying loading of the other software component that depends on the instance of the particular software component;
terminating the instance of the particular software component; or
sandboxing the additional instance of the particular software component.

### Claim 19 (depends on 14)

The computer system of claim 14, wherein each of the one or more coldpatched binary files and the one or more hotpatch binary files are associated with a corresponding digital signature, and wherein determining the patching state of the particular software component also includes verifying, from a patch log, validity of a chain of two or more of corresponding digital signatures.

### Claim 20

A computer program product comprising a hardware storage device that stores computer-executable instructions that are executable by a processor to cause a computer system to enact compliance actions using an assessment that considers a mix of coldpatches and hotpatches, the computer-executable instructions including instructions that are executable by the processor to cause the computer system to at least:
identify one or more system policies that define one or more compliance conditions based on patching status of software components, including identifying a particular system policy that defines a particular compliance condition for a particular software component, the particular compliance condition defining a set of one or more hotpatch binaries to be applied to at least one coldpatched binary from which the particular software component is loaded;
determine a patching state of the particular software component, including:
identifying a plurality of evidence, each corresponding to a binary file of a plurality of binary files that has been applied to the particular software component, the plurality of binary files including (i) one or more coldpatched binary files from which the particular software component is loadable, and (ii) one or more hotpatch binary files applicable to the particular software component; and
determining, based on the plurality of evidence, whether or not at least a subset of the one or more hotpatch binary files has been applied to a memory image into which an instance of the particular software component is loaded from at least a subset of the one or more coldpatched binary files within system memory at the computer system;
based on the particular system policy, and based on the determined patching state of the particular software component, enact a compliance action for the particular compliance condition, the compliance action including at least one of:
generating at least one of a health report or a health attestation, based at least on the patching state of the particular software component;
initiating a patching action on the particular software component; or
initiating an execution control action on the particular software component.
