Lune

CCS2020Top-tier venue

DNS Cache Poisoning Attack Reloaded: Revolutions with Side Channels

Keyu Man, Zhiyun Qian, Zhongjie Wang, Xiaofeng Zheng, Youjun Huang, Haixin Duan

Abstract

In this paper, we report a series of flaws in the software stack that leads to a strong revival of DNS cache poisoning --- a classic attack which is mitigated in practice with simple and effective randomization-based defenses such as randomized source port. To successfully poison a DNS cache on a typical server, an off-path adversary would need to send an impractical number of 2322^32 spoofed responses simultaneously guessing the correct source port (16-bit) and transaction ID (16-bit). Surprisingly, we discover weaknesses that allow an adversary to "divide and conquer'' the space by guessing the source port first and then the transaction ID (leading to only 216+2162^16 +2^16 spoofed responses). Even worse, we demonstrate a number of ways an adversary can extend the attack window which drastically improves the odds of success. The attack affects all layers of caches in the DNS infrastructure, such as DNS forwarder and resolver caches, and a wide range of DNS software stacks, including the most popular BIND, Unbound, and dnsmasq, running on top of Linux and potentially other operating systems. The major condition for a victim being vulnerable is that an OS and its network is configured to allow ICMP error replies. From our measurement, we find over 34% of the open resolver population on the Internet are vulnerable (and in particular 85% of the popular DNS services including Google's 8.8.8.8). Furthermore, we comprehensively validate the proposed attack with positive results against a variety of server configurations and network conditions that can affect the success of the attack, in both controlled experiments and a production DNS resolver (with authorization).

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

43 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • DNS Cache Poisoning Attack: Resurrections with Side Channels cites Off-Path TCP Exploits: Global Rate Limit Considered Dangerous
  • DNS Cache Poisoning Attack: Resurrections with Side Channels cites From IP to transport and beyond: cross-layer attacks against applications
  • DNS Cache Poisoning Attack: Resurrections with Side Channels cites Let's Encrypt: An Automated Certificate Authority to Encrypt the Entire Web
  • DNS Cache Poisoning Attack: Resurrections with Side Channels cites Domain Validation++ For MitM-Resilient PKI
  • DNS Cache Poisoning Attack: Resurrections with Side Channels cites A Longitudinal, End-to-End View of the DNSSEC Ecosystem
  • DNS Cache Poisoning Attack: Resurrections with Side Channels cites Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
  • DNS Cache Poisoning Attack: Resurrections with Side Channels cites Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the Internet
  • From IP to transport and beyond: cross-layer attacks against applications cites Domain Validation++ For MitM-Resilient PKI
  • From IP to transport and beyond: cross-layer attacks against applications cites The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources
  • The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources cites From IP to transport and beyond: cross-layer attacks against applications
  • From IP to transport and beyond: cross-layer attacks against applications cites A Longitudinal, End-to-End View of the DNSSEC Ecosystem
  • From IP to transport and beyond: cross-layer attacks against applications cites Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
  • From IP to transport and beyond: cross-layer attacks against applications cites Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the Internet
  • The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources cites Domain Validation++ For MitM-Resilient PKI
  • The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources cites A Longitudinal, End-to-End View of the DNSSEC Ecosystem
  • The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources cites Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
  • TuDoor Attack: Systematically Exploring and Exploiting Logic Vulnerabilities in DNS Response Pre-processing with Malformed Packets cites DNS Cache Poisoning Attack: Resurrections with Side Channels
  • TuDoor Attack: Systematically Exploring and Exploiting Logic Vulnerabilities in DNS Response Pre-processing with Malformed Packets cites From IP to transport and beyond: cross-layer attacks against applications
  • TuDoor Attack: Systematically Exploring and Exploiting Logic Vulnerabilities in DNS Response Pre-processing with Malformed Packets cites Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
  • Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS cites Domain Validation++ For MitM-Resilient PKI
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers43

  1. DNS Cache Poisoning Attack: Resurrections with Side ChannelsKeyu Man, Xin'an Zhou, Zhiyun QianCCS 2021 · 33 citations
  2. Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNSPhilipp Jeitner, Haya SchulmannUSENIX Security 2021 · 32 citations
  3. The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet ResourcesTianxiang Dai, Philipp Jeitner, Haya Schulmann, Michael WaidnerUSENIX Security 2021 · 22 citations
  4. TuDoor Attack: Systematically Exploring and Exploiting Logic Vulnerabilities in DNS Response Pre-processing with Malformed PacketsXiang Li, Wei Xu, Baojun Liu, Mingming Zhang et al.S&P 2024 · 20 citations
  5. From IP to transport and beyond: cross-layer attacks against applicationsTianxiang Dai, Philipp Jeitner, Haya Schulmann, Michael WaidnerSIGCOMM 2021 · 14 citations

Builds on7

  1. Let's Encrypt: An Automated Certificate Authority to Encrypt the Entire WebJosh Aas, Richard Barnes, Benton Case, Zakir Durumeric et al.CCS 2019 · 138 citations
  2. A Longitudinal, End-to-End View of the DNSSEC EcosystemTaejoong Chung, Roland van Rijswijk-Deij, Balakrishnan Chandrasekaran, David R. Choffnes et al.USENIX Security 2017 · 125 citations
  3. Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the InternetMatthew J. Luckie, Robert Beverly, Ryan Koga, Ken Keys et al.CCS 2019 · 89 citations
  4. Off-Path TCP Exploits: Global Rate Limit Considered DangerousYue Cao, Zhiyun Qian, Zhongjie Wang, Tuan Dao et al.USENIX Security 2016 · 74 citations
  5. Domain Validation++ For MitM-Resilient PKIMarkus Brandt, Tianxiang Dai, Amit Klein, Haya Schulmann et al.CCS 2018 · 71 citations

Related papers

  1. DNS Cache Poisoning Like it’s 2006Omer Ben-Simhon, Amit KleinUSENIX Security 2026
  2. The Maginot Line: Attacking the Boundary of DNS Caching ProtectionXiang Li, Chaoyi Lu, Baojun Liu, Qifan Zhang et al.USENIX Security 2023
  3. RebirthDay Attack: Reviving DNS Cache Poisoning with the Birthday ParadoxXiang Li, Mingming Zhang, Zuyao Xu, Fasheng Miao et al.CCS 2025
  4. Should I Trust You? Rethinking the Principle of Zone-Based Isolation DNS Bailiwick CheckingYuxiao Wu, Yunyi Zhang, Chaoyi Lu, Baojun LiuNDSS 2026 · 2 citations
  5. Poison Over Troubled Forwarders: A Cache Poisoning Attack Targeting DNS Forwarding DevicesXiaofeng Zheng, Chaoyi Lu, Jian Peng, Qiushi Yang et al.USENIX Security 2020
Dusk over the sea between two cliffs drawn in fine vertical lines