# US 2017/0286679 A1 · System, Apparatus And Method For Performing Secure Memory Training And Management In A Trusted Environment

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

- Number: US 2017/0286679 A1
- Document ID: US20170286679A1
- Status: Published application
- Kind: A1
- Application number: 15/084,564
- Filed: 2016-03-30
- Published: 2017-10-05
- Earliest claimed: 2016-03-30
- Assignees: McAfee, Inc.
- Applicants: McAfee, Inc.
- Inventors: Atul A. Khare; Karunakara Kotary; Rajesh Poornachandran; Vincent J. Zimmer; Sudeep Das
- Web page: https://patentgrep.com/patent/US20170286679A1

## CPC

- G06F 21/74: operating in dual or compartmented mode, i.e. at least one secure mode
- G06F 9/445: Program loading or initiating (bootstrapping G06F9/4401; security arrangements for program loading or initiating G06F21/57)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In one embodiment, a system includes: a processor; a security processor to execute in a trusted executed environment (TEE), the security processor to execute memory reference code (MRC) stored in a secure storage of the TEE to train a memory coupled to the processor; and the memory coupled to the processor. Other embodiments are described and claimed.

## Claims

### Claim 1

A processor comprising:
at least one core to execute instructions; and
a security engine coupled to the at least one core to execute transparently to an operating system (OS) to execute on the at least one core, the security engine including a memory reference code (MRC) module to perform training for a memory coupled to the processor transparently to the OS while the at least one core is to perform a workload orthogonal to the training.

### Claim 2 (depends on 1)

The processor of claim 1, wherein the security engine is to execute in a trusted execution environment.

### Claim 3 (depends on 1)

The processor of claim 1, wherein the MRC module is to execute MRC code stored in an internal memory of the security engine.

### Claim 4 (depends on 1)

The processor of claim 1, wherein the MRC module is to perform the training responsive to a hot plug insert of the memory.

### Claim 5 (depends on 4)

The processor of claim 4, further comprising a basic input/output system (BIOS) to execute on the at least one core, the BIOS detect the hot plug insert and communicate the detection to a platform driver, the platform driver to issue a request to the security engine to initiate the training for the memory.

### Claim 6 (depends on 5)

The processor of claim 5, wherein the MRC module is to alert the platform driver regarding a result of the training.

### Claim 7 (depends on 5)

The processor of claim 5, wherein the MRC module is to cause the BIOS to update a memory controller with configuration information of the hot plug memory.

### Claim 8 (depends on 3)

The processor of claim 3, wherein the MRC code is to be dynamically updated from a remote source via an out-of-band channel.

### Claim 9 (depends on 8)

The processor of claim 8, wherein the MRC module, responsive to execution of updated MRC code, is to cause update to at least one configuration parameter of the memory, to reduce an exploit scenario.

### Claim 10

At least one computer readable storage medium comprising instructions that when executed enable a system to:
receive, in a trusted execution environment (TEE) of a processor of the computing system, a request to perform training of a memory of the computing system;
perform the training of the memory via the TEE, responsive to training code stored in an internal memory of the TEE; and
report a result of the training to a driver that executes on at least one core of the processor, wherein the at least one core is to execute at least one workload during the training.

### Claim 11 (depends on 10)

The at least one computer readable medium of claim 10, further comprising instructions that when executed enable the TEE to receive the request to perform the training from the driver, the driver to receive an indication of a hot plug event from a basic input/output system.

### Claim 12 (depends on 10)

The at least one computer readable medium of claim 10, further comprising instructions that when executed enable the TEE to receive update information from an external entity and update the training code based on the update information.

### Claim 13 (depends on 12)

The at least one computer readable medium of claim 12, wherein the update information includes updated configuration parameter information to mitigate an exploit scenario.

### Claim 14 (depends on 13)

The at least one computer readable medium of claim 13, wherein the update information is based on crowd-sourced data.

### Claim 15 (depends on 12)

The at least one computer readable medium of claim 12, wherein the update information includes refresh rate information.

### Claim 16

A system comprising:
a processor;
a security processor to execute in a trusted executed environment (TEE), the security processor to execute memory reference code (MRC) stored in a secure storage of the TEE to train a memory coupled to the processor, wherein the security processor is to execute the MRC transparently to a basic input/output system (BIOS); and
the memory coupled to the processor.

### Claim 17 (depends on 16)

The system of claim 16, wherein the processor further comprises at least one core, the at least one core to execute an orthogonal workload while the security processor is to execute the MRC.

### Claim 18 (depends on 16)

The system of claim 16, wherein the security processor is to train the memory responsive to a hot plug insert of the memory.

### Claim 19 (depends on 16)

The system of claim 16, further comprising a network interface to communicate with a remote administrator, the security processor to communicate with the remote administrator via an out-of-band channel, wherein the security processor is to receive one or more MRC patch updates via the out-of-band channel and store the one or more MRC patch updates in the secure storage.

### Claim 20 (depends on 19)

The system of claim 19, wherein the security processor is, responsive to a next request to train the memory, to execute the MRC having the one or more MRC patch updates.

### Claim 21 (depends on 16)

The system of claim 16, wherein the security processor is further to execute malware detection code, the system further comprising a network interface to communicate with a malware remediation agent, the security processor to communicate with the malware remediation agent via an out-of-band channel, wherein the security processor is to receive one or more malware detection code patch updates via the out-of-band channel and store the one or more malware detection code patch updates in the secure storage.
