# US 2003/0084346 A1 · Apparatus and method for unilaterally loading a secure operating system within a multiprocessor environment

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

- Number: US 2003/0084346 A1
- Document ID: US20030084346A1
- Status: Published application
- Kind: A1
- Application number: 10/043,843
- Filed: 2001-11-01
- Published: 2003-05-01
- Earliest claimed: 2001-11-01
- Assignees: Intel Corporation
- Inventors: Michael A. Kozuch; James A. Sutton II; David Grawrock; Gilbert Neiger; Richard A. Uhlig; Bradley G. Burgess; David I. Poisner; Clifford D. Hall; Andy Glew; Lawrence O. Smith III; Robert T. George
- Web page: https://patentgrep.com/patent/US20030084346A1

## CPC

- 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
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus and method for unilaterally loading a secure operating system within a multiprocessor environment are described. The method includes disregarding a received load secure region instruction when a currently active load secure region operation is detected. Otherwise, a memory protection element is directed, in response to the received load secure region instruction, to form a secure memory environment. Once directed, unauthorized read/write access to one or more protected memory regions are prohibited. Finally, a cryptographic hash value of the one or more protected memory regions is stored within a digest information repository as a secure software identification value. Once stored, outside agents may request access to a digitally signed software identification value in order to establish security verification of secure software within the secure memory environment.

## Claims

### Claim 1

A method comprising:
disregarding a received load instruction when a currently active load operation is detected;
otherwise, directing, in response to the received load instruction, a memory protection element to form a secure memory environment including one or more protected memory regions, such that unauthorized read/write access to the one or more protected memory regions is prohibited; and
storing, within a digest information repository, a cryptographic hash value of the one or more protected memory regions, thereby enabling establishment of security verification of the secure memory environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein disregarding further comprises:
receiving a load secure region instruction as the load instruction from security initiation software, such that the load secure region instruction indicates the one or more memory regions to be established as the secure memory environment;
verifying that the security initiation software possesses a sufficient privilege level to issue the load secure region instruction;
once verified, determining whether a currently active load secure region operation exclusivity mutex exists;
when a currently active load secure region operation exclusivity mutex is detected, disregarding the received load secure region instruction request; and
otherwise establishing a load secure region instruction exclusivity mutex.

### Claim 3 (depends on 1)

The method of claim 1, wherein disregarding further comprises:
determining whether a secure reset command has been received; and
when a secure reset command has been received, disregarding the received load instruction request.

### Claim 4 (depends on 3)

The method of claim 3, wherein determining further comprises:
querying values within the digest information repository; and
when values within the digest information repository are committed, detecting receipt of a reset command.

### Claim 5 (depends on 1)

The method of claim 1, wherein directing further comprises:
determining the one or more protected memory regions from the received load instruction request; and
providing a request, including parameters of the one or more protected memory regions, to a memory protection element, such that the memory protection element establishes the secure memory environment requested by a load secure region operation according to the load instruction.

### Claim 6 (depends on 1)

The method of claim 1, wherein direct further comprises:
clearing the digest information repository; and
recording secure environment information within the digest information repository.

### Claim 7 (depends on 1)

The method of claim 1, wherein storing further comprises:
hashing contents of the secure memory region to generate a cryptographic hash identification value as a secure software identification value for software contained within the secure environment; and
storing the secure software identification value within the digest information repository; and
releasing a load operation exclusivity mutex.

### Claim 8 (depends on 1)

The method of claim 1, further comprising:
receiving a security authentication request from an outside agent;
accessing, via a secure channel, a secure software identification value;
digitally signing the software identification value; and
transmitting the digitally signed secure software identification value to the outside agent, such that the outside agent may examine a component state of secure software within the secure memory environment and decide whether to trust the secure software.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
issuing a processor reset request to a system chipset; and
resetting, by the chipset, all processors coupled to the chipset in response to the processor reset request.

### Claim 10

A method comprising:
resetting, in response to a secure reset request, one or more processors within a system, the secure reset request issued following completion of a load secure region operation; and
enabling processor read/write access to one or more protected memory regions of a secure memory environment formed in accordance with a load secure region instruction request to establish a secure environment.

### Claim 11 (depends on 10)

The method of claim 10, wherein resetting further comprises:
issuing, to a system chipset platform, a processor reset command; and
issuing, by the chipset platform, a reset request to each of the one or more processors.

### Claim 12 (depends on 11)

The method of claim 11, wherein issuing further comprises:
performing a data write to an input/output port address; and
decoding, by the chipset platform, the data write to detect a processor reset command.

### Claim 13 (depends on 10)

