【24h】

Wrangling in the Power of Code Pointers with ProxyCFI

机译:用ProxyCFI的代码指针的力量争吵

获取原文

摘要

Despite being a more than 40-year-old dark art, control flow attacks remain a significant and attractive means of penetrating applications. Control Flow Integrity (CFI) prevents control flow attacks by forcing the execution path of a program to follow the control flow graph (CFG). This is performed by inserting checks before indirect jumps to ensure that the target is within a statically determined valid target set. However, recent advanced control flow attacks have been shown to undermine prior CFI techniques by swapping targets of an indirect jump with another one from the valid set. In this article, we present a novel approach to protect against advanced control flow attacks called ProxyCFI. Instead of building protections to stop code pointer abuse, we replace code pointers wholesale in the program with a less powerful construct - pointer proxies. Pointer proxies are random identifiers associated with legitimate control flow edges. All indirect control transfers in the program are replaced with multi-way branches that validate control transfers with pointer proxies. As pointer proxies are uniquely associated with both the source and the target of control-flow edges, swapping pointer proxies results in a violation even if they have the same target, stopping advanced control flow attacks that undermine prior CFI techniques. In all, ProxyCFI stops a broad range of recently reported advanced control flow attacks on real-world applications with only a 4% average slowdown.
机译:尽管是一个超过40岁的黑暗艺术,但控制流动攻击仍然是一个重要而有吸引力的穿透应用。控制流程完整性(CFI)通过强制程序的执行路径来防止控制流攻击以遵循控制流程图(CFG)。这是通过在间接跳转之前插入检查来执行的,以确保目标在静态确定的有效目标集中。然而,已显示最近的高级控制流攻击通过从有效集中交换间接跳跃的目标来破坏先前的CFI技术。在本文中,我们介绍了一种新的方法来防止称为ProxyCFI的先进控制流攻击。我们使用不太强大的构造 - 指针代理替换程序中的代码指针批发替换程序中的代码指针批发。指针代理是与合法控制流程边缘相关的随机标识符。程序中的所有间接控制传输都替换为使用指针代理验证控制传输的多路支路。由于指针代理与控制流程边缘的源和目标都唯一相关,即使它们具有相同的目标,还原指针代理也导致违规,即使破坏先前CFI技术的高级控制流攻击。总而言之,ProxyCFI在最近报告的Real-World应用程序中停止广泛报告的高级控制流攻击,只有4%的平均减速。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号