arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1912.11523cs.CRcs.AR
收藏

JackHammer:异构FPGA-CPU平台上的高效Rowhammer

JackHammer: Efficient Rowhammer on Heterogeneous FPGA-CPU Platforms

Zane Weissman, Thore Tiemann, Daniel Moghimi, Evan Custodio, Thomas Eisenbarth, Berk Sunar

摘要:

经过多年的发展,FPGA终于出现在多租户云服务器上。这些异构的FPGA-CPU架构打破了关于隔离和安全边界的常见假设。由于FPGA和CPU架构共享硬件资源,新的一类漏洞要求我们重新评估这些平台的安全性和可靠性。在这项工作中,我们分析了内存和高速缓存子系统,并研究Rowhammer和高速缓存攻击,使两个异构的FPGA-CPU平台由英特尔:Arria 10 GX与集成的FPGA-CPU平台,和Arria 10 GX PAC扩展卡,通过PCIe接口将FPGA连接到CPU。我们表明,虽然英特尔PAC目前是免疫从FPGA到CPU的高速缓存攻击,集成平台确实容易受到从FPGA到CPU的最后一级高速缓存的Prime和Probe风格的攻击。此外,我们展示了JackHammer,一种新颖而高效的Rowhammer从FPGA到主机的主存储器。我们的研究结果表明,恶意的FPGA可以执行两倍的速度从CPU在同一系统上的典型Rowhammer攻击,并导致约四倍的CPU攻击位翻转。我们通过对WolfSSL RSA签名实现的实际故障攻击证明了FPGA的JackHammer的有效性,该攻击在平均58个RSA签名后可靠地导致故障,比CPU rowhammer攻击快25%。在某些情况下,我们的JackHammer攻击产生错误签名的频率是传统CPU Rowhammer攻击的三倍以上,速度几乎是传统CPU Rowhammer攻击的三倍。

英文摘要:

After years of development, FPGAs are finally making an appearance on multi-tenant cloud servers. These heterogeneous FPGA-CPU architectures break common assumptions about isolation and security boundaries. Since the FPGA and CPU architectures share hardware resources, a new class of vulnerabilities requires us to reassess the security and dependability of these platforms. In this work, we analyze the memory and cache subsystem and study Rowhammer and cache attacks enabled on two proposed heterogeneous FPGA-CPU platforms by Intel: the Arria 10 GX with an integrated FPGA-CPU platform, and the Arria 10 GX PAC expansion card which connects the FPGA to the CPU via the PCIe interface. We show that while Intel PACs currently are immune to cache attacks from FPGA to CPU, the integrated platform is indeed vulnerable to Prime and Probe style attacks from the FPGA to the CPU's last level cache. Further, we demonstrate JackHammer, a novel and efficient Rowhammer from the FPGA to the host's main memory. Our results indicate that a malicious FPGA can perform twice as fast as a typical Rowhammer attack from the CPU on the same system and causes around four times as many bit flips as the CPU attack. We demonstrate the efficacy of JackHammer from the FPGA through a realistic fault attack on the WolfSSL RSA signing implementation that reliably causes a fault after an average of fifty-eight RSA signatures, 25% faster than a CPU rowhammer attack. In some scenarios our JackHammer attack produces faulty signatures more than three times more often and almost three times faster than a conventional CPU rowhammer attack.

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

↑