NXNSAttack: Recursive DNS Inefficiencies and Vulnerabilities

Yehuda Afek, Anat Bremler-Barr, Lior Shafir
Usenix Security ,
2020
Conferences & Workshops
DDoS attack, DNS security

Abstract

This paper exposes a new vulnerability and introduces a corresponding attack, the NoneXistent Name Server Attack (NXNSAttack), that disrupts and may paralyze the DNS system, making it difficult or impossible for Internet users to access websites, web e-mail, online video chats, or any other online resource. The NXNSAttack generates a storm of packets between DNS resolvers and DNS authoritative name servers. The storm is produced by the response of resolvers to unrestricted referral response messages of authoritative name servers. The attack is significantly more destructive than NXDomain attacks (e.g., the Mirai attack): i) It reaches an amplification factor of more than 1620x on the number of packets exchanged by the recursive resolver. ii) In addition to the negative cache, the attack also saturates the ‘NS’ section of the resolver caches. To mitigate the attack impact, we propose an enhancement to the recursive resolver algorithm, MaxFetch(k), that prevents unnecessary proactive fetches. We implemented the MaxFetch(1) mitigation enhancement on a BIND resolver and tested it on real-world DNS query datasets. Our results show that MaxFetch(1) degrades neither the recursive resolver throughput nor its latency. Following the discovery of the attack, a responsible disclosure procedure was carried out, and several DNS vendors and public providers have issued a CVE and patched their systems.

Video

Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp
Share on email
@inproceedings{afek2020nxnsattack,
  title={$\{$NXNSAttack$\}$: Recursive $\{$DNS$\}$ Inefficiencies and Vulnerabilities},
  author={Afek, Yehuda and Bremler-Barr, Anat and Shafir, Lior},
  booktitle={29th USENIX Security Symposium (USENIX Security 20)},
  pages={631--648},
  year={2020}
}