1.The first thing in this task is to scan the ip address which is given .For this we will use the tool nmap ,the nmap command we use in this scenario is “sudo nmap -sS -sC -Pn -O -A ip address”
2.Here we found the service is vulnerable to and we found it is vulnerable to “MS17-010”
3. Then we search for the exploit in the msfconsole related to the ms17-010
And we found that
4.here we found the related exploit.
QUESTIONS AND ANSWERS
Q1-How many ports are open with a port number under 1000?
ANS 1- 3
Q2- What is this machine vulnerable to? Eg. ms.??
ANS 2 – MS17-010
Q3-What is the full path of the exploit code? (Ex: exploit/……..)
ANS 3 -exploit/windows/smb/ms17_010_eternalblue