Skip to main content
QUICK REVIEW

[Paper Review] Combating Malicious DNS Tunnel

Zheng Wang|arXiv (Cornell University)|May 4, 2016
Internet Traffic Analysis and Secure E-votingComputer Science1 references6 citations
TL;DR

This paper proposes a tunnel validator-based defense system to detect and block malicious DNS tunneling while allowing legitimate DNS tunneling. It uses a hybrid approach combining registered domain whitelisting, malicious domain blacklisting, and payload-based detection to distinguish benign from malicious tunneling, with logging for forensics and accountability.

ABSTRACT

This paper proposes a defense scheme against malicious use of DNS tunnel. A tunnel validator is designed to provide trustworthy tunnel-aware defensive recursive service. In addition to the detection algorithm of malicious tunnel domains, the tunnel validation relies on registered tunnel domains as whitelist and identified malicious tunnel domains as blacklist. A benign tunnel user is thus motivated to register its tunnel domain before using it. Through the tunnel validation, the secure domains are allowed to the recursive service provided by the tunnel validator and the insecure domains are blocked. All inbound suspicious DNS queries are recorded and stored for forensics and future malicious tunnel detection by the tunnel validator.

Motivation & Objective

  • Address the growing threat of malicious DNS tunneling used for command and control, data exfiltration, and C2 communication.
  • Overcome the challenge of distinguishing malicious DNS tunneling from benign tunneling used by security software.
  • Provide a scalable, trustworthy recursive DNS service that validates tunnel domains and blocks malicious ones.
  • Enable forensic tracking of malicious tunneling through logging of outbound queries.

Proposed method

  • Deploy a tunnel validator recursive resolver that acts as a trusted intermediary for DNS queries.
  • Implement a DNS tunnel registry to collect and maintain registered tunnel domains as a whitelist.
  • Maintain a blacklist of known malicious tunnel domains from external sources and historical classification.
  • Apply payload analysis to detect suspicious query patterns using query name length, entropy, and statistical features.
  • Leverage caching behavior: high cache hit rates indicate likely benign domains, low hit rates suggest malicious ones.
  • Log all outbound DNS queries to support forensics and detection of false negatives.

Experimental results

Research questions

  • RQ1How can malicious DNS tunneling be reliably distinguished from benign DNS tunneling used by security software?
  • RQ2What mechanisms can ensure that legitimate tunneling is not blocked while malicious tunneling is effectively mitigated?
  • RQ3Can a combination of domain registration, blacklisting, and payload analysis provide a scalable and accurate defense?
  • RQ4How can forensic logging support detection and accountability for malicious tunneling activities?

Key findings

  • The proposed defense scheme enables secure recursive DNS resolution by validating tunnel domains through a trusted tunnel validator.
  • Legitimate tunnel users are incentivized to register their domains to avoid being blocked by the system.
  • Malicious tunnel domains can be detected and blocked using payload analysis, including query name length and entropy metrics.
  • Caching behavior provides an additional detection signal: benign domains have higher cache hit rates than malicious ones.
  • Outbound query logging enables forensic analysis and helps detect false negatives where malicious queries are incorrectly forwarded.
  • Registered malicious domains can be invalidated from the system and added to the blacklist, enabling technical and legal accountability.

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.