Skip to content

ABLE: Anchor-based Linear-Equivalent Reconstruction of DRAM Address MappingABLE: Anchor-Based Linear Equivalence for Reconstructing DRAM Address Mappings

Jiajie Wen, Xin Xin, Hengyue Kang, Jian Chen, Mingyang Liu, Congming Gao, Jiwu Shu
Xiamen University; University of Central Florida; Tsinghua University
arXivarXiv:2611.40493Originally published Indexed by this site · 2 days agoAttacks

Quick read

Other

Based on the paper PDF (AI-generated); refer to the original

The authors propose ABLE, a DRAM address mapping reverse-engineering tool, with an average success rate of 99% across 12 Intel/AMD configurations and a runtime of 2–15 seconds.

Questions
Modern CPUs do not disclose the DRAM bank address function, and Rowhammer research requires reconstructing the mapping from physical addresses to banks. The authors state that existing methods are affected by enumeration overhead, false positives from sampling conflicts, shared bits, and difficulty in identifying unit functions.
Methods
ABLE does not pursue the original hardware function; instead, it uses F2 linear equivalence to construct an anchor representation that preserves bank partitioning; after filtering non-bank bits and grouping symmetric bits, it assigns the remaining address bits through joint bit flips and majority voting.
Experiments and results
The authors compare ABLE with multiple tools on 12 Intel/AMD DDR4/DDR5 configurations, running each configuration 50 times. ABLE's success rate per configuration is 94–100%, with a runtime of 2–15 seconds; ρHammer fails verification on 10 configurations.
Limitations and future work
The paper does not specifically discuss limitations. The experiments cover 12 desktop configurations; ABLE uses 15% of physical memory and does not use huge pages; obtaining physical addresses requires root privileges, and the paper does not report the number of samples or votes for majority voting.
Experimental setup12种Intel和AMD桌面配置(Comet Lake、Rocket Lake、Alder Lake、Raptor Lake、Zen 4、Zen 5,DDR4/DDR5) · Recovery success rate、Mean runtime et al.
AI summaryABLE reconstructs the DRAM address mapping that Rowhammer exploitation and memory safety analysis rely on using F2 linear equivalence. On 12 Intel and AMD DDR4/DDR5 platforms, it achieves an average success rate of 99% (94-100%), in 2-15 seconds, without huge pages, and 12-27 times faster than DARE. The method filters non-bank bits, groups symmetric bits, then selects anchor bases and assigns remaining bits using controlled joint bit flips stabilized by majority voting.

