Patents
US 10,083,129 B2#44695000 Most CitedActiveUnited States (USPTO)Utility

Code loading hardening by hypervisor page table switching

2Forward Citations (#44695000 Global)
0.2/yrCitation Velocity (#29387496 Global)
0.89Citation PageRank (#47858906 Global)
23Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Systems and methods are provided for modifying one or more guest memory permissions. An example method includes receiving a request to modify a memory permission of a guest running on a virtual machine. The guest includes a kernel that includes loading code and kernel code. The method also includes determining whether the request was sent from the loading code. The loading code corresponds to a first set of hypervisor page tables and is stored at a first range of memory addresses, and the kernel code corresponds to a second set of hypervisor page tables. The first range of memory addresses is in an executable mode in the first set of hypervisor page tables. The method further includes in response to a determination that the request was sent from the loading code, modifying the guest's memory permission in the second set of hypervisor page tables in accordance with the request.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method of modifying one or more guest memory permissions stored in a hypervisor page table, comprising: receiving, by a hypervisor, a request to modify a memory permission of a guest running on a virtual machine, the virtual machine and hypervisor running on a host machine, and the guest including a kernel that includes loading code and kernel code; determining, by the hypervisor, whether the request was sent from the loading code, the loading code corresponding to a first set of hypervisor page tables and being stored at a first range of memory addresses, the kernel code corresponding to a

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (23)

PatentTitleYearCitations
US 2006026385 A1Method for patching virtually aliased pages by a virtual-machine monitor—52
US 2006259818 A1Deterministic multiprocessor computer system—126
US 7,584,473 B2Highly componentized system architecture with loadable virtual memory manager200923
US 8,239,673 B2Methods, apparatus and systems with loadable kernel architecture for processors20127
US 2013007325 A1Secure handling of interrupted events—19
US 8,407,515 B2Partition transparent memory error handling in a logically partitioned computer system with mirrored memory201316
US 2013132690 A1Selective access to executable memory—138
US 2013191577 A1Increasing virtual-memory efficiencies—12
US 8,799,879 B2Method and apparatus for protecting translated code in a virtual machine201419
US 2015089502 A1Method and System for Providing Secure System Execution on Hardware Supporting Secure Application Execution—54
US 9,038,176 B2System and method for below-operating system trapping and securing loading of code into memory201523
US 9,183,161 B2Apparatus and method for page walk extension for enhanced security checks20153
US 9,195,487 B2Interposition method suitable for hardware-assisted virtual machine20154
US 9,256,552 B2Selective access to executable memory201611
US 2016092678 A1Protecting Application Secrets from Operating System Attacks—50
US 9,400,885 B2Computer security systems and methods using virtualization exceptions201612
US 9,703,726 B2Systems and methods for dynamically protecting a stack from below the operating system20177
US 2017242719 A1Securing code loading in a virtual environment—12
US 2017262306 A1Nested virtualization for virtual machine exits—24
US 2017286673 A1Malware-Resistant Application Control in Virtualized Environments—30
US 2017286694 A1Method and apparatus for performing protected walk based shadow paging—11
US 2017344494 A1Increasing virtual-memory efficiencies—3
US 2018032447 A1Controlling Access to Pages in a Memory in a Computing Device—33

Non-Patent Literature (5)

  • Elwell et al. "Hardening Extended Memory Access Control Schemes with Self-Verified Address Spaces", 978-1-5386-3093-8/17, IEEE '17.
  • Kernel-guard, http://gentoo-hardened.gentoo.narkive.com/9t16yPd0/kernel-guard.
  • Nathan E. Rosenblum, Gregory Cooksey, Barton P. Miller, "Virtual Machine-Provided Context Sensitive Page Mappings", Computer Sciences Department, University of Wisconsin-Madison, Mar. 2008, ftp://ftp.cs.wisc.edu/paradyn/papers/Rosenblum08cspm.pdf.
  • Sven Vermeulen, Checksec Kernel Security, Jul. 24, 2011, http://blog.siphos.be/2011/07/checksec-kernel-security/.
  • Taylor Merry, "Linux Kernel Hardening", Nov. 18, 2003, https://www.sans.org/reading-room/whitepapers/linux/linux-kernel-hardening-1294.