← Lab /Security & privacy

Two detectors achieve ≥99% detection of PANDA adversarial attacks on autoencoder NIDS

The proposed Residual Localisation and Feature-Space Perturbation Consistency detectors detect adversarial examples with TNR, TPR, precision, recall, and F1-score of at least 0.99

Security & privacy arXiv 1 Jul 2026 Defense Prototype evidence

Published as “Detecting Adversarial Evasion Attacks Against Autoencoder-Based Network Intrusion Detection Systems”

Why it matters

The detectors can be integrated into autoencoder-based NIDS to reliably flag PANDA-style evasion attacks on IoT traffic with negligible false positives.

Summary

The paper shows that two detectors (RLD and FPC) can spot PANDA-style adversarial evasion against autoencoder-based NIDS with near-perfect accuracy (RLD TNR ≈ 0.9999, TPR ≈ 0.9972; FPC TNR ≈ 0.9993, TPR ≈ 0.986) on the UQ-IoT dataset. Evidence is strong: results are reported over tens of thousands of traffic windows with standard binary-classification metrics. However, the detectors were tuned on this single dataset, only defend against IAT-only FGSM attacks, and assume non-adaptive attackers, so real-world generalisation is uncertain.

What they found 3

  1. Both detectors achieve near-perfect detection performance (F1 ≥0.99)

    “Both detectors achieve near-perfect detection performance (TNR, TPR, precision, recall, and F1-score ≥0.99) against adversarial examples across the evaluated IoT traffic.”

  2. RLD obtains TNR 0.9999 and TPR 0.9972 over 78,116 windows

    “Recall (TPR) 0.9972”

  3. FPC obtains TNR 0.9993 and TPR 0.986 over 2,684 windows

    “TPR (Recall) 0.986”

Caveats 8

  • All thresholds were calibrated on traffic from the UQ-IoT dataset, so they may not generalise to other networks.
  • Detectors are designed for PANDA’s IAT-only perturbation model; attacks that shift perturbations to other header fields could evade them.
  • The evaluation assumes the attacker is unaware of the detectors; an adaptive attacker could optimise against them and degrade performance.
  • Only FGSM-based attacks from the PANDA family were tested; more sophisticated or iterative attacks may behave differently.
  • Threshold generalisation: thresholds calibrated on UQ-IoT may need recalibration for other environments.
  • Restricted feature space: detectors only handle IAT-only perturbations.
  • Adaptive adversaries: evaluation assumes non-adaptive attackers; adaptive attacks are left for future work.
  • PCAP round-trip degradation: saved PCAPs partially erase adversarial perturbations, affecting attack realism.

What’s new here 4

  • Introduces the Residual Localisation Detector (RLD) that monitors spatial concentration of reconstruction errors in the image-space IAT region.
  • Introduces the Feature-Space Perturbation Consistency (FPC) detector that checks consistency of packet-level IAT features after adversarial perturbation.
  • Demonstrates that both detectors achieve >99% detection metrics even when adversarial traffic is saved to PCAPs and partially degraded.
  • Provides a comparative analysis showing complementary strengths of image-space vs. packet-feature-space detection.