Mayhem: Targeted Corruption of Register and Stack Variables
Andrew J. Adiletta, M. Caner Tol, Yark{\i}n Dor\"oz, Berk Sunar

TL;DR
This paper demonstrates how Rowhammer can be exploited to inject faults into register and stack variables, enabling attacks like bypassing authentication and compromising cryptographic operations.
Contribution
It introduces a novel method to target register and stack variables via Rowhammer, extending the attack surface beyond traditional memory corruption techniques.
Findings
Rowhammer can be used to corrupt register and stack variables
The attack can bypass SUDO and SSH authentication
End-to-end attack demonstrated on OpenSSL digital signature
Abstract
In the past decade, many vulnerabilities were discovered in microarchitectures which yielded attack vectors and motivated the study of countermeasures. Further, architectural and physical imperfections in DRAMs led to the discovery of Rowhammer attacks which give an adversary power to introduce bit flips in a victim's memory space. Numerous studies analyzed Rowhammer and proposed techniques to prevent it altogether or to mitigate its effects. In this work, we push the boundary and show how Rowhammer can be further exploited to inject faults into stack variables and even register values in a victim's process. We achieve this by targeting the register value that is stored in the process's stack, which subsequently is flushed out into the memory, where it becomes vulnerable to Rowhammer. When the faulty value is restored into the register, it will end up used in subsequent iterations.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Network Security and Intrusion Detection
