Off-Path TCP Exploits of the Mixed IPID Assignment
Xuewei Feng, Chuanpu Fu, Qi Li, Kun Sun, Ke Xu

TL;DR
This paper reveals a new off-path TCP hijacking attack exploiting the mixed IPID assignment in Linux, demonstrating its effectiveness and proposing a defense mechanism that mitigates the attack.
Contribution
The paper uncovers a novel off-path TCP hijacking vulnerability in Linux's mixed IPID assignment and proposes a new IPID method to prevent this exploit.
Findings
Attack can be constructed within 215 seconds with over 88% success rate.
The attack impacts SSH, web traffic, and BGP routing applications.
Proposed defense in Linux 4.18 effectively mitigates the attack.
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
