No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
0.Extensions
1.THP Rowhammer
2.TC Rowhammer
3.TCHP Rowhammer
README.md

README.md

Rowhammer Attack

This repository contains the implementation of various tools that are used to induce the Rowhammer vulnerability in userspace (without depending on pagemap interface)

0. Extensions

Patches for Transparent Huge Pages (THP) support in hammertime and rowhammer-test.

1. THP Rowhammer (hprh)

Standalone tool that is based on Transparent Huge Pages (THP) feature, a feature that is by default enabled in various Linux distributions

2. TC Rowhammer (tcrh)

tcrh utilizes a timing channel to identify possible targets that are mapped within the same bank. After the identification phase it exhaustively tests rows within a given range for the rowhammer vulnerability. It does not depend on the THP feature but is significantly more inefficient than hprh.

3. TCHP Rowhammer (thrh)

Finally, thrh makes use of the timing channel used in tcrh to identify regions in memory that are physically contiguous. When a region is identified, is passed to hprh to induce the vulnerability. This tool is based on the Linux memory allocation patterns and it has the potential to work as efficiently as hprh without the need of THP.

Remarks

The provided tools are cabable of inducing the Rowhammer vulnerability without special privileges and as such the techniques described are practical for use in actual exploitation scenarios (example).

If there is interest of just exploring and testing for the vulnerability, I would suggest to check out hammertime. They provide various features for experimenting with the vulnerability with support for various microarchitectures and configurations. (It requires elevated privileges for its operation)

Initial research on Rowhammer vulnerability: https://users.ece.cmu.edu/~yoonguk/papers/kim-isca14.pdf