arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1811.09189cs.CR
收藏

PAC:使用ARM指针验证实现指针完整性

PAC it up: Towards Pointer Integrity using ARM Pointer Authentication

Hans Liljestrand, Thomas Nyman, Kui Wang, Carlos Chinea Perez, Jan-Erik Ekberg, N. Asokan

摘要:

针对以存储器不安全的程序设计语言(例如,C和C++)仍然是对计算机系统的突出威胁。像面向返回的编程(ROP)这样的技术在攻击现实世界系统中的流行,促使主要的处理器制造商设计基于硬件的对策来对抗特定类别的运行时攻击。一个例子是最近在ARMv 8-A处理器架构中增加了对指针认证(PA)的支持,该架构通常用于智能手机等设备。PA是一种低成本的指针认证技术,可以抵抗内存漏洞。它已被证明能够针对损坏返回地址或函数指针的内存漏洞提供实际保护。然而,到目前为止,PA作为一种通用的保护机制来加强软件对各种类型的内存攻击的关注很少。在本文中,我们使用PA建立新的防御措施,对各类运行时攻击,包括第一个基于PA的数据指针完整性机制。我们提出了PARTS,一个工具框架,它将我们基于PA的防御集成到LLVM编译器和GNU/Linux操作系统中,并通过系统评估表明,PARTS在合理的性能开销下提供了比当前解决方案更好的保护

英文摘要:

Run-time attacks against programs written in memory-unsafe programming languages (e.g., C and C++) remain a prominent threat against computer systems. The prevalence of techniques like return-oriented programming (ROP) in attacking real-world systems has prompted major processor manufacturers to design hardware-based countermeasures against specific classes of run-time attacks. An example is the recently added support for pointer authentication (PA) in the ARMv8-A processor architecture, commonly used in devices like smartphones. PA is a low-cost technique to authenticate pointers so as to resist memory vulnerabilities. It has been shown to enable practical protection against memory vulnerabilities that corrupt return addresses or function pointers. However, so far, PA has received very little attention as a general purpose protection mechanism to harden software against various classes of memory attacks. In this paper, we use PA to build novel defenses against various classes of run-time attacks, including the first PA-based mechanism for data pointer integrity. We present PARTS, an instrumentation framework that integrates our PA-based defenses into the LLVM compiler and the GNU/Linux operating system and show, via systematic evaluation, that PARTS provides better protection than current solutions at a reasonable performance overhead

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