Skip to main content
QUICK REVIEW

[Paper Review] Tracking and Characterizing Botnets Using Automatically Generated Domains

Stefano Schiavoni, Federico Maggi|arXiv (Cornell University)|Nov 21, 2013
Network Security and Intrusion DetectionComputer Science19 references14 citations
TL;DR

This paper proposes Phoenix, a privacy-preserving system that identifies and tracks DGA-based botnets using only passive, recursive-level DNS traffic and a small feed of malicious domains. By combining linguistic and IP-based features, Phoenix detects automatically generated domains (AGDs), groups them by underlying DGA, and discovers previously unknown C&C domains with 94.8% accuracy in isolating AGD families from non-AGDs.

ABSTRACT

Modern botnets rely on domain-generation algorithms (DGAs) to build resilient command-and-control infrastructures. Recent works focus on recognizing automatically generated domains (AGDs) from DNS traffic, which potentially allows to identify previously unknown AGDs to hinder or disrupt botnets' communication capabilities. The state-of-the-art approaches require to deploy low-level DNS sensors to access data whose collection poses practical and privacy issues, making their adoption problematic. We propose a mechanism that overcomes the above limitations by analyzing DNS traffic data through a combination of linguistic and IP-based features of suspicious domains. In this way, we are able to identify AGD names, characterize their DGAs and isolate logical groups of domains that represent the respective botnets. Moreover, our system enriches these groups with new, previously unknown AGD names, and produce novel knowledge about the evolving behavior of each tracked botnet. We used our system in real-world settings, to help researchers that requested intelligence on suspicious domains and were able to label them as belonging to the correct botnet automatically. Additionally, we ran an evaluation on 1,153,516 domains, including AGDs from both modern (e.g., Bamital) and traditional (e.g., Conficker, Torpig) botnets. Our approach correctly isolated families of AGDs that belonged to distinct DGAs, and set automatically generated from non-automatically generated domains apart in 94.8 percent of the cases.

Motivation & Objective

  • To address the challenge of tracking small, resilient botnets that use domain-generation algorithms (DGAs) to evade detection.
  • To overcome limitations of existing DGA detection methods that require low-level traffic sensors, malware samples, or client IP visibility.
  • To enable privacy-preserving, repeatable, and scalable botnet tracking using only publicly available passive DNS data.
  • To automatically group AGDs by their underlying DGA and produce novel insights into botnet evolution and C&C behavior.
  • To identify previously unknown AGDs and label them to the correct botnet family without reverse engineering.

Proposed method

  • Phoenix uses linguistic models trained on benign domains to detect deviations indicative of automatically generated domains (AGDs).
  • It groups domains based on their domain-to-IP resolution patterns to identify logical clusters corresponding to individual botnets.
  • The system derives generic fingerprints from each cluster to label new domains as belonging to a specific DGA-based botnet.
  • It combines linguistic features (e.g., character frequency, n-gram patterns) with IP-based features (e.g., IP clustering, resolution patterns) to improve detection robustness.
  • The approach operates in an unsupervised manner, avoiding the need for labeled training data or malware reverse engineering.
  • Phoenix leverages passive DNS data from recursive resolvers, ensuring privacy and scalability without requiring client IP visibility.

Experimental results

Research questions

  • RQ1Can AGDs be reliably distinguished from human-generated domains using only passive DNS data and linguistic features?
  • RQ2Can clusters of AGDs be automatically grouped to represent individual botnets based on domain-to-IP resolution patterns?
  • RQ3Can Phoenix detect previously unknown AGDs and assign them to the correct botnet family without prior knowledge of the DGA?
  • RQ4How effective is Phoenix in isolating AGD families from non-AGDs in real-world DNS traffic?
  • RQ5To what extent can Phoenix provide actionable intelligence on DGA evolution and botnet behavior without requiring low-level network visibility?

Key findings

  • Phoenix correctly isolated families of AGDs from non-AGDs in 94.8% of cases across a dataset of 1,153,516 domains.
  • The system successfully detected previously unknown AGDs and associated them with the correct botnet families based on fingerprinting of domain resolution patterns.
  • Phoenix achieved high accuracy in distinguishing AGDs from human-generated domains using only linguistic and IP-based features from passive DNS data.
  • The approach is resilient to IP-sharing and IP-reusing mechanisms such as NAT and DHCP, which can degrade other detection methods.
  • The system was validated in real-world settings, successfully labeling suspicious domains as belonging to the Conficker.B botnet.
  • Phoenix provides novel, actionable intelligence on DGA evolution, including botnet migrations and C&C infrastructure changes, without requiring malware samples or client IP data.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.