Paper 2026/149

Private IP Address Inference in NAT Networks via Off-Path TCP Control-Plane Attack

Suraj Sharma
Adityavir Singh
Mahabir Prasad Jhanwar
Abstract

NAT is widely assumed to conceal the private IP addresses of internal clients from both off-path attackers within the same LAN and external observers. We show that this assumption does not hold. We present a novel off-path private IP address inference attack against NATed clients engaged in active TCP connections with a remote server. Our attack exploits known NAT behaviors in real-world routers, such as port preservation, insufficient reverse-path validation, and the absence of TCP window tracking, previously shown to enable off-path TCP hijacking. By inferring a NATed client’s private IP address, our attack defeats the address-hiding property commonly attributed to NAT, creating a privacy leak that can lead to deanonymization and user profiling. We validate the attack on 6 NAT routers and 2 real-world Wi-Fi networks on SSH and HTTP/HTTPS traffic, finding that 5 of the 6 routers and both networks are vulnerable.

PDF
BibTeX
ePrint ↗
@misc{cryptoeprint:2026/149,
      author = {Suraj Sharma and Adityavir Singh and Mahabir Prasad Jhanwar},
      title = {Private IP Address Inference in NAT Networks via Off-Path TCP Control-Plane Attack},
      howpublished = {Cryptology {ePrint} Archive, Paper 2026/149},
      year = {2026},
      url = {https://eprint.iacr.org/2026/149}
}
Category
Attacks and cryptanalysis
License
CC BY
Submitted
Updated
Versions
2 earlier

Report a problem

Comments

Log in or create an account

Privacy