# US 10,956,564 B2 · Systems and methods for key-based isolation of system management interrupt (SMI) functions and data

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

- Number: US 10,956,564 B2
- Document ID: US10956564B2
- Status: Granted
- Kind: B2
- Application number: 16/182,236
- Filed: 2018-11-06
- Published: 2020-05-07
- Granted: 2021-03-23
- Earliest claimed: 2018-11-06
- Assignees: Dell Products L.P.
- Applicants: Dell Products L.P.
- Inventors: Girish S. Dhoble; Ricardo L. Martinez; Nicholas D. Grobelny; Abeye Teshome
- Web page: https://patentgrep.com/patent/US10956564B2

## CPC

- G06F 21/54: by adding security routines or objects to programs
- G06F 12/1408: {by using cryptography (for digital transmission H04L9/00)}
- G06F 12/1441: {for a range}
- G06F 12/1491: {in a hierarchical protection system, e.g. privilege levels, memory rings}
- G06F 21/572: {Secure firmware programming, e.g. of basic input output system [BIOS]}
- G06F 21/602: {Providing cryptographic facilities or services}
- G06F 21/6281: {at program execution time, where the protection is within the operating system}
- G06F 2212/1052: Security improvement
- G06F 2212/402: Encrypted data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods that may be implemented to use encryption to isolate SMI functions, libraries and data from each other, such as during operation of systems management mode (SMM). Isolation of SMI function, library and data (and limitation of SMI function/library privileges) may be achieved in SMI at runtime by decrypting only that code and data needed for performing the required action/s in response to a SMI received from a calling process by a host processor (e.g., CPU).

## Claims

### Claim 1

An information handling system, comprising:
a system memory; and
a programmable integrated circuit coupled to the system memory, the programmable integrated circuit being programmed to operate in a system management mode (SMM) to respond to a request received from a calling process executing on the programmable integrated circuit for access to at least one encrypted system management interrupt (SMI) function/library stored in the system memory by:
decrypting the requested SMI function/library from the system memory,
executing the decrypted requested SMI function/library from the system memory, and
then re-encrypting the requested SMI function/library in the system memory; and
where the programmable integrated circuit is programmed to operate in a non-SMM mode during normal operating system runtime, and to respond to receipt of a first system management interrupt (SMI) by:
entering a first SMM mode, decrypting, loading and executing a first SMI function or library from system memory that corresponds to the first SMM,
re-encrypting the first SMI function/library in the system memory after executing the first SMI function or library, and
then exiting the first SMM mode and returning to the normal operating system runtime.

### Claim 2 (depends on 1)

The information handling system of claim 1, where the requested SMI function/library in the system storage is a first SMI function/library that is encrypted by a first cryptographic key that is unique to the first SMI function/library and that is different from a second and different cryptographic key that is unique to at least one other second SMI function/library that is stored in the same system memory; and where the programmable integrated circuit is programmed to respond to a request received from a first calling process executing on the programmable integrated circuit by:
using the first cryptographic key to decrypt the requested first SMI function/library in the system memory prior to executing the decrypted first SMI function/library from the system memory, and
then using the first cryptographic key to re-encrypt the decrypted first SMI function/library in the system memory after executing the decrypted first SMI function/library.

### Claim 3 (depends on 1)

The information handling system of claim 1, where the encrypted SMI function/library is provisioned and stored as part of the system basic input/output system (BIOS) during manufacture or assembly of the information handling system; and where the programmable integrated circuit is programmed to load the encrypted SMI function/library into system memory, and to access the encrypted SMI function/library in system memory to decrypt and execute the encrypted SMI function/library.

### Claim 4 (depends on 1)

The information handling system of claim 1, where the programmable integrated circuit is programmed to dynamically add the encrypted SMI function/library at runtime to system basic input/output system (BIOS).

### Claim 5 (depends on 1)

The information handling system of claim 1, where the programmable integrated circuit is programmed to respond to receipt of a second system management interrupt (SMI) by:
entering a second SMM different from the first SMM mode, decrypting, loading and executing a second SMI function or library from system memory that corresponds to the second SMM and that is different from the first SMI function or library;
re-encrypting the second SMI function/library in the system memory after executing the second SMI function or library; and
then exiting the first SMM mode and returning to the normal operating system runtime.

### Claim 6

