DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory Commands

Hwayong Nam, Seungmin Baek, Minbok Wi, Michael Jaemin Kim, Jaehyun Park, Chihun Song, Nam Sung Kim, Jung Ho Ahn

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

The demand for precise information on DRAM microarchitectures and error characteristics has surged, driven by the need to explore processing in memory, enhance reliability, and mitigate security vulnerability. Nonetheless, DRAM manufacturers have disclosed only a limited amount of information, making it difficult to find specific information on their DRAM microarchitectures. This paper addresses this gap by presenting more rigorous findings on the microarchitectures of commodity DRAM chips and their impacts on the characteristics of activate-induced bitflips (AIBs), such as RowHammer and RowPress. The previous studies have also attempted to understand the DRAM microarchitectures and associated behaviors, but we have found some of their results to be misled by inaccurate address mapping and internal data swizzling, or lack of a deeper understanding of the modern DRAM cell structure. For accurate and efficient reverse-engineering, we use three tools: AIBs, retention time test, and RowCopy, which can be cross-validated. With these three tools, we first take a macroscopic view of modern DRAM chips to uncover the size, structure, and operation of their subarrays, memory array tiles (MATs), and rows. Then, we analyze AIB characteristics based on the microscopic view of the DRAM microarchitecture, such as 6F2 cell layout, through which we rectify misunderstandings regarding AIBs and discover a new data pattern that accelerates AIBs. Lastly, based on our findings at both macroscopic and microscopic levels, we identify previously unknown AIB vulnerabilities and propose a simple yet effective protection solution.

Original languageEnglish (US)
Title of host publicationProceeding - 2024 ACM/IEEE 51st Annual International Symposium on Computer Architecture, ISCA 2024
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1097-1111
Number of pages15
ISBN (Electronic)9798350326581
DOIs
StatePublished - 2024
Event51st ACM/IEEE Annual International Symposium on Computer Architecture, ISCA 2024 - Buenos Aires, Argentina
Duration: Jun 29 2024Jul 3 2024

Publication series

NameProceedings - International Symposium on Computer Architecture
ISSN (Print)1063-6897
ISSN (Electronic)2575-713X

Conference

Conference51st ACM/IEEE Annual International Symposium on Computer Architecture, ISCA 2024
Country/TerritoryArgentina
CityBuenos Aires
Period6/29/247/3/24

ASJC Scopus subject areas

  • Hardware and Architecture

Fingerprint

Dive into the research topics of 'DRAMScope: Uncovering DRAM Microarchitecture and Characteristics by Issuing Memory Commands'. Together they form a unique fingerprint.

Cite this