[Paper Review] A Study of Newly Observed Hostnames and DNS Tunneling in the Wild
This paper presents a large-scale measurement study of newly observed hostnames using passive DNS data, revealing that Google's AMP, Spotify, and a DNS tunnel provider generate over half of all new domains daily. The authors propose a step-wise filtering method based on DNS query characteristics—such as subdomain count and resource record types (e.g., NULL, TXT)—to detect DNS tunneling, identifying 273 suspicious domains, including those linked to APT campaigns like Wekby and APT32.
The domain name system (DNS) is a crucial backbone of the Internet and millions of new domains are created on a daily basis. While the vast majority of these domains are legitimate, adversaries also register new hostnames to carry out nefarious purposes, such as scams, phishing, or other types of attacks. In this paper, we present insights on the global utilization of DNS through a measurement study examining exclusively newly observed hostnames via passive DNS data analysis. We analyzed more than two billion such hostnames collected over a period of two months. Surprisingly, we find that only three second-level domains are responsible for more than half of all newly observed hostnames every day. More specifically, we found that Google's Accelerated Mobile Pages (AMP) project, the music streaming service Spotify, and a DNS tunnel provider generate the majority of new domains on the Internet. DNS tunneling is a covert channel technique to transfer arbitrary information over DNS via DNS queries and answers. This technique is often (ab)used by attackers to transfer data in a stealthy way, bypassing traditional network security systems. We find that potential DNS tunnels cause a significant fraction of the global DNS requests for new hostnames: our analysis reveals that nearly all resource record type NULL requests and more than a third of all TXT requests can be attributed to DNS tunnels. Motivated by these empirical measurement results, we propose and implement a method to identify DNS tunnels via a step-wise filtering approach that relies on general characteristics of such tunnels (e.g., number of subdomains or resource record type). Using our approach on empirical data, we successfully identified 273 suspicious domains related to DNS tunnels, including two known APT campaigns (Wekby and APT32).
Motivation & Objective
- To understand the global distribution and origins of newly observed hostnames in the DNS ecosystem.
- To investigate the prevalence and characteristics of DNS tunneling in real-world traffic using passive DNS data.
- To develop a scalable, global detection method for DNS tunnels that avoids reliance on internal network visibility.
- To identify and analyze malicious DNS tunneling campaigns, including confirmed APT groups.
- To provide empirical evidence that DNS tunneling is a widespread and active threat in modern Internet infrastructure.
Proposed method
- Collected and analyzed over two billion newly observed fully qualified domain names (FQDNs) from passive DNS data via the Farsight DNS sensor network.
- Applied a step-wise filtering approach based on structural and behavioral characteristics of DNS tunnels, including subdomain count per second-level domain and resource record type (e.g., NULL, TXT).
- Used heuristics such as high subdomain frequency and non-standard record types (e.g., NULL) to flag potential tunneling activity.
- Leveraged known tunneling tools (e.g., iodine) and domain patterns to validate detection accuracy.
- Conducted case studies on confirmed APT campaigns (Wekby and APT32) to validate detection effectiveness.
- Focused exclusively on newly observed hostnames to avoid bias from well-known domains, enabling detection of previously unknown or zero-day tunneling activity.
Experimental results
Research questions
- RQ1What are the primary sources of newly observed hostnames in the global DNS ecosystem?
- RQ2To what extent is DNS tunneling used in real-world Internet traffic, particularly among newly registered domains?
- RQ3Can passive DNS data from a global sensor network be effectively used to detect DNS tunneling without internal network visibility?
- RQ4Which DNS tunneling tools and infrastructure are most prevalent in the wild?
- RQ5Can known APT campaigns be detected through analysis of newly observed hostnames and DNS tunneling patterns?
Key findings
- Only three second-level domains—Google’s AMP, Spotify, and a DNS tunnel provider—accounted for more than half of all newly observed hostnames daily.
- Nearly all DNS requests with resource record type NULL were attributed to DNS tunneling, indicating that NULL queries are a strong indicator of tunneling activity.
- More than one-third (35%) of all TXT record requests were linked to DNS tunneling, highlighting the widespread use of TXT records for covert communication.
- The study identified 273 suspicious domains potentially used for DNS tunneling, with the most prevalent tool being iodine.
- A significant portion of DNS tunnel traffic was traced to the German-based provider yourfreedom.com, indicating a centralized infrastructure for tunneling.
- Case studies confirmed the presence of known APT campaigns (Wekby and APT32) in the dataset, demonstrating that DNS tunneling remains an active and persistent threat in advanced persistent 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.