An information handling system, comprising:
a system memory; and
a programmable integrated circuit coupled to the system memory, the programmable integrated circuit being programmed to operate in a system management mode (SMM) to respond to a request received from a calling process executing on the programmable integrated circuit for access to at least one encrypted system management interrupt (SMI) function/library stored in the system memory by:
decrypting the requested SMI function/library from the system memory,
executing the decrypted requested SMI function/library from the system memory, and
then re-encrypting the requested SMI function/library in the system memory;
where the requested SMI function/library in the system storage is a first SMI function/library that is encrypted by a first cryptographic key that is unique to the first SMI function/library and that is different from a second and different cryptographic key that is unique to at least one other second SMI function/library that is stored in the same system memory; and where the programmable integrated circuit is programmed to respond to a request received from a first calling process executing on the programmable integrated circuit by:
using the first cryptographic key to decrypt the requested first SMI function/library in the system memory prior to executing the decrypted first SMI function/library from the system memory, and
then using the first cryptographic key to re-encrypt the decrypted first SMI function/library in the system memory after executing the decrypted first SMI function/library; and
where the programmable integrated circuit is further programmed to respond to a request received from a second calling process different from the first calling process that is executing on the programmable integrated circuit for access to the second encrypted SMI function/library stored in the system memory by:
using the first cryptographic key to decrypt the requested second SMI function/library in the system memory prior to executing the decrypted second SMI function/library from the system memory, and
then using the first cryptographic key to re-encrypt the decrypted second SMI function/library in the system memory after executing the decrypted second SMI function/library.

### Claim 7 (depends on 6)

The information handling system of claim 6, where the programmable integrated circuit is further programmed to decrypt the first SMI function/library only upon receiving the first cryptographic key from the first calling process that is requesting access to the first SMI function/library, and to decrypt the second SMI function/library only upon receiving the second cryptographic key from the second calling process that is requesting access to the second SMI function/library.

### Claim 8

An information handling system, comprising:
a system memory; and
a programmable integrated circuit coupled to the system memory, the programmable integrated circuit being programmed to operate in a system management mode (SMM) to respond to a request received from a calling process executing on the programmable integrated circuit for access to at least one encrypted system management interrupt (SMI) function/library stored in the system memory by:
decrypting the requested SMI function/library from the system memory,
executing the decrypted requested SMI function/library from the system memory, and
then re-encrypting the requested SMI function/library in the system memory;
where the requested SMI function/library in the system storage is encrypted by a first cryptographic key; and where the programmable integrated circuit is programmed to:
receive the first cryptographic key as provided from the calling process with the request for access to the requested SMI function/library,
use the provided first cryptographic key to decrypt the requested SMI function/library in the system memory prior to executing the decrypted requested SMI function/library from the system memory, and
then use the provided first cryptographic key to re-encrypt the requested SMI function/library in the system memory after executing the decrypted requested SMI function/library.

### Claim 9 (depends on 8)

The information handling system of claim 8, where the programmable integrated circuit is programmed to:
execute the decrypted requested SMI function/library to produce data before re-encrypting the requested SMI function/library in the system memory; and
provide the produced data in unencrypted form to the calling process.

### Claim 10 (depends on 8)

The information handling system of claim 8, where the programmable integrated circuit comprises one or more memory registers; where the requested SMI function/library in the system storage is encrypted by the first cryptographic key; and where the programmable integrated circuit is programmed to:
execute an operating system (OS) to retrieve the first cryptographic key from the calling process that is requesting access to the SMI function/library, and to store the retrieved first cryptographic key in memory registers of the programmable integrated circuit;
then access the memory registers to retrieve the stored first cryptographic key from the memory registers;
then use the retrieved first cryptographic key to decrypt the requested SMI function/library in the system memory;
then execute the decrypted requested SMI function/library; and
then use the retrieved first cryptographic key to re-encrypt the requested SMI function/library in the system memory after executing the decrypted requested SMI function/library.

### Claim 11

A method, comprising operating a programmable integrated circuit of an information handling system in a system management mode (SMM) to respond to a request received from a calling process executing on the programmable integrated circuit for access to at least one encrypted system management interrupt (SMI) function/library stored in the system memory by:
decrypting the requested SMI function/library from the system memory;
executing the decrypted requested SMI function/library from the system memory; and
then re-encrypting the requested SMI function/library in the system memory;
where the method further comprises operating the programmable integrated circuit in a non-SMM mode during normal operating system runtime, and then to respond to receipt of a first system management interrupt (SMI) by:
entering a first SMM mode, decrypting, loading and executing a first SMI function or library from system memory that corresponds to the first SMM,
re-encrypting the first SMI function/library in the system memory after executing the first SMI function or library, and
then exiting the first SMM mode and returning to the normal operating system runtime.

### Claim 12 (depends on 11)

The method of claim 11, where the requested SMI function/library in the system storage is a first SMI function/library that is encrypted by a first cryptographic key that is unique to the first SMI function/library and that is different from a second and different cryptographic key that is unique to at least one other second SMI function/library that is stored in the same system memory; and where the method further comprises operating the programmable integrated circuit to respond to a request received from a first calling process executing on the programmable integrated circuit by:
using the first cryptographic key to decrypt the requested first SMI function/library in the system memory prior to executing the decrypted first SMI function/library from the system memory, and
then using the first cryptographic key to re-encrypt the decrypted first SMI function/library in the system memory after executing the decrypted first SMI function/library.

### Claim 13 (depends on 11)

