DNS Tunneling Detection via Behavioral Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods fail to accurately distinguish between legitimate and malicious DNS tunneling activities, leading to compromised network security due to the inability to effectively detect and classify DNS tunneling, which can be used for data exfiltration, cyber-espionage, and command and control operations.

Innovation Solution

A behavior analysis based DNS tunneling detection and classification framework that utilizes machine learning techniques and big data technologies to analyze DNS traffic, enabling real-time detection and classification of malicious activities, and includes features like entropy, n-gram, and time series analysis to identify unauthorized network traffic.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional DNS monitoring methods are used, then DNS traffic can be allowed to pass through, but malicious DNS tunneling activities cannot be detected

Engineering Contradiction:
Improvenetwork securityVSAvoidDNS tunneling detection accuracy
Core Design Contradiction:
ReliabilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent transforms DNS query data into time-series signals and extracts multiple features (entropy, spectral features, statistical features) to characterize DNS traffic. By changing the parameters from simple DNS query matching to multi-dimensional feature analysis, the system can distinguish malicious tunneling traffic from legitimate DNS traffic with high accuracy.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces traditional mechanical DNS query matching methods with machine learning-based classification models. The system uses supervised learning algorithms to train classifiers that automatically identify malicious DNS tunneling patterns, substituting manual rule-based detection with intelligent automated detection.

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

2Difficulty of detecting and measuring

If DNS tunneling detection is implemented, then malicious activities can be identified, but false positives between legitimate and malicious traffic occur

Engineering Contradiction:
ImproveDNS tunneling detection capabilityVSAvoidclassification accuracy
Core Design Contradiction:
Difficulty of detecting and measuringVSMeasurement precision

Solution Approach 1:

The patent segments the DNS detection process into multiple independent stages: data preprocessing, feature extraction, model training, and classification. By dividing the detection task into separate modules, each handling specific aspects of analysis, the system achieves better precision in distinguishing malicious from legitimate traffic without false positives.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements dynamic feature extraction that adapts to different DNS traffic patterns. The system extracts features dynamically based on the specific characteristics of each DNS query sequence, allowing the classification model to accurately distinguish between legitimate and malicious traffic even when they share similar surface-level characteristics.

Inventive Principle:
Principle #15Dynamics

3Measurement precision

If comprehensive DNS traffic analysis is performed, then detection accuracy improves, but processing time increases

Engineering Contradiction:
Improvedetection accuracyVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by pre-processing DNS query data and extracting features in advance before classification. The system prepares time-series representations and computes statistical features ahead of time, so that when actual detection is needed, the classification can be performed quickly with already-prepared data, reducing real-time processing delays.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements efficient feature extraction and model evaluation that rushes through the analysis process by focusing on the most discriminative features. The system identifies and prioritizes key features that provide the most detection value, skipping less important computations to maintain high speed while preserving detection accuracy.

Inventive Principle:
Principle #21Skipping (Rushing through)

Data Source

PatentEP3278516B1Behavior analysis based DNS tunneling detection and classification framework for network security
Publication Date: 2022.11.23 INFOBLOX INC
  • EP3278516B1 patent drawingFigure 1
  • EP3278516B1 patent drawingFigure 2
  • EP3278516B1 patent drawingFigure 3

AI summary

New and improved techniques for a behavior analysis based DNS tunneling detection and classification framework for network security are disclosed. In some embodiments, a platform implementing an analytics framework for DNS security is provided for facilitating DNS tunneling detection. For example, an online platform can implement an analytics framework for DNS security based on passive DNS traffic analysis.