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.

Endpoint Security

11/26/2019
12:00 PM
Larry Loeb
Larry Loeb
Larry Loeb
50%
50%

Dangerous 'RIPlace' Exploit Able to Bypass AV & EDR Protections

Researchers discover way that ransomware can bypass the protections which operating system vendors have built into their products.

Security researchers Daniel Prizmant, Guy Meoded, Freddy Ouzan and Hanan Natan, who work at endpoint protection firm Nyotron, have found a waythat ransomware can bypass the protections which operating system vendors have built into their products. Other software products that try and stop ransomware are also affected by the exploit.

Nyotron says that, "all antivirus products we have tested to date were bypassed. Even Endpoint Detection and Response (EDR) products that are supposed to keep track of all data-related activity are completely blind to this technique."

Calling it RIPlace, it can be implemented in only a few lines of code. It leverages a Windows operating system design flaw rather than a flaw in specific piece of software.

The exploit focuses on the step of ransomware where the original files are rewritten to an encrypted form and the original is destroyed. If the way this happens involves the Rename function, RIPlace is possible.

There is some work that needs to be done of course. If prior to calling Rename, DefineDosDevice is called (a legacy function that creates a symlink), an arbitrary name can be set as the device name. The original file path will then be the target to which it points. This way we can get our device "XY" to refer to "C:\passwords.txt".\r\nNytron summarizes the crux of RIPlace as, "The RIPlace discovery is that in the callback function filter driver fails to parse the destination path when using the common routine FltGetDestinationFileNameInformation. It returns an error when passing a DosDevice path (instead of returning the path, post-processed); however, the Rename call succeeds."

So, the ransomware protection's MiniFilter driver sees an error, and therefore nothing is blocked. Yet, the Rename still succeeds and can change the file even if it has been encrypted.

While Neutron says that the technique "has not been detected in the wild (at least as far as we know), we have already alerted Microsoft and security vendors."

They also released a software tool (https://www.nyotron.com/riplace) to check if you are susceptible to this problem. It encrypts a file with XOR methods and tries to get it to show up in violation of Window's Controlled Folder Access (CFA) tool.

When another publication asked MSFT about all of this, they responded that that the technique is not considered a vulnerability and as CFA is a defense-in-depth feature, it does not satisfy their security servicing criteria. In short, they are ignoring it.

owever, Kaspersky and Carbon Black have both reportedly modified their software in order to prevent RIPlace from being effective.

— 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
How Enterprises are Attacking the Cybersecurity Problem
Concerns over supply chain vulnerabilities and attack visibility drove some significant changes in enterprise cybersecurity strategies over the past year. Dark Reading's 2021 Strategic Security Survey showed that many organizations are staying the course regarding the use of a mix of attack prevention and threat detection technologies and practices for dealing with cyber threats.
Flash Poll
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
CVE-2021-40865
PUBLISHED: 2021-10-25
An Unsafe Deserialization vulnerability exists in the worker services of the Apache Storm supervisor server allowing pre-auth Remote Code Execution (RCE). Apache Storm 2.2.x users should upgrade to version 2.2.1 or 2.3.0. Apache Storm 2.1.x users should upgrade to version 2.1.1. Apache Storm 1.x use...
CVE-2021-25977
PUBLISHED: 2021-10-25
In PiranhaCMS, versions 7.0.0 to 9.1.1 are vulnerable to stored XSS due to the page title improperly sanitized. By creating a page with a specially crafted page title, a low privileged user can trigger arbitrary JavaScript execution.
CVE-2021-35231
PUBLISHED: 2021-10-25
As a result of an unquoted service path vulnerability present in the Kiwi Syslog Server Installation Wizard, a local attacker could gain escalated privileges by inserting an executable into the path of the affected service or uninstall entry. Example vulnerable path: "Computer\HKEY_LOCAL_MACHIN...
CVE-2021-38294
PUBLISHED: 2021-10-25
A Command Injection vulnerability exists in the getTopologyHistory service of the Apache Storm 2.x prior to 2.2.1 and Apache Storm 1.x prior to 1.2.4. A specially crafted thrift request to the Nimbus server allows Remote Code Execution (RCE) prior to authentication.
CVE-2021-40526
PUBLISHED: 2021-10-25
Incorrect calculation of buffer size vulnerability in Peleton TTR01 up to and including PTV55G allows a remote attacker to trigger a Denial of Service attack through the GymKit daemon process by exploiting a heap overflow in the network server handling the Apple GymKit communication. This can lead t...