DGA Detection via Lexical and Cluster Feature Analysis

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current systems face challenges in detecting and mitigating Distributed Denial of Service (DDoS) attacks, particularly those utilizing domain generation algorithms (DGAs), as they generate variable and dynamic domain names, making it difficult to distinguish malicious traffic from legitimate requests.

Innovation Solution

A device analyzes domain names using ensembles of decision trees to predict the DGA family by extracting lexical features and cluster features, enabling the identification of potentially malicious domain names and triggering security actions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If domain generation algorithms generate variable and dynamic domain names, then the ability to evade detection is improved, but the difficulty of distinguishing malicious traffic from legitimate requests increases

Engineering Contradiction:
ImproveDGA domain name variabilityVSAvoidMalicious traffic identification
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent segments the domain name analysis into multiple independent features: lexical features (character composition, entropy, length), structural features (domain hierarchy, TLD patterns), and temporal features (registration dates, query timing). This segmentation allows the system to detect DGA patterns without relying on a single characteristic, making detection robust against variable domain name generation while maintaining accuracy in distinguishing malicious from legitimate traffic.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent transitions from analyzing domain names in a single dimension (the domain string itself) to multiple dimensions by extracting and analyzing various feature types simultaneously. By adding lexical, structural, and temporal dimensions to the analysis, the system can identify DGA patterns that would be invisible in any single dimension, thereby resolving the contradiction between DGA variability and detection difficulty.

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

2Device complexity

If traditional DGA detection methods are used, then the simplicity of the approach is maintained, but the accuracy in predicting DGA families decreases

Engineering Contradiction:
ImproveDetection system simplicityVSAvoidDGA family prediction accuracy
Core Design Contradiction:
Device complexityVSMeasurement precision

Solution Approach 1:

The patent creates a universal detection framework that can identify multiple DGA families simultaneously by training classifiers on diverse feature sets. The system handles various DGA types (random, sequential, hierarchical) through a unified approach that analyzes lexical, structural, and temporal features together, achieving high accuracy across different DGA variants without requiring separate specialized detectors for each type.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent combines multiple types of features (lexical, structural, temporal) into a composite feature vector that feeds into the classification model. This composite approach leverages the complementary strengths of each feature type: lexical features capture character-level patterns, structural features reveal domain architecture clues, and temporal features provide timing signatures. The combination achieves superior DGA family prediction accuracy compared to any single feature type alone.

Inventive Principle:
Principle #40Composite materials

3Speed

If real-time DGA prediction is implemented, then the speed of security response is improved, but the computational resources required increase

Engineering Contradiction:
ImproveSecurity response speedVSAvoidComputational resource consumption
Core Design Contradiction:
SpeedVSUse of energy by moving object

Solution Approach 1:

The patent performs preliminary actions by pre-extracting and pre-processing domain name features during off-peak times or in advance, storing the processed feature data for quick retrieval during actual attack detection. The system pre-trains classification models on historical DGA data, so that during real-time operation, it only needs to classify new domains using the trained models rather than training from scratch, significantly reducing real-time computational requirements while maintaining fast response speed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent extracts only the most relevant and discriminative features from the domain name analysis, filtering out redundant or less informative features. By using feature selection techniques to identify the top contributing features for DGA detection, the system reduces the dimensionality of the data that needs to be processed in real-time, thereby lowering computational resource consumption while maintaining high prediction accuracy and response speed.

Inventive Principle:
Principle #2Taking out (Extraction)

Data Source

PatentUS10326736B2Feature-based classification of individual domain queries
Publication Date: 2019.06.18 CISCO TECHNOLOGY INC
  • US10326736B2 patent drawing
  • US10326736B2 patent drawing
  • US10326736B2 patent drawing

AI summary

In one embodiment, a device in a network determines a first set of domain generation algorithm (DGA) predictions for a particular domain name by analyzing one or more extracted lexical features of the particular domain name using a first ensemble of decision trees. The device determines a second set of DGA predictions for the particular domain name by analyzing one or more extracted cluster features of a cluster of related domain names to which the particular domain name belongs using a second ensemble of decision trees. The device predicts a DGA associated with the particular domain name based on the first and second sets of DGA predictions. The device causes performance of a security action based on the predicted DGA associated with the particular domain.