Jump to content

Recommended Posts

Posted (edited)

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.

Thanks.

Edited by martyr
Posted

Bump!

Extra note: I have tried arpspoof too, instead of Ettercap. It doesn't kill the connection of client. But SSLstrip returns nothing. Strange.

Posted

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.

Posted

When you sniff packets, yeah, promiscuous all the way.

No "interesting" traffic, or only your own traffic?

Posted

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.

  • 2 weeks later...
Posted

hi digip,

sorry for the late reply.

i have been waiting for my new wifi adapter.

well, no traffic in prosmiscuous mode.

i mean, just dhcp and SSDP requests. nothing more.

Join the conversation

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

Guest
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...