DRAMDig: A Knowledge-assisted Tool to Uncover DRAM Address Mapping
Abstract
As recently emerged rowhammer exploits require undocumented DRAM address mapping, we propose a generic knowledge-assisted tool, DRAMDig, which takes domain knowledge into consideration to efficiently and deterministically uncover the DRAM address mappings on any Intel-based machines. We test DRAMDig on a number of machines with different combinations of DRAM chips and microarchitectures ranging from Intel Sandy Bridge to Coffee Lake. Comparing to previous works, DRAMDig deterministically reverse-engineered DRAM address mappings on all the test machines with only 7.8 minutes on average. Based on the uncovered mappings, we perform double-sided rowhammer tests and the results show that DRAMDig induced significantly more bit flips than previous works, justifying the correctness of the uncovered DRAM address mappings.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
18 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection cites SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row Refresh
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault Injection cites Another Flip in the Wall of Rowhammer Defenses
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row Refresh cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row Refresh cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row Refresh cites Another Flip in the Wall of Rowhammer Defenses
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms cites Another Flip in the Wall of Rowhammer Defenses
- Rubix: Reducing the Overhead of Secure Rowhammer Mitigations via Randomized Line-to-Row Mapping cites Another Flip in the Wall of Rowhammer Defenses
- Battering RAM: Low-Cost Interposer Attacks on Confidential Computing via Dynamic Memory Aliasing cites ZenHammer: Rowhammer Attacks on AMD Zen-based Platforms
- Battering RAM: Low-Cost Interposer Attacks on Confidential Computing via Dynamic Memory Aliasing cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
- Another Flip in the Wall of Rowhammer Defenses cites One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege Escalation
- Another Flip in the Wall of Rowhammer Defenses cites DRAMA: Exploiting DRAM Addressing for Cross-CPU Attacks
Cited by top-tier papers18
- ZenHammer: Rowhammer Attacks on AMD Zen-based PlatformsPatrick Jattke, Max Wipfli, Flavien Solt, Michele Marazzi et al.USENIX Security 2024 · 63 citations
- SoftTRR: Protect Page Tables against Rowhammer Attacks using Software-only Target Row RefreshZhi Zhang, Yueqiang Cheng, Minghua Wang, Wei He et al.USENIX ATC 2022 · 62 citations
- Yes, One-Bit-Flip Matters! Universal DNN Model Inference Depletion with Runtime Code Fault InjectionShaofeng Li, Xinyu Wang, Minhui Xue, Haojin Zhu et al.USENIX Security 2024 · 32 citations
- Battering RAM: Low-Cost Interposer Attacks on Confidential Computing via Dynamic Memory AliasingJesse De Meulemeester, David F. Oswald, Ingrid Verbauwhede, Jo Van BulckS&P 2026 · 20 citations
- Rubix: Reducing the Overhead of Secure Rowhammer Mitigations via Randomized Line-to-Row MappingAnish Saxena, Saurav Mathur, Moinuddin K. QureshiASPLOS 2024 · 18 citations
Builds on3
- DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations
- Another Flip in the Wall of Rowhammer DefensesDaniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin et al.S&P 2018 · 288 citations
- One Bit Flips, One Cloud Flops: Cross-VM Row Hammer Attacks and Privilege EscalationYuan Xiao, Xiaokuan Zhang, Yinqian Zhang, Radu TeodorescuUSENIX Security 2016 · 272 citations
Related papers
- ρHammer: Reviving RowHammer Attacks on New Architectures via PrefetchingWeijie Chen, Shan Tang, Yulin Tang, Xiapu Luo et al.MICRO 2025 · 1 citation
- Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud ProvidersLucian Cojocar, Jeremie S. Kim, Minesh Patel, Lillian Tsai et al.S&P 2020 · 115 citations
- FLIPPYRAM: A Large-Scale Study of Rowhammer PrevalenceMartin Heckel, Nima Sayadi, Jonas Juffinger, Carina Fiedler et al.NDSS 2026 · 2 citations
- SledgeHammer: Amplifying Rowhammer via Bank-level ParallelismIngab Kang, Walter Wang, Jason Kim, Stephan van Schaik et al.USENIX Security 2024 · 28 citations
- DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory CommandsHwayong Nam, Seungmin Baek, Minbok Wi, Michael Jaemin Kim et al.ISCA 2024 · 19 citations
