发明申请
- 专利标题: Preventing stack buffer overflow attacks
- 专利标题(中): 防止堆栈缓冲区溢出攻击
-
申请号: US14970397申请日: 2015-12-15
-
公开(公告)号: US20160098556A1公开(公告)日: 2016-04-07
- 发明人: Khalid Nawaf ALHARBI , Xiaodong LIN
- 申请人: Khalid Nawaf ALHARBI , Xiaodong LIN , Northern Borders University
- 优先权: CA2809516 20130313
- 主分类号: G06F21/52
- IPC分类号: G06F21/52
摘要:
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.
信息查询