Zipper Stack:Shadow Stacks Without Shadow
Zipper Stack: Shadow Stacks Without Shadow
摘要:
面向返回的编程(ROP)是一种典型的攻击技术,它利用返回地址重复滥用现有代码。大多数当前的返回地址保护机制(也称为后向边缘控制流完整性)仅适用于有限的威胁模型。例如,攻击者无法打破内存隔离,或者攻击者不知道秘密密钥或随机值。本文提出了一种新的,轻量级的机制,保护返回地址,Zipper堆栈,它通过一个链结构,使用加密消息认证码(MAC)验证所有的返回地址。这种创新的设计可以抵御最强大的攻击者,他们完全控制程序的内存,甚至知道MAC功能的秘密密钥。此威胁模型比相关工作中使用的模型更强大。同时,它会产生低性能开销。通过对RISC-V指令集结构的扩展实现了Zipper Stack,在FPGA上的性能测试表明,Zipper Stack的性能开销仅为1.86%.因此,我们认为Zipper Stack适合实际部署。
英文摘要:
Return-Oriented Programming (ROP) is a typical attack technique that exploits return addresses to abuse existing code repeatedly. Most of the current return address protecting mechanisms (also known as the Backward-Edge Control-Flow Integrity) work only in limited threat models. For example, the attacker cannot break memory isolation, or the attacker has no knowledge of a secret key or random values. This paper presents a novel, lightweight mechanism protecting return addresses, Zipper Stack, which authenticates all return addresses by a chain structure using cryptographic message authentication codes (MACs). This innovative design can defend against the most powerful attackers who have full control over the program's memory and even know the secret key of the MAC function. This threat model is stronger than the one used in related work. At the same time, it produces low-performance overhead. We implemented Zipper Stack by extending the RISC-V instruction set architecture, and the evaluation on FPGA shows that the performance overhead of Zipper Stack is only 1.86%. Thus, we think Zipper Stack is suitable for actual deployment.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。