The method of claim 10, wherein re-enabling further comprises:
committing data within a digest information repository to indicate a currently active reset command;
causing each of the processors coupled to the system to enter a known privilege state; and
directing a memory protection element to re-enable processor read/write access to the secure memory environment.

### Claim 14 (depends on 13)

The method of claim 13, wherein causing comprises:
setting data storage elements within the one or more processors to one of the constant values stored in/generated by the processor and values derived from parameters specified by security initiation software at issuance of the load secure region instruction.

### Claim 15

A computer readable storage medium including program instructions that direct a computer to function in a specified manner when executed by a processor, the program instructions comprising:
disregarding a received load instruction when a currently active load instruction is detected;
otherwise, directing, in response to the received load instruction, a memory protection element to form a secure memory environment including one or more protected memory regions, such that unauthorized read/write access to the one or more protected memory regions is prohibited; and
storing, within a digest information repository, a cryptographic hash value of the one or more protected memory regions, thereby enabling establishment of security verification of the secure environment.

### Claim 16 (depends on 15)

The computer readable storage medium of claim 15, wherein disregarding further comprises:
receiving an instruction as the load secure region instruction from security initiation software, such that the load secure region instruction indicates the one or more memory regions to be established as the secure memory environment, as well as secure software loaded within the secure memory environment;
verifying that the security initiation software possesses a sufficient privilege level to issue the load secure region instruction;
once verified, determining whether a currently active load operation exclusivity mutex exists;
when a currently active load operation exclusivity mutex is detected, disregarding the received load secure region instruction request; and
otherwise establishing a load secure region operation exclusivity mutex.

### Claim 17 (depends on 15)

The computer readable storage medium of claim 15, wherein disregarding further comprises:
determining whether a secure reset command has been received; and
when a secure reset command has been received, disregarding the received load instruction request.

### Claim 18 (depends on 17)

The computer readable storage medium of claim 17, wherein determining further comprises:
querying values within a digest information repository; and
when values within the digest information repository are committed, detecting receipt of a reset command.

### Claim 19 (depends on 15)

The computer readable storage medium of claim 15, wherein directing further comprises:
determining the one or more protected memory regions from the received load instruction request; and
providing a request including parameters of the one or more protected memory regions to a memory protection element, such that the memory protection element establishes the secure memory region requested by a load secure region operation according to the load instruction.

### Claim 20 (depends on 15)

The computer readable storage medium of claim 15, wherein programming further comprises:
clearing the digest information repository; and
recording security environment information within the digest information repository.

### Claim 21 (depends on 15)

The computer readable storage medium of claim 15, wherein storing further comprises:
hashing contents within the secure memory environment to generate a cryptographic hash value as a secure software identification value for software loaded within the secure memory environment;
storing the secure software identification value within the digest information repository; and
releasing a load operation exclusivity mutex.

### Claim 22 (depends on 15)

The computer readable storage medium of claim 15, further comprising:
receiving a security authentication request from an outside agent;
accessing, via a secure channel, a software identification value;
digitally signing the software hash identification value; and
transmitting the digitally signed software identification value to the outside agent, such that the outside agent may examine a component state of secure software within the secure memory environment and decide whether to trust the secure software.

### Claim 23 (depends on 15)

The computer readable storage medium of claim 15, further comprising:
issuing a processor reset request to a system chipset; and
resetting, by the chipset, all processors coupled to the chipset in response to the processor reset request.

### Claim 24

A computer readable storage medium comprising:
resetting, in response to a secure reset request, one or more processors within a system, the secure reset request issued following completion of a load secure region operation; and
re-enabling processor read/write access to one or more protected memory regions of a secure memory environment formed in accordance with a load secure region instruction to establish a secure environment.

### Claim 25 (depends on 24)

The computer readable storage medium of claim 24, wherein resetting further comprises:
issuing, to a system chipset platform, a processor reset command; and
issuing, by the chipset platform, a reset request to each of the one or more processors.

### Claim 26 (depends on 25)

The computer readable storage medium of claim 25, wherein issuing further comprises:
performing a data write to an input/output port address; and
decoding, by the chipset platform, the data right to detect a processor reset command.

### Claim 27 (depends on 24)

The computer readable storage medium of claim 24, wherein re-enabling further comprises:
committing data within a digest information repository to indicate a currently active reset command;
causing each of the processors coupled to the system to enter a known privilege state; and
programming a memory protection element to re-enable processor read/write to the secure memory environment.

### Claim 28 (depends on 27)

The computer readable storage medium of claim 27, wherein each of the processors further comprises:
setting data storage elements within the processor to one of the constant values stored in/generated by the processor and values derived from parameters specified by security initiation software at issuance of the load secure region instruction.

