Invention Grant
- Patent Title: Preventing stack buffer overflow attacks
-
Application No.: US13804056Application Date: 2013-03-14
-
Publication No.: US09251373B2Publication Date: 2016-02-02
- Inventor: Khalid Nawaf AlHarbi , Xiaodong Lin
- Applicant: Northern Borders University , Khalid Nawaf AlHarbi , Xiaodong Lin
- Agency: Oppedahl Patent Law Firm LLC
- Priority: CA2809516 20130313
- Main IPC: G06F21/00
- IPC: G06F21/00 ; G06F21/64 ; G06F21/52

Abstract:
Improved buffer overflow protection for a computer function call stack is provided by placing a predetermined ShadowKEY value on a function's call stack frame and copying the ShadowKEY, a caller EBP, and a return pointer are pushed onto a duplicate stack. The prologue of the function may be modified for this purpose. The function epilogue is modified to compare the current values of the ShadowKEY, caller EBP, and the return pointer on the function stack to the copies stored on the duplicate stack. If they are not identical, an overflow is detected. The preserved copies of these values may be copied back to the function stack frame thereby enabling execution of the process to continue. A function prologue and epilogue may be modified during compilation of the program.
Public/Granted literature
- US20140283088A1 Preventing stack buffer overflow attacks Public/Granted day:2014-09-18
Information query