首页> 外国专利> System And Method Of Dynamically Updating Stack Canaries

System And Method Of Dynamically Updating Stack Canaries

机译:动态更新堆栈金丝雀的系统和方法

摘要

Various embodiments enhance protections against stack buffer overflow attacks in a computing device by dynamically updating stack canaries. Canary values on the stack of a child process may be replaced with new canary values in response to determining that a condition for generating new canary values is satisfied. Canary values on the stack of a child process may be replaced with new canary values when a child process is forked following a crash of a previous child process of the parent process. Canary values on the stack of a child process may be replaced with new canary values in response to expiration of a canary timeout time. The locations of the canaries to replace may be determined by walking the stack to locate entries in each stack frame that match a previous value of the canary or by walking the stack according to a predefined stack frame format.
机译:各种实施例通过动态更新栈金丝雀来增强针对计算设备中的栈缓冲区溢出攻击的保护。响应于确定满足用于生成新金丝雀值的条件,可以用新的金丝雀值替换子进程的堆栈上的金丝雀值。当子进程在父进程的前一个子进程崩溃后被派生时,子进程堆栈上的金丝雀值可以替换为新的金丝雀值。响应于金丝雀超时时间到期,子进程堆栈上的金丝雀值可以替换为新的金丝雀值。可以通过遍历堆栈以在每个堆栈帧中找到与Canary先前值匹配的条目来确定替换的金丝雀的位置,或者通过根据预定义的堆栈帧格式遍历堆栈来确定。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号