← Lab /AI/ML

AEGIS detects zero-day encrypted traffic with 99.5% TPR and 0.995 F1

AEGIS achieves near-perfect detection performance on a large adversarial encrypted traffic dataset

AI/ML arXiv 2 Apr 2026 Defense Prototype evidence Threat model

Published as “AEGIS: Adversarial Entropy-Guided Immune System -- Thermodynamic State Space Models for Zero-Day Network Evasion Detection”

Why it matters

The approach enables high-throughput, privacy-preserving detection of automated encrypted C2 tunnels, but cannot reliably detect human-mimicking traffic or survive extreme timing noise.

Summary

AEGIS attains a 0.9952 F1-score and a 99.50% true positive rate on a 400 GB adversarial corpus, processing 64,000-packet batches at 1.6 ms latency (≈40 Mpps) on a consumer RTX 4090. It discards payload bytes, using 6-dimensional flow-physics features projected onto a hyperbolic Poincaré manifold and a thermodynamic variance detector to flag automated C2 tunnels. The evidence is strong on the presented dataset, but performance drops sharply under extreme Gaussian noise (F1 = 0.5939 at 15% noise) and human-mimicking traffic (1.17% detection of VLESS Reality), indicating limits to flow-only detection.

What they found 1

  1. High detection performance on the adversarial corpus

    “AEGIS achieves a 0.9952 F1-score and a 99.50% True Positive Rate.”

Caveats 4

  • At a 15% Gaussian noise threshold, the F1-score degraded to 0.5939, establishing the structural limit of the model’s topological resilience.
  • Cryptographic mimicry protocols such as VLESS Reality yielded a detection rate of 1.17% strictly when multiplexing true human entropy (e.g., a human actively browsing web applications).
  • Tier IV captures are maintained as a closed research dataset, exact replication of the final F1-score is restricted.
  • Latency spiked non-linearly to 7.1 ms. This degradation was entirely localized to the virtualized PCIe Gen 4 bus attempting to transfer 5.86 MB of shared memory per strike.

What’s new here 4

  • Eliminates payload-byte analysis entirely, using only flow-level physics.
  • Projects temporal features onto a non-Euclidean hyperbolic manifold to preserve hierarchical botnet structure.
  • Introduces a thermodynamic variance detector that measures sequence-wide Shannon entropy of hidden states.
  • Implements a zero-copy C++ eBPF harvester with a TileLang-compiled Mamba-3 core for O(N) inference at line-rate.

Threat model stated by the source

Adversaryhighly capable, intent-driven adversary
Assumesdefense operates under a strict zero-trust paradigm classifying all obfuscated tunnels as anomalies; network traffic can be captured at data-link and transport layers for flow-physics extraction