# US 2021/0334358 A1 · Cloud-based dynamic executable verification

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

- Number: US 2021/0334358 A1
- Document ID: US20210334358A1
- Status: Published application
- Kind: A1
- Application number: 17/242,084
- Filed: 2021-04-27
- Published: 2021-10-28
- Earliest claimed: 2020-04-27
- Assignees: ARRIS Enterprises LLC
- Applicants: ARRIS Enterprises LLC
- Inventors: Alexander Medvinsky; Rafie Shamsaasef; Lex A. Anderson
- Web page: https://patentgrep.com/patent/US20210334358A1

## CPC

- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/44: Program or device authentication
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- G06F 21/645: {using a third party}
- 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

A method and system provide the ability to dynamically verify an executable. Encrypted build data and developer permissions are received from a first developer into a build registration tool within a secure cloud computing environment. The encrypted build data includes a build identification (ID), a dynamic code signing certificate (CER), and developer credentials. The build registration tool authenticates the developer credentials based on developer permissions. A dynamic code signing tool (within the secure cloud computing environment) decrypts the encrypted build data and activates the executable by dynamically signing the executable to obtain a dynamic code signature (SEC). The SEC is delivered for runtime deployment.

## Claims

### Claim 1

A method of dynamically verifying an executable, comprising:
receiving from a first developer, in a build registration tool within a secure cloud computing environment, encrypted build data and developer permissions, wherein the encrypted build data comprises a build identification (ID), a dynamic code signing certificate (CER), and developer credentials;
authenticating, in the build registration tool, the developer credentials based on developer permissions;
decrypting, in a dynamic code signing tool within the secure cloud computing environment, the encrypted build data; and
activating, in the dynamic code signing tool, the executable by dynamically signing the executable to obtain a dynamic code signature (SEC) based on information specified in the build data; and
delivering the SEC for runtime deployment.

### Claim 2 (depends on 1)

The method of claim 1, wherein the activating further comprises:
the secure cloud computing environment running the executable in a virtual machine (VM) to obtain the SEC.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
the build registration tool determining that developer credentials from a second developer are not authorized for dynamic code signing; and
sending a failure response to a cloud dynamic tamper protection tool, wherein the failure response aborts the tamper protection tool with an error condition.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
the dynamic code signing tool determining that the executable is invalid; and
the dynamic code signing tool aborting the activating with an error condition.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
the dynamic code signing tool failing to dynamically sign the executable; and
the dynamic code signing tool aborting the activating with an error condition.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
the dynamic code signing tool determining which developer permissions in the developer permissions are associated with the build ID;
the dynamic code signing tool determining whether the developer permissions associated with the build ID are sufficient; and
the dynamic code signing tool aborting the activating with an error condition when insufficient.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
launching a protected executable in a non-secure runtime;
the protected executable locating the SEC;
failing a validation of the SEC or of one or more code segment hashes covered by the SEC;
based on the failing, determining that the SEC has been tampered with; and
triggering a failure mode based on upon the determining.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving, in the dynamic code signing tool, a dynamic code signing request (DCSR) from a customer secure runtime environment, wherein the customer secure runtime environment runs the executable to generate the DCSR; and
evaluating, in the dynamic code signing tool, the DCSR, wherein based on the evaluating, the SEC is returned for runtime deployment.

### Claim 9 (depends on 8)

The method of claim 8, wherein:
the evaluating determines that the DCSR is not authentic, invalid, or developer permissions are insufficient; and
the dynamic code signing tool aborts with an error condition.

### Claim 10

A system for dynamically verifying an executable, comprising:
(a) a secure cloud computing environment having one or more computers;
(b) the one or more computers, wherein each of the one or more computers has a memory and a processor that executes;
(c) a build registration tool executing on one or more of the processors via a first set of instructions stored in one or more of the memories, wherein the build registration tool performs operations comprising:
(i) receiving from a first developer encrypted build data and developer permissions, wherein the encrypted build data comprises a build identification (ID), a dynamic code signing certificate (CER), and developer credentials; and
(ii) authenticating the developer credentials based on developer permissions; and
(d) a dynamic code signing tool executing on one or more of the processors via a second set of instructions stored in one or more of the memories, wherein the dynamic code signing tool performs operations comprising:
(i) decrypting the encrypted build data;
(ii) activating the executable by dynamically signing the executable to obtain a dynamic code signature (SEC) based on information specified in the build data; and
(iii) delivering the SEC for runtime deployment.

### Claim 11 (depends on 10)

The system of claim 10, wherein the build registration tool and the dynamic code signing tool execute in a virtual machine (VM).

### Claim 12 (depends on 10)

The system of claim 10, wherein the build registration tool further:
determines that developer credentials from a second developer are not authorized for dynamic code signing; and
sends a failure response to a cloud dynamic tamper protection tool, wherein the failure response aborts the tamper protection tool with an error condition.

### Claim 13 (depends on 10)

The system of claim 10, wherein the dynamic code signing tool further:
determines that the executable is invalid; and
aborts the activating with an error condition.

### Claim 14 (depends on 10)

The system of claim 10, wherein the dynamic code signing tool further:
fails to dynamically sign the executable; and
aborts the activating with an error condition.

### Claim 15 (depends on 10)

The system of claim 10, wherein the dynamic code signing tool further:
determines which developer permissions in the developer permissions are associated with the build ID;
determines whether the developer permissions associated with the build ID are sufficient; and
aborts the activating with an error condition when insufficient.

### Claim 16 (depends on 10)

The system of claim 10, further comprising a runtime environment, wherein the runtime environment:
launches a protected executable; and
receives the SEC;
determines that the SEC has been tampered with; and
triggers a failure mode based on upon the determining.

### Claim 17 (depends on 10)

The system of claim 10, wherein the dynamic code signing tool further:
receives a dynamic code signing request (DCSR) from a customer secure runtime environment, wherein the customer secure runtime environment runs the executable to generate the DCSR;
evaluates the DCSR, wherein based on the evaluating, the SEC is returned for runtime deployment.

### Claim 18 (depends on 17)

The system of claim 17, wherein:
the dynamic code signing tool evaluation comprises the DCSR determining that the DCSR is not authentic, invalid, or developer permissions are insufficient; and
the dynamic code signing tool aborts with an error condition.
