首页> 外国专利> METHOD AND SYSTEM FOR DEFENSE AGAINST RETURN ORIENTED PROGRAMMING (ROP) BASED ATTACKS

METHOD AND SYSTEM FOR DEFENSE AGAINST RETURN ORIENTED PROGRAMMING (ROP) BASED ATTACKS

机译:防御基于返回定向编程(ROP)攻击的方法和系统

摘要

Embodiments of the application provide method and system for defense against ROP attacks. The method comprises: identifying a substitutable instruction pair in a binary file, which includes a first instruction for pushing a first group of registers into a stack memory, and a second instruction for popping the first group of registers off the stack memory, generating an equivalent instruction pair for the substitutable instruction pair, which includes a first equivalent instruction for pushing a second group of registers onto the stack memory, and a second equivalent instruction for popping the second group of registers off the stack memory, wherein the second group of registers includes the first group of registers and at least one additional register which is not used by the substitutable instruction pair, and overwriting the first instruction and the second instruction with the first equivalent instruction and the second equivalent instruction respectively.
机译:本申请的实施例提供了用于防御ROP攻击的方法和系统。该方法包括:识别二进制文件中的可替换指令对,该指令对包括用于将第一组寄存器推入堆栈存储器的第一指令,以及用于将第一组寄存器从堆栈存储器弹出的第二指令,以产生等效指令。可替换指令对的指令对,包括用于将第二组寄存器压入堆栈存储器的第一等效指令,以及用于将第二组寄存器从堆栈存储器弹出的第二等效指令,其中第二组寄存器包括第一组寄存器和至少一个未被可替换指令对使用的附加寄存器,并分别用第一等效指令和第二等效指令覆盖第一指令和第二指令。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号