Remote Exploit Forums

Go Back   Remote Exploit Forums > Archives > BackTrack v2.0 Final > Tutorials & Guides


Tutorials & Guides Contributions welcome! Please check the rules & guidelines for posting

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-05-2006, 08:42 PM
Junior Member
 
Join Date: Feb 2006
Location: /dev/null
Posts: 20
Default Sniffing Tutorial:

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:
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"
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.

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

Last edited by yeehaw; 02-07-2006 at 11:50 AM.
Reply With Quote
  #2 (permalink)  
Old 02-05-2006, 11:38 PM
Junior Member
 
Join Date: Jan 2006
Posts: 11
Default

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 !?
Reply With Quote
  #3 (permalink)  
Old 02-06-2006, 12:18 AM
FreshFish's Avatar
Member
 
Join Date: Feb 2006
Posts: 48
Exclamation

Quote:
your gonna need to uncomment: # if you use iptables:
Can you please explain this part. I found
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"
but what do you mean "uncomment"? Sorry for the n00b question... Just need a little more explanation on what to do here???

Thx
Reply With Quote
  #4 (permalink)  
Old 02-06-2006, 01:18 AM
Senior Member
 
Join Date: Jan 2006
Location: British Columbia, Canada
Posts: 192
Default

Remove the hash marks ( # ) at the beginning of the two lines following "# if you use iptables:".
Reply With Quote
  #5 (permalink)  
Old 02-06-2006, 02:02 AM
FreshFish's Avatar
Member
 
Join Date: Feb 2006
Posts: 48
Default

Quote:
Originally Posted by hobbes
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?
Reply With Quote
  #6 (permalink)  
Old 02-06-2006, 06:39 AM
Junior Member
 
Join Date: Feb 2006
Location: /dev/null
Posts: 20
Default

Quote:
Originally Posted by FreshFish
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?
you can't, you need to press yes multiple times...

Yeehaw
Reply With Quote
  #7 (permalink)  
Old 03-15-2006, 10:16 PM
Senior Member
 
Join Date: Feb 2006
Posts: 161
Default

Very well done. Thanks alot for using Ettercap! Hahaha
__________________
\|,,,,,,,,,,,\|/,,,,,,,,,,,,|/
-(o)===(<(O)>)===(o)-
/|''''''''''''''''`/|\'''''''''''''''''''|\
Reply With Quote
  #8 (permalink)  
Old 03-21-2006, 08:25 AM
Junior Member
 
Join Date: Feb 2006
Location: /dev/null
Posts: 20
Default

TheGreatVirus, are you the author?
Reply With Quote
  #9 (permalink)  
Old 03-21-2006, 08:54 AM
Member
 
Join Date: Jan 2006
Location: RAK, UAE
Posts: 41
Send a message via MSN to fifo_thekid Send a message via Yahoo to fifo_thekid
Default

what about a small video tutorial hosted by rapidshare?
Reply With Quote
  #10 (permalink)  
Old 03-22-2006, 12:38 PM
Junior Member
 
Join Date: Feb 2006
Location: /dev/null
Posts: 20
Default

dunno wich tools for linux and windows i should use, enlighten me
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:25 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2