10 mins read
The malware, implemented as a ‘worm’, would result in malicious access and exploitation of systems. While the vulnerability has thus far proven unstable, this fact may lead to denial of service for such systems through a fatal system error resulting in a "blue screen of death" (BSOD). Based on reported activity, some compromised systems show artefacts similar to those found when the MetaSploit exploit framework module is used. Additionally, crypto-miners and ransomware malware has also been reported as secondary infections.
If unmanaged, the abuse of the exploit could have consequences not dissimilar to the WannaCry malware attack in 2017, which cost the NHS alone £92m. The comparison is not without merit; the last time Microsoft issued a security update for out-of-support operating systems was during the period WannaCry infections were at their peak.
BlueKeep exploits utilize Remote Desktop Services (RDS), and can affect Microsoft Windows Vista, Windows 7, Windows XP, Server 2003, and Server 2008 operating systems. Microsoft released a patch in May, but it is not known how many users are still vulnerable (unpatched) or may have been compromised. This is of particular concern for systems where Windows Embedded is deployed, as many of these more esoteric systems are less frequently updated and therefore more at risk.
This advisory is designed to help readers make an informed decision about the next steps to take.
At the time of writing, exploits have only been released publicly for the 64-bit versions of Windows 7 and Windows Server 2008 R2. However, reliable exploits for other vulnerable versions of Windows, such as Windows XP, Server 2003, Vista, and Server 2008 could be in use by malicious threat actors.
The exploit can execute – unauthenticated – against systems and be made 'wormable' due to Remote Desktop Services, allowing data channels to be established before authentication. In practice, this enables it to infect other vulnerable systems automatically.
One workaround is to implement Network Level Authentication (NLA). This would limit the exploit’s reach to systems of which an attacker has valid credentials. In the case of an attacker having valid credentials, patching the vulnerable systems, and/or blocking access to the RDP port (TCP 3389), would be the only other mitigations available for implementation to protect against the attacks.
This is more difficult to answer, in that signs of compromise can vary depending on the goal of the attacker. An up-to-date anti-virus solution will catch any known malicious payloads deployed onto the target systems, such as crypto-miners and ransomware strains. However, any binaries with unknown signatures will likely stay under the radar and avoid detection for an indeterminate amount of time.
Endpoint Detection and Response (EDR) solutions may be able to detect child process creation related to the execution of the exploit's payload, as can be seen in Kevin Beaumont's article detailing his findings. The telemetry used to determine the cause of the system instability was related to a remote thread injection into Windows' 'spoolsv.exe' process, which is the default process used in the Metasploit implementation. EDR solutions should also be able to detect malicious code injected into processes, increasing the probability of detecting a compromise.
In addition to the above, watching for occurrences of unexpected PowerShell executions and the generation of logs relating to persistence mechanisms – such as scheduled task creation, or new services being created – may be indicators of compromise.
It is important to note that the indicators of compromise will change based on the goal of the attacker. Most known attacks executed up to this point appear to have been used for the deployment of crypto-miners or ransomware. However, threat actors whose goals include accessing the internal workings of networks will avoid utilizing methods likely to generate common alerts. As a result, systems compromised by these groups will remain undetected unless signs of compromise are actively being sought.