Jump to content

How to use Ettercap / sniff network over WiFi?


Recommended Posts

Hello everyone,

I am trying to sniff a network.

Adapter TL-WN722N

Target AP signal: %80-85

Target network topology: 1 router, 15 clients (mostly windows)

My steps are:

echo 1 > /proc/sys/net/ipv4/ip_forward

airmon-ng start wlan0

going to /etc/ettercap/etter.conf to set:

ec_uid = 0
ec_gid = 0 


Commenting out iptables

# if you use iptables:
redir_command_on = "iptables -t n....
redir_command_off = "iptables -t ......

and then

ettercap -G

Sniff -> Unified Sniffing, selecting adapter wlan0

Hosts -> Scan Hosts -> Add victims to target list and then MITM->Arp and then Start->Start Sniffing

And then running

dsniff -i wlan0

to sniff interesting packets...

Okay everything works great until here.

Sometimes, ettercap kills the connection of client.

As far i understand, i am forwarding packets with ARP Poisoning.

So here are my questions:

- Is that possible to sniff network in "passive" or "unoffensive" mode?

Ettercap has "Unoffensive" option but if i go with that, i can't scan hosts.

I can't understand by.

- My purpose is that just sniffing network, not ALTER or EDIT any packets. Just sniffing.

- How can i start a proper sniffing?

My target AP has %80-85 signal quality.

No packet loss to gateway.

Any suggestions would be great.


Edited by martyr
Link to comment
Share on other sites

There are limits to what sslstrip can do, specifically in relation to HSTS.

If you just want to sniff, start low-level and run wireshark to see traffic is flowing through you.

Link to comment
Share on other sites

Its under the adapter settings in wireshark.

Capture > interfaces > options for the NIC in use, or for both if you want to use monitor and managed mode at the same time.

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...