首页> 外国专利> Preventing stack buffer overflow attacks

Preventing stack buffer overflow attacks

机译:防止堆栈缓冲区溢出攻击

摘要

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.
机译:通过将预定的ShadowKEY值放在函数的调用堆栈帧上并复制ShadowKEY,将调用方EBP和返回指针压入重复堆栈,可以为计算机函数调用堆栈提供改进的缓冲区溢出保护。为此,可以修改功能的序言。修改了函数结尾,以将ShadowKEY,调用者EBP和函数堆栈上的返回指针的当前值与存储在重复堆栈上的副本进行比较。如果它们不相同,则检测到溢出。这些值的保留副本可以复制回功能堆栈框架,从而使过程继续执行。功能序言和结尾可以在程序的编译过程中进行修改。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号