Back to Projects
Projects/Heimdall
Security System

Heimdall

Hybrid DDoS Defense System

A hybrid DDoS prevention architecture combining deterministic L7 rules with Isolation Forest ML for L4 anomaly detection. Features real-time traffic classification and adaptive rate-limiting.

Tech Stack
PythonIsolation ForestScapyNetworkingML
Links

Problem

Origin servers are vulnerable to complex L4/L7 DDoS attacks that can overwhelm infrastructure and cause service outages.

Approach

Hybrid defense using Deterministic Rules (L7) and Isolation Forest ML (L4) for multi-layered protection.

Impact

Adaptive, self-healing shield against multi-vector attacks with real-time threat detection and mitigation.

System Architecture

Interactive diagram — zoom, pan, and explore the defense layers

DDoS Prevention Architecture Diagram
Click & drag to pan

Technical Implementation

L7 Application Layer

Deterministic rule-based filtering for HTTP/HTTPS traffic. Inspects request patterns, headers, and payload signatures to identify and block malicious requests before they reach the origin server.

L4 Network Layer

Isolation Forest ML algorithm detects anomalous traffic patterns at the transport layer. Unsupervised learning identifies outliers in packet timing, size distribution, and connection behavior.

Key Features

  • Real-time traffic classification
  • Adaptive rate-limiting based on behavior
  • Self-healing defense mechanisms
  • Multi-vector attack protection
  • Low-latency packet processing
Prasad Hiwarkhede | Full-Stack Developer & AI Engineer