Patents
US 9,501,637 B2#9669551 Most CitedActiveUnited States (USPTO)Utility

Hardware shadow stack support for legacy guests

11Forward Citations (#9669551 Global)
1.1/yrCitation Velocity (#5828071 Global)
1.60Citation PageRank (#20632044 Global)
22Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Technologies for shadow stack support for legacy guests include a computing device having a processor with shadow stack support. During execution of a call instruction, the processor determines whether a legacy stack pointer is within bounds and generates a virtual machine exit if the legacy stack pointer is out-of-bounds. If not out-of-bounds, the processor pushes a return address onto the legacy stack and onto a shadow stack protected by a hypervisor. During execution of a return instruction, the processor determines whether top return addresses of the legacy stack and the shadow stack match, and generates a virtual machine exit if the return addresses do not match. If the return addresses match, the processor pops the return addresses off of the legacy stack and off of the shadow stack. The stack out-of-bounds and the stack mismatch virtual machine exits may be handled by the hypervisor. Other embodiments are described and claimed.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for shadow stack support for legacy guests, the method comprising: executing, by a call module of a processor of a computing device, a call instruction in stack monitoring mode, wherein executing the call instruction comprises: determining, by the call module, whether a legacy stack pointer of the computing device is within a stack bounds of the computing device; generating, by the call module, a virtual machine exit to a stack out-of-bounds handler in response to determining the legacy stack pointer is not within the stack bounds; pushing, by the call module, a return address onto a

Technical Overview & Description

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

References Cited — Backward Prior Art (22)

PatentTitleYearCitations
US 6,349,383 B1System for combining adjacent push/pop stack program instructions into single double push/pop stack microinstuction for execution200240
US 7,581,089 B1Method of protecting a computer stack2009144
US 2009307431 A1Memory management for closures—15
US 2012167120 A1Detecting a return-oriented programming exploit—73
US 2013117843 A1Methods, Devices, And Systems For Detecting Return-Oriented Programming Exploits—65
US 2014082327 A1Continuous run-time validation of program execution: a practical approach—58
US 2014096245 A1Protection Against Return Oriented Programming Attacks—39
US 2014344932 A1Systems, methods, and media for detecting return-oriented programming payloads—25
US 2014365742 A1Systems and methods for preventing unauthorized stack pivoting—33
US 2015095617 A1Using software having control transfer termination instructions with software not having control transfer termination instructions—9
US 2015128266 A1Systems and methods for detecting return-oriented programming (ROP) exploits—20
US 9,058,492 B1Techniques for reducing executable code vulnerability201538
US 2015186296 A1Systems And Methods For Security In Computer Systems—27
US 2015215335 A1Detecting and preventing execution of software exploits—60
US 2015256294 A1Transmission apparatus—2
US 2015278516 A1Return-target restrictive return from procedure instructions, processors, methods, and systems—28
US 2015339480 A1Hardware-Enabled Prevention of Code Reuse Attacks—48
US 9,250,937 B1Code randomization for just-in-time compilers201634
US 2016042177 A1Preventing return-oriented programming exploits—4

Non-Patent Literature (5)

  • Chen et al., "Efficient Detection of the Return-Oriented Programming Malicious Code", Dec. 2010, Springer-Verlag Berlin Heidelberg, pp. 140-155; .
  • Chen et al., "Efficient Detection of the Return-Oriented Programming Malicious Code", Dec. 2010, Springer-Verlag Berlin Heidelberg, pp. 140-155; <http://link.springer.com/chapter/10.1007%2F978-3-642-17714-9-11#page-1>.
  • Davi et al., "ROPdefender: A Detection Tool to Defined Against Return-Oriented Programming Attachks", 2011 ACM, ASIACCS'11, Mar. 22-24, 2011, Hong Kong, China, pp. 1-12; .
  • Davi et al., "ROPdefender: A Detection Tool to Defined Against Return-Oriented Programming Attachks", 2011 ACM, ASIACCS'11, Mar. 22-24, 2011, Hong Kong, China, pp. 1-12; <http://dl.acm.org/citation.cfm?id=1966920&CFID=573936520&CFTOKEN=23836272>.
  • Hart et al., "Hardware Assisted ROP Detection Mode (HARD Mode)", Aug. 2013, Academy Center for Cyberspace Research, pp. 1-10; .