NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Intelligent Detection of Non-Essential IoT Traffic on the Home Gateway

Fabio Palmese, Anna Maria Mandalari, Hamed Haddadi, Alessandro E. C. RedondiEuroS&P (Workshops) 2025

Introduction

Smart home devices frequently engage in background communications that do not contribute to their primary functionality. This "non-essential" traffic often includes advertising, user tracking, and telemetry, raising significant privacy concerns for consumers. Existing countermeasures, such as static domain allow-lists or cloud-based security services, are either difficult to maintain or introduce new privacy risks by offloading local data to third parties.

To address these challenges, we present ML-IoTrim, an automated, edge-based system designed to intelligently identify and block non-essential IoT traffic directly at the home gateway.

System Architecture and Methodology

ML-IoTrim operates locally on the home access point, ensuring that sensitive network data never leaves the user's premises. The system's primary goal is to distinguish between "essential" traffic—required for a device to function—and "non-essential" traffic.

High-level architecture of the ML-IoTrim system deployed on a home gateway.

The framework relies on a three-stage pipeline:

  1. Automated Ground Truth Labeling: The researchers employed a "blocking test" to define essentiality. By programmatically blocking specific destinations and verifying if device functions (e.g., toggling a smart light) still worked, they established a robust ground truth without manual inspection.
  2. Feature Extraction: The system analyzes traffic metadata rather than encrypted payloads. It extracts over 200 statistical features, such as packet size distributions and inter-arrival times, over varying time windows.
  3. Machine Learning Classification: Using models like Random Forest Classifiers (RFC), ML-IoTrim performs binary classification to identify non-essential destinations in real-time.

Experimental Evaluation

The system was evaluated using a four-month dataset from eight popular consumer IoT devices, including smart speakers (Amazon Echo), cameras (Yi Pro), and smart lighting (Yeelight, TP-Link).

Performance and Stability

ML-IoTrim demonstrated exceptional accuracy, with the RFC model achieving a near-perfect F1-score across the global dataset. A critical finding of the study is the stability of IoT network behavior. Once trained, the models maintain high performance over long periods, even as devices contact new, previously unseen destinations.

Classification performance remains stable over a 90-day testing period following a 30-day training phase.

As shown in the longitudinal analysis, a model trained on the initial 30 days of traffic remained highly effective for the subsequent three months of testing. This stability suggests that the "rhythm" of IoT communication is a reliable fingerprint for identifying non-essential behavior.

Key Results

  • Zero-Day Detection: The system successfully identified 100% of new non-essential destinations appearing after the training phase.
  • Efficiency: Real-time implementation on a mini-PC showed the system could handle traffic from hundreds of devices simultaneously.
  • Privacy Gains: For devices like the Roku TV and Amazon Echo, the system identified that 80-90% of contacted destinations were non-essential and could be safely blocked without impacting user experience.

Conclusion and Future Work

ML-IoTrim provides a scalable, privacy-preserving solution for managing the "chattiness" of smart home devices. By focusing on functional essentiality rather than brittle domain lists, it offers a robust defense against tracking and advertising. Future research will focus on improving cross-category generalization and investigating potential adversarial tactics where devices might attempt to hide non-essential data within essential traffic streams.

Reference: Palmese, F., Mandalari, A. M., Haddadi, H., & Redondi, A. E. C. (2022). Intelligent Detection of Non-Essential IoT Traffic on the Home Gateway. IEEE.

Summary updated

BibTeX
@inproceedings{palmese2025intelligent,
  author = {Fabio Palmese and Anna Maria Mandalari and Hamed Haddadi and Alessandro E. C. Redondi},
  title = {{Intelligent Detection of Non-Essential IoT Traffic on the Home Gateway}},
  booktitle = {EuroS\&P (Workshops)},
  year = {2025},
}
Figure