← Lab /Security & privacy

Random Forest detects combined cyber-electromagnetic anomalies with 89.8% F1

Models that fuse physical-level and traffic-level features can accurately detect cyber-electromagnetic anomalies

Security & privacy arXiv 27 Aug 2026 Measurement Prototype evidence

Published as “Cyber-Electromagnetic Anomaly Detection Through Time-Series Analysis”

Why it matters

The study demonstrates that relatively simple supervised models can reliably flag cyber-electromagnetic attacks in IoT Zigbee networks, offering a practical detection component for CEMA situational awareness.

Summary

The supervised Random Forest model achieves an F1-score of 89.76% (precision 97.74%, recall 82.99%) on the Zigbee ZBDS2023 test set, while the unsupervised LSTM-Autoencoder reaches only 64.09% F1 (precision 56.90%, recall 73.36%). These results are based on a real-world smart-home Zigbee dataset of over 34 million frames, showing that window-based statistical aggregation can effectively detect cyber-electromagnetic anomalies, but unsupervised methods lag behind. Evidence is strong for the supervised approach but limited to a single technology and dataset, and the paper notes feature-set and generalisation constraints.

What they found 2

  1. Supervised Random Forest achieves high detection performance (F1 89.76%) with very high precision (97.74%).

    “The results, summarized in Table 9, show that this model reaches an F1score of 89.76% on the test set, with a precision of 97.74% and a recall of 82.99%.”

  2. Unsupervised LSTM-Autoencoder attains lower precision and F1 (56.90% precision, 64.09% F1) than the supervised model.

    “Nevertheless, its precision of 56.90% and F1-score of 64.09% are lower than the performance achieved by the supervised Random Forest model.”

Caveats 5

  • The unsupervised LSTM-Autoencoder’s precision (56.90%) and F1-score (64.09%) are substantially lower than the supervised Random Forest’s, limiting its practical usefulness.
  • The dataset is highly imbalanced (0.16% attack frames), which may inflate accuracy and affect the robustness of the reported metrics.
  • First, the available feature set is limited, which reduces the separability between normal and attack windows, especially for unsupervised detection.
  • Secondly, the analysis is restricted to a single dataset and technology, so further validation is required to generalize the results to other environments.
  • Finally, although the proposed models avoid using explicit device identifiers, the dataset is still associated with a fixed topology and particular devices.

What’s new here 4

  • Combines physical-layer (RSSI) and traffic-level (MAC) features for anomaly detection in a CEMA context.
  • Introduces a window-based statistical feature aggregation for Random Forest classification of temporal sequences.
  • Applies an LSTM-Autoencoder trained only on normal Zigbee traffic to detect anomalies without attack labels.
  • Evaluates both approaches on the large ZBDS2023 dataset with over 34 M samples and multiple attack types.