# US 2006/0080530 A1 · Integrity Ordainment and Ascertainment of Computer-Executable Instructions with Consideration for Execution Context

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

- Number: US 2006/0080530 A1
- Document ID: US20060080530A1
- Status: Published application
- Kind: A1
- Application number: 11/275,060
- Filed: 2005-12-06
- Published: 2006-04-13
- Earliest claimed: 2002-04-03
- Assignees: Microsoft Corporation
- Inventors: Saurabh Sinha; Mariusz Jakubowski; Ramarathnam Venkatesan; Yuqun Chen; Matthew Cary; Ruoming Pang
- Web page: https://patentgrep.com/patent/US20060080530A1

## CPC

- G06F 21/52: during program execution, e.g. stack integrity {; Preventing unwanted data erasure; Buffer overflow}
- 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

An implementation of a technology, described herein, for facilitating the protection of computer-executable instructions, such as software. At least one implementation, described herein, may generate integrity signatures of one or more program modules—which are sets of computer-executable instructions—based upon a trace of activity during execution of such modules and/or near-replicas of such modules. With at least one implementation, described herein, the execution context of an execution instance of a program module is considered when generating the integrity signatures. With at least one implementation, described herein, a determination may be made about whether a module is unaltered by comparing integrity signatures. This abstract itself is not intended to limit the scope of this patent. The scope of the present invention is pointed out in the appending claims.

## Claims

### Claim 1

A method for facilitating the tamper-resistance of a program module having computer-executable instructions, the method comprising:
generating a near-replica module of a primary program module by modifying one or more computer-executable instructions of a copy of the primary program module.

### Claim 2 (depends on 1)

A method of as recited in claim 1, wherein one or more read instructions of the primary program module are modified in the near-replica with an instruction to retrieve from an execution trace record of one or more execution instances of the primary program module.

### Claim 3 (depends on 1)

A computer-readable medium having computer-executable instructions that, when executed by a computer, performs a method as recited in claim 1.

### Claim 4 (depends on 1)

A computer-readable medium having the protected program module of claim 1.

### Claim 5 (depends on 1)

A computer-readable medium having the protected program module of claim 1, wherein the computer-executable instructions of the protected program module are modified.

### Claim 6 (depends on 1)

A computer comprising one or more computer-readable media having computer-executable instructions that, when executed by the computer, perform a method as recited in claim 1.

### Claim 7

A computer-readable medium having computer-executable instructions that, when executed by a computer, performs a method comprising producing an execution-identifying signature, which represents one or more execution instances of computer-executable instructions with an execution context, whereby distinct signatures represent one or more execution instances of distinct computer-executable instructions with the execution context.
