arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.12716cs.NIcs.CR
收藏

Wi-Fi 网络中的偏离路径 TCP 劫持:一种数据包大小侧信道攻击

Off-Path TCP Hijacking in Wi-Fi Networks: A Packet-Size Side Channel Attack

Ziqiang Wang, Xuewei Feng, Qi Li, Kun Sun, Yuxiang Yang, Mengyuan Li, Ganqiu Du, Ke Xu, Jianping Wu

AI总结:

本文提出一种利用 Wi-Fi 加密帧大小侧信道的偏离路径 TCP 劫持攻击,通过观测响应包大小检测并劫持 TCP 连接,实验显示可在 19 秒内终止 SSH 会话、28 秒内注入 Web 恶意数据,并在 93.75% 的真实 Wi-Fi 网络中成功实施攻击。

摘要:

在本文中,我们揭示了 Wi-Fi 网络中一个根本性的侧信道,即可观测的帧大小,攻击者可以利用该侧信道实施 TCP 劫持攻击。尽管 Wi-Fi 网络部署了多种安全机制(例如 WEP 和 WPA2/WPA3)来加以保护,但我们的研究表明,偏离路径攻击者仍然可以从帧大小侧信道中提取足够的信息,以劫持受害者的 TCP 连接。我们的侧信道攻击基于两个重要发现:(i)TCP 接收方生成的响应数据包(例如 ACK 和 RST)在大小上存在差异,以及(ii)包含这些响应数据包的加密帧具有一致且可区分的大小。通过观察受害者加密帧的大小,攻击者可以检测并劫持受害者的 TCP 连接。我们通过两个案例研究验证了该侧信道攻击的有效性,即 SSH DoS 和 Web 流量操纵。具体而言,我们的攻击可以在 19 秒内终止受害者的 SSH 会话,并在 28 秒内向受害者的 Web 流量中注入恶意数据。此外,我们进行了广泛的测量,以评估我们的攻击对现实世界 Wi-Fi 网络的影响。我们测试了来自 9 家知名厂商的 30 款流行无线路由器,这些路由器均无法保护受害者免受我们的攻击。此外,我们在 80 个现实世界 Wi-Fi 网络中实施了我们的攻击,并在 75 个(93.75%)受评估的 Wi-Fi 网络中成功劫持了受害者的 TCP 连接。我们已负责任地向 Wi-Fi 联盟披露了该漏洞,并提出了几种缓解策略来解决这一问题。

英文摘要:

In this paper, we unveil a fundamental side channel in Wi-Fi networks, specifically the observable frame size, which can be exploited by attackers to conduct TCP hijacking attacks. Despite the various security mechanisms (e.g., WEP and WPA2/WPA3) implemented to safeguard Wi-Fi networks, our study reveals that an off path attacker can still extract sufficient information from the frame size side channel to hijack the victim's TCP connection. Our side channel attack is based on two significant findings: (i) response packets (e.g., ACK and RST) generated by TCP receivers vary in size, and (ii) the encrypted frames containing these response packets have consistent and distinguishable sizes. By observing the size of the victim's encrypted frames, the attacker can detect and hijack the victim's TCP connections. We validate the effectiveness of this side channel attack through two case studies, i.e., SSH DoS and web traffic manipulation. Precisely, our attack can terminate the victim's SSH session in 19 seconds and inject malicious data into the victim's web traffic within 28 seconds. Furthermore, we conduct extensive measurements to evaluate the impact of our attack on real-world Wi-Fi networks. We test 30 popular wireless routers from 9 well-known vendors, and none of these routers can protect victims from our attack. Besides, we implement our attack in 80 real-world Wi-Fi networks and successfully hijack the victim's TCP connections in 75 (93.75%) evaluated Wi-Fi networks. We have responsibly disclosed the vulnerability to the Wi-Fi Alliance and proposed several mitigation strategies to address this issue.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