下面主要解释Radiotap的结构和蕴含的信息。 Radiotap 简介 Radiotap is a facto standard for 802.11 frame injection and reception. 这句话摘自radiotap的官方文档Radiotap是802.11帧注入和接收的事实上的标准(来自谷歌翻译)。 所以scapy对radiotap的支持不是很好余下未解析的数据都放在notdecode中(小端字节序)scapy通过len字段直接跳过radiotap解析了上层数据。 的radiotap子模块的介绍中写道 provides radiotap parsing (radiotap.org defined fields) only.
Deauthentication 解除认证,可以用来dos攻击 Dot11WEP 无线链路承载的上层数据被加密后,放在这里 常见的样子(summary) Beacon帧: RadioTap / 802.11 Data 0L 11:11:11:11:11:11 > 22:22:22:22:22:22 / Dot11WEP Deauth帧,用来把别人打掉线,很好用: RadioTap / 802.11 Management 12L 11:11:11:11:11:11 > 22:22:22:22:22:22 / Dot11Deauth 未加密的数据帧,开放的wifi里的明文密码就在你的身边划过: RadioTap Dot11QoS / LLC / SNAP / IP / TCP 10.181.5.237:57556 > 124.116.181.82:http A / Padding 握手包,使用EAPOL协议: RadioTap scapy.all import * snif_iface = 'mon0'recv_iface = 'mon0'cheat_ip = '1.1.1.1'def prn(pkt): resp = RadioTap
实际上面还有一层radiotap,是抓包工具加的,提供额外信息,比如时间,信道等,这些内容不是标准中的一部分,详情可见:http://wifinigel.blogspot.com/2013/11/what-are-radiotap-headers.html
tshark -r suspicious_traffic.pcap -Y "wlan.sa == 00:11:22:33:44:55" -T fields -e wlan.sa -e wlan.da -e radiotap.dbm_antsignal