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.

Application Security

10:10 AM
Larry Loeb
Larry Loeb
Larry Loeb

Windows Remote Code Execution Vulnerability Requires More Than Just Patching

But nobody said it was going to be easy...

The remote code execution (RCE) vulnerability in Remote Desktop Protocol (RDP) of Windows (CVE-2019-0708) was patched by Microsoft in May. They have made patches available for all their systems, even including Windows 7, which is in end-of-life status. They have strongly advised everyone -- and they mean everyone -- to apply the patch, fearing the exploit could become widespread.

There are ways to protect against the RCE at a network level, Cisco Talos has found. One can use SNORT rules to block any RDP connection that attempts to use the "MS_T120" virtual channel, for example. That is the channel that enables the entire RCE process. Nick Biasini of Talos posted a summary of their work that shows how involved a full network solution would have to be. And it's not an easy one, by any means.

The blog focuses on how to deal with an attacker that tries to bypass any network efforts against the "BlueKeep" RCE exploit by encrypting the RDS service using TLS. Such encryption would stop the scanning of the RDP stream unless it is acknowledged as encrypted during the beginning of the RDS connection.

Cisco outlines in their posting the steps that are necessary to get RDP over SSL decryption.

The self-signed certificate for the RDP server is the first area that needs attention. Working with the "Remote Desktop Session Host Configuration" can obtain the private key to it.

Some command line work in OpenSSL is the next step after exporting the certificate. This gets the RDP certificate separated by itself, and able to be imported into your network scanner.

Once imported, the certificate is used to create an Intrusion Prevention Policy in the network scan. It has to be enabled, of course.

In general, even if services like RDP and SMB are not exposed to the raw Internet unless explicitly required, it will not eliminate the need for continual patching.

As Talos put it, "Vulnerabilities this severe appear periodically, and organizations need to be prepared to respond in a variety of different ways. Patching takes time and making sure that you have detection and prevention in place can require varying levels of difficulty. In this particular example, in order to get a higher level of visibility, SSL decryption is required for more thorough protections."

Although additional detection steps may be useful in this kind of situation, they can't be counted on to stop all problems that may arise. Patching remains the best overall solution.

Be aware that the network-layer solution that Talos is proposing has never been implemented at scale and across so many versions of Windows (all of which have quirks). This means other controls would need to be in place (like everyone in the world patching) for true mitigation.

— 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
Newest First  |  Oldest First  |  Threaded View
COVID-19: Latest Security News & Commentary
Dark Reading Staff 8/3/2020
Pen Testers Who Got Arrested Doing Their Jobs Tell All
Kelly Jackson Higgins, Executive Editor at Dark Reading,  8/5/2020
Researcher Finds New Office Macro Attacks for MacOS
Curtis Franklin Jr., Senior Editor at Dark Reading,  8/7/2020
Register for Dark Reading Newsletters
White Papers
Cartoon Contest
Current Issue
Special Report: Computing's New Normal, a Dark Reading Perspective
This special report examines how IT security organizations have adapted to the "new normal" of computing and what the long-term effects will be. Read it and get a unique set of perspectives on issues ranging from new threats & vulnerabilities as a result of remote working to how enterprise security strategy will be affected long term.
Flash Poll
The Changing Face of Threat Intelligence
The Changing Face of Threat Intelligence
This special report takes a look at how enterprises are using threat intelligence, as well as emerging best practices for integrating threat intel into security operations and incident response. Download it today!
Twitter Feed
Dark Reading - Bug Report
Bug Report
Enterprise Vulnerabilities
From DHS/US-CERT's National Vulnerability Database
PUBLISHED: 2020-08-10
A function in Combodo iTop contains a vulnerability of Broken Access Control, which allows unauthorized attacker to inject command and disclose system information.
PUBLISHED: 2020-08-10
Combodo iTop does not validate inputted parameters, attackers can inject malicious commands and launch XSS attack.
PUBLISHED: 2020-08-10
Combodo iTop contains a stored Cross-site Scripting vulnerability, which can be attacked by uploading file with malicious script.
PUBLISHED: 2020-08-10
A security misconfiguration exists in Combodo iTop, which can expose sensitive information.
PUBLISHED: 2020-08-10
Combodo iTop contains a cross-site request forgery (CSRF) vulnerability, attackers can execute specific commands via malicious site request forgery.