WannaCry Ransomware: Patch released for Microsoft Windows XP, Server 2003 and 8
Microsoft has released a patch for the older, unsupported versions of its operating system - Windows XP Home Edition, Windows XP Professional, Windows XP x64 Edition, Windows XP Embedded (Windows XP for XPe), Windows Server 2003, Windows Server 2003 x64 Edition and Windows 8. The security update covers the vulnerabilities used by the WannaCry malware/worm/ransomware to launch a worldwide massive cyber attack starting on 12 May 2017.
table of contents
- Microsoft Security Bulletin MS17-010 and KB Article KB4012598
- Download security update KB4012598 for Microsoft Windows XP, Server 2003 and 8
- Microsoft Windows versions remaining unpatched
- WannaCry Ransomware
- Reminding Blaster and Sasser computer worms
- NSA's EternalBlue exploit and DoublePulsar backdoor released by The Shadow Brokers
Microsoft Security Bulletin MS17-010 and KB Article KB4012598
Within the Microsoft Security Bulletin MS17-010 and KB Article KB4012598 it is said that the security update fixes six different vulnerabilities connected to Microsoft Server Message Block 1.0 (SMBv1) including NetBIOS over TCP/IP (NBT).
- Windows SMB Remote Code Execution Vulnerability – CVE-2017-0143 (critical)
- Windows SMB Remote Code Execution Vulnerability – CVE-2017-0144 (critical)
- Windows SMB Remote Code Execution Vulnerability – CVE-2017-0145 (critical)
- Windows SMB Remote Code Execution Vulnerability – CVE-2017-0146 (critical)
- Windows SMB Information Disclosure Vulnerability – CVE-2017-0147 (important)
- Windows SMB Remote Code Execution Vulnerability – CVE-2017-0148 (critical)
It seems, the NSA communicated the vulnerabilities to Microsoft (The Washington Post, via archive.org) after the theft of their cyber weapons. Eventually this is the reason for the canceled February 2017 Patch Tuesday.
Download security update KB4012598 for Microsoft Windows XP, Server 2003 and 8
The security update (KB4012598, MS17-010) was released on 13 May 2017 for the following Microsoft Windows versions, the dowload links go to www.microsoft.com:
It can be also downloaded via Microsoft Update Catalog (only works correctly with Microsoft Internet Explorer or Microsoft Edge).
With the Windows Embedded POSReady 2009 Update-Hack for Windows XP 32 bit versions of Windows XP can pretend to be Windows Embedded POSReady 2009 and get security updates until April 9, 2019.
Following versions of Microsoft Windows already got the security update described by Microsoft Security Bulletin MS17-010 with the March 2017 Patch Tuesday (2017/03/14) via Microsoft Update as they were still supported by Microsoft at this time:
- Windows Embedded Standard 2009 (KB4012598)
- Windows Embedded POSReady 2009 (KB4012598)
- Windows Vista SP2 (KB4012598)
- Windows 7 SP1 (KB4012212/KB4012215)
- Windows 8.1 (KB4012213/KB4012216)
- Windows 10 (4012606)
- Windows 10 Version 1511 (4013198)
- Windows 10 Version 1607 (4013429)
- Windows Server 2008 (KB4012598)
- Windows Server 2008 R2 (KB4012212/KB4012215)
- Windows Server 2012 (KB4012214/KB4012217)
- Windows Server 2012 R2 (KB4012213/KB4012216)
- Windows Server 2016 (KB4013429)
If you're not sure, MS17-010 is installed, check How to verify that MS17-010 is installed.
Microsoft Windows versions remaining unpatched
Following versions of Microsoft Windows remain unpatched, regardless of whether they are vulnerable or not:
- Windows 98
- Windows 98 SE
- Windows ME
- Windows NT 4.0
- Windows 2000
- Windows Server 2003 SP2 (Itanium)
WannaCry Ransomware
WannaCry (also called Wcrypt, WCRY, WannaCrypt, WanaCrypt0r or Wana Decrypt0r 2.0 and detected by Windows Defender as Ransom:Win32/WannaCrypt) is a malicious software, worm and ransomware which obviously uses the EternalBlue exploit together with the DoublePulsar backdoor, which have been leaked from the NSA by the hacker group The Shadow Brokers, to reproduce itself and infect other computers running unpatched/unsupported Microsoft Windows versions over the intranet.
It seems, Wannacry could spread widely, because there were many unpatched Windows installations, which were reachable via SMB over the Internet. Normally this is not the case, especially if computers are behind a router and/or a firewall.
On an infected computer WannaCry shows a dialog box which says that important files like documents, photos, videos and so on have been encrypted. The user has three days to pay 300$ in bitcoins for decryption, else the price will be doubled and after seven days without payment all user data will be lost forever.
MalwareTech accidentally stopped the fast spreading of Wannacry by registering an unregistered domain they found inside the original WannaCry code. This domain obviously was a simple sandbox detection and now acts as sinkhole and kill switch, respectively.
WannaCry hit some large companies and institutions: Britain's National Health Service (NHS), Deutsche Bahn, FedEx, Hitachi, NHS Scotland, Telefónica
More information can be gathered from:
Reminding Blaster and Sasser computer worms
The widespread attack of WannaCry reminds of Blaster and Sasser computer worms, which also infected many computers running unpatched Microsoft Windows 2000/XP installations. Due to the lack of router hardware back in these days direct dial-in connections via modems were very common and the worms could unfurl very fast.
Blaster (Lovsan, Lovesan or MSBlast) occurred in August 2003. It was exploiting a buffer overflow in the DCOM RPC service which has already been patched in July (MS03-026, replaced in September by MS03-039).
Sasser (W32.Sasser) started spreading in April 2004 by exploiting a buffer overflow in the LSASS (Local Security Authority Subsystem Service), which has already been patched in April (MS04-011). LSASS was the reason for naming it Sasser.
NSA's EternalBlue exploit and DoublePulsar backdoor released by The Shadow Brokers
The exploit (EternalBlue) and the backdoor (DoublePulsar) used by Wannacry apparently were developed by the Equation Group by order of the U.S. National Security Agency (NSA) for using them as cyber weapons to infiltrate networks and intrude into computers working with Microsoft Windows. They were part of The Shadow Brokers NSA leak and were publicized on 14 April 2017 together with the following exploits and utilities (quoted from GitHub):
Some notes may be wrong. So Microsoft and most other sources say, EternalBlue bases on SMBv1 vulnerabilities. It's also broad consent, that the DoublePulsar backdoor is also used together with other exploits than EternalChampion.
Exploits
- EARLYSHOVEL RedHat 7.0 - 7.1 Sendmail 8.11.x exploit
- EBBISLAND (EBBSHAVE) root RCE via RPC XDR overflow in Solaris 6, 7, 8, 9 & 10 (possibly newer) both SPARC and x86.
- ECHOWRECKER remote Samba 3.0.x Linux exploit.
- EASYBEE appears to be an MDaemon email server vulnerability
- EASYFUN EasyFun 2.2.0 Exploit for WDaemon / IIS MDaemon/WorldClient pre 9.5.6
- EASYPI is an IBM Lotus Notes exploit that gets detected as Stuxnet
- EWOKFRENZY is an exploit for IBM Lotus Domino 6.5.4 & 7.0.2
- EXPLODINGCAN is an IIS 6.0 exploit that creates a remote backdoor
- ETERNALROMANCE is a SMB1 exploit over TCP port 445 which targets XP, 2003, Vista, 7, Windows 8, 2008, 2008 R2, and gives SYSTEM privileges (MS17-010)
- EDUCATEDSCHOLAR is a SMB exploit (MS09-050)
- EMERALDTHREAD is a SMB exploit for Windows XP and Server 2003 (MS10-061)
- EMPHASISMINE is a remote IMAP exploit for IBM Lotus Domino 6.6.4 to 8.5.2
- ENGLISHMANSDENTIST sets Outlook Exchange WebAccess rules to trigger executable code on the client's side to send an email to other users
- EPICHERO 0-day exploit (RCE) for Avaya Call Server
- ERRATICGOPHER is a SMBv1 exploit targeting Windows XP and Server 2003
- ETERNALSYNERGY is a SMBv3 remote code execution flaw for Windows 8 and Server 2012 SP0 (MS17-010)
- ETERNALBLUE is a SMBv2 exploit for Windows 7 SP1 (MS17-010)
- ETERNALCHAMPION is a SMBv1 exploit
- ESKIMOROLL is a Kerberos exploit targeting 2000, 2003, 2008 and 2008 R2 domain controllers
- ESTEEMAUDIT is an RDP exploit and backdoor for Windows Server 2003
- ECLIPSEDWING is an RCE exploit for the Server service in Windows Server 2008 and later (MS08-067)
- ETRE is an exploit for iMail 8.10 to 8.22
- ETCETERABLUE is an exploit for iMail 7.04 to 8.05
- FUZZBUNCH is an exploit framework, similar to MetaSploit
- ODDJOB is an implant builder and C&C server that can deliver exploits for Windows 2000 and later, also not detected by any AV vendors
- EXPIREDPAYCHECK IIS6 exploit
- EAGERLEVER NBT/SMB exploit for Windows NT4.0, 2000, XP SP1 & SP2, 2003 SP1 & Base Release
- EASYFUN WordClient / IIS6.0 exploit
- ESSAYKEYNOTE
- EVADEFRED
Utilities
- PASSFREELY utility which "Bypasses authentication for Oracle servers"
- SMBTOUCH check if the target is vulnerable to samba exploits like ETERNALSYNERGY, ETERNALBLUE, ETERNALROMANCE
- ERRATICGOPHERTOUCH Check if the target is running some RPC
- IISTOUCH check if the running IIS version is vulnerable
- RPCOUTCH get info about windows via RPC
- DOPU (DOUBLEPULSAR) used to connect to machines exploited by ETERNALCHAMPIONS
- NAMEDPIPETOUCH Utility to test for a predefined list of named pipes, mostly AV detection. User can add checks for custom named pipes.
Update 2019/xx/xx
- improved table of contents (TOC)
- added social media buttons
Update 2018/06/29
Update 2018/03/12
- added table of contents (TOC)
- added more information and links (NetBIOS, affected companies, The Washington Post)
Update 2017/05/29
- added NSA exploits/utilities list (quoted from GitHub)
- added DoublePulsar to description
- some little additions and corrections
- some restructuring
Update 2017/05/25
- added list of Windows versions remaining unpatched
- added list of Windows versions supported by March 2017 Patch Tuesday (2017/03/14)
- added links to cve.mitre.org
- added Sasser description
- some restructuring
Update 2017/05/15
- added download links, as Microsoft Update Catalog seems to be heavy loaded.
- some fine tuning regarding wording
(published on 2017/05/14, last update on 2020/07/25)