Invention Grant
- Patent Title: Shadow stack violation enforcement at module granularity
-
Application No.: US17833750Application Date: 2022-06-06
-
Publication No.: US11709931B2Publication Date: 2023-07-25
- Inventor: Jason Lin , Jin Lin , Gregory John Colombo , Niraj Majmudar , Mehmet Iyigun , Shayne Daniel Hiet-Block , Kenneth Dean Johnson
- Applicant: Microsoft Technology Licensing, LLC
- Applicant Address: US WA Redmond
- Assignee: Microsoft Technology Licensing, LLC
- Current Assignee: Microsoft Technology Licensing, LLC
- Current Assignee Address: US WA Redmond
- Agency: Workman Nydegger
- Main IPC: G06F21/00
- IPC: G06F21/00 ; G06F21/54 ; G06F9/445 ; G06F9/48

Abstract:
Enforcing shadow stack violations at module granularity, rather than at thread or process granularity. An exception is processed during execution of a thread based on code of an application binary, which is enabled for shadow stack enforcement, that calls an external module. The exception results from a mismatch between a return address popped from the thread's call stack and a return address popped from the thread's shadow stack. Processing the exception includes determining that the exception resulted from execution of an instruction in the external module, and determining whether or not the external module is enabled for shadow stack enforcement. Based at least on these determinations, execution of the thread is terminated when the external module is enabled for shadow stack enforcement, or the thread is permitted to continue executing when the external module is not enabled for shadow stack enforcement.
Public/Granted literature
- US20220342983A1 SHADOW STACK VIOLATION ENFORCEMENT AT MODULE GRANULARITY Public/Granted day:2022-10-27
Information query