Pwning Windows 7 with ETERNALBLUE & DOUBLEPULSAR (Metasploit)

Thanks to @UnaPibaGeek & @pablogonzalezpe for their efforts to develop the Metasploit modules.

Modules can be found here (Scanner + Exploit):

This vulnerability affects:

  • Windows 2000
  • Windows XP
  • Windows 7
  • Windows 8
  • Windows Server 2000 up to 2012 R2

How to protect yourself

If you still haven’t updated your system, you should probably do it right away. If for some reason you aren’t able to apply updates, consider disabling SMB protocols.

To disable SMBv1, SMBv2, and SMBv3 under Windows 8 and Windows Server 2012, run the following PowerShell commands:

Set-SmbServerConfiguration -EnableSMB1Protocol $false
Set-SmbServerConfiguration -EnableSMB2Protocol $false