Skip to main content
QUICK REVIEW

[Paper Review] Reverse Engineering Intel DRAM Addressing and Exploitation

Peter Pessl, Daniel Gruss|arXiv (Cornell University)|Nov 27, 2015
Security and Verification in ComputingComputer Science22 references12 citations
TL;DR

This paper presents a novel timing-based reverse engineering technique to uncover Intel DRAM addressing functions without privileged access, enabling side-channel and covert channel attacks via row conflicts in DRAM. It achieves a covert channel at 1.5 Mb/s and reduces Rowhammer attack search space by up to 16,384×, exploiting DRAM layout across multiple CPUs.

ABSTRACT

In this paper, we present a method to reverse engineer DRAM addressing functions based on a physical bus probing. Second, we present an automatic and generic method to reverse engineer DRAM addressing functions merely from performing a timing attack. This timing attack can be performed on any system without privileges and even in virtual machines to derive information about the mapping to physical DRAM channels, ranks and banks. We reversed the complex adressing functions on a diverse set of Intel processors and DRAM configurations. Our work enables side-channel attacks and covert channels based on inner-bank row conflicts and overlaps. Thus, our attack does not exploit the CPU as a shared resource, but only the DRAM that might even be shared across multiple CPUs. We demonstrate the power of such attacks by implementing a high speed covert channel that achieves transmission rates of up to 1.5 Mb/s, which is three orders of magnitude faster than current covert channels on main memory. Finally, we show how our results can be used to increase the efficiency of the Rowhammer attack significantly by reducing the search space by a factor of up to 16384.

Motivation & Objective

  • To reverse engineer DRAM addressing functions on Intel processors using only timing side-channel information.
  • To enable side-channel and covert channel attacks based on inner-bank row conflicts in DRAM.
  • To reduce the search space for Rowhammer attacks by accurately mapping DRAM channel, rank, and bank layout.
  • To demonstrate the feasibility of such attacks in unprivileged environments, including virtual machines.
  • To provide a generic, automatic method applicable across diverse Intel processor and DRAM configurations.

Proposed method

  • The method performs a physical bus probing to observe DRAM access patterns and derive addressing mappings.
  • It uses a timing attack that measures access latencies to infer DRAM channel, rank, and bank layout without requiring system privileges.
  • The approach automatically reconstructs complex DRAM addressing functions by analyzing timing variations across memory accesses.
  • It leverages row conflict behavior within DRAM banks to construct high-bandwidth covert channels.
  • The technique is generic and works across multiple Intel processors and DRAM configurations, even in virtualized environments.
  • The reverse-engineered addressing functions are used to optimize Rowhammer attacks by narrowing the target search space.

Experimental results

Research questions

  • RQ1How can DRAM addressing functions be reverse engineered using only timing side-channel information?
  • RQ2To what extent can DRAM layout (channels, ranks, banks) be inferred without privileged access?
  • RQ3Can inner-bank row conflicts be exploited to build high-speed covert channels in DRAM?
  • RQ4How much can the search space for Rowhammer attacks be reduced using accurate DRAM layout knowledge?
  • RQ5Is it feasible to perform such reverse engineering in virtual machines or unprivileged environments?

Key findings

  • The authors successfully reverse engineered DRAM addressing functions on a diverse set of Intel processors and DRAM configurations using only timing measurements.
  • A covert channel was implemented with a transmission rate of up to 1.5 Mb/s, significantly faster than existing main memory-based covert channels.
  • The attack achieves a reduction in the Rowhammer search space by a factor of up to 16,384 through precise DRAM layout reconstruction.
  • The method works without root privileges and is effective even in virtual machines, enabling broader exploitation surface.
  • The results demonstrate that DRAM, not just the CPU, can be a shared resource for side-channel attacks across multiple processors.
  • Inner-bank row conflicts are exploitable for high-bandwidth communication, enabling new classes of memory-based side channels.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.