DNS Malware Detection via Graph Belief Propagation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current methods struggle to effectively detect malicious domains and client addresses in DNS traffic, particularly in the presence of domain generation algorithms (DGAs) used by modern malware, which evade detection by constantly changing IP addresses and generating numerous domain names, making it difficult to distinguish legitimate from malicious traffic.

Innovation Solution

A deep learning model utilizing stacked autoencoders to determine priors for domains and client addresses, combined with belief propagation on a graph constructed from DNS traffic, to infer malware presence and trigger mitigation actions.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional DNS detection methods are used, then the system is simple to implement, but it cannot effectively detect malicious domains using domain generation algorithms

Engineering Contradiction:
Improvedetection effectivenessVSAvoidsystem complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system segments the detection problem into multiple components: constructing a graph where vertices represent domains and client addresses, using stacked autoencoders to process different features separately, and applying belief propagation to infer malware presence. This segmentation allows complex detection to be broken down into manageable processing stages.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces an intermediary graph structure that mediates between raw DNS traffic data and detection decisions. The graph visualizes relationships between domains and client addresses, serving as an intermediate representation that enables sophisticated analysis without directly processing all raw data at once.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If domain generation algorithms are used by malware, then malware can evade detection by changing IP addresses, but this creates difficulty in distinguishing legitimate from malicious traffic

Engineering Contradiction:
Improvemalware evasion capabilityVSAvoidtraffic differentiation difficulty
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The system dynamically adapts to malware's changing behavior by continuously monitoring DNS traffic patterns and updating the graph structure in real-time. The stacked autoencoders learn from evolving traffic patterns, allowing the system to detect new DGA domains as they emerge rather than relying on static detection rules.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The belief propagation algorithm provides feedback by continuously updating malware probability estimates based on observed traffic patterns. When a domain or client address shows suspicious behavior patterns, the system reinforces these suspicions through iterative processing, making the detection system self-correcting and adaptable to evasive tactics.

Inventive Principle:
Principle #23Feedback

3Measurement precision

If deep learning models with stacked autoencoders are used, then detection accuracy improves, but computational resources and processing time increase

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

Solution Approach 1:

The stacked autoencoders perform preliminary feature extraction and dimensionality reduction on DNS traffic data before it reaches the belief propagation algorithm. This preliminary processing consolidates and pre-processes the data, reducing the computational burden on subsequent analysis stages while maintaining detection accuracy.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS10382478B2Detecting malicious domains and client addresses in DNS traffic
Publication Date: 2019.08.13 CISCO TECHNOLOGY INC
  • US10382478B2 patent drawing
  • US10382478B2 patent drawing
  • US10382478B2 patent drawing

AI summary

In one embodiment, a device in a network constructs a graph based on Domain Name System (DNS) traffic in which vertices of the graph correspond to client addresses from the DNS traffic and domains from DNS traffic. The device uses stacked autoencoders to determine priors for the domains and client addresses. The device assigns the determined priors to the corresponding vertices of the graph. The device uses belief propagation on the graph to determine a malware inference from the graph. The device causes performance of a mitigation action when the malware inference from the graph indicates the presence of malware.