# US 10,956,571 B2 · Kernel runtime integrity using processor assists

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

- Number: US 10,956,571 B2
- Document ID: US10956571B2
- Status: Granted
- Kind: B2
- Application number: 14/998,060
- Filed: 2015-12-24
- Published: 2016-11-17
- Granted: 2021-03-23
- Earliest claimed: 2015-05-15
- Assignees: Intel Corporation
- Applicants: Harshawardhan Vipat; Manohar R. Castelino; Dongsheng Zhang; Kuo-Lang Tseng
- Inventors: Harshawardhan Vipat; Manohar R. Castelino; Dongsheng Zhang; Kuo-Lang Tseng
- Web page: https://patentgrep.com/patent/US10956571B2

## CPC

- G06F 21/566: {Dynamic detection, i.e. detection performed at run-time, e.g. emulation, suspicious activities}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 21/53: by executing in a restricted environment, e.g. sandbox or secure virtual machine
- G06F 21/56: Computer malware detection or handling, e.g. anti-virus arrangements
- 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 2009/45587: {Isolation or security of virtual machine instances}
- G06F 2221/034: Test or assess a computer or a system
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems, apparatuses and methods may provide for locating operating system (OS) kernel information and user mode code in physical memory, wherein the kernel information includes kernel code and kernel read only data, and specifying permissions for the kernel information and the user code in an extended page table (EPT). Additionally, systems, apparatuses and methods may provide for switching, in accordance with the permissions, between view instances of the EPT in response to one or more hardware virtualization exceptions.

## Claims

### Claim 1

A system comprising:
a system processor; and
a hypervisor, implemented at least partly in one or more of configurable logic or fixed functionality logic hardware, including an extension monitor engine to:
locate operating system (OS) kernel information and user mode code in physical memory based on state information stored in a processor data structure, wherein the kernel information is to include kernel code, kernel page table mappings, and kernel read only data;
specify permissions for the kernel information and the user mode code in an extended page table; and
switch, in accordance with the permissions, between view instances of the extended page table in response to one or more hardware virtualization exceptions,
wherein the extension monitor engine operates in a special privilege mode that is more restrictive than a kernel mode and does not require modification to the operating system.

### Claim 2 (depends on 1)

The system of claim 1, wherein the extension monitor engine de-privileges the operating system and causes the operating system to operate in a less restrictive privilege mode than the special privilege mode.

### Claim 3 (depends on 1)

The system of claim 1, wherein a system policy may be dynamically configured at runtime.

### Claim 4 (depends on 1)

The system of claim 1, wherein the boot process may be adjusted to start the extension monitor engine before the operating system to allow the extension monitor engine to take control of the system hardware.

### Claim 5 (depends on 1)

The system of claim 1, wherein the extension monitor engine operates in a virtual machine extension root operation.

### Claim 6 (depends on 5)

The system of claim 5, wherein the virtual machine extension root operation protects the operating system.

### Claim 7 (depends on 1)

The system of claim 1, wherein a virtual machine extension monitor adjusts and sets a system policy.

### Claim 8 (depends on 1)

The system of claim 1, wherein the permissions may be determined via multiple views that outline permission maps.

### Claim 9

At least one non-transitory computer readable storage medium comprising a set of instructions, which when executed by a computing device, cause the computing device to:
locate operating system (OS) kernel information and user mode code in physical memory based on state information stored in a processor data structure, wherein the kernel information is to include kernel code, kernel page table mappings, and kernel read only data;
specify permissions for the kernel information and the user mode code in an extended page table; and
switch, in accordance with the permissions, between view instances of the extended page table in response to one or more hardware virtualization exceptions, wherein at least one component operates in a special privilege mode that is more restrictive than a kernel mode and does not require modification to the operating system.

### Claim 10 (depends on 9)

The at least one non-transitory computer readable storage medium of claim 9, wherein the instructions, when executed, cause the computing device to:
de-privilege the operating system; and
cause the operating system to operate in a less restrictive privilege mode than the special privilege mode.

### Claim 11 (depends on 9)

The at least one non-transitory computer readable storage medium of claim 9, wherein the instructions, when executed, cause the computing device to dynamically configure a system policy at runtime.

### Claim 12 (depends on 9)

The at least one non-transitory computer readable storage medium of claim 9, wherein the instructions, when executed, cause the computing device to adjust the boot process to start an extension monitor engine before the operating system to allow the extension monitor engine to take control of the system hardware.

### Claim 13 (depends on 9)

The at least one non-transitory computer readable storage medium of claim 9, wherein the instructions, when executed, cause the computing device to operate an extension monitor engine in a virtual machine extension root operation.

### Claim 14 (depends on 13)

The at least one non-transitory computer readable storage medium of claim 13, wherein the virtual machine extension root operation protects the operating system.

### Claim 15 (depends on 9)

The at least one non-transitory computer readable storage medium of claim 9, wherein the instructions, when executed, cause the computing device to adjust and set a system policy.

### Claim 16 (depends on 9)

The at least one non-transitory computer readable storage medium of claim 9, wherein the instructions, when executed, cause the computing device to determine the permissions via multiple views that outline permission maps.

### Claim 17

A method comprising:
locating operating system (OS) kernel information and user mode code in physical memory based on state information stored in a processor data structure, wherein the kernel information is to include kernel code, kernel page table mappings, and kernel read only data;
specifying permissions for the kernel information and the user mode code in an extended page table; and
switching, in accordance with the permissions, between view instances of the extended page table in response to one or more hardware virtualization exceptions, wherein at least one component operates in a special privilege mode that is more restrictive than a kernel mode and does not require modification to the operating system.

### Claim 18 (depends on 17)

The method of claim 17, further including:
de-privileging the operating system; and
causing the operating system to operate in a less restrictive privilege mode than the special privilege mode.

### Claim 19 (depends on 17)

The method of claim 17, further including dynamically configuring a system policy at runtime.

### Claim 20 (depends on 17)

The method of claim 17, further including adjusting the boot process to start an extension monitor engine before the operating system to allow the extension monitor engine to take control of the system hardware.

### Claim 21 (depends on 17)

The method of claim 17, further including operating an extension monitor engine in a virtual machine extension root operation.

### Claim 22 (depends on 21)

The method of claim 21, wherein the virtual machine extension root operation protects the operating system.

### Claim 23 (depends on 17)

The method of claim 17, further including adjusting and setting a system policy.

### Claim 24

An apparatus comprising:
a hypervisor, implemented at least partly in one or more of configurable logic or fixed functionality logic hardware, including an extension monitor engine to:
locate operating system (OS) kernel information and user mode code in physical memory based on state information stored in a processor data structure, wherein the kernel information is to include kernel code, kernel page table mappings, and kernel read only data;
specify permissions for the kernel information and the user mode code in an extended page table; and
switch, in accordance with the permissions, between view instances of the extended page table in response to one or more hardware virtualization exceptions,
wherein the extension monitor engine operates in a special privilege mode that is more restrictive than a kernel mode and does not require modification to the operating system.

### Claim 25 (depends on 24)

The apparatus of claim 24, wherein the extension monitor engine de-privileges the operating system and causes the operating system to operate in a less restrictive privilege mode than the special privilege mode.
