Dark Reading is part of the Informa Tech Division of Informa PLC

This site is operated by a business or businesses owned by Informa PLC and all copyright resides with them.Informa PLC's registered office is 5 Howick Place, London SW1P 1WG. Registered in England and Wales. Number 8860726.

ABTV

10/11/2017
12:37 PM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Rowhammer Attack Pounds With Precision

A new variant of the Rowhammer attack can work around every known defense.

As DRAM has gotten smaller and larger in capacity, the memory cells that make it up have also gotten smaller. This has led to a kind of defect where attackers could bombard ("hammer") RAM memory cell rows with constant read-write operations thereby causing the memory cells to change their electrical charge and their logical state.

First discovered in 2014, there has been continued research into the attack over the ensuing years. It's known that DDR3 and DDR4 kinds of memory are vulnerable to it. It has also been shown that such attacks can be conducted with simple JavaScript, rather than complex malware code.

Not only that, this kind of exploit can escalate an attacker's privileges, root a device, or cause denial-of-service to services like security software. It can mess things up big time.

Memory manufacturers have tried to respond to this situation by instituting changes like looking at CPU performance counters for frequent accesses to DRAM cells and separating user and kernel memory cells by physical isolation. Intel even changed some of its CPU memory architecture to make Rowhammer attacks harder to implement.

But researchers Daniel Gruss, Moritz Lipp, Michael Schwarz, Daniel Genkin, Jonas Juffinger, Sioli O’Connell, Wolfgang Schoechl and Yuval Yarom have found a way to launch a new kind of Rowhammer attack that is able to ignore all of the defenses that have been done up to now. Instead of attacking multiple rows of cells, this new method only hammers one row of cells.

They also use a method called opcode flipping, which is a generic technique for exploiting bit flips in cached copies of binary files. In contrast to the previous Rowhammer attacks which are based on memory heap spraying (injecting data into specific parts of computer memory), the binary pages they attack cannot be sprayed and only exist for a single time in the entire memory.

This opcode flipping allows them avoid previous mitigation methods that were memory based by flipping bits in a predictable and targeted way inside the userspace Sudo binaries.

The attack is detailed in their paper "Another Flip in the Wall of Rowhammer Defenses" published this week.

The researchers say that the technique is still capable of carrying out denial-of-service attacks on cloud environments, as well as for privilege escalation on personal computers.


Want to learn more about the tech and business cases for deploying virtualized solutions in the cable network? Join us in Denver on October 18 for Light Reading's Virtualizing the Cable Architecture event – a free breakfast panel at SCTE/ISBE's Cable-Tec Expo featuring speakers from Comcast and Charter.

As an example, they were able to fool the Intel SGX (Software Guard Extensions) in order "...to hide the the full privilege-escalation attack entirely from the user and the operating system, making any inspection or detection of the attack infeasible," as they put it. The attacker in this case will run an unprivileged SGX enclave to evade defense classes.

The authors give no hints in their paper on how the attack might be mitigated, showing the depth and seriousness of the potential impact. There may be efforts currently underway to deal with it, but they have not reached the public as of now.

Related posts:

— Larry Loeb has written for many of the last century's major "dead tree" computer magazines, having been, among other things, a consulting editor for BYTE magazine and senior editor for the launch of WebWeek.

Comment  | 
Print  | 
More Insights
Comments
Newest First  |  Oldest First  |  Threaded View
Edge-DRsplash-10-edge-articles
I Smell a RAT! New Cybersecurity Threats for the Crypto Industry
David Trepp, Partner, IT Assurance with accounting and advisory firm BPM LLP,  7/9/2021
News
Attacks on Kaseya Servers Led to Ransomware in Less Than 2 Hours
Robert Lemos, Contributing Writer,  7/7/2021
Commentary
It's in the Game (but It Shouldn't Be)
Tal Memran, Cybersecurity Expert, CYE,  7/9/2021
Register for Dark Reading Newsletters
White Papers
Video
Cartoon
Current Issue
Enterprise Cybersecurity Plans in a Post-Pandemic World
Download the Enterprise Cybersecurity Plans in a Post-Pandemic World report to understand how security leaders are maintaining pace with pandemic-related challenges, and where there is room for improvement.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-31923
PUBLISHED: 2021-09-24
Ping Identity PingAccess before 5.3.3 allows HTTP request smuggling via header manipulation.
CVE-2021-41581
PUBLISHED: 2021-09-24
x509_constraints_parse_mailbox in lib/libcrypto/x509/x509_constraints.c in LibreSSL through 3.4.0 has a stack-based buffer over-read. When the input exceeds DOMAIN_PART_MAX_LEN, the buffer lacks '\0' termination.
CVE-2021-41583
PUBLISHED: 2021-09-24
vpn-user-portal (aka eduVPN or Let's Connect!) before 2.3.14, as packaged for Debian 10, Debian 11, and Fedora, allows remote authenticated users to obtain OS filesystem access, because of the interaction of QR codes with an exec that uses the -r option. This can be leveraged to obtain additional VP...
CVE-2021-41584
PUBLISHED: 2021-09-24
Gradle Enterprise before 2021.1.3 can allow unauthorized viewing of a response (information disclosure of possibly sensitive build/configuration details) via a crafted HTTP request with the X-Gradle-Enterprise-Ajax-Request header.
CVE-2020-19949
PUBLISHED: 2021-09-23
A cross-site scripting (XSS) vulnerability in the /link/add.html component of YzmCMS v5.3 allows attackers to execute arbitrary web scripts or HTML.