Systems and methods for dynamically protecting a stack from below the operating system
Abstract
Described systems and methods allow protecting a host system against malware, using hardware virtualization technology. A memory introspection engine executes at the level of a hypervisor, protecting a virtual machine (VM) from exploits targeting the call stack of a thread executing within the respective VM. The introspection engine identifies a virtual memory page reserved for the stack, but not committed to the stack, and intercepts an attempt to write to the respective page. In response to intercepting the write attempt, the memory introspection engine marks the respective page as non-executable, thus protecting the stack against exploits.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 22 · Forward citations: 7.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method comprising employing at least one hardware processor of a host system to execute a memory introspection engine, the memory introspection engine executing outside of a virtual machine exposed by the host system, the virtual machine comprising a virtualized processor and a virtualized physical memory, the virtual machine configured to employ the virtualized processor to execute a target thread of a process, and wherein executing the memory introspection engine comprises: identifying within a virtual memory space of the process a target page reserved for a call stack of the target thread
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (7 of 7 total)
References Cited — Backward Prior Art (22)
Non-Patent Literature (5)
- Cowan et al., "StackGuard: Automatic Adaptive Detection and Prevention of Buffer-Overflow Attacks," Proceedings of the 7th USENIX Security Symposium, San Antonio, Texas, Jan. 26-29, 1998.
- European Patent Office (ISA), International Search Report and Written Opinion for International Application No. PCT/RO2015/050005, international filing date Jun. 23, 2015.
- ISEC Security Research, "kNox-implementation of non-executable page protection mechanism," http://isec.pl/projects/knox/knox.html, iSEC Security Research, Poland, downloaded on Apr. 4, 2014.
- ISEC Security Research, “kNox—implementation of non-executable page protection mechanism,” http://isec.pl/projects/knox/knox.html, iSEC Security Research, Poland, downloaded on Apr. 4, 2014.
- Ven, Arjan van de, "New Security Enhancements in Red Hat Enterprise Linux v.3, update 3," Red Hat Inc., Raleigh, North Carolina, Aug. 2004.