Sniffing Tutorial

Ettercap Sniffing Tutorial
Hi, Today I am posting a tutorial on Sniffing which can be done using “BACKTRACK” . You can download Backtrack from here.

I prefer using Backtrack 3.0 Final version.

Well lets start with sniffing. If you don’t know what sniffing is, then click here.

Tools you need are:

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)

You visited a few times and I would appreciate your thoughts on this post, why not comment?

Related posts:

  1. Tutorial On Ardamax 3.0 Keyloggers
  2. CRACK WIFI – Simple WEP Crack
  3. How to send fake email / Email Forging

Bhanu Chawla
~ Geek, Hacker, Blogger, Dancer, B-Boy.. Outgoing personality.. Takes risks.. Kind hearted.. Self confident.. Loud and boisterous.. Very revengeful at times.. has an "everything's peachy" attitude.. Likes Talking & Dancing.. Longs for freedom.. Rebellious when withheld or restricted.. Lives by "no pain no gain" caring.. Playful.. Mysterious.. Stubborn.. Curious.. Independent.. Strong willed..

View Comments to “Sniffing Tutorial”

  1. suraj says:

    dude your cool your stuff are really working but you provided link for sql string file is not working

  2. Bhanu Chawla
    Twitter:
    says:

    i think it is working..its here: DOWNLOAD

  3. azhul says:

    i need to download ettercap & nano?

  4. Bhanu Chawla
    Twitter:
    says:

    Hey, its for Linux only and if you want all the hacking tools for penetration testing(Ethical Hacking) then you can download free Linux: BACKTRACK…. Download Backtrack Here Its a free Operating System i.e. Open Source and you can run this OS even from your pendrive.

  5. azhul says:

    thumbs up.thanks for the info bro. .i want to learn more from you

  6. Nickson says:

    if u got ubuntu and dont wanna switch to backtrack then command is :

    sudo apt-get install ettercap-ng
    Nickson´s last blog ..Local Password Cracking Video Tutorial My ComLuv Profile

  7. Bhanu Chawla
    Twitter:
    says:

    Thanks for that Nickson :-)

Leave a Reply

CommentLuv Enabled
blog comments powered by Disqus
© 2010 Hacking Articles. All rights reserved.
Proudly designed by Bhanu Chawla.