Dynamic DDoS Detection via Sliding HyperLogLog Cardinality

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current anomaly detection systems for DDoS attacks face challenges in accurately distinguishing between natural traffic variations and anomalous traffic, leading to high false alarm rates, requiring adaptive algorithms that can handle changing network conditions, and must be computationally efficient to process high-speed links while detecting both low and high-volume attacks effectively.

Innovation Solution

A method and system that maintain a series of recent cardinalities of network traffic attributes using the Sliding HyperLogLog algorithm to detect changes in traffic flows, allowing for dynamic detection of DDoS attacks without relying on static threshold-based techniques or extensive baselining, enabling rapid identification of anomalies and minimizing false positives.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If anomaly detection algorithms are made adaptive to handle changing network conditions, then detection accuracy improves, but computational complexity and resource requirements increase

Engineering Contradiction:
Improvedetection accuracyVSAvoidalgorithm complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The system dynamically adapts to changing network conditions by continuously updating baseline traffic profiles and adjusting detection parameters in real-time. The algorithm transitions from static threshold-based detection to dynamic anomaly scoring that adapts to temporal patterns, seasonal variations, and emerging attack techniques, resolving the contradiction by making the system flexible rather than fixed

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The detection system changes its operational parameters based on network conditions by adjusting sensitivity thresholds, time window sizes, and baseline periods dynamically. This allows the system to maintain high detection accuracy across varying traffic loads and patterns without requiring a completely complex reconfiguration of the entire detection architecture

Inventive Principle:
Principle #35Parameter changes

2Measurement precision

If detection algorithms process all network traffic in detail, then detection accuracy improves, but processing speed and resource efficiency deteriorate

Engineering Contradiction:
Improvedetection accuracyVSAvoidprocessing speed
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The network traffic is segmented into different categories (new connections vs. established connections, different protocols, different time periods) and processed using appropriate detection methods for each segment. This allows detailed analysis where needed while using lighter processing for routine traffic, maintaining accuracy without sacrificing overall processing speed

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system applies full-depth inspection selectively to suspicious or high-risk traffic patterns while using lighter monitoring for normal traffic. By performing detailed analysis only when anomalies are detected or suspected, the system achieves high detection accuracy for attacks without the computational overhead of inspecting every packet in detail continuously

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If static threshold-based detection is used, then computational efficiency improves, but ability to detect new attack types deteriorates

Engineering Contradiction:
Improveprocessing efficiencyVSAvoiddetection coverage
Core Design Contradiction:
ProductivityVSAdaptability or versatility

Solution Approach 1:

The system incorporates feedback loops where detection results, false positives, and false negatives are continuously analyzed to refine detection parameters and update baseline profiles. This feedback mechanism enables the system to adapt to new attack types over time while maintaining computational efficiency, as the learned patterns are reused rather than requiring complete reanalysis

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The system performs preliminary baseline profiling during normal operation to establish expected traffic patterns before attacks occur. This preliminary action creates a reference framework that enables efficient real-time detection of deviations, allowing the system to quickly identify new attack types without requiring complex real-time analysis of every anomaly from scratch

Inventive Principle:
Principle #10Preliminary action

4Reliability

If extensive baselining is performed to understand normal traffic, then false alarm rate decreases, but detection lag increases

Engineering Contradiction:
Improvefalse alarm rateVSAvoiddetection lag
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The system performs baseline updates and reprofiling periodically rather than continuously, and uses different baseline periods for different types of traffic patterns. This periodic action reduces the computational burden of extensive baselining while maintaining reliable detection, as the system only needs to re-establish baselines at scheduled intervals rather than constantly

Inventive Principle:
Principle #19Periodic action

Solution Approach 2:

Extensive baselining is performed in advance during periods of normal traffic to establish comprehensive profiles of legitimate activity patterns. This preliminary baselining reduces false alarms for subsequent detection periods without causing detection lag, as the baseline work is completed beforehand rather than in real-time during potential attacks

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS11451563B2Dynamic detection of HTTP-based DDoS attacks using estimated cardinality
Publication Date: 2022.09.20 ARBOR NETWORKS INC
  • US11451563B2 patent drawing
  • US11451563B2 patent drawing
  • US11451563B2 patent drawing

AI summary

A computer method and system for detecting a Denial of Service (DoS) attack by detecting changes in recent cardinality of a network traffic flow. Packet traffic flows are received from external device (networks), and a cardinality estimation is then performed on a received packet traffic flow. A series of cardinalities is maintained for prior packet traffic flows. Changes in cardinalities associated with prior packet traffic flows are detected when compared to cardinalities of a current packet traffic flow. An alert condition for the network traffic flow is generated regarding a suspected DoS attack based upon the detected changes in cardinalities regarding comparison of the cardinalities associated with prior packet traffic flows compared to cardinalities of a current packet traffic flow.