← Lab /Security & privacy

Hybrid NIDS shows high benchmark scores but near-zero recall in live traffic

Strong benchmark performance of the Suricata-Random Forest system does not translate into effective operational detection.

Security & privacy arXiv 21 Sep 2026 Measurement Prototype evidence

Published as “Passive Hybrid Network-Based Intrusion Detection System (Hybrid-NIDS) Combining Suricata and Random Forest”

Why it matters

The results warn that strong offline ML metrics may not translate to effective intrusion detection in live academic networks without domain-specific adaptation.

Summary

The Hybrid-NIDS shows very high detection metrics on an offline hold-out set (F1 = 0.971), but in real-world validation its machine-learning branch barely detects attacks (recall = 0.0095) and generates many false alerts, revealing a large benchmark-to-deployment gap. The paper provides a leakage-aware, schema-separated prototype and highlights the need for local adaptation before operational use.

What they found 3

  1. On the 508,039-row hold-out test set, RF-41 achieved very high offline performance.

    “RF-41 achieved accuracy 0.992768, balanced accuracy 0.984698, precision 0.968823, recall 0.973911, F1 = 0.971360, specificity 0.995485, FPR 0.004515, FNR 0.026089, and ROC-AUC 0.999671 on the 508,039-row Hold-out Test Set.”

  2. In operational validation, the ML branch detected almost no attacks.

    “RF-21 and the strict correlated branch achieved recall 0.0095 on the labeled PCAP”

  3. The ML branch produced no alerts in five additional live attack sessions.

    “RF21 produced no alerts in five additional live attack sessions.”

Caveats 5

  • Despite the high offline F1 of 0.971, the strict correlated branch achieved recall 0.0095 on the labeled PCAP and produced no alerts in live attack sessions, indicating poor real-world detection.
  • The unlabeled normal-traffic test produced an 18.4842% alert ratio that cannot be reported as FPR, suggesting a high false-positive rate in deployment.
  • The prototype detects, records, and transfers alerts but does not automatically block traffic or modify firewall rules.
  • Pure inference latency measurement excludes capture, flow assembly, NFStream feature extraction, disk I/O, ingestion, indexing, dashboard refresh, and notification; it is not end-to-end detection latency.
  • Consequently, the reported operational experiments do not demonstrate a detection advantage of the current strict Hybrid correlated branch over Suricata alone.

What’s new here 4

  • Leakage-controlled cleaning and group-aware splitting that guarantees zero exact feature-hash overlap between development and hold-out sets.
  • Strict separation of two Random Forest models (RF-41 and RF-21) for different feature schemas (41-feature benchmark vs 21-feature NFStream-compatible).
  • Integration of Suricata alerts with ML predictions, correlated by time and context, and visualized via an ELK stack with optional Telegram/Discord notifications.
  • Operational validation that explicitly measures the benchmark-to-deployment domain shift.