MQTT DoS DDoS IoT Attack Dataset
Abstract
"An MQTT DoS and DDoS IoT attack dataset collected on a Raspberry Pi 3B+ Mosquitto broker over 12 sessions, including three days of normal traffic and several minutes of attack traffic, totaling 424,716 labeled entries for machine learning-based IDS and IPS research."
Description
Overview
The MQTT DoS DDoS IoT Attack dataset is a publicly available collection of MQTT traffic focusing on denial-of-service (DoS) and distributed denial-of-service (DDoS) attacks against IoT systems. It is published on Mendeley Data and provides labeled records suitable for intrusion detection and prevention research.
Data Collection Setup
- Data collected on a Raspberry Pi 3B+ running a Mosquitto MQTT broker and acting as MQTT client host for four publishers and eight subscribers.
- Traffic captured with Wireshark over 12 sessions using the Terminator terminal on Ubuntu 20.
- Normal traffic generated over 72 hours (three days), producing approximately 142,000 data entries.
- Attack traffic generated for 2–3 minutes using tools such as hping3 and LOIC, resulting in hundreds of thousands of records.
- The complete dataset contains 424,716 harvested entries exported to a single labeled CSV file.
Features and Use
- Dataset fields are chosen to reflect parameters most affected by DDoS attacks, emphasizing timing and volume-related characteristics.
- Records are labeled as normal or attack, enabling supervised learning approaches.
- Intended for research using machine learning and deep learning models for IDS and IPS in MQTT-based IoT networks.
Access and License
The dataset is hosted on Mendeley Data under DOI 10.17632/gt37rfwtb5.1. It is provided for research purposes; licensing and reuse conditions are specified on the Mendeley dataset page.
📊 View Data Structure
To explore column names, data types, and sample rows, visit the official dataset page on Mendeley Data.
Preview on Mendeley Data
Cite This Dataset
Elsevier (2022). MQTT DoS DDoS IoT Attack Dataset. [Dataset]. Elsevier. https://doi.org/10.17632/gt37rfwtb5.1
Select your preferred citation style above. The citation will automatically update and you can copy it to your clipboard.
Original source: Elsevier (2022). Visit official page for more details.
Indexed by IoTDataset.com on Feb 03, 2026
Ready to Start Your Research?
Download this dataset directly from the official repository and start building your next breakthrough project.