This repository contains the implementation of various tools that are used to induce the Rowhammer vulnerability in userspace (without depending on pagemap interface)
Patches for Transparent Huge Pages (THP) support in hammertime and rowhammer-test.
Standalone tool that is based on Transparent Huge Pages (THP) feature, a feature that is by default enabled in various Linux distributions
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.
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.
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