We're thrilled to announce £5.5million Series A funding from Gresham House Ventures. Click to find out more!
Addressing worrying aspects many security teams overlook

BlueKeep- Watch out, the worms are on the horizon

Defend against BlueKeep's looming threats. Insights on securing systems from potential widespread attacks. This blog will help you stay informed of threats.

Calum Boal
Calum Boal
Head of Security Engineering
August 06, 2019

What is BlueKeep?

Since it's disclosure on May 14th it's been hard to escape news coverage of the omnipresent omnishambles that is BlueKeep. Of course, this is understandable; because a critical vulnerability in Window’s Remote Desktop Protocol that affects Windows 2000 through 7/2008 R2 is no laughing matter. Particularly when you consider that if successfully exploited it results in a remote code execution with Window’s highest possible level of privilege: NT_AUTHORITY/SYSTEM - which surpasses even ‘Administrator’.

What's the latest on the BlueKeep threat?

However, beyond the obvious dangers there’s another reason BlueKeep’s been on everyone’s mind. That’s the worrying degree of public exposure Remote Desktop Services are subject to, with over 1,000,000 internet-facing devices enumerated last month. Granted, that number has since fallen by 200,000, however, the vast number of affected hosts remaining present on the internet is still dangerously high.

And when you combine this 800,000-number with the inherently ‘wormable’ nature of BlueKeep, it’s easy to see why the NSA, NCSC and Microsoft have all sounded the alarm, issuing stark emergency advisory warnings and instructing people to immediately apply Bluekeep Patches to all hosts they’re responsible for.

They even went so far as to raise the spectre of a potential repeat of WannaCry/NotPetya the devastating ransomware campaign which shook the world in 2017, taking down thousands of networks - including the NHS's.

BlueKeep exploits exist and are evolving fast

Of course everyone knew that someone, somewhere had already developed an exploit but these were thought to be in the hands of organizations with little motivation for indiscriminate ransomware attacks via a worm. So, with no exploit code circulating publically, some chose to ignore the rising alarm bells.

Inevitably, they could be ignored no longer when last Tuesday steps to create a working exploit were published on GitHub. Since their publication, a public proof-of-concept exploit has been created, however, it currently only works on Windows XP. On Wednesday the security company Immunity (who maintain the CANVAS exploit framework) released a fully functional BlueKeep exploit, thankfully, it is located behind a significant pay wall. By Friday a working PoC exploit was submitted to the Metasploit Framework, pending Rapid7’s review.

Are Security Teams responding fast enough?

The rapid pace of events should make clear to those that haven't patched yet that: The count-down to BlueKeep being used in the wild is has begun.

As an industry, you think we'd have learned the lessons of 2017, but the latest figures tell a different story. The current rate of patching 5,000 externally facing assets per day simply isn’t fast enough to outrun the rate at which exploits are being published.

But what about internal assets?

Despite all the alarms and hysteria regarding externally facing assets many Security teams have an oddly complacent attitude towards patching vulnerable hosts on their internal networks. Our Pentesters at OnSecurity -and indeed every Pen tester I’ve spoken to since the disclosure- are finding that this Critical vulnerability is still turning up regularly in pentests. In some instances, this has even been the case when re-testing clients after the previous report highlighted BlueKeep's prevalence within their environment.

Now obviously, we all know that patching your network perimeter takes priority. And if downtime business operations prevent you patching externally facing hosts, then it is imperative you firewall off RDP services to prevent them from being exploited. Preventing worms from successfully propagating throughout the internet is ‘Job-One’.

But once that’s taken care of, your attention should immediately turn to protecting your internal assets.

Ignore internal patching at your peril

The parallels between BlueKeep and EternalBlue couldn’t be clearer. The havoc of EternalBlue is not some distant memory either: Just last month the State of Florida paid out whopping $1,000,000 in ransom to attackers who compromised networks via Phishing, and used automated malware strains which compromised additional hosts within the network via 3 main techniques, one of which was EternalBlue.

The danger cannot be overstated: It is a certainty that Malware strains such as the ones responsible for the Florida attacks will incorporate BlueKeep into their arsenal soon.

Patch BlueKeep ASAP

So, make no mistake: the worms are on the horizon. Do not wait until it's too late to patch. Yes, it’s great that your externally facing assets are patched, but now is the time to ensure your internal assets are patched as well. Defence in depth is key, as it always is in security.

The best time to start patching was yesterday, the second-best time is now.

If you want to check your exposure to BlueKeep or need help patching contact me at Calum.Boal@OnSecurity.co.uk today.

About Calum Boal

Calum is our Security Consultant at OnSecurity and works out of our Bristol office. He graduated Abertay University with honours in Ethical Hacking and has since obtained CSPA OSCP and CRT. Feel free to connect with him on LinkedIn.

More recommended articles

© 2024 ONSECURITY TECHNOLOGY LIMITED (company registered in England and Wales. Registered number: 14184026 Registered office: Runway East, 101 Victoria Street, Bristol, England, BS1 6PU). All rights reserved.