Capturing Wi-Fi 6E on Windows (and a Kali VM) for Fun and Profit

Picture this horror, you are a wireless pro without a Mac.  Now get out of the fetal position and stop self soothing, we can do a Wi-Fi 6E .pcap with a Windows box with a little work.  After messing about, I was able to get a capture of my MacBook and iPad Pro connecting to a 6Ghz only SSID – yeah, I know I should have a 5Ghz of the same SSID for discovery, but I wanted to force the dumb clients to 6Ghz and see it all natively.  There may be a lot easier way to do it, but this was my process.  Thanks to Alex Six for sanity checking my Linux Fu.

My setup (these are not sponsored/affiliate links):

I first created the 6Ghz SSID “Order66” with WPA3 and set it to channel 37 for testing.  On the PC I started by downloading and installing the Windows “driver” executable for the AWUS036AXML here.  I am annoyed that to get the driver you need to use their installer, but it was the only way to get it that I could find.  It took a couple of tries to get the adapter to enable.  Eventually I had to go into Device Mangler and disable the in-built WLAN adapter on the PC, unplug the Alfa adapter, then reboot and plug it back in to get it to actually work.  Total PITA, but it worked eventually.

Once Windows was finally seeing and enabling the Alfa adapter, I downloaded the ready to go VirtualBox KALI image.  I did try this all in VMWare Workstation 17 without much luck – so I continued with VirtualBox.  After importing the VM image and before booting VM, I went to Settings for the Kali VM in VirtualBox and selected “USB” and ticked “Enable USB Controller” and “USB 3.0 (xHCI Controller)” :

Choose USB

 

 

 

 

 

Next I clicked the USB cable icon with the plus symbol on it.  In the dialog that opened, I selected only “MediaTek Inc. Wireless_Device [0100]”:

 

 

 

 

 

 

I also mounted the host machine’s file system for easy file transfer by clicking Sharing, then chose my home directory in Windows and mounted it to /rdg (just my initials to make it easy to find).  I have my Wireshark the way I like it on Windows, so easier for me than setting it up in Kali:

 

 

 

 

 

I clicked OK to leave the dialogue box and booted up the VM.  Once the VM booted, I drank the Root Beer – this is a critical step.  Did I mention what a tank this little PC is?  I logged into Kali (UN: kali PW: kali), then I opened the Terminal and issued the ever controversial:

sudo su

If you aren’t cool with elevated privileges for the whole exercise, you can add “sudo” before the commands, but ain’t nobody got time for that.  After inputting the password, to make it easy to get to my files from Windows I moved into the /rdg mount point:

cd /rdg

To test and make sure we were able to go into Monitor mode and get to the right channel, I issued:

sudo airodump-ng wlan0 -C 6135

The response was “Checking available frequencies, this could take few seconds.”, then after said few seconds, the airodump-ng interface came up:

 

 

 

 

 

We are in business!  We can now see the SSIDs and verify that we are on the right channel.  We can CTRL-C out of this now, and start the capture with:

tcpdump -i wlan0 -n -w 6Ghz_Test.pcap

One thing to look out for, if you get an error here, issue this command to view your interfaces:

iwconfig

Look for it to say “wlan0” and that it says “Mode:Monitor”.  If you see an interface called “wlan0mon” that shows “Mode:Monitor” substitute it for anywhere that I have referenced “wlan0”.

You should now see the pcap in your home directory on Windows.  You can screenshot it and make a t-shirt!

In Defense of MonoTech

I’m typing this on a device called an AlphaSmart.  It’s a very basic word processor – five lines of text, 47 letters wide.  That’s all this thing does, process words.  I carry the newest phone, have a smart watch, my house is smarter than me, and I upgrade my computers way too often.  I must have the latest HD shininess. This thing, in contrast, looks just as low tech as it is: a keyboard and an LCD screen.  Why would a technophile such as myself use an antiquated single purpose device you ask?  Simple, it keeps me focussed.

Here’s the thing.  If I’m on my computer I tend to have 5-7 browser tabs open, my Outlook is open usually, MightyText, Twitter, and at least 4 terminal windows.  I want to be a monotasker but sometimes it doesn’t work out that way.  I’m easily distracted, so I try to focus on the thing I’m mainly doing.  My line of work isn’t conducive to this work style, but I try.  I don’t text when I’m talking to people, I don’t email during customer meetings, and I will politely ask to find a stopping point in whatever I’m working on if you walk up and need my attention.  Facilitating connectedness my entire career has caused some pretty bad habits though, and this thing is a nice break.  I can get the words out of my head, while my head is quiet, and edit it later.

When I’m just getting thoughts on paper, having a device that can only get thoughts on paper (or rather a calculator looking screen) is perfect.  It lasts a year on 3 AA batteries and it stores a few hundred pages of text that I can then transfer to my computer by connecting a USB cable- it emulates a keyboard, then it “types” everything into Word.  Quaint, right? It doesn’t chime when I get an email, I can’t decide to check Twitter, play Trivia Crack, or Google whether Tecumseh fought on the American or British side of the War of 1812.  I can only write.

I’ve said before that I want everything in my bag to do two things.  Is the fact that it keeps me focussed and allows me to process words two things, or is that cheating?  Probably the latter, but I’ll take the trade-off.  Now if you’ll excuse me, I’ve to got to see what emails, texts, IMs, and Tweets I have been ruthlessly ignoring for this 15 whole minutes of monotasking goodness.