Vulnerability & Exploit Database

Back to search

MS17-010 EternalRomance/EternalSynergy/EternalChampion SMB Remote Windows Code Execution

This module will exploit SMB with vulnerabilities in MS17-010 to achieve a write-what-where primitive. This will then be used to overwrite the connection session information with as an Administrator session. From there, the normal psexec payload code execution is done. Exploits a type confusion between Transaction and WriteAndX requests and a race condition in Transaction requests, as seen in the EternalRomance, EternalChampion, and EternalSynergy exploits. This exploit chain is more reliable than the EternalBlue exploit, but requires a named pipe.

Free Metasploit Download

Get your copy of the world's leading penetration testing tool

 Download Now

Module Name



  • sleepya
  • zerosum0x0
  • Shadow Brokers
  • Equation Group



  • Automatic
  • PowerShell
  • Native upload
  • MOF upload


  • windows


  • x86
  • x64



Module Options

To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':

msf > use exploit/windows/smb/ms17_010_psexec msf exploit(ms17_010_psexec) > show targets ...targets... msf exploit(ms17_010_psexec) > set TARGET <target-id> msf exploit(ms17_010_psexec) > show options and set options... msf exploit(ms17_010_psexec) > exploit

Related Vulnerabilities

Related Modules