← Lab /Security & privacy

One-Class SVM detects BACnet/IP attacks with 86% average F1, especially high-volume attacks

Unsupervised ML models, particularly One-Class SVM, can reliably detect BACnet/IP attacks

Security & privacy arXiv 22 Jul 2026 Measurement Simulation evidence

Published as “Enhancing Attack Detection Capabilities in BACnet/IP Networks Using Machine-Learning Models”

Why it matters

Unsupervised ML can be deployed to automatically flag high-volume BACnet attacks, but additional work and real traffic data are needed before it can reliably catch subtle, stealthy threats.

Summary

The paper shows that an unsupervised One-Class SVM model can detect BACnet/IP attacks with an average F1 score of 0.864, precision of 0.798, and recall of 0.958 across six attack types. They built a Zeek parser to log BACnet traffic, a Dockerized testbed that simulates a small HVAC system, and evaluated five anomaly-detection algorithms on the generated data. Results are strong for high-volume attacks (F1 ≈ 0.99) but drop to around 0.8 for stealthier attacks, and the evidence comes from a simulated environment rather than real deployments.

What they found 2

  1. One-Class SVM achieved the highest overall detection performance with an average F1 of 0.864, precision of 0.798, and recall of 0.958.

    “The strongest detector across all datasets is One-Class SVM, which has an average F1 score of 0.864 with an average precision of 0.798 and a recall of 0.958.”

  2. All models performed near-perfectly on high-volume DoS and reconnaissance attacks (F1 ≈ 0.99) but much lower on stealthy false-data-injection and tampering attacks (F1 around 0.8).

    “The top two models score above 0.97 in all three metrics for high-volume attacks, and have a harder time at predicting stealthier attacks accurately, with metric scores around the 0.8 range.”

Caveats 4

  • Detection accuracy drops for stealthier attacks such as false data injection and tampering, with F1 scores around 0.8 instead of >0.99.
  • The testbed is simulated and may not capture the noise and variability of real-world BACnet deployments.
  • The main limitation of this work is that the testbed environment is simulating a real-world BACnet/IP network, rather than using real-world data.
  • This work’s detection capabilities perform excellently at detecting high-traffic volume attacks, and perform worse at detecting stealthier and more targeted BACnet attacks.

What’s new here 3

  • A unified Zeek parser that consolidates all BACnet fields into a single log for ML pipelines.
  • A Docker-based BACnet/IP testbed that simulates realistic HVAC traffic and provides labeled attack data.
  • An empirical comparison of five unsupervised anomaly-detection models on BACnet traffic, a protocol previously lacking such studies.