Dictionary DGA Detection Pipeline With Filtering and Cached Classification

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing methods struggle to efficiently and cost-effectively detect dictionary DGA domain names due to their resemblance to legitimate domain names, leading to increased latency and computational costs in network security systems.

Innovation Solution

A machine learning-based detection system that utilizes a trained model and preprocessing filters to classify domain names, incorporating pDNS data and NLP techniques, caches predictions, and dynamically scales resources to reduce latency and cost.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If a trained machine learning model is used to detect dictionary DGA domain names, then detection accuracy is improved, but computational cost and latency increase

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

Solution Approach 1:

The detection system is segmented into multiple components: a preprocessing filter that performs initial screening using pDNS data and NLP techniques, and a trained machine learning model that processes only the filtered subset of domain names. This segmentation allows the system to maintain high detection accuracy while reducing the computational burden and latency associated with running the full model on all domain names.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The preprocessing filter performs preliminary analysis of domain names before they reach the trained machine learning model. By applying filtering criteria based on pDNS data and NLP techniques in advance, the system eliminates obviously benign or malicious domain names early in the detection pipeline, reducing the number of domain names that require computationally expensive model processing and thereby reducing overall latency.

Inventive Principle:
Principle #10Preliminary action

2Measurement precision

If a trained machine learning model is used to detect dictionary DGA domain names, then detection accuracy is improved, but computational cost increases

Engineering Contradiction:
Improvedetection accuracyVSAvoidcomputational cost
Core Design Contradiction:
Measurement precisionVSUse of energy by moving object

Solution Approach 1:

The detection system is segmented into multiple components: a preprocessing filter that performs initial screening using pDNS data and NLP techniques, and a trained machine learning model that processes only the filtered subset of domain names. This segmentation allows the system to maintain high detection accuracy while reducing the computational burden and latency associated with running the full model on all domain names.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Instead of applying the full computational power of the trained machine learning model to all incoming domain names, the system applies partial action by using a lightweight preprocessing filter to handle the majority of domain names. The expensive model is invoked only for a subset of domain names that pass through the filter, representing a partial application of computational resources that is sufficient to maintain detection accuracy while significantly reducing overall computational cost.

Inventive Principle:
Principle #16Partial or excessive action

3Reliability

If all domain names are processed through the trained model, then detection thoroughness is improved, but processing speed decreases

Engineering Contradiction:
Improvedetection thoroughnessVSAvoidprocessing speed
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The preprocessing filter performs preliminary analysis of domain names before they reach the trained machine learning model. By applying filtering criteria based on pDNS data and NLP techniques in advance, the system eliminates obviously benign or malicious domain names early in the detection pipeline, reducing the number of domain names that require computationally expensive model processing and thereby reducing overall latency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The preprocessing filter acts as a self-service mechanism that automatically screens and categorizes domain names before they reach the main detection model. By using readily available pDNS data and NLP techniques, the filter independently handles routine classification tasks, allowing the trained model to focus on more complex cases and improving overall processing throughput.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20260081956A1Inline detection of dictionary DGA domain names with reduced cost and latency
Publication Date: 2026.03.19 PALO ALTO NETWORKS INC
  • US20260081956A1 patent drawing
  • US20260081956A1 patent drawing
  • US20260081956A1 patent drawing

AI summary

A service includes a trained model comprising a classifier that predicts whether domain names are dictionary DGA generated. Using passive DNS data and/or a heuristic analysis based on natural language processing of the domain name, the service filters domain names that are not candidate (i.e., potential) dictionary DGA domain names out of the detection pipeline. There domain names are thus classified without being fed into the model for more computationally expensive processing. Domain names that are not filtered out are queued for input into an instance of the model and classification by the model, with the queued domain names processed in small batches and load balanced across model instances. Predicted domain name classes output by the model are cached for subsequent cache reads to avoid multiple runs of the model for one domain name.