PAC it up: Towards Pointer Integrity using ARM Pointer Authentication
This addresses security threats in systems using ARM processors, such as smartphones, by enhancing protection against memory attacks, though it is incremental as it builds on existing PA hardware.
The paper tackles the problem of run-time attacks in memory-unsafe languages by using ARM Pointer Authentication (PA) to build novel defenses, including the first PA-based mechanism for data pointer integrity, and shows that their framework PARTS provides better protection than current solutions with reasonable performance overhead.
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