Lune

ISCA2021Top-tier venue

QUAC-TRNG: High-Throughput True Random Number Generation Using Quadruple Row Activation in Commodity DRAM Chips

Ataberk Olgun, Minesh Patel, Abdullah Giray Yaglikçi, Haocong Luo, Jeremie S. Kim, Nisa Bostanci, Nandita Vijaykumar, Oguz Ergin, Onur Mutlu

Abstract

True random number generators (TRNG) sample random physical processes to create large amounts of random numbers for various use cases, including security-critical cryptographic primitives, scientific simulations, machine learning applications, and even recreational entertainment. Unfortunately, not every computing system is equipped with dedicated TRNG hardware, limiting the application space and security guarantees for such systems. To open the application space and enable security guarantees for the overwhelming majority of computing systems that do not necessarily have dedicated TRNG hardware (e.g., processing-in-memory systems), we develop QUAC-TRNG, a new high-throughput TRNG that can be fully implemented in commodity DRAM chips, which are key components in most modern systems.

QUAC-TRNG exploits the new observation that a carefullyengineered sequence of DRAM commands activates four consecutive DRAM rows in rapid succession. This QUadruple ACtivation (QUAC) causes the bitline sense amplifiers to nondeterministically converge to random values when we activate four rows that store conflicting data because the net deviation in bitline voltage fails to meet reliable sensing margins.

We experimentally demonstrate that QUAC reliably generates random values across 136 commodity DDR4 DRAM chips from one major DRAM manufacturer. We describe how to develop an effective TRNG (QUAC-TRNG) based on QUAC. We evaluate the quality of our TRNG using the commonly-used NIST statistical test suite for randomness and find that QUAC-TRNG successfully passes each test. Our experimental evaluations show that QUAC-TRNG reliably generates true random numbers with a throughput of 3.44 Gb/s (per DRAM channel), outperforming the state-of-the-art DRAM-based TRNG by 15.08× and 1.41× for basic and throughput-optimized versions, respectively. We show that QUAC-TRNG utilizes DRAM bandwidth better than the state-of-the-art, achieving up to 2.03× the throughput of a throughput-optimized baseline when scaling bus frequencies to 12 GT/s.

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.

15 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching
  • A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses
  • A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses cites Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud Providers
  • Pathfinding Future PIM Architectures by Demystifying a Commercial PIM Technology cites SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • Functionally-Complete Boolean Logic in Real DRAM Chips: Experimental Characterization and Analysis cites A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses
  • Functionally-Complete Boolean Logic in Real DRAM Chips: Experimental Characterization and Analysis cites FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching
  • Functionally-Complete Boolean Logic in Real DRAM Chips: Experimental Characterization and Analysis cites HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips
  • Functionally-Complete Boolean Logic in Real DRAM Chips: Experimental Characterization and Analysis cites SIMDRAM: a framework for bit-serial SIMD processing using DRAM
  • FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching cites Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud Providers
  • Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques cites Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud Providers
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and Defenses
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM Chips cites Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud Providers
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and Implications cites Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud Providers
  • SIMDRAM: a framework for bit-serial SIMD processing using DRAM cites FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and Caching
  • SIMDRAM: a framework for bit-serial SIMD processing using DRAM cites Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation Techniques
  • SIMDRAM: a framework for bit-serial SIMD processing using DRAM cites TRRespass: Exploiting the Many Sides of Target Row Refresh
  • TRRespass: Exploiting the Many Sides of Target Row Refresh cites Are We Susceptible to Rowhammer? An End-to-End Methodology for Cloud Providers
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers15

  1. Uncovering In-DRAM RowHammer Protection Mechanisms: A New Methodology, Custom RowHammer Patterns, and ImplicationsHasan Hassan, Yahya Can Tugrul, Jeremie S. Kim, Victor van der Veen et al.MICRO 2021 · 79 citations
  2. A Deeper Look into RowHammer's Sensitivities: Experimental Analysis of Real DRAM Chipsand Implications on Future Attacks and DefensesLois Orosa, Abdullah Giray Yaglikçi, Haocong Luo, Ataberk Olgun et al.MICRO 2021 · 74 citations
  3. Pathfinding Future PIM Architectures by Demystifying a Commercial PIM TechnologyBongjoon Hyun, Taehun Kim, Dongjae Lee, Minsoo RhuHPCA 2024 · 62 citations
  4. HiRA: Hidden Row Activation for Reducing Refresh Latency of Off-the-Shelf DRAM ChipsAbdullah Giray Yaglikçi, Ataberk Olgun, Minesh Patel, Haocong Luo et al.MICRO 2022 · 43 citations
  5. Functionally-Complete Boolean Logic in Real DRAM Chips: Experimental Characterization and AnalysisIsmail Emir Yüksel, Yahya Can Tugrul, Ataberk Olgun, F. Nisa Bostanci et al.HPCA 2024 · 32 citations

Builds on8

  1. TRRespass: Exploiting the Many Sides of Target Row RefreshPietro Frigo, Emanuele Vannacci, Hasan Hassan, Victor van der Veen et al.S&P 2020 · 274 citations
  2. SIMDRAM: a framework for bit-serial SIMD processing using DRAMNastaran Hajinazar, Geraldo F. Oliveira, Sven Gregorio, João Dinis Ferreira et al.ASPLOS 2021 · 182 citations
  3. Revisiting RowHammer: An Experimental Analysis of Modern DRAM Devices and Mitigation TechniquesJeremie S. Kim, Minesh Patel, Abdullah Giray Yaglikçi, Hasan Hassan et al.ISCA 2020 · 161 citations
  4. 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
  5. FIGARO: Improving System Performance via Fine-Grained In-DRAM Data Relocation and CachingYaohua Wang, Lois Orosa, Xiangjun Peng, Yang Guo et al.MICRO 2020 · 72 citations

Related papers

  1. DR-STRaNGe: End-to-End System Design for DRAM-based True Random Number GeneratorsF. Nisa Bostanci, Ataberk Olgun, Lois Orosa, Abdullah Giray Yaglikçi et al.HPCA 2022 · 19 citations
  2. DH-TRNG: A Dynamic Hybrid TRNG with Ultra-High Throughput and Area-Energy EfficiencyYuan Zhang, Kuncai Zhong, Jiliang ZhangDAC 2024 · 19 citations
  3. FracDRAM: Fractional Values in Off-the-Shelf DRAMFei Gao, Georgios Tziantzioulis, David WentzlaffMICRO 2022 · 22 citations
  4. An FPGA-Compatible TRNG with Ultra-High Throughput and Energy EfficiencyZhaojun Lu, Houjia Qidiao, Qidong Chen, Zhenglin Liu et al.DAC 2023 · 24 citations
  5. PuDghost: Experimental Analysis of Computation Result Corruption in Processing-Using-Dram Operations on Real Dram Chips and Implications for Future SystemsDaichi Tokuda, Ismail Emir Yüksel, Tatsuya Kubo, Ataberk Olgun et al.ISCA 2026 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines