DNS Cache Poisoning Attack Reloaded: Revolutions with Side Channels
Keyu Man, Zhiyun Qian, Zhongjie Wang, Xiaofeng Zheng, Youjun Huang, Haixin Duan
摘要
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 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 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).
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 43 篇顶会 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 引用了 From IP to transport and beyond: cross-layer attacks against applications
- DNS Cache Poisoning Attack: Resurrections with Side Channels 引用了 Let's Encrypt: An Automated Certificate Authority to Encrypt the Entire Web
- DNS Cache Poisoning Attack: Resurrections with Side Channels 引用了 Domain Validation++ For MitM-Resilient PKI
- DNS Cache Poisoning Attack: Resurrections with Side Channels 引用了 A Longitudinal, End-to-End View of the DNSSEC Ecosystem
- DNS Cache Poisoning Attack: Resurrections with Side Channels 引用了 Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
- DNS Cache Poisoning Attack: Resurrections with Side Channels 引用了 Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the Internet
- From IP to transport and beyond: cross-layer attacks against applications 引用了 Domain Validation++ For MitM-Resilient PKI
- From IP to transport and beyond: cross-layer attacks against applications 引用了 The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources
- The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources 引用了 From IP to transport and beyond: cross-layer attacks against applications
- From IP to transport and beyond: cross-layer attacks against applications 引用了 A Longitudinal, End-to-End View of the DNSSEC Ecosystem
- From IP to transport and beyond: cross-layer attacks against applications 引用了 Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
- From IP to transport and beyond: cross-layer attacks against applications 引用了 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 引用了 Domain Validation++ For MitM-Resilient PKI
- The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources 引用了 A Longitudinal, End-to-End View of the DNSSEC Ecosystem
- The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet Resources 引用了 Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
- TuDoor Attack: Systematically Exploring and Exploiting Logic Vulnerabilities in DNS Response Pre-processing with Malformed Packets 引用了 DNS Cache Poisoning Attack: Resurrections with Side Channels
- TuDoor Attack: Systematically Exploring and Exploiting Logic Vulnerabilities in DNS Response Pre-processing with Malformed Packets 引用了 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 引用了 Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS
- Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNS 引用了 Domain Validation++ For MitM-Resilient PKI
引用它的顶会 Paper43
- DNS Cache Poisoning Attack: Resurrections with Side ChannelsKeyu Man, Xin'an Zhou, Zhiyun QianCCS 2021 · 33 次引用
- Injection Attacks Reloaded: Tunnelling Malicious Payloads over DNSPhilipp Jeitner, Haya SchulmannUSENIX Security 2021 · 32 次引用
- The Hijackers Guide To The Galaxy: Off-Path Taking Over Internet ResourcesTianxiang Dai, Philipp Jeitner, Haya Schulmann, Michael WaidnerUSENIX Security 2021 · 22 次引用
- TuDoor Attack: Systematically Exploring and Exploiting Logic Vulnerabilities in DNS Response Pre-processing with Malformed PacketsXiang Li, Wei Xu, Baojun Liu, Mingming Zhang 等S&P 2024 · 20 次引用
- From IP to transport and beyond: cross-layer attacks against applicationsTianxiang Dai, Philipp Jeitner, Haya Schulmann, Michael WaidnerSIGCOMM 2021 · 14 次引用
它引用的 Paper7
- Let's Encrypt: An Automated Certificate Authority to Encrypt the Entire WebJosh Aas, Richard Barnes, Benton Case, Zakir Durumeric 等CCS 2019 · 138 次引用
- A Longitudinal, End-to-End View of the DNSSEC EcosystemTaejoong Chung, Roland van Rijswijk-Deij, Balakrishnan Chandrasekaran, David R. Choffnes 等USENIX Security 2017 · 125 次引用
- Network Hygiene, Incentives, and Regulation: Deployment of Source Address Validation in the InternetMatthew J. Luckie, Robert Beverly, Ryan Koga, Ken Keys 等CCS 2019 · 89 次引用
- Off-Path TCP Exploits: Global Rate Limit Considered DangerousYue Cao, Zhiyun Qian, Zhongjie Wang, Tuan Dao 等USENIX Security 2016 · 74 次引用
- Domain Validation++ For MitM-Resilient PKIMarkus Brandt, Tianxiang Dai, Amit Klein, Haya Schulmann 等CCS 2018 · 71 次引用
相关 Paper
- DNS Cache Poisoning Like it’s 2006Omer Ben-Simhon, Amit KleinUSENIX Security 2026
- The Maginot Line: Attacking the Boundary of DNS Caching ProtectionXiang Li, Chaoyi Lu, Baojun Liu, Qifan Zhang 等USENIX Security 2023
- RebirthDay Attack: Reviving DNS Cache Poisoning with the Birthday ParadoxXiang Li, Mingming Zhang, Zuyao Xu, Fasheng Miao 等CCS 2025
- Should I Trust You? Rethinking the Principle of Zone-Based Isolation DNS Bailiwick CheckingYuxiao Wu, Yunyi Zhang, Chaoyi Lu, Baojun LiuNDSS 2026 · 2 次引用
- Poison Over Troubled Forwarders: A Cache Poisoning Attack Targeting DNS Forwarding DevicesXiaofeng Zheng, Chaoyi Lu, Jian Peng, Qiushi Yang 等USENIX Security 2020