The method of claim 11, where the programmable integrated circuit comprises one or more memory registers; where the requested SMI function/library in the system storage is encrypted by a cryptographic key; and where the method further comprises operating the programmable integrated circuit to:
execute an operating system (OS) to retrieve the cryptographic key from the calling process that is requesting access to the SMI function/library, and to store the retrieved cryptographic key in memory registers of the programmable integrated circuit;
then access the memory registers to retrieve the store cryptographic key from the memory registers;
then use the retrieved cryptographic key to decrypt the requested SMI function/library in the system memory;
then execute the decrypted requested SMI function/library; and
then use the retrieved cryptographic key to re-encrypt the requested SMI function/library in the system memory after executing the decrypted requested SMI function/library.

### Claim 14 (depends on 11)

The method of claim 11, further comprising operating the programmable integrated circuit to dynamically add the encrypted SMI function/library at runtime to system basic input/output system (BIOS), then load the encrypted SMI function/library into system memory, and then access the encrypted SMI function/library in system memory to decrypt and execute the encrypted SMI function/library.

### Claim 15 (depends on 11)

The method of claim 11, further comprising operating the programmable integrated circuit to respond to receipt of a second system management interrupt (SMI) by:
entering a second SMM different from the first SMM mode, decrypting, loading and executing a second SMI function or library from system memory that corresponds to the second SMM and that is different from the first SMI function or library;
re-encrypting the second SMI function/library in the system memory after executing the second SMI function or library; and
then exiting the first SMM mode and returning to the normal operating system runtime.

### Claim 16

A method, comprising operating a programmable integrated circuit of an information handling system in a system management mode (SMM) to respond to a request received from a calling process executing on the programmable integrated circuit for access to at least one encrypted system management interrupt (SMI) function/library stored in the system memory by:
decrypting the requested SMI function/library from the system memory;
executing the decrypted requested SMI function/library from the system memory; and
then re-encrypting the requested SMI function/library in the system memory;
where the requested SMI function/library in the system storage is a first SMI function/library that is encrypted by a first cryptographic key that is unique to the first SMI function/library and that is different from a second and different cryptographic key that is unique to at least one other second SMI function/library that is stored in the same system memory; and where the method further comprises operating the programmable integrated circuit to respond to a request received from a first calling process executing on the programmable integrated circuit by:
using the first cryptographic key to decrypt the requested first SMI function/library in the system memory prior to executing the decrypted first SMI function/library from the system memory, and
then using the first cryptographic key to re-encrypt the decrypted first SMI function/library in the system memory after executing the decrypted first SMI function/library; and
where the method further comprises operating the programmable integrated circuit to receive and respond to a request received from a second calling process different from the first calling process that is executing on the programmable integrated circuit for access to the second encrypted SMI function/library stored in the system memory by:
using the first cryptographic key to decrypt the requested second SMI function/library in the system memory prior to executing the decrypted second SMI function/library from the system memory, and
then using the first cryptographic key to re-encrypt the decrypted second SMI function/library in the system memory after executing the decrypted second SMI function/library.

### Claim 17 (depends on 16)

The method of claim 16, where the method further comprises operating the programmable integrated circuit to decrypt the first SMI function/library only upon receiving the first cryptographic key from the first calling process that is requesting access to the first SMI function/library, and to decrypt the second SMI function/library only upon receiving the second cryptographic key from the second calling process that is requesting access to the second SMI function/library.

### Claim 18

A method, comprising operating a programmable integrated circuit of an information handling system in a system management mode (SMM) to respond to a request received from a calling process executing on the programmable integrated circuit for access to at least one encrypted system management interrupt (SMI) function/library stored in the system memory by:
decrypting the requested SMI function/library from the system memory;
executing the decrypted requested SMI function/library from the system memory; and
then re-encrypting the requested SMI function/library in the system memory;
where the requested SMI function/library in the system storage is encrypted by a first cryptographic key; and where the method further comprises operating the programmable integrated circuit to:
receive the first cryptographic key as provided from the calling process with the request for access to the requested SMI function/library,
use the provided first cryptographic key to decrypt the requested SMI function/library in the system memory,
execute the decrypted requested SMI function/library to produce data and provide the produced data in unencrypted form to the calling process, and
then use the provided first cryptographic key to re-encrypt the requested SMI function/library in the system memory after executing the decrypted requested SMI function/library.

### Claim 19

A method, comprising operating a programmable integrated circuit of an information handling system in a system management mode (SMM) to respond to a request received from a calling process executing on the programmable integrated circuit for access to at least one encrypted system management interrupt (SMI) function/library stored in the system memory by:
decrypting the requested SMI function/library from the system memory;
executing the decrypted requested SMI function/library from the system memory; and
then re-encrypting the requested SMI function/library in the system memory;
where the method further comprises provisioning and storing the encrypted SMI function/library as part of the system basic input/output system (BIOS) during manufacture or assembly of the information handling system; and then operating the programmable integrated circuit to load the encrypted SMI function/library into system memory, and to access the encrypted SMI function/library in system memory to decrypt and execute the encrypted SMI function/library.
