DGA Malware Detection via Lexical Complexity Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Domain generation algorithm (DGA) malware poses a significant challenge for detection due to its ability to generate thousands of random domain names, making it difficult for traditional blacklisting mechanisms and static reputation systems to identify Command and Control (C&C) servers, thereby allowing malware authors to maintain a persistent and elusive botnet infrastructure.
Innovation Solution
A method involving the monitoring of DNS queries for non-existent domains, analysis of domain name parameters such as number of levels, length, and lexical complexity, and the use of lexical complexity scores to identify DGA-generated domain names, followed by monitoring successful resolutions to determine the C&C server, effectively distinguishing between legitimate and malicious domain activity.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional blacklisting mechanisms and static reputation systems are used to detect malware, then the system structure remains simple, but the detection accuracy deteriorates because DGA malware generates thousands of random domain names that are not in the blacklist
Solution Approach 1:
The patent changes the detection parameters from binary blacklist matching to multi-dimensional domain name analysis including lexical complexity scores, domain name length, number of levels, and entropy calculations. This allows the system to detect DGA malware based on the statistical properties and patterns of domain names rather than relying on pre-configured blacklists, thereby improving detection accuracy without requiring complex infrastructure changes
Solution Approach 2:
The patent replaces the mechanical blacklisting approach with a statistical analysis mechanism that calculates lexical complexity scores and domain name characteristics. Instead of manually maintaining blacklists, the system automatically analyzes domain name patterns using computational methods such as entropy calculation and lexical complexity algorithms, substituting the static mechanical system with a dynamic statistical one
2Reliability
If DGA malware generates thousands of random domain names to find C&C servers, then the malware can evade detection and maintain persistence, but the network security monitoring becomes more difficult and time-consuming
Solution Approach 1:
The patent implements a feedback mechanism where the system continuously monitors DNS queries, calculates lexical complexity scores for resolved domains, and compares them against established thresholds and patterns. When a domain name's lexical complexity score falls below a threshold or matches known DGA patterns, the system triggers alerts and updates its detection models, creating a feedback loop that adapts to evolving malware techniques while maintaining reliable detection
Solution Approach 2:
The patent performs preliminary analysis of domain name characteristics before full malware detection is required. By pre-calculating lexical complexity scores and establishing baseline patterns for legitimate domains, the system can quickly identify suspicious domains during monitoring without requiring extensive real-time analysis, thereby reducing monitoring difficulty while maintaining high reliability in detecting persistent malware
Data Source
AI summary
Systems and methods for detection of domain generated algorithms (DGA) and their command and control (C&C) servers are disclosed. In one embodiment, such an approach includes examining DNS queries for DNS resolution failures, and monitoring certain set of parameters such as number of levels, length of domain name, lexical complexity, and the like for each failed domain. These parameters may then be compared against certain thresholds to determine if the domain name is likely to be part of a DGA malware. Domain names identified as being part of a DGA malware may then be grouped together. Once a DGA domain name has been identified, activity from that domain name can be monitored to detect successful resolutions from the same source to see if any of the successful domain resolutions match these parameters. If they match specific thresholds, then the domain is determined to be a C&C server of the DGA malware and may be identified as such.


