Thanks for the nice tutorial!
I have another question to webmitm. I once was reading in the old forum that there is a other tool which fills the certificate automatically !?
Simple Sniffing Tutorial
Tools:
Ettercap
nano
1. For SSL Dissection support (hotmail,gmail), you need to do this:
Open a shell, type: "nano /usr/local/etc/etter.conf", use the down arrow until you reach "redir_command_on/off", look at the linux part, your gonna need to uncomment:
to:Code:# if you use iptables: #redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport" #redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
after your done, press F2, Y, Return.Code:# if you use iptables: redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport" redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"
Now boot Ettercap: Menu --> Backtrack --> Spoofing --> Ettercap
Go to: Sniff --> Unified Sniffing -->ethX(what interface you want to sniff).
Then Press: Ctrl+S to scan hosts.
Then Go to: Mitm --> ARP poisoning, select sniff remote connections, and press ok.
Then Go to: Start --> Start Sniffing.
For an Example, Walk to another pc, go to your internet email account (Hotmail, Gmail), and log in, you will be asked to trust the certificate, Trust it, and watch your sniffing computer, the username and password should appear.
When your done, go to Start --> Stop Sniffing, And go to Mitm --> Stop mitm attack(s)
Yeehaw
Thanks for the nice tutorial!
I have another question to webmitm. I once was reading in the old forum that there is a other tool which fills the certificate automatically !?
Can you please explain this part. I foundyour gonna need to uncomment: # if you use iptables:but what do you mean "uncomment"? Sorry for the n00b question...Code:# if you use iptables: #redir_command_on = "iptables -t nat -A PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport" #redir_command_off = "iptables -t nat -D PREROUTING -i %iface -p tcp --dport %port -j REDIRECT --to-port %rport"Just need a little more explanation on what to do here???
Thx
Remove the hash marks ( # ) at the beginning of the two lines following "# if you use iptables:".
Worked and thanks... But I noticed the certificate keeps popping up and I was never able to log into hotmail using both ie & ff... Is there a fix or work around for this? Plus if you click "view cetificate" it says "This certificate cannot be verified up to a trusted certification authority.". How can I make the certificate look like its a trusted source?Originally Posted by hobbes
you can't, you need to press yes multiple times...Originally Posted by FreshFish
Yeehaw
Very well done. Thanks alot for using Ettercap! Hahaha![]()
\|,,,,,,,,,,,\|/,,,,,,,,,,,,|/
-(o)===(<(O)>)===(o)-
/|''''''''''''''''`/|\'''''''''''''''''''|\
TheGreatVirus, are you the author?
what about a small video tutorial hosted by rapidshare?
dunno wich tools for linux and windows i should use, enlighten me![]()