### Claim 29

An apparatus, comprising:
a memory controller;
a plurality of processors, each coupled to the memory controller and each having circuitry to execute instructions;
a memory protection element coupled to the memory controller, the memory protection element to block unauthorized memory access to one or more protected memory regions;
a digest information repository coupled to the memory controller to store a secure software identification value; and
a memory device coupled to the memory controller, having sequences of instructions stored therein, including at least one loading instruction, which when executed by a processor cause the processor to:
disregard a received load secure region instruction when a currently active load secure region operation is detected,
otherwise, direct, in accordance with a load secure region operation corresponding to the received load secure region instruction, a memory protection element to form a secure memory environment including one or more protected memory regions, such that unauthorized read/write access to the one or more protected memory regions is prohibited, and
store, according to the load secure region operation, within the digest information repository, a cryptographic hash value of the one or more protected memory regions as the secure software identification value, thereby enabling establishment of security verification of the secure memory environment by an outside agent.

### Claim 30 (depends on 29)

The apparatus of claim 29, wherein the processor is further caused to:
receive a security authentication request from an outside agent;
access, via a secure channel, a secure software identification value;
digitally sign the secure software identification value; and
transmit the digitally signed secure software identification value to the outside agent, such that the outside agent may examine a component state of secure software within the secure memory environment and decide whether to trust the secure software.

### Claim 31 (depends on 29)

The apparatus of claim 29, wherein the processor is further caused to:
reset, in response to a secure reset request, each of the plurality of processors, the secure reset request issued following completion of the load instruction; and
re-enable processor read/write access to the one or more protected memory regions of the secure memory environment formed in accordance with the load secure region operation to establish a secure environment.

### Claim 32 (depends on 29)

The apparatus of claim 29, wherein the instruction to re-enable further causes the processor to:
commit data within a digest information repository to indicate a currently active secure reset command;
cause each of the processors coupled to the system to enter a known privilege state; and
direct a memory protection element to re-enable processor read/write access to the secure memory environment.

### Claim 33 (depends on 32)

The apparatus of claim 32, wherein the instruction to cause processors to enter a privilege state further causes the processor to:
set data storage elements within the plurality of processors to one of the constant values stored in/generated by the processor and values derived from parameters specified by security initiation software at issuance of the load secure region instruction.

### Claim 34

A system comprises:
a memory controller;
a plurality of processors, each coupled to the memory controller and each having circuitry to execute instructions;
a memory protection element coupled to the memory controller, the memory protection element to block unauthorized memory access to one or more protected memory regions;
an I/O controller coupled to the memory controller;
a verification unit coupled to the I/O controller and including a digest information repository to store a secure software identification value and to provide security verification to an outside agent; and
a storage device coupled to the memory controller, having sequences of instructions stored therein including at least one load instruction, which when executed by a processor causes the processor to:
disregard a received load secure region operation when a currently active load instruction is detected,
otherwise, direct, in accordance with a load secure region operation corresponding to the received load instruction, a memory protection element to form a secure memory environment including one or more protected memory regions, such that unauthorized read/write access to the one or more protected memory regions is prohibited, and
store, within the digest information repository, a cryptographic hash value of the one or more protected memory regions, thereby enabling establishment of security verification of the secure memory environment by an outside agent.

### Claim 35 (depends on 34)

The system of claim 34, wherein the processor is further caused to:
receive a security authentication request from an outside agent;
access, via a secure channel, a secure software identification value;
digitally sign the secure software identification value; and
transmit the digitally signed secure software identification value to the outside agent, such that the outside agent may examine a component state of secure software within the secure memory environment and decide whether to trust the secure software.

### Claim 36 (depends on 34)

The system of claim 34, wherein the processors is further caused to:
reset, in response to a secure reset request, each of the plurality of processors, the secure reset request issued following completion of the load secure region instruction request; and
re-enable processor read/write access to the one or more protected memory regions of the secure memory environment formed in accordance with the load secure region operation to establish a secure environment.

### Claim 37 (depends on 34)

The system of claim 34, wherein the instruction to re-enable further causes the processor to:
commit data within a digest information repository to indicate a currently active secure reset command;
cause each of the plurality of processors to enter a known privilege state; and
direct a memory protection element to re-enable processor read/write access to the secure memory environment.

### Claim 38 (depends on 37)

The system of claim 37, wherein the instruction to cause processors to enter a privilege state further causes the processor to:
set data storage elements within the plurality of processors to one of the constant values stored in/generated by the processor and values derived from parameters specified by security initiation software at issuance of the load secure region instruction.
