Capturing wifi traffic of one station from another
This is more of an embarrassing tale than a real how-to document. But I found this interesting enough that I don't mind sharing it. A couple of weeks ago I was tasked to capture wifi traffic from a device which didn't have any capture software built in and I wondered how one would do it. I have used sniffing tools on my Mac to passively sniff activity on access points around me. Because I've always tested such tools in places with dozens of access points with multiple saturated channels, I always assumed that all wifi stations ( laptops ) frequently switch channels. I also assumed that AP (Access points) which are setup to select channels automatically are designed to automatically switch channels anytime if they find a better (less noisy) frequency to provide services at. And because of those incorrect assumption, I concluded that sniffing another wifi station would be a difficult task because it would be impossible to dynamically change the channel of a second wifi statio