Uma equipe de pesquisadores dos Estados Unidos, Austrália e Áustria desenvolveu uma nova versão de ataque Rowhammer.onlike previous versions, a new attack called RAMBleed allows not only modifing data and increase privileges, mas também roubar dados armazenados no dispositivo.
Rowhammer é uma classe de vulnerabilidade hardware explorar (CVE-2019-0174) em cartões de memória modernos. Por padrão, data in memory cards is stored in cells located on a silicon chip in rows forming a grid.
Em 2014, scientists found that multiple readings of data stored in the same row result in an electrical charge that can affect data in adjacent rows. The attack was called Rowhammer, and with its help, scientists could either damage data or use it for malicious purposes.
Desde a 2014, researchers significantly expanded capabilities of the original attack, Contudo, it was only now possible to remove data from the memory and steal it.
“It is widely assumed however, that bit flips within the adversary’s own private memory have no security implications, as the attacker can already modify its private memory via regular write operations. We demonstrate that this assumption is incorrect by employing Rowhammer as areadside channel. More specifically, we show how an unprivileged attacker can exploit the data dependence between Rowhammer induced bit flips and the bitsin nearby rows to deduce these bits, including values belonging to other processes and the kernel”, - relatório pesquisadores.
In order to make RAMBleed attack possible, scientists managed to force Linux memory allocator (buddy allocator) to enable a large block of consecutive physical addresses that allowed them to orchestrate the attack.
Researchers created a new mechanism, “Frame Feng Shui“, to place victim’s program pages in the right place in physical memory. além do que, além do mais, they developed a new method of managing data in memory and repeating their reading (so-called row hammering) to determine which data is in neighboring memory cells.
“Thus, primary contribution of this work is to show that Rowhammer is a threat to not only integrity, but also to confidentiality”, — say scientists.