BlueKeep

From HandWiki
Short description: Windows security hole
BlueKeep
BlueKeep logo.svg
A logo created for the vulnerability, featuring a keep, a fortified tower built within castles.
CVE identifier(s)CVE-2019-0708
Date patched14 May 2019; 5 years ago (2019-05-14)[1]
DiscovererUK National Cyber Security Centre[2]
Affected softwarepre-Windows 8 versions of Microsoft Windows

BlueKeep (CVE-2019-0708) is a security vulnerability that was discovered in Microsoft's Remote Desktop Protocol (RDP) implementation, which allows for the possibility of remote code execution.

First reported in May 2019, it is present in all unpatched Windows NT-based versions of Microsoft Windows from Windows 2000 through Windows Server 2008 R2 and Windows 7. Microsoft issued a security patch (including an out-of-band update for several versions of Windows that have reached their end-of-life, such as Windows XP) on 14 May 2019. On 13 August 2019, related BlueKeep security vulnerabilities, collectively named DejaBlue, were reported to affect newer Windows versions, including Windows 7 and all recent versions up to Windows 10 of the operating system, as well as the older Windows versions.[3] On 6 September 2019, a Metasploit exploit of the wormable BlueKeep security vulnerability was announced to have been released into the public realm.[4]

History

The BlueKeep security vulnerability was first noted by the UK National Cyber Security Centre[2] and, on 14 May 2019, reported by Microsoft. The vulnerability was named BlueKeep by computer security expert Kevin Beaumont on Twitter. BlueKeep is officially tracked as: CVE-2019-0708 and is a "wormable" remote code execution vulnerability.[5][6]

