DNS Tunneling Detection via Subdomain Feature Aggregation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing network security measures fail to effectively detect and differentiate DNS tunneling domain names, which conceal malicious control channel traffic within encrypted DNS traffic, making it difficult to distinguish between legitimate and malicious DNS queries.

Innovation Solution

A machine learning-based approach that computes and aggregates features of subdomain names from DNS queries into a feature vector, using this vector as input to classify whether a subdomain is a DNS tunneling domain name, employing techniques such as bucketization and training with labeled DNS tunneling tools to identify patterns indicative of tunneling activity.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If DNS tunneling is used to conceal control channel traffic within encrypted DNS traffic, then the malicious traffic becomes undetectable by traditional security measures, but the ability to distinguish malicious from legitimate DNS queries deteriorates

Engineering Contradiction:
Improveconcealment of malicious trafficVSAvoiddetection of DNS tunneling
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent transforms the detection problem from analyzing encrypted payload content to analyzing observable characteristics of DNS queries (length, entropy, frequency, timing patterns). This is analogous to detecting an object not by its hidden color but by changes in its reflective properties, allowing detection of tunneling traffic through pattern recognition rather than content inspection

Inventive Principle:
Principle #32Color changes

Solution Approach 2:

The patent replaces traditional security mechanisms that rely on payload inspection and signature matching with a machine learning-based statistical analysis system. Instead of mechanically filtering known malicious patterns, the system uses computational models to identify anomalous behavioral patterns in DNS query characteristics

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Reliability

If traditional security measures are used to block malicious traffic, then legitimate DNS traffic may be blocked as well, but the accuracy of distinguishing malicious from legitimate traffic remains low

Engineering Contradiction:
Improveblocking of malicious trafficVSAvoidaccuracy of traffic classification
Core Design Contradiction:
ReliabilityVSMeasurement precision

Solution Approach 1:

The patent shifts from binary classification (malicious/legitimate) to multi-dimensional parameter analysis of DNS queries including length, entropy, frequency, timing intervals, and subdomain structure. By analyzing multiple parameters simultaneously through machine learning, the system achieves more precise classification with reduced false positives

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The system implements continuous learning by training machine learning models on labeled DNS traffic data, where the model's predictions are refined through feedback from actual traffic patterns. This allows the system to adapt to new tunneling techniques while maintaining high accuracy in distinguishing malicious from legitimate traffic

Inventive Principle:
Principle #23Feedback

3Measurement precision

If feature aggregation per subdomain is implemented, then the accuracy of DNS tunneling detection is improved, but the computational complexity increases

Engineering Contradiction:
Improveaccuracy of tunneling detectionVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments DNS domain names into hierarchical components (root domain, second-level domain, subdomains) and computes features independently for each segment. This segmentation allows the system to capture localized patterns in subdomain structures while reducing the overall computational burden compared to analyzing entire domain names as single units

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transforms the detection problem from analyzing individual DNS queries in isolation to analyzing aggregated statistical features across multiple queries and time periods. By introducing temporal and hierarchical dimensions to the feature space, the system achieves higher detection accuracy while distributing computational load across multiple aggregation levels

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

Data Source

PatentUS11595357B2Identifying DNS tunneling domain names by aggregating features per subdomain
Publication Date: 2023.02.28 CISCO TECHNOLOGY INC
  • US11595357B2 patent drawing
  • US11595357B2 patent drawing
  • US11595357B2 patent drawing

AI summary

In one embodiment, a service computes a plurality of features of a subdomain for which a Domain Name System (DNS) query was issued. The service aggregates the plurality of computed features into a feature vector. The service uses the feature vector as input to a machine learning classifier, to determine whether the subdomain is a DNS tunneling domain name. The service provides an indication that the subdomain is a DNS tunneling domain name, when the machine learning classifier determines that the subdomain is a DNS tunneling domain name.