Decomposing DRAM address mappings into component-level functions is critical for understanding memory behavior and enabling precise RowHammer attacks, yet existing reverse-engineering methods fall short. We introduce novel timing-based techniques leveraging DRAM refresh intervals and consecutive access latencies to infer component-specific functions. Based on this, we present Sudoku, the first software-based tool to automatically decompose full DRAM address mappings into channel, rank, bank group, and bank functions while identifying row and column bits. We validate Sudoku's effectiveness, successfully decomposing mappings on recent Intel and AMD processors.
@article{arxiv.2506.15918,
title = {Sudoku: Decomposing DRAM Address Mapping into Component Functions},
author = {Minbok Wi and Seungmin Baek and Seonyong Park and Mattan Erez and Jung Ho Ahn},
journal= {arXiv preprint arXiv:2506.15918},
year = {2025}
}