ZenLeak: Practical Last-Level Cache Side-Channel Attacks on AMD Zen Processors
While Last-Level Cache (LLC) side-channel attacks often target inclusive caches, directory-based attacks on noninclusive caches have been demonstrated on Intel and ARM processors. However, the vulnerability of AMD’s non-inclusive caches to such attacks has remained uncertain, primarily due to challenges in reverse-engineering cache addressing, constructing eviction sets, and evicting private cache lines. This paper addresses these challenges and demonstrates the feasibility of conducting LLC side-channel attacks on AMD’s non-inclusive caches. We first reverse-engineer the cache addressing functions for the L2 set index, L3 slice, and L3 set index. Leveraging this insight, we construct the first eviction sets on AMD processors. We then introduce the first LLC sidechannel attack on AMD’s Zen series CPUs. The effectiveness of our approach is validated by attacking OpenSSL’s AES T-table.
Authors
- Quancheng Wang (ORCID: https://orcid.org/0000-0002-0313-1853)
- Ming Tang (ORCID: https://orcid.org/0000-0003-2218-0164)
- Yinqian Zhang (ORCID: https://orcid.org/0000-0002-7585-1075)
- Han Wang (ORCID: https://orcid.org/0009-0002-5272-3588)
- Ke Xu (ORCID: https://orcid.org/0000-0002-3454-8993)
Institutions
- Southern University of Science and Technology (CN)
- Wuhan University (CN)
Publication Details
- Published
- 2025-06-22
- DOI
- https://doi.org/10.1109/dac63849.2025.11133253
- Citations
- 1
- Primary Topic
- Physical Unclonable Functions (PUFs) and Hardware Security
- Type
- article
- Field-Weighted Citation Impact
- 2.27