抓包网卡收录

Github上有一个叫USB-WiFi项目,里面统计了一些支持在Linux下开启监听模式的USB无线网卡。

参考资料:https://github.com/morrownr/USB-WiFi/blob/main/home/USB_WiFi_Chipsets.md

USB WiFi chipset information for Linux

Updated as of 2024-11-20. Expect further updates soon based on dramatic improvements to the rtw88 in-kernel series of drivers.

This document is a summary that includes information about many modern USB WiFi chipsets. If you see errors in this infomration, please post in Issues.

Not all USB WiFi adapters are created equally. While the chipset and driver dictate which WiFi features are supported (e.g. which frequency bands), the vendor of the adapter is free to decide on the performance of the antenna(s), the quality of the amp and whether the device requires mode switching and so on.

ChipsetInterfaceStandardMaximum Channel WidthLinux In-Kernel DriverAP ModeMonitor ModeRecommended For Linux
Mediatek MT7927USB3WiFi 7320pending
Mediatek MT7925USB3WiFi 7160✔️ 6.7+✔️✔️Yes [4]
Mediatek MT7922uUSB3WiFi 6E160pending
Realtek RTL8852cu?WiFi 6E160❌ [6]No
Realtek RTL8832cuUSB3WiFi 6E160No
Mediatek MT7921auUSB3WiFi 6E80✔️ 5.18+✔️✔️Yes
Realtek RTL8852bu?WiFi 680❌ [6]No
Realtek RTL8832buUSB3WiFi 680No
Realtek RTL8852au?WiFi 680❌ - avoid [2]bad driverbad driverNo
Realtek RTL8832auUSB3WiFi 680❌ - avoidbad driverbad driverNo
Realtek RTL8814auUSB3WiFi 580❌ - avoidold driverold driverNo
Mediatek MT7662uUSB2WiFi 580✔️ 5.9+ [6]✔️✔️No
Mediatek MT7612uUSB3WiFi 580✔️ 4.19+✔️✔️Yes
Realtek RTL8822buUSB2WiFi 580✔️ 6.2+ [3][6]No
Realtek RTL8812buUSB3WiFi 580✔️ 6.2+ [3]✔️✔️Yes
Realtek RTL8822cuUSB2WiFi 580✔️ 6.2+ [3][6]No
Realtek RTL8812cuUSB3WiFi 580✔️ 6.2+ [3]No
Realtek RTL8812auUSB3WiFi 580✔️ 6.13+ [5]✔️✔️Yes
Mediatek MT7610uUSB2WiFi 580✔️ 4.19+✔️✔️Yes
Realtek RTL8821cuUSB2WiFi 580✔️ 6.2+ [3][6]✔️✔️No
Realtek RTL8811cuUSB2WiFi 580✔️ 6.2+ [3]✔️✔️No
Realtek RTL8821auUSB2WiFi 580✔️ 6.13+ [5]✔️✔️No
Realtek RTL8811auUSB2WiFi 580✔️ 6.13+ [5]✔️✔️Yes
Ralink RT3573USB2WiFi 440✔️ 3.12+✔️✔️Yes
Ralink RT5572USB2WiFi 440✔️ 3.10+✔️✔️Yes
Ralink RT3572USB2WiFi 440✔️ 2.6.31+✔️✔️Yes
Ralink RT5372USB2WiFi 440✔️ 3.0+✔️✔️Yes
Realtek RTL8192cuUSB2WiFi 440✔️ 2.6.33+✔️✔️Yes
Mediatek MT7601uUSB2WiFi 440✔️ 4.2+limitedYes
Ralink RT5370USB2WiFi 440✔️ 3.0+✔️✔️Yes
Atheros AR9271USB2WiFi 440✔️ 2.6.35+✔️✔️Yes
Ralink RT3070USB2WiFi 440✔️ 2.6.31+✔️✔️Yes

Mediatek MT7921AU and MT7922AU (in-kernel driver is mt7921u) (WiFi 6E)

Adapters based on the mt7921au chipset have been available since July of 2022.

[1] USB support added with the mt7921u driver in kernel 5.18. Internal cards are supported by the mt7921e driver which has been in the kernel since 5.12.

[2] AP mode support added to the mt7921u driver in kernel 5.19. Firmware update is required also.


Realtek RTW88 (in-kernel driver) (WiFi 5)

[3] In-kernel support for the following chipsets is now in kernel 6.2 and later, however, it is strongly recommended that you use kernel 6.12 or later due to dramatic improvement to the drivers that have taken place during 2014:

1
2
3
4
5
6
rtl8822bu
rtl8812bu (recommended)
rtl8821cu
rtl8811cu
rtl8822cu
rtl8812cu

[4] The driver for USB and PCIe went into Linux kernel 6.7. USB adapters should be available sometime this year.

https://lwn.net/Articles/939966/


[5] The new in-kernel drivers for the rtl8812au and rtl8821/11au chips are NEW as of kernel 6.13.


[6] Chipset has bluetooth turned on. Recommend Linux users avoid chipsets with bluetooth turned on.

抓包软件使用

WinSniffer程序已进行了更新(v1.2),目前可以设置并捕获6G报文。

VMware虚拟机安装

WinSniffer原理是将网卡连接到Linux虚拟机中,在Linux环境下开启网卡监听模式进行嗅探,再在Windows下使用Wireshark的远程抓包功能进行实时抓包。所以首先需要安装VMware虚拟机,版本建议在15.5或以上(如已安装可跳过此步)