DNS Traffic Analysis for Detecting Data Exfiltration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing network security configurations struggle to detect data exfiltration and infiltration through DNS communications, as firewalls often allow legitimate DNS traffic, making it difficult to identify malicious activities without relying on known signatures, and ad-hoc rules are easily evaded.
Innovation Solution
Monitor and analyze DNS communications to distinguish between public and non-public content, estimating information entropy based on the length and number of unique characters, and aggregate information for network sources or groups to detect exfiltration and infiltration by triggering notifications or corrective actions when certain conditions are met.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If firewalls allow DNS traffic to pass through to support network functionality, then network versatility and ease of operation are improved, but the ability to detect malicious DNS communications deteriorates
Solution Approach 1:
The patent segments DNS communications into individual query and response packets for analysis. Each DNS message is examined separately for suspicious patterns, allowing the system to monitor specific traffic without blocking overall DNS functionality. This enables detection of data exfiltration attempts while maintaining legitimate DNS operations.
Solution Approach 2:
The patent introduces an intermediary analysis layer that monitors DNS traffic between the firewall and the DNS server. This intermediary component analyzes communication patterns, entropy, and information content without interfering with the actual DNS resolution process, thus maintaining network functionality while improving detection capability.
2Reliability
If firewalls use known malware signatures to block communications, then network security is improved, but the ability to detect unknown threats deteriorates
Solution Approach 1:
The patent performs preliminary analysis of DNS communications by examining entropy and information content before threats can execute. By analyzing the informational content of DNS queries and responses in advance, the system can identify suspicious patterns that indicate potential data exfiltration or infiltration attempts, even for previously unknown threats.
Solution Approach 2:
The patent changes the detection parameters from signature-based matching to entropy-based analysis. By measuring the informational content and entropy of DNS communications, the system can detect anomalies that indicate malicious activity without relying on known malware signatures, thus expanding threat detection scope while maintaining security.
3Reliability
If ad-hoc rules are implemented to detect suspicious traffic, then detection capability is improved, but ease of operation and maintenance deteriorates
Solution Approach 1:
The patent implements a self-adjusting detection system that automatically learns from observed DNS traffic patterns. The system autonomously identifies baseline communication patterns and detects deviations without requiring manual rule configuration. This eliminates the need for complex ad-hoc rules while maintaining high detection capability, thus improving ease of operation.
Solution Approach 2:
The patent incorporates feedback mechanisms where detection results are continuously analyzed to refine detection parameters. The system learns from detected threats and adjusts its entropy thresholds and analysis parameters automatically, reducing the need for manual rule updates and simplifying ongoing maintenance while preserving detection effectiveness.
Data Source
AI summary
A computer system includes a detector that monitors DNS communications to detect data exfiltration and/or infiltration that is attempted or has occurred in the DNS communications. DNS communications are stored and parsed to distinguish content that is potentially not public being communicated in a prefix and content contained in a publicly available suffix. The content of the prefix is examined to determine an amount of information conveyed in the prefix based at least in part on a length and a number of unique characters of the prefix. The detector aggregates communications for network sources and/or destinations, and/or for different network groups or characteristics to determine sources, destinations, groups, and/or characteristics associated with aggregate amounts of information that satisfy one or more notification conditions or trigger one or more other corrective actions.


