ROWHAMMER¶
Row Hammer DMA attacker
This module allows to perform a Row Hammer attack by configuring it with two addresses that map to different rows of a single bank. When enabled, it will perform alternating DMA reads from the given locations, which will result in the DRAM controller having to repeatedly open/close rows at each read access.
Register Listing for ROWHAMMER¶
Register |
Address |
---|---|
ROWHAMMER_ENABLED¶
Address: 0xf0002000 + 0x0 = 0xf0002000
Used to start/stop the operation of the module
ROWHAMMER_ADDRESS1¶
Address: 0xf0002000 + 0x4 = 0xf0002004
First attacked address
ROWHAMMER_ADDRESS2¶
Address: 0xf0002000 + 0x8 = 0xf0002008
Second attacked address
ROWHAMMER_COUNT¶
Address: 0xf0002000 + 0xc = 0xf000200c
This is the number of DMA accesses performed. When the module is enabled, the value can be freely read. When the module is disabled, the register is clear-on- write and has to be read before the next attack.