Skip to main content
Scientific Reports (Nature Publishing Group)

Securing IoT Networks: A Machine Learning Approach for Detecting Unusual Traffic Patterns

IoT Security & Intrusion Detection IoT Security / Machine Learning Intrusion Detection
326 views
2 min read
License
Catalog metadata: This page is a discovery record, not publisher documentation. Verify the description, schema, provenance, version, licence, and citation at the linked source before use.

Catalog Summary

"A merged and optimized dataset combining N-BaIoT (IoT-specific traffic) and UNSW-NB15 (general network threats) with feature engineering, dimensionality reduction, and benchmarked ML models (Decision Tree, SVM, Random Forest, Neural Network) for IoT anomaly detection, published in Scientific Reports."

Catalog Notes

Overview

Securing IoT Networks: A Machine Learning Approach for Detecting Unusual Traffic Patterns is a Scientific Reports article that presents a unified intrusion detection framework by merging two complementary IoT security datasets and applying machine learning algorithms to detect both IoT-specific and general network threats. The study reports high detection performance using various classifiers.

Dataset Composition

  • N-BaIoT dataset: network traffic from commercial IoT devices infected with Mirai and BASHLITE botnets.
  • UNSW-NB15 dataset: a modern network intrusion dataset with multiple attack families and normal traffic.
  • Integration approach: traffic from both datasets is merged with aligned features and labels to form a unified training corpus.

Feature Engineering and Optimization

  • Flow-based network statistics such as packet counts, byte rates, inter-arrival times, flags, ports, and protocol distributions are extracted.
  • Correlation analysis, mutual information, and Recursive Feature Elimination are used to identify the most discriminative features.
  • Dimensionality reduction reduces feature space while maintaining detection performance.
  • Data normalization and class balancing techniques (e.g., SMOTE) are applied to handle scale differences and class imbalance.

Machine Learning Models

  • Evaluated models include Decision Tree, SVM, Random Forest, and Neural Network classifiers.
  • Neural Networks achieve the highest accuracy and strong precision/recall across attack classes.
  • Models are evaluated with cross-validation and separate test sets to ensure robustness.

Use Cases

  • Hybrid IoT–IT network security where IoT devices coexist with traditional IT infrastructure.
  • Real-time anomaly detection on gateways or in the cloud.
  • Benchmarking new ML and DL algorithms against established baselines.

Access and License

The article describes the merged dataset and processing methodology using publicly available N-BaIoT and UNSW-NB15 datasets. Access follows Scientific Reports open-access policies and the licenses of the underlying datasets.

View Data Structure

To explore column names, data types, and sample rows, visit the official dataset page on Scientific Reports (Nature Publishing Group).

Preview on Scientific Reports (Nature Publishing Group)

Cite This Dataset

The dataset creators ask users of this dataset to cite the accompanying paper. Use one of the verified formats below.

Sarwar, N., & others (2025). Securing IoT networks: a machine learning approach for detecting unusual traffic patterns. Scientific Reports, 15. https://doi.org/10.1038/s41598-025-33447-z

Source metadata: Scientific Reports (Nature Publishing Group) (2025) · DOI: 10.1038/s41598-025-33447-z

Indexed by IoTDataset.com on Feb 03, 2026

Review the Source Record

Confirm the licence, version, access conditions, file format, and provenance at the source before use.

Open Source Page

Related Topics & Keywords

Browse all IoT Security & Intrusion Detection datasets

Share This Research

More in IoT Security & Intrusion Detection

View All
Cybersecurity / IoT Network Security University (Canadian Institute for Cybersecurity)

CICIDS2017 - Comprehensive Network Intrusion Detection Dataset

The most cited cybersecurity dataset worldwide with 2.8+ million network flows capturing 14 types of realistic attack scenarios including DDoS, brute force, botnet, and web attacks alongside benign traffic for advanced intrusion detection systems.

Jan 20, 2026
IoT Network Security / Federated Learning Scientific Reports (Nature Publishing Group)

Dataset-Centric Evaluation of Federated Intrusion Detection Models in IoT Networks

A federated learning evaluation across several contemporary IoT and IIoT intrusion detection datasets, benchmarking algorithms such as FedAvg, FedProx, and FedNova with LSTM and Transformer models in in-domain, cross-dataset, and multi-dataset federation scenarios.

Feb 03, 2026
Cybersecurity University

MedBIoT — Medium-Sized IoT Botnet IDS Dataset [83 devices]

IoT botnet IDS dataset using 83 real and emulated devices with Mirai, BashLite, and Torii traffic. Raw PCAP files support botnet and anomaly detection research.

Jun 02, 2026
Network Security Zenodo

IoT Emulated ICMP/Ping Dataset — Normal and Malicious Traffic [3.2 GB PCAP]

IoT IDS dataset for distinguishing normal and malicious ICMP/Ping traffic generated from an ESP-01s embedded device. PCAP, Zeek logs, and labelled CSV files.

Jun 02, 2026
Network Security IoTSyn Generated

Synthetic IIoT Network Traffic Dataset — 21% Attacks

Free CC0 synthetic dataset: 4,000 rows of Modbus, OPC UA and DNP3 flows labelled for SCADA intrusion detection. 21% Attacks. Reproducible from its seed.

May 04, 2026
Network Security IoTSyn Generated

Synthetic IIoT Network Traffic Dataset — 29% Attacks

Free CC0 synthetic dataset: 10,000 rows of Modbus, OPC UA and DNP3 flows labelled for SCADA intrusion detection. 29% Attacks. Reproducible from its seed.

Apr 30, 2026

Explore other topics

All topics →