Off-Path TCP Exploits of the Mixed IPID Assignment
摘要
In this paper, we uncover a new off-path TCP hijacking attack that can be used to terminate victim TCP connections or inject forged data into victim TCP connections by manipulating the new mixed IPID assignment method, which is widely used in Linux kernel version 4.18 and beyond to help defend against TCP hijacking attacks. The attack has three steps. First, an off-path attacker can downgrade the IPID assignment for TCP packets from the more secure per-socket-based policy to the less secure hash-based policy, building a shared IPID counter that forms a side channel on the victim. Second, the attacker detects the presence of TCP connections by observing the shared IPID counter on the victim. Third, the attacker infers the sequence number and the acknowledgment number of the detected connection by observing the side channel of the shared IPID counter. Consequently, the attacker can completely hijack the connection, i.e., resetting the connection or poisoning the data stream. We evaluate the impacts of this off-path TCP attack in the real world. Our case studies of SSH DoS, manipulating web traffic, and poisoning BGP routing tables show its threat on a wide range of applications. Our experimental results show that our off-path TCP attack can be constructed within 215 seconds and the success rate is over 88%. Finally, we analyze the root cause of the exploit and develop a new IPID assignment method to defeat this attack. We prototype our defense in Linux 4.18 and confirm its effectiveness through extensive evaluation over real applications on the Internet.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 26 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DNS Cache Poisoning Attack: Resurrections with Side Channels 引用了 Off-Path TCP Exploits: Global Rate Limit Considered Dangerous
- DNS Cache Poisoning Attack: Resurrections with Side Channels 引用了 Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the Internet
- Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive Alarms 引用了 Off-Path TCP Exploits: Global Rate Limit Considered Dangerous
- Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive Alarms 引用了 Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis
- Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive Alarms 引用了 Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the Internet
- Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis 引用了 Off-Path TCP Exploits: Global Rate Limit Considered Dangerous
- Realtime Robust Malicious Traffic Detection via Frequency Domain Analysis 引用了 Automated Attack Discovery in TCP Congestion Control Using a Model-guided Approach
- TCP Spoofing: Reliable Payload Transmission Past the Spoofed TCP Handshake 引用了 Off-Path TCP Exploits: Global Rate Limit Considered Dangerous
- TCP Spoofing: Reliable Payload Transmission Past the Spoofed TCP Handshake 引用了 Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the Internet
- Automated Attack Discovery in TCP Congestion Control Using a Model-guided Approach 引用了 Off-Path TCP Exploits: Global Rate Limit Considered Dangerous
- Blind In/On-Path Attacks and Applications to VPNs 引用了 Off-Path TCP Exploits: Global Rate Limit Considered Dangerous
- Blind In/On-Path Attacks and Applications to VPNs 引用了 Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the Internet
引用它的顶会 Paper26
- Realtime Robust Malicious Traffic Detection via Frequency Domain AnalysisChuanpu Fu, Qi Li, Meng Shen, Ke XuCCS 2021 · 194 次引用
- DNS Cache Poisoning Attack: Resurrections with Side ChannelsKeyu Man, Xin'an Zhou, Zhiyun QianCCS 2021 · 33 次引用
- Point Cloud Analysis for ML-Based Malicious Traffic Detection: Reducing Majorities of False Positive AlarmsChuanpu Fu, Qi Li, Ke Xu, Jianping WuCCS 2023 · 30 次引用
- Blind In/On-Path Attacks and Applications to VPNsWilliam J. Tolley, Beau Kujath, Mohammad Taha Khan, Narseo Vallina-Rodriguez 等USENIX Security 2021 · 19 次引用
- TCP Spoofing: Reliable Payload Transmission Past the Spoofed TCP HandshakeYepeng Pan, Christian RossowS&P 2024 · 15 次引用
它引用的 Paper8
- Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the InternetMatthew J. Luckie, Robert Beverly, Ryan Koga, Ken Keys 等CCS 2019 · 89 次引用
- Augur: Internet-Wide Detection of Connectivity DisruptionsPaul Pearce, Roya Ensafi, Frank Li, Nick Feamster 等S&P 2017 · 84 次引用
- Off-Path TCP Exploits: Global Rate Limit Considered DangerousYue Cao, Zhiyun Qian, Zhongjie Wang, Tuan Dao 等USENIX Security 2016 · 74 次引用
- Routing Around Congestion: Defeating DDoS Attacks and Adverse Network Conditions via Reactive BGP RoutingJared M. Smith, Max SchuchardS&P 2018 · 71 次引用
- Automated Attack Discovery in TCP Congestion Control Using a Model-guided ApproachSamuel Jero, Md. Endadul Hoque, David R. Choffnes, Alan Mislove 等NDSS 2018 · 46 次引用
相关 Paper
- Off-Path TCP Exploits: PMTUD Breaks TCP Connection Isolation in IP Address Sharing ScenariosXuewei Feng, Zhaoxi Li, Qi Li, Ziqiang Wang 等CCS 2025
- PMTUD is not Panacea: Revisiting IP Fragmentation Attacks against TCPXuewei Feng, Qi Li, Kun Sun, Ke Xu 等NDSS 2022
- Exploiting Sequence Number Leakage: TCP Hijacking in NAT-Enabled Wi-Fi NetworksYuxiang Yang, Xuewei Feng, Qi Li, Kun Sun 等NDSS 2024
- Off-Path TCP Hijacking in Wi-Fi Networks: A Packet-Size Side Channel AttackZiqiang Wang, Xuewei Feng, Qi Li, Kun Sun 等NDSS 2025
- DirtyCred: Escalating Privilege in Linux KernelZhenpeng Lin, Yuhang Wu, Xinyu XingCCS 2022 · 30 次引用
