ABLE: Anchor-Based Linear Equivalence for Reconstructing DRAM Address Mappings
Jiajie Wen, Xin Xin, Hengyue Kang, Jian Chen, Mingyang Liu, Congming Gao, Jiwu Shu
Abstract
Understanding how physical addresses map to DRAM bank coordinates underpins Rowhammer exploitation and memory-security analysis, yet modern CPUs leave their XOR bank functions undocumented. Existing reverse-engineering tools struggle along three axes: fixed pairwise bit-flip probes miss single-bit functions and cross-function bit sharing, global linear-system solvers break under residual timing false positives, and brute-force mask search incurs exponential overhead with large memory footprints. We present ABLE (Anchor-Based Linear Equivalence), a framework that reframes bank-mapping reconstruction via linear equivalence. Observing that any partition-preserving basis is functionally identical to hardware bank indices, ABLE targets a reduced basis where each independent function holds a unique non-shared anchor bit. After filtering non-bank bits and grouping symmetric bits, ABLE selects an anchor basis and assigns remaining bits via controlled joint bit flipping stabilized by majority voting over independent conflict pairs. Across 12 Intel and AMD DDR4/DDR5 setups, ABLE reaches a 99% mean success rate (94-100%) in 2-15 s without huge pages, running 12-27x faster than DARE.
Create a lesson
Metadata
- Categories
- cs.AR, cs.CR
- Comments
- 8 pages, 9 figures, 1 table
Related papers
Beyond Equivalence: Task-Level Verification Unlocks Architectural Optimizations by LLM Agents
Shared title terminologycs.ARFelix Arnold, Ryan Amaudruz, Renzo Andri et al.
Exploring Runtime-Configurable Piecewise Linear Function Interpolation for FPGA-Based LLM Hardware Acceleration
Shared title terminologycs.ARPatrick Nepveu-Nelson, Fabiola Jiménez-Chacón, Roger Morales-Monge et al.
HBFWeave: Coordinating DRAM and High Bandwidth Flash for Sparse LLM Inference
Shared title terminologycs.ARTenghao Zhao, Shuzhang Zhong, HongKai Liao et al.
Synthesizing Fast and Accurate Immediate-Response DRAM Latency Models with Agents
Shared title terminologycs.ARHaocong Luo, Nisa Bostancı, Ataberk Olgun et al.
Power-Aware Simulation and Formal Equivalence for Unmodified SystemC and SystemVerilog RTL
Shared title terminologycs.ARMayur Kubavat
A Principled Architecture-Level Error Model for Understanding, Evaluating, and Mitigating DRAM Read Disturbance
Shared title terminologycs.ARHaocong Luo, Zhaoqiang Bai, Ataberk Olgun et al.