Home » Howto & Style » EternalBlue Metasploit Module - No Fuzzbunch Required!

EternalBlue Metasploit Module - No Fuzzbunch Required!

Written By Metasploitation on Saturday, May 20, 2017 | 11:29 AM

 
This module is a port of the Equation Group ETERNALBLUE exploit, part of the FuzzBunch toolkit released by Shadow Brokers. There is a buffer overflow memmove operation in Srv!SrvOs2FeaToNt. The size is calculated in Srv!SrvOs2FeaListSizeToNt, with mathematical error where a DWORD is subtracted into a WORD. The kernel pool is groomed so that overflow is well laid-out to overwrite an SMBv1 buffer. Actual RIP hijack is later completed in srvnet!SrvNetWskReceiveComplete. This exploit, like the original may not trigger 100% of the time, and should be run continuously until triggered. It seems like the pool will get hot streaks and need a cool down period before the shells rain in again. Videos shows the module for MS17-010 running against Windows 7 and just for fun crashing an XP machine.