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

TikTag:利用推测执行攻破 ARM 内存标记扩展

TikTag: Breaking ARM's Memory Tagging Extension with Speculative Execution

Juhee Kim, Jinbum Park, Sihyeon Roh, Jaeyoung Chung, Youngjoo Lee, Taesoo Kim, Byoungyoung Lee

AI总结:

本文提出 TikTag 推测执行攻击,可从任意地址泄露 ARM MTE 标记并绕过 Chrome 与 Linux 内核的相关防御,4秒内成功率超95%,并给出缓解机制。

摘要:

ARM 内存标记扩展(Memory Tagging Extension,MTE)是 ARMv8.5-A 架构引入的一项新硬件特性,旨在检测内存破坏漏洞。MTE 的低开销使其成为缓解现代软件系统中内存破坏攻击的有吸引力方案,并被认为是提升 C/C++ 软件安全性最有前景的发展路径。本文探究了针对 MTE 的推测执行攻击所带来的潜在安全风险。具体而言,本文识别出新型 TikTag gadget,能够通过推测执行从任意内存地址泄露 MTE 标记。借助 TikTag gadget,攻击者可以绕过 MTE 的概率性防御,将攻击成功率提高到接近 100%。我们证明 TikTag gadget 可用于绕过真实系统 Google Chrome 和 Linux 内核中基于 MTE 的缓解措施。实验结果表明,TikTag gadget 能够在不到 4 秒内以高于 95% 的成功率成功泄露一个 MTE 标记。我们进一步提出了新的防御机制,以缓解 TikTag gadget 带来的安全风险。

英文摘要:

ARM Memory Tagging Extension (MTE) is a new hardware feature introduced in ARMv8.5-A architecture, aiming to detect memory corruption vulnerabilities. The low overhead of MTE makes it an attractive solution to mitigate memory corruption attacks in modern software systems and is considered the most promising path forward for improving C/C++ software security. This paper explores the potential security risks posed by speculative execution attacks against MTE. Specifically, this paper identifies new TikTag gadgets capable of leaking the MTE tags from arbitrary memory addresses through speculative execution. With TikTag gadgets, attackers can bypass the probabilistic defense of MTE, increasing the attack success rate by close to 100%. We demonstrate that TikTag gadgets can be used to bypass MTE-based mitigations in real-world systems, Google Chrome and the Linux kernel. Experimental results show that TikTag gadgets can successfully leak an MTE tag with a success rate higher than 95% in less than 4 seconds. We further propose new defense mechanisms to mitigate the security risks posed by TikTag gadgets.

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

↑