GbHammer:通过锤击页表项中的全局位实现恶意进程间页面共享
GbHammer: Malicious Inter-process Page Sharing by Hammering Global Bits in Page Table Entries
AI总结:
本文提出新型RowHammer衍生漏洞GbHammer,通过锤击页表项全局位实现进程间恶意内存共享,可执行任意代码、窃取机密数据,并在模拟环境验证有效性,同时探讨缓解方案与跨架构风险。
摘要:
RowHammer是DRAM芯片内部的一种漏洞,攻击者反复访问一个DRAM行即可翻转邻近行中的比特位,且无需直接访问这些行。已有多项研究发现,翻转页表项(PTE)中地址部分的比特位会引发提权等严重安全风险。但据我们所知,PTE中的管理位被RowHammer翻转的风险尚未被探讨。本文指出了一种名为GbHammer的新漏洞,攻击者可通过锤击PTE中的全局位,恶意与受害者共享一个物理内存页。GbHammer不仅能创建共享页面,还能让攻击者实现两点:(1)让受害者进程执行任意二进制文件;(2)通过共享页面窥探受害者的机密数据。我们在运行于周期精确CPU模拟器上的真实Linux内核中,演示了这两种利用方式。我们还讨论了针对GbHammer的可能缓解措施,以及GbHammer在非x86指令集架构(ISA)中的风险。
英文摘要:
RowHammer is a vulnerability inside DRAM chips where an attacker repeatedly accesses a DRAM row to flip bits in the nearby rows without directly accessing them. Several studies have found that flipping bits in the address part inside a page table entry (PTE) leads to serious security risks such as privilege escalation. However, the risk of management bits in a PTE being flipped by RowHammer has not yet been discussed as far as we know. In this paper, we point out a new vulnerability called GbHammer that allows an attacker to maliciously share a physical memory page with a victim by hammering the global bit in a PTE. GbHammer not only creates a shared page but also enables the attacker to (1) make the victim's process execute arbitrary binary and (2) snoop on the victim's secret data through the shared page. We demonstrate the two exploits on a real Linux kernel running on a cycle-accurate CPU simulator. We also discuss possible mitigation measures for GbHammer and the risk of GbHammer in non-x86 ISAs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。