paperbot · PL 论文追踪

全部论文 待读 收藏

P2 ShadowLoad: Injecting State into Hardware Prefetchers

ShadowLoad:向硬件预取器注入状态
ASPLOS Proceedings of the 30th ACM International Conference on Architectural Support for Programming Languages and Operating Systems, Volume 22025匹配度 0/10 · 该论文研究硬件预取器侧信道攻击与微架构安全,属于计算机体系结构和安全领域,与用户关注的程序分析、LLM/Agent、浮点程序分析和贝叶斯程序分析均无直接关联。引用 10 inbox
Lorenz Hetterich, Fabian Thomas, Lukas Gerlach, Ruiyi Zhang, Nils Bernsdorf, Eduard Ebert, Michael Schwarz
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 ShadowLoad,通过向硬件预取器注入状态将不可访问的受害者数据带入缓存,并实现 FetchProbe 侧信道攻击。

硬件预取器会预测访存并预取数据,其内部状态已被证明可作侧信道,跨进程、用户/内核乃至可信执行环境泄露信息。本文提出 ShadowLoad 攻击原语,向硬件预取器注入状态,使不可访问的受害者数据被带入缓存;作者开发 StrideRE 自动逆向步长预取器内部机制。该原语扩展了 Meltdown、Collide+Power 等微架构攻击的攻击面,并可部分绕过 AWS 等云上的 L1TF 缓解。作者还实现 FetchProbe,以子缓存线粒度泄露访存偏移,并在 WolfSSL 侧信道加固的 Base64 实现上成功攻击。

问题
硬件预取器内部状态可作为侧信道跨安全边界泄密;已有工作主要观测预取器状态,尚未系统探索向其中注入状态以操纵缓存内容。
方法
自动逆向步长预取器机制(StrideRE),提出 ShadowLoad 注入原语,使受害者数据被预取入缓存,并构建 FetchProbe 侧信道。
评估
在 Meltdown、Collide+Power 等攻击场景中验证扩展攻击面,测试可部分绕过 AWS 等云上 L1TF 缓解,并在 WolfSSL 加固 Base64 实现上成功泄露子缓存线粒度访存偏移。
原文摘要(Abstract)

Hardware prefetchers are an optimization in modern CPUs that predict memory accesses and preemptively load the corresponding value into the cache. Previous work showed that the internal state of hardware prefetchers can act as a side channel, leaking information across security boundaries such as processes, user and kernel space, and even trusted execution environments. In this paper, we present ShadowLoad, a new attack primitive to bring inaccessible victim data into the cache by injecting state into the hardware prefetcher. ShadowLoad relies on the inner workings of the hardware stride prefetchers, which we automatically reverse-engineer using our tool StrideRE. We illustrate how ShadowLoad extends the attack surface of existing microarchitectural attacks such as Meltdown and software-based power analysis attacks like Collide+Power and how it can partially bypass L1TF mitigations on clouds, such as AWS. We further demonstrate FetchProbe, a stride prefetcher side-channel attack leaking offsets of memory accesses with sub-cache-line granularity, extending previous work on control-flow leakage. We demonstrate FetchProbe on the side-channel hardened Base64 implementation of WolfSSL, showing that even real-world side-channel-hardened implementations can be attacked with our new attack.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{HetterichT00BE025,
  title = {ShadowLoad: Injecting State into Hardware Prefetchers},
  author = {Lorenz Hetterich and Fabian Thomas and Lukas Gerlach and Ruiyi Zhang and Nils Bernsdorf and Eduard Ebert and Michael Schwarz},
  booktitle = {ASPLOS},
  year = {2025},
  doi = {10.1145/3676641.3716020}
}