Ghost Domain Reloaded: Vulnerable Links in Domain Name Delegation and Revocation

Abstract

In this paper, we propose Phoenix Domain, a general and novel attack that allows adversaries to maintain the revoked malicious domain continuously resolvable at scale, which enables an old, mitigated attack, Ghost Domain. Phoenix Domain has two variations and affects all mainstream DNS software and public DNS resolvers overall because it does not violate any DNS specifications and best security practices. The attack is made possible through systematically “reverse engineer” the cache operations of 8 DNS implementations, and new attack surfaces are revealed in the domain name delegation processes. We select 41 well-known public DNS resolvers and prove that all surveyed DNS services are vulnerable to Phoenix Domain, including Google Public DNS and Cloudflare DNS. Extensive measurement studies are performed with 210k stable and distributed DNS recursive resolvers, and results show that even after one month from domain name revocation and cache expiration, more than 25% of recursive resolvers can still resolve it. The proposed attack provides an opportunity for adversaries to evade the security practices of malicious domain take-down. We have reported discovered vulnerabilities to all affected vendors and suggested 6 types of mitigation approaches to them. Until now, 7 DNS software providers and 15 resolver vendors, including BIND, Unbound, Google, and Cloudflare, have confirmed the vulnerabilities, and some of them are implementing and publishing mitigation patches according to our suggestions. In addition, 9 CVE numbers have been assigned. The study calls for standardization to address the issue of how to revoke domain names securely and maintain cache consistency.

Publication
In Proceedings of the 30th Annual Network and Distributed System Security Symposium.
San Diego, CA, USA. Feb 27 - Mar 3, 2023.
(Acceptance rate: 17.4%)

Overview

In this paper, we propose Phoenix Domain, a general and novel attack that allows adversaries to maintain the revoked malicious domain continuously resolvable at scale, which enables an old, mitigated attack, Ghost Domain.

Phoenix Domain: https://phoenixdomain.net/

CVEs (9 in total)

  • Knot Resolver: CVE-2022-30250, CVE-2022-30251
  • PowerDNS Recursor: CVE-2022-30252
  • Simple DNS Plus: CVE-2022-30254
  • MaraDNS: CVE-2022-30256
  • Technitium: CVE-2022-30257, CVE-2022-30258
  • Unbound: CVE-2022-30698, CVE-2022-30699
  • Qifan Zhang
    Qifan Zhang
    Ph.D. candidate

    Qifan Zhang (张起帆) is now a 4th-year Ph.D. candidate in Department of Electrical Engineering & Computer Science of University of California, Irvine with focus on Computer Security, advised by Prof. Zhou Li. His research interests include Network Security, especially Domain Name System (DNS), and Machine Learning Security and Privacy. Before that, he received his B.Eng. degree in Computer Science and Technology from ShanghaiTech University in 2020, with an interim summer session in University of California, Berkeley in 2017.

    Pronunciation of his name: Chee-Fan Jang.
    His Curriculum Vitae (last updated on Mar 28, 2024)