ubuntu wifi monitor

发布时间 2023-07-23 14:25:20作者: 摧锋

ubuntu 安装wifi 抓包环境

1.wifi 型号

intel AX200

2.软件安装

2.1wifi驱动确认已安装

ls /lib/firmware | grep iwlwifi-cc-a0-46

wifi 驱动

2.2查看wifi信息

2.3安装软件

sudo apt-add-repository ppa:wireshark-dev/stable
sudo apt-get update
sudo apt-get install wireshark
sudo dpkg-reconfigure wireshark-common
sudo apt-get install aircrack-ng

中间会出现设置界面,选择即可,另外解决抓包权限问题参考这里

3.配置wifi监听模式

sudo airmon-ng start wlp5s0

此时命令查看无线网卡接口名称变成了wlp5s0mon,mode变成了Monitor,若需关闭监听模式,通过命令

sudo airmon-ng stop wlp5s0mon

4.抓包

4.1设定channel

sudo iwconfig wlp4s0mon channel 10 #10为指定的抓包信道,也可以到wireshark里边修改
sudo wireshark #启动wireshark图形界面,然后选择对应无线网卡抓包即可

4.2wireshark 过滤器

wlan.bssid == 18:f2:2c:7a:49:c9 and wlan.fc.type == 0 or wlan.fc.type == 1 and  wlan.fc.subtype !=  8

4.3wireshark 设置

wireshark 设置

4.4 抓包结果

抓包结果