Kernel runtime integrity using processor assists
AssigneeIntel Corporation
InventorsHarshawardhan Vipat, Manohar R. Castelino, Dongsheng Zhang, Kuo-Lang Tseng
Life of this patent
Estimating the term…
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.
Claims25
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.
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.
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.
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.
Dependencies are inferred from the claim text.