Both the U.S. National Security Agency (which issued its own advisory on the vulnerability on 4 June 2019)[7] and Microsoft stated that this vulnerability could potentially be used by self-propagating worms, with Microsoft (based on a security researcher's estimation that nearly 1 million devices were vulnerable) saying that such a theoretical attack could be of a similar scale to EternalBlue-based attacks such as NotPetya and WannaCry.[8][9][7]

On the same day as the NSA advisory, researchers of the CERT Coordination Center disclosed a separate RDP-related security issue in the Windows 10 May 2019 Update and Windows Server 2019, citing a new behaviour where RDP Network Level Authentication (NLA) login credentials are cached on the client system, and the user can re-gain access to their RDP connection automatically if their network connection is interrupted. Microsoft dismissed this vulnerability as being intended behaviour, and it can be disabled via Group Policy.[10]

As of 1 June 2019, no active malware of the vulnerability seemed to be publicly known; however, undisclosed proof of concept (PoC) codes exploiting the vulnerability may have been available.[8][11][12][13] On 1 July 2019, Sophos, a British security company, reported on a working example of such a PoC, in order to emphasize the urgent need to patch the vulnerability.[14][15][16] On 22 July 2019, more details of an exploit were purportedly revealed by a conference speaker from a Chinese security firm.[17] On 25 July 2019, computer experts reported that a commercial version of the exploit may have been available.[18][19] On 31 July 2019, computer experts reported a significant increase in malicious RDP activity and warned, based on histories of exploits from similar vulnerabilities, that an active exploit of the BlueKeep vulnerability in the wild might be imminent.[20]

On 13 August 2019, related BlueKeep security vulnerabilities, collectively named DejaBlue, were reported to affect newer Windows versions, including Windows 7 and all recent versions of the operating system up to Windows 10, as well as the older Windows versions.[3]

On 6 September 2019, an exploit of the wormable BlueKeep security vulnerability was announced to have been released into the public realm.[4] The initial version of this exploit was, however, unreliable, being known to cause "blue screen of death" (BSOD) errors. A fix was later announced, removing the cause of the BSOD error.[21]

On 2 November 2019, the first BlueKeep hacking campaign on a mass scale was reported, and included an unsuccessful cryptojacking mission.[22]

On 8 November 2019, Microsoft confirmed a BlueKeep attack, and urged users to immediately patch their Windows systems.[23]

Mechanism

The RDP protocol uses "virtual channels", configured before authentication, as a data path between the client and server for providing extensions. RDP 5.1 defines 32 "static" virtual channels, and "dynamic" virtual channels are contained within one of these static channels. If a server binds the virtual channel "MS_T120" (a channel for which there is no legitimate reason for a client to connect to) with a static channel other than 31, heap corruption occurs that allows for arbitrary code execution at the system level.[24]

Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2 were named by Microsoft as being vulnerable to this attack. Versions newer than 7, such as Windows 8 and Windows 10, were not affected. The Cybersecurity and Infrastructure Security Agency stated that it had also successfully achieved code execution via the vulnerability on Windows 2000.[25]

Mitigation

Microsoft released patches for the vulnerability on 14 May 2019, for Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2008, and Windows Server 2008 R2. This included versions of Windows that have reached their end-of-life (such as Vista, XP, and Server 2003) and thus are no longer eligible for security updates.[8] The patch forces the aforementioned "MS_T120" channel to always be bound to 31 even if requested otherwise by an RDP server.[24]

The NSA recommended additional measures, such as disabling Remote Desktop Services and its associated port (TCP 3389) if it is not being used, and requiring Network Level Authentication (NLA) for RDP.[26] According to computer security company Sophos, two-factor authentication may make the RDP issue less of a vulnerability. However, the best protection is to take RDP off the Internet: switch RDP off if not needed and, if needed, make RDP accessible only via a VPN.[27]

See also


References

  1. Foley, Mary Jo (14 May 2019). "Microsoft patches Windows XP, Server 2003 to try to head off 'wormable' flaw". https://www.zdnet.com/article/microsoft-patches-windows-xp-server-2003-to-try-to-head-off-wormable-flaw/. 
  2. 2.0 2.1 Microsoft (May 2019). "Security Update Guide - Acknowledgements, May 2019". https://portal.msrc.microsoft.com/en-us/security-guidance/acknowledgments. 
  3. 3.0 3.1 Greenberg, Andy (13 August 2019). "DejaBlue: New BlueKeep-Style Bugs Renew The Risk Of A Windows worm". Wired. https://www.wired.com/story/dejablue-windows-bugs-worm-rdp/. 
  4. 4.0 4.1 Goodin, Dan (6 September 2019). "Exploit for wormable BlueKeep Windows bug released into the wild - The Metasploit module isn't as polished as the EternalBlue exploit. Still, it's powerful.". Ars Technica. https://arstechnica.com/information-technology/2019/09/exploit-for-wormable-bluekeep-windows-bug-released-into-the-wild/. 
  5. "Customer guidance for CVE-2019-0708 - Remote Desktop Services Remote Code Execution Vulnerability". Microsoft. 14 May 2019. https://support.microsoft.com/en-us/help/4500705/customer-guidance-for-cve-2019-0708. 
  6. "CVE-2019-0708 Remote Desktop Services Remote Code Execution Vulnerability - Security Vulnerability". Microsoft. 14 May 2019. https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0708. 
  7. 7.0 7.1 Cimpanu, Catalin. "Even the NSA is urging Windows users to patch BlueKeep (CVE-2019-0708)". https://www.zdnet.com/article/even-the-nsa-is-urging-windows-users-to-patch-bluekeep-cve-2019-0708/. 
  8. 8.0 8.1 8.2 Goodin, Dan (31 May 2019). "Microsoft practically begs Windows users to fix wormable BlueKeep flaw". Ars Technica. https://arstechnica.com/information-technology/2019/05/microsoft-says-its-confident-an-exploit-exists-for-wormable-bluekeep-flaw/. 
  9. Warren, Tom (2019-05-14). "Microsoft warns of major WannaCry-like Windows security exploit, releases XP patches". https://www.theverge.com/2019/5/14/18623565/microsoft-windows-xp-remote-desktop-services-worm-security-patches. 
  10. "Microsoft dismisses new Windows RDP 'bug' as a feature". 2019-06-06. https://nakedsecurity.sophos.com/2019/06/06/microsoft-dismisses-new-windows-rdp-bug-as-a-feature/. 
  11. Whittaker, Zack (31 May 2019). "Microsoft warns users to patch as exploits for 'wormable' BlueKeep bug appear". TechCrunch. https://techcrunch.com/2019/05/31/microsoft-bluekeep-worm-exploits/. 
  12. O'Neill, Patrick Howell (31 May 2019). "You Need to Patch Your Older Windows PCs Right Now to Patch a Serious Flaw". Gizmodo. https://gizmodo.com/you-need-to-patch-your-older-windows-pcs-right-now-to-p-1835158876. 
  13. Winder, Davey (1 June 2019). "Microsoft Issues 'Update Now' Warning To Windows Users". Forbes. https://www.forbes.com/sites/daveywinder/2019/06/01/microsoft-begs-windows-users-to-update-now-citing-wannacry-2-security-threat. 
  14. Palmer, Danny (2 July 2019). "BlueKeep: Researchers show how dangerous this Windows exploit could really be - Researchers develop a proof-of-concept attack after reverse engineering the Microsoft BlueKeep patch.". ZDNet. https://www.zdnet.com/article/bluekeep-researchers-show-how-dangerous-this-windows-exploit-could-really-be/. 
  15. Stockley, Mark (1 July 2019). "RDP BlueKeep exploit shows why you really, really need to patch". NakedSecurity.com. https://nakedsecurity.sophos.com/2019/07/01/rdp-bluekeep-exploit-shows-why-you-really-really-need-to-patch/. 
  16. Staff (29 May 2019). "CVE-2019-0708: Remote Desktop Services remote code execution vulnerability (known as BlueKeep) - Technical Support Bulletin". https://community.sophos.com/kb/en-us/134100. 
  17. Goodin, Dan (22 July 2019). "Chances of destructive BlueKeep exploit rise with new explainer posted online - Slides give the most detailed publicly available technical documentation seen so far.". Ars Technica. https://arstechnica.com/information-technology/2019/07/explainer-for-exploiting-wormable-bluekeep-flaw-posted-on-github/. 
  18. Cimpanu, Catalin (25 July 2019). "US company selling weaponized BlueKeep exploit - An exploit for a vulnerability that Microsoft feared it may trigger the next WannaCry is now being sold commercially.". ZDNet. https://www.zdnet.com/article/us-company-selling-weaponized-bluekeep-exploit/. 
  19. Franceschi-Bicchieral, Lorenzo (26 July 2019). "Cybersecurity Firm Drops Code for the Incredibly Dangerous Windows 'BlueKeep' Vulnerability - Researchers from U.S. government contractor Immunity have developed a working exploit for the feared Windows bug known as BlueKeep.". Vice. https://www.vice.com/en_us/article/wjvvvb/cybersecurity-firm-drops-code-for-the-incredibly-dangerous-windows-bluekeep-vulnerability. 
  20. Rudis, Bob (31 July 2019). "BlueKeep Exploits May Be Coming: Our Observations and Recommendations". Rapid7.com. https://blog.rapid7.com/2019/07/31/bluekeep-cve-2019-0708-for-windows-rdp-what-you-need-to-know/. 
  21. Cimpanu, Catalin (November 11, 2019). "BlueKeep exploit to get a fix for its BSOD problem". ZDNet. https://www.zdnet.com/article/bluekeep-exploit-to-get-a-fix-for-its-bsod-problem/. 
  22. Greenberg, Andy (2 November 2019). "The First BlueKeep Mass Hacking Is Finally Here—but Don't Panic - After months of warnings, the first successful attack using Microsoft's BlueKeep vulnerability has arrived—but isn't nearly as bad as it could have been.". Wired. https://www.wired.com/story/bluekeep-hacking-cryptocurrency-mining/. 
  23. "Microsoft works with researchers to detect and protect against new RDP exploits". Microsoft. 7 November 2019. https://www.microsoft.com/security/blog/2019/11/07/the-new-cve-2019-0708-rdp-exploit-attacks-explained/. 
  24. 24.0 24.1 "RDP Stands for "Really DO Patch!" – Understanding the Wormable RDP Vulnerability CVE-2019-0708" (in en-US). 2019-05-21. https://securingtomorrow.mcafee.com/other-blogs/mcafee-labs/rdp-stands-for-really-do-patch-understanding-the-wormable-rdp-vulnerability-cve-2019-0708/. 
  25. Tung, Liam. "Homeland Security: We've tested Windows BlueKeep attack and it works so patch now". https://www.zdnet.com/article/homeland-security-weve-tested-windows-bluekeep-attack-and-it-works-so-patch-now/. 
  26. Cimpanu, Catalin. "Even the NSA is urging Windows users to patch BlueKeep (CVE-2019-0708)". https://www.zdnet.com/article/even-the-nsa-is-urging-windows-users-to-patch-bluekeep-cve-2019-0708/. 
  27. Stockley, Mark (17 July 2019). "RDP exposed: the wolves already at your door". Sophos. https://nakedsecurity.sophos.com/2019/07/17/rdp-exposed-the-wolves-already-at-your-door/. 

External links