ABLE reconstructs the DRAM address mapping that Rowhammer exploitation and memory safety analysis rely on using F2 linear equivalence. On 12 Intel and AMD DDR4/DDR5 platforms, it achieves an average success rate of 99% (94-100%), in 2-15 seconds, without huge pages, and 12-27 times faster than DARE. The method filters non-bank bits, groups symmetric bits, then selects anchor bases and assigns remaining bits using controlled joint bit flips stabilized by majority voting.

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study how to quickly and noise-robustly reconstruct an address function equivalent to the hardware DRAM bank mapping.

    The core problem is how to accurately and quickly reconstruct the DRAM address mapping when modern CPUs do not disclose the bank address function. The authors position this as a prerequisite step for Rowhammer exploitation and memory safety analysis.

    • Application background: Attackers cannot directly address DRAM cells; they must first determine the bank, row, and column corresponding to a physical address; the authors state that mapping reconstruction also serves memory access optimization and write latency reduction.
    • Three difficulties of existing methods: Brute-force search requires enumerating 2k−1 nonzero XOR masks and depends on address sample coverage; global linear solving is affected by false positives in conflict detection; predefined pairwise bit flips make it difficult to identify unit functions and bits shared across functions.
    • Core observation: The authors argue that it is not necessary to recover the original hardware function; it suffices to recover an equivalent mapping that preserves the same bank partitioning; a linear transformation over F2 can give each independent function non-shared anchor bits.
    • Proposed method: ABLE combines non-bank bit filtering, symmetric bit grouping, anchor selection, controlled joint bit flips, and majority voting to avoid exhaustive XOR combinations, and uses independent conflict pairs to verify results.
    • Experimental prerequisites: Reconstruction is performed offline and requires root privileges to read /proc/self/pagemap; ABLE allocates 15% of physical memory via anonymous mmap and does not use huge pages.
  2. What related research exists?

    Related work is divided into brute-force search, linear algebra solving, and structured bit flipping, with Rowhammer research additionally forming the application background.

    Brute-force search and address grouping

    • DRAMA (Pessl et al., 2016): Groups same-bank addresses by measuring row-buffer conflicts, then enumerates candidate XOR combinations of physical address bits.
    • DRAMDig (Wang et al., 2020): Also evaluates candidate functions based on sampled address groups; the authors use it together with DRAMA to illustrate candidate enumeration and sample coverage issues.
    • DARE (Jattke et al., 2024, ZenHammer): The paper uses it as a brute-force search baseline; the authors state that its success rate increases with the memory budget.

    Linear algebra and structured probing

    • Knock-Knock (Plin et al., 2025): Constructs a pairwise XOR-difference matrix from row-conflict pairs over F2, and derives the bank function from the null space. The authors state that residual false positives inject erroneous constraints, causing its algebraic recovery to fail.
    • ρHammer (Chen et al., 2025): Combines controlled pairwise bit flips and conflict measurements, first finding functions containing row bits, then testing larger bit combinations. The authors state that predefined tests cannot fully resolve shared-bit dependencies, nor identify unit functions separately.

    Applications and other reverse-engineering work

    • Rowhammer research: Blacksmith (2022), ZenHammer (2024) and ρHammer (2025) are used by the authors to illustrate the importance of mapping knowledge for attack targeting; the paper does not reproduce these attacks.
    • Other mapping reverse-engineering: The paper also cites software reverse-engineering, general microarchitectural hash recovery and DRAM traffic analysis work, but the experimental comparison focuses on the mapping tools above.

    Baselines and test environment: The performance comparison uses DRAMA, DRAMDig, DARE, ρHammer and Knock-Knock; the environment is Comet Lake, Rocket Lake and the 12 Intel/AMD DDR4/DDR5 configurations in Table I. The authors position ABLE's distinction as reconstructing an equivalent representation that preserves the bank partition, rather than directly finding the original function.

  3. How does the paper address this problem?

    ABLE replaces solving for the original function with an anchored equivalent representation, then reconstructs bit by bit through joint bit flips with majority voting.

    ABLE (Anchor-Based Linear Equivalence) splits mapping reconstruction into representation simplification and structured probing: it first proves that independent functions still preserve the bank partition after row transformation, then finds a dedicated anchor for each function and assigns the other bits.

    Linear model and equivalence objective

    • The original mapping is written as F(p)=Mp, where each row of M corresponds to a bank address function and the elements indicate whether that function includes the corresponding physical address bit.
    • Equivalence is defined as F(p)=F(q)⇔ G(p)=G(q): the two mappings may number banks differently, but must produce the same partition of the physical address space.
    • Let r=rank(M), keeping only the r independent functions; for N physical banks, the authors give 2r=N. Performing Gauss–Jordan elimination over F2 on the independent function matrix, the pivot bit of each row in the reduced row echelon form can serve as a non-shared anchor.

    Controlled bit-flip primitive

    • Starting from a row-conflict address pair (a,b) in the same bank, flip the bits specified by set S in b to obtain b*, alternately access a and b* and measure latency.
    • Sustained high latency is interpreted as the bank index still being preserved after the flip; otherwise the bank index may have changed; each candidate S is tested on multiple independently sampled conflict address pairs, with majority voting deciding.
    • This primitive only determines whether a bit combination affects the bank partition and does not directly enumerate all XOR masks; the paper does not report the number of sample pairs, the number of votes, or the latency threshold values.

    Bit classification, anchor selection and assignment

    1. Filter non-bank bits: Flip bits one by one to identify pure row bits; then use the above primitive to distinguish bank bits from non-bank bits, and exclude pure row bits from the non-bank bits to obtain pure column bits.
    2. Group symmetric bits: Test two bits pairwise; if their joint flip consistently preserves the bank index, they are considered to participate in exactly the same set of functions; merge overlapping matching pairs to form symmetric groups, and bank bits without a symmetric partner are called asymmetric.
    3. Initialize anchors: The candidate set consists of one representative from each symmetric group and all asymmetric bits; select r linearly independent anchors; group representatives are preferred, and vacancies are filled by asymmetric bits.
    4. Assign remaining bits: For each candidate bit, test its joint flip with a subset of anchors; if it passes the test, add that bit to the function initialized by the corresponding anchor. If it fails all subset tests, reject the current anchor set.

    Search, bank count estimation and validation

    • After an anchor set is rejected, first change the combination of asymmetric bits, then change the combination of group representatives; if all combinations of the current counts fail, reduce group representatives, increase asymmetric bits while keeping the total at r, until a valid anchor set is found.
    • The bank count is estimated by random sampling, retaining addresses that have no row-buffer conflict with existing addresses; stop after several consecutive samples add no new representatives, and round up to the nearest power of 2.
    • Validation uses conflict address pairs not used during reconstruction; the proportion of validation pairs on which all recovered functions output consistently must exceed 96%, and the rank of the coefficient matrix must reach r̂=log2 N̂. The authors state that the 96% threshold is used to accommodate conflict-detection false positives.
  4. What experiments did the paper conduct?

    The authors run each of the 12 configurations 50 times and compare recovery success rate, memory budget, and runtime.

    Experimental setup

    • Platforms tested: Table I lists 12 desktop configurations, including Comet Lake i7-10700, Rocket Lake i7-11700, Alder Lake i7-12700, Raptor Lake i7-14700, Zen 4 R5-7600X and Zen 5 R5-9600X.
    • Memory configurations: Covering DDR4/DDR5, 16 GiB single DIMM and 32 GiB dual DIMM, with 32, 64 or 128 banks; experiments use Ubuntu 26.04 LTS and default BIOS settings.
    • Compared methods: ABLE, DRAMA, DRAMDig, DARE, ρHammer; Knock-Knock did not enter the performance figures because it did not recover a valid function on the test platforms.
    • Resource conditions: ABLE uses 15% of physical memory via anonymous mmap and does not use huge pages; the stability and efficiency experiments give DARE the maximum available huge pages.
    • Metrics and repetitions: Each method is run 50 times per configuration; the success rate is the proportion of runs that pass mapping validation, and the efficiency metric is the average termination time; Figure 9 explicitly includes runs that failed validation.
    • Validation method: Consistency on independent conflict pairs exceeds 96%, and the rank of the recovered matrix is checked; no model review or human scoring was used.

    Main results

    Swipe horizontally to read the table

    MethodPlatform and conditionsRecovery success rateSource
    ABLE12 configurations, 50 runs each94–100%, average 99%Fig. 8, abstract
    DARESame 12 configurations, maximum available huge pages12–60%Section V-C
    ρHammerSame 12 configurationsOnly 2 succeeded, the other 10 were 0%Fig. 8, Section V-C
    DRAMAComet Lake, 16 GiB DDR4, budget sweepAbout 50%Section V-C, Fig. 7
    DRAMDigComet Lake, 16 GiB DDR4, budget sweepBelow 90%Section V-C, Fig. 7
    Knock-KnockTested Intel/AMD platformsDid not recover a valid functionSection V-C
    • The authors state that ABLE is the only evaluated method to reach a 94–100% success rate on every configuration; ρHammer succeeded only on configurations with no shared bits and no unit functions.
    • Table I reports that ABLE reconstructs the complete function and pure column bits on all 12 configurations; shared bits appear in all 64/128-bank configurations but not in 32-bank configurations.
    • Unit bank functions appear in the 128-bank Zen 4 and Zen 5 configurations; the authors use this to explain the scope of failures of structured pairwise tests on these configurations.

    Memory budget and runtime efficiency

    • Budget sensitivity: Figure 7 tests ABLE and DARE on Rocket Lake 32 GiB DDR4; the authors state that ABLE is near 100% at each tested budget, while DARE fails completely below a 60% budget and is 44% at a 90% budget.
    • Other platforms: DRAMA and DRAMDig sweep budgets on Comet Lake 16 GiB DDR4; ρHammer is 60–84% on the same configuration. These numbers cannot be regarded as same-platform comparisons with ABLE's Rocket Lake results.
    • Runtime: Figure 9 reports ABLE at 2–15 seconds, ρHammer at 3–15 seconds, and DARE at 37–173 seconds; the authors state that DARE is 12–27 times slower than ABLE, and the figure labels the speedup for each configuration.

    Conflict sampling and failure mechanisms

    • High latency does not equal same-bank conflict: Figure 3 uses a validated reference function to check high-latency address pairs; the same-bank proportions are ABLE 96.8%, DARE 95.5%, DRAMA 90.4%, DRAMDig 87.5%, ρHammer 84.4%, Knock-Knock 2.2%.
    • Reference filtering experiment: The authors state that after filtering invalid sample pairs with the reference mapping, Knock-Knock can recover the mapping; but in actual reverse-engineering the reference mapping is not available in advance.
    • Authors' explanation: Residual false positives break Knock-Knock's global algebraic constraints; ABLE spreads candidate decisions across majority voting on independent conflict pairs, rather than solving a set of global noisy constraints.

    Other ablations and analysis

    • Figure 4: On Comet Lake, DRAMA and DRAMDig vary little with budget; on Rocket Lake, DARE increases with budget.
    • Table I: In the 64-bank, 32 GiB DDR4 configurations, the authors state that the functions for Rocket Lake, Alder Lake and Raptor Lake involve more address bits than Comet Lake.
    • The paper does not report parameter ablations for anchor selection order, the number of voting samples, or the 96% validation threshold.
  5. What are some points that can be further explored?

    The paper does not specifically discuss limitations; what can be checked is its platform scope, the offline privilege prerequisite, and unreported probing parameters.

    Limitations and future directions noted by the authors

    The paper does not specifically discuss limitations. The conclusion only summarizes ABLE's design and results on 12 configurations, and does not list separate Limitations, Discussion, or Future Work items.

    Scope of experimental coverage

    • Platform scope: The experiments cover the 12 Intel and AMD desktop configurations in Table I, including 6 microarchitectures, DDR4/DDR5, 16/32 GiB, and 32/64/128 banks.
    • Comparison scope: The performance comparison includes DRAMA, DRAMDig, DARE, and ρHammer; Knock-Knock only enters the conflict sampling and reference filtering analysis and does not enter the performance figures.
    • Runtime conditions: Each method is run 50 times per configuration; ABLE uses 15% of physical memory and does not use huge pages, while DARE uses the maximum available huge pages in the stability and efficiency experiments.
    • Address acquisition prerequisites: Reconstruction is performed offline and requires root privileges to read /proc/self/pagemap; when the target physical page is not in the reverse lookup table, the candidate is skipped and other addresses are tried.
    • Experimental details not reported: The paper does not report how many independent conflict pairs are used for each bit combination, the number of majority votes, the specific latency threshold, or ablations on different voting budgets or the 96% verification threshold.
  6. Summarize the main content of the paper

    ABLE uses equivalent anchor representations and majority-voting bit flips to achieve a mapping recovery success rate of 94–100% on 12 configurations.

    ABLE is a DRAM bank address mapping reverse-engineering framework, aimed at scenarios where vendors do not disclose the XOR bank function and Rowhammer and other research need to locate bank coordinates.

    • Problem reformulation: The authors do not require recovering the hardware's original function, but instead seek an F2 linear equivalent mapping that preserves the same bank partition; after row transformation, independent functions each obtain non-shared anchor bits.
    • Reconstruction process: First filter out non-bank bits such as pure row and pure column bits and group symmetric bits, then select r anchors; the remaining bits are assigned by joint flips with subsets of anchors and majority voting across independent conflict pairs, and when this fails the anchor combination is changed.
    • Validation criteria: On the set of independent conflict pairs, consistency must exceed 96%, and the rank of the recovered matrix must equal log2 N̂; physical address acquisition is performed offline and requires root privileges.
    • Stability results: On 12 Intel/AMD DDR4/DDR5 configurations, with each method run 50 times, ABLE's success rate is 94–100%, averaging 99%; DARE is 12–60%, and ρHammer fails on 10 configurations (Fig. 8).
    • Efficiency results: ABLE takes 2–15 seconds and does not use huge pages; DARE takes 37–173 seconds, and the authors report that ABLE is 12–27 times faster than DARE (Fig. 9).
    • Authors' conclusion: The authors believe that the anchored representation turns the difficulties caused by shared bits and unit functions into joint bit-flip tests that can be voted on separately, avoiding exhaustive search and reducing the impact of residual conflict false positives on the global solution.
Read originalarxiv.org