[Paper Review] Fragmentation Considered Poisonous
This paper demonstrates that IP fragmentation in DNS responses enables off-path attackers to bypass standard resolver defenses like port randomization and query randomization, enabling effective DNS cache poisoning and name server hijacking. The attacks exploit large DNSSEC responses and work even with partial DNSSEC deployment, allowing domain hijacking, traffic analysis, and covert channels.
We present practical poisoning and name-server block- ing attacks on standard DNS resolvers, by off-path, spoofing adversaries. Our attacks exploit large DNS responses that cause IP fragmentation; such long re- sponses are increasingly common, mainly due to the use of DNSSEC. In common scenarios, where DNSSEC is partially or incorrectly deployed, our poisoning attacks allow 'com- plete' domain hijacking. When DNSSEC is fully de- ployed, attacker can force use of fake name server; we show exploits of this allowing off-path traffic analy- sis and covert channel. When using NSEC3 opt-out, attacker can also create fake subdomains, circumvent- ing same origin restrictions. Our attacks circumvent resolver-side defenses, e.g., port randomisation, IP ran- domisation and query randomisation. The (new) name server (NS) blocking attacks force re- solver to use specific name server. This attack allows Degradation of Service, traffic-analysis and covert chan- nel, and also facilitates DNS poisoning. We validated the attacks using standard resolver soft- ware and standard DNS name servers and zones, e.g., org.
Motivation & Objective
- To expose critical vulnerabilities in standard DNS resolver implementations that arise from handling fragmented DNS responses.
- To demonstrate that off-path adversaries can bypass widely deployed defenses such as port randomization and query randomization using IP fragmentation.
- To show that DNSSEC deployment, while securing DNS responses, can inadvertently enable new attack vectors through fragmented responses.
- To present novel attacks—DNS poisoning, NS hijacking, and NS blocking—targeting both partially and fully DNSSEC-deployed zones.
- To propose practical, real-world exploitable attacks that circumvent resolver-side hardening mechanisms
Proposed method
- Exploiting large DNS responses caused by DNSSEC, which trigger IP fragmentation, to enable off-path poisoning attacks.
- Using spoofed, fragmented DNS responses to manipulate resolver behavior, particularly by manipulating checksums across fragments.
- Forcing resolvers to cache incorrect NS records by poisoning responses with higher TTLs than legitimate ones.
- Implementing name server blocking by corrupting fragments from authentic name servers, rendering them non-responsive.
- Injecting random, zero-TTL resource records into large responses to disrupt attacker’s ability to predict checksums.
- Validating attacks using standard resolvers (Unbound 1.4.1, Bind9) and real DNS zones (e.g., .org), confirming practical feasibility
Experimental results
Research questions
- RQ1Can off-path attackers bypass standard DNS resolver defenses (e.g., port randomization) using IP fragmentation in DNS responses?
- RQ2To what extent does partial or incorrect DNSSEC deployment enable effective domain-hijacking via fragmented responses?
- RQ3Can attackers force resolvers to use malicious name servers even under full DNSSEC deployment, and what are the implications?
- RQ4How can fragmented responses be exploited to enable traffic analysis and covert channels without direct packet interception?
- RQ5What are the practical implications of name server blocking via response fragmentation for resolver reliability and security?
Key findings
- Off-path attackers can successfully poison DNS caches using fragmented responses, even when standard defenses like port randomization are in place.
- The attacks are effective in scenarios with partial or incorrect DNSSEC deployment, enabling complete domain hijacking.
- Even with full DNSSEC deployment, attackers can perform NS hijacking and name server blocking, enabling traffic analysis and covert channels.
- The use of NSEC3 opt-out allows attackers to create fake subdomains, bypassing same-origin policy and enabling XSS and cookie theft.
- Resolver behavior varies: Unbound 1.4.1 caches poisoned responses, while Bind9 times out, demonstrating different attack surface behaviors.
- Defenses such as limiting EDNS buffer size to 1500 bytes, setting the DF bit in IP headers, and injecting random zero-TTL RRs can mitigate the attacks
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.