Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to use wireshark to learn a bit about networking and capturing packets. However, from what I understand, the combination of windows 7 + various wifi chips don't allow the network card to operate in "promiscuous mode". Has anyone had any experience getting this to work?

share|improve this question
    
There are another softwares to sniffing your wireless card (unfortunately I dont know any in specific). –  Diogo May 19 '11 at 18:46
1  
If your card doesn't support the operating mode you need, changing your sniffer won't help at all. –  Spiff May 19 '11 at 21:52
    
yea i can understand that –  JPC May 20 '11 at 4:29

1 Answer 1

up vote 8 down vote accepted

Beware of terminology difficulties here.

Promiscuous mode is a concept that originated on wired Ethernet, where you have your card show you all the traffic your hub is repeating onto your port, even if it's not addressed to you. Many (but not all) Wi-Fi cards support promiscuous mode, in a way that looks a lot like Ethernet promiscuous mode; it shows only the "data" frames, only on your current network (same BSSID), and it shows them after they've been translated into wired-Ethernet-style packets (Ethernet-II or 802.3 framing). The idea is to make it look just like the same traffic you'd see on a wired Ethernet interface in promiscuous mode, for the sake of network engineers that want to look at things at that level.

802.11 monitor mode is a kind super-promiscuous mode for 802.11 cards. In full monitor mode, the card is tuned to a channel and shows all the packets it can receive on that channel, no matter what. If there are other Wi-Fi networks in range on that channel, it shows you the frames from those other networks as well. It shows not only the data frames you'd see on wired Ethernet, but also the 802.11-specific "Management" (Beacon, Probe, Auth, Assoc, Action, etc.) and "Control" (Ack, RTS, CTS, PS-poll, etc.) frames as well. And it shows them untranslated, with their full 802.11-style headers.

Full 802.11 monitor mode support is harder to find in consumer Wi-Fi cards, and where it exists, it is often buggy.

Many 802.11 professionals end up opting to buy a CACE Technologies (Wireshark's corporate sponsor) "AirPcap" USB wireless card for this, since they are designed from the ground up to be great 802.11 monitor mode cards for use with Wireshark.

Update:
It's also important to note that there are really only a few Wi-Fi chipset vendors out there, and all the card makers use chips from those few vendors. The biggest vendors are Broadcom, Atheros, Marvell, and Intel, and there are several smaller lesser-known vendors such as Ralink. Of those, Atheros has long been the best chipset vendor for monitor-mode support, and open source support. You might check the Linux Wi-Fi driver community to find out which cards use Atheros chips and support the "Madwifi" driver well, and then pick one of those; they're more likely to have a Windows driver that supports monitor mode well.

share|improve this answer
    
hmm, well I use wireshark and I suppose wireshark uses promiscuous mode to mean "monitor mode". Either way, monitor or promiscuous, I can't figure out how to enable either mode on my card in Windows 7. Are there any known cards that support this? Other than wireshark ones –  JPC May 20 '11 at 4:31
    
@JPC I've added an update. Although I can't point you at a particular card, I'd recommend you go for Atheros-based cards. Of the biggest Wi-Fi chipset vendors, Atheros has always been the vendor of choice for people making Wi-Fi test equipment and the like, so I'd bet you'd be more likely to find good monitor mode support in an Atheros-based card than in anything else. –  Spiff May 20 '11 at 4:53
3  
No, Wireshark does not use promiscuous mode to mean monitor mode. It uses promiscuous mode to mean promiscuous mode, and monitor mode to mean monitor mode. It also uses WinPcap to capture network traffic; WinPcap does not support monitor mode (unlike libpcap on some UN*Xes, which does support monitor mode in newer versions), and, while WinPcap supports promiscuous mode, it doesn't do so if the driver doesn't support it, and few if any 802.11 adapter drivers support it (I think Microsoft's specs for 802.11 drivers say they shouldn't support promiscuous mode!). –  Guy Harris Mar 22 '13 at 8:47
    
@JPC listen to Guy Harris. He knows a thing or two about Wireshark. –  Spiff Mar 23 '13 at 16:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.