This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Basic doubt

0

Hi there, Basically wireshark gives us the information in terms of packets only when we are connected to internet. Then how is this information used to crack wifi password to which we are not connected

asked 08 Dec '15, 16:18

Lcwld's gravatar image

Lcwld
6112
accept rate: 0%

Basically wireshark gives us the information in terms of packets only when we are connected to internet.

No. Wireshark will work fine with any network connection, even if it's a local connection between two machines neither of which are connected to the Internet.

Then how is this information used to crack wifi password to which we are not connected

You can't be connected to a password, so you can't be "not connected" to a password. You can be connected to a Wi-Fi network, so you can also be "not connected" to a Wi-Fi network. Are you talking about cracking Wi-Fi passwords of networks to which you're not connected? Or are you talking about being connected to a Wi-Fi network, and cracking passwords on that network, when that network is not itself connected to the Internet?

(10 Dec '15, 12:30) Guy Harris ♦♦

yeah I am talking about cracking Wi-Fi password of network to which Iam not connected

(10 Dec '15, 15:14) Lcwld

2 Answers:

1

Wireshark is not a password cracker, nor is it intended as such. Its purpose is to collect and analyze packet and frame level protocols. If you want to explore analysis of WiFi passwords, you may want to look at something like Kismet at https://kismetwireless.net/

answered 08 Dec '15, 17:24

griff's gravatar image

griff
36139
accept rate: 10%

Hi, Thanks for spending your time in reading my question and answering it. It seems that you misunderstood my question, My aim is not to crack wifi. I want to find out whether we will get the information packet of some wifi connection even when i am not connected to internet? For Ex: Let us say that I am connected to internet via ethernet then will I get information packets of some other wifi whose password I don't know and I am not connected to it. Thanks in advance

(09 Dec '15, 10:55) Lcwld

0

You'll get the packets of the wireless channel you are able to receive and are currently tracing. If you are connected to LAN and trace with Wireshark on WiFi, you'll see WiFi packets. (you will however require monitor mode and likely promiscuous mode as well, so not from Windows)

If you are connected to a LAN, and someone else is connected to your LAN via WiFi, then the WiFi router will strip out the 802 frame headers and send the information you you via normal Ethernet TCP. As long as you are capturing the incoming traffic, the packets are meant for you or have a HUB, yes you can. Nothing special required.

If you are connected to your LAN and your neighbour is connected to his WiFi; no, You wont and it is very likely highly illegal to try. If you are not authenticated to the WiFi you are capturing you'll get encrypted garbage unless the WiFi owner is an idiot (or in a funny mood and way cleverer than you)

I'm not entirely sure where you are going with this, but if you need to ask, don't go there.

answered 15 Dec '15, 01:32

DarrenWright's gravatar image

DarrenWright
216141520
accept rate: 26%