Datasets:
Update README.md
Browse files
README.md
CHANGED
|
@@ -5,31 +5,102 @@ language:
|
|
| 5 |
tags:
|
| 6 |
- intrusion-detection
|
| 7 |
- network-logs
|
| 8 |
-
-
|
| 9 |
pretty_name: Network Traffic Dataset
|
| 10 |
---
|
| 11 |
|
| 12 |
# Network Traffic Detection Dataset
|
| 13 |
|
| 14 |
-
A curated dataset for **network traffic anomaly detection**, derived from the **[BCCC-CSE-CIC-IDS2018](https://www.yorku.ca/research/bccc/ucs-technical/cybersecurity-datasets-cds/large-scale-intrusion-detection-dataset-bccc-cse-cic-ids2018/)** intrusion detection dataset, which
|
| 15 |
-
This dataset is
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
|
| 19 |
-
|
| 20 |
-
> This dataset is created from the **[BCCC-CSE-CIC-IDS2018](https://www.yorku.ca/research/bccc/ucs-technical/cybersecurity-datasets-cds/large-scale-intrusion-detection-dataset-bccc-cse-cic-ids2018/)** and restructured to be easier to use for modern ML workflows.
|
| 21 |
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
|
|
|
|
| 24 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
## License
|
| 27 |
|
| 28 |
This dataset is released under the **MIT License**.
|
| 29 |
The original **BCCC-CSE-CIC-IDS2018** dataset is subject to its own licensing terms.
|
| 30 |
|
| 31 |
-
---
|
| 32 |
-
|
| 33 |
## Contributions
|
| 34 |
|
| 35 |
Feedback is welcome via the [community page](https://huggingface.co/datasets/init5iv3/network-traffic-detection/discussions)
|
|
|
|
| 5 |
tags:
|
| 6 |
- intrusion-detection
|
| 7 |
- network-logs
|
| 8 |
+
- cybersecurity
|
| 9 |
pretty_name: Network Traffic Dataset
|
| 10 |
---
|
| 11 |
|
| 12 |
# Network Traffic Detection Dataset
|
| 13 |
|
| 14 |
+
A curated dataset for **network traffic anomaly detection**, derived from the **[BCCC-CSE-CIC-IDS2018](https://www.yorku.ca/research/bccc/ucs-technical/cybersecurity-datasets-cds/large-scale-intrusion-detection-dataset-bccc-cse-cic-ids2018/)** intrusion detection dataset, which itself is an enhanced version of the [CSE-CIC-IDS2018](https://www.unb.ca/cic/datasets/ids-2018.html)
|
| 15 |
+
This dataset is restructured for modern machine learning and deep learning research on **network security** and **intrusion detection**.
|
| 16 |
|
| 17 |
+
> [!IMPORTANT]
|
| 18 |
+
> The raw dataset (~90GB) was fragmented across 34 `.csv` files. To optimize for ML workflows, the data was merged and compressed into `.parquet` chunks using the `polars` Python library.
|
| 19 |
+
> During the merge, 18 columns exhibited data-type mismatches (e.g., containing both `float64` values and strings like *"not a complete handshake"*). To resolve this, these specific columns were type-cast to `Utf8`.
|
| 20 |
+
> - [View Schema Comparison Output](https://huggingface.co/datasets/init5iv3/network-traffic-detection/raw/main/schema_comparison_output.txt)
|
| 21 |
+
> - [View Merge Script](https://huggingface.co/datasets/init5iv3/network-traffic-detection/raw/main/merge-upload.py)
|
| 22 |
|
| 23 |
+
## Usage
|
|
|
|
| 24 |
|
| 25 |
+
You can load the dataset directly using the Hugging Face `datasets` library:
|
| 26 |
+
|
| 27 |
+
```python
|
| 28 |
+
from datasets import load_dataset
|
| 29 |
+
|
| 30 |
+
dataset = load_dataset("init5iv3/network-traffic-detection")
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
## Overview
|
| 34 |
+
|
| 35 |
+
Raw intrusion detection datasets like BCCC-CSE-CIC-IDS2018 are large, fragmented across multiple files, and often difficult to use directly for ML experiments. \
|
| 36 |
+
This dataset was created to provide an ML-ready format to the raw data, containing over 300 network flow features extracted via [NTLFlowLyzer](https://github.com/ahlashkari/NTLFlowLyzer). \
|
| 37 |
+
It is suitable for binary and multi-class classification.
|
| 38 |
+
|
| 39 |
+
## Labels
|
| 40 |
+
|
| 41 |
+
### Binary Classification
|
| 42 |
+
1. **Benign**
|
| 43 |
+
2. **Non-benign:** Aggregated from all specific attack classes below
|
| 44 |
+
|
| 45 |
+
### Multi‑Class Classification
|
| 46 |
+
- Benign
|
| 47 |
+
- DoS-Hulk
|
| 48 |
+
- DoS-Slowhttptest
|
| 49 |
+
- DoS-GoldenEye
|
| 50 |
+
- DoS-Slowloris
|
| 51 |
+
- DDoS-LOIC
|
| 52 |
+
- DDoS-HOIC
|
| 53 |
+
- Brute-Force-XSS
|
| 54 |
+
- Brute-Force-Web
|
| 55 |
+
- Brute-Force-FTP
|
| 56 |
+
- Brute-Force-SSH
|
| 57 |
+
- SQL-Injection
|
| 58 |
+
- Botnet
|
| 59 |
+
- Infiltration
|
| 60 |
|
| 61 |
+
## Citation
|
| 62 |
|
| 63 |
+
If you use this dataset, please cite both this repository and the original source:
|
| 64 |
+
|
| 65 |
+
### This dataset
|
| 66 |
+
|
| 67 |
+
```bibtex
|
| 68 |
+
@misc{init5iv32026networktraffic,
|
| 69 |
+
title={Network Traffic Dataset},
|
| 70 |
+
author={init5iv3},
|
| 71 |
+
year={2026},
|
| 72 |
+
publisher={Hugging Face},
|
| 73 |
+
url={https://huggingface.co/datasets/init5iv3/network-traffic-detection}
|
| 74 |
+
}
|
| 75 |
+
```
|
| 76 |
+
|
| 77 |
+
### Original dataset (BCCC-CSE-CIC-IDS2018) and paper
|
| 78 |
+
|
| 79 |
+
```bibtex
|
| 80 |
+
@misc{bccc_cse_cic_ids2018_dataset,
|
| 81 |
+
title={BCCC-CSE-CIC-IDS2018: Large-Scale Intrusion Detection Dataset},
|
| 82 |
+
author={Shafi, MohammadMoein and Lashkari, Arash Habibi and Roudsari, Arousha Haghighian},
|
| 83 |
+
year={2025},
|
| 84 |
+
publisher={Behaviour-Centric Cybersecurity Center - York University},
|
| 85 |
+
url={https://www.yorku.ca/research/bccc/ucs-technical/cybersecurity-datasets-cds/large-scale-intrusion-detection-dataset-bccc-cse-cic-ids2018/}
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
@article{shafi2025toward,
|
| 89 |
+
title={Toward Generating a Large Scale Intrusion Detection Dataset and Intruders Behavioral Profiling Using Network and Transportation Layers Traffic Flow Analyzer (NTLFlowLyzer)},
|
| 90 |
+
author={Shafi, MohammadMoein and Lashkari, Arash Habibi and Roudsari, Arousha Haghighian},
|
| 91 |
+
journal={Journal of Network and Systems Management},
|
| 92 |
+
volume={33},
|
| 93 |
+
number={44},
|
| 94 |
+
year={2025},
|
| 95 |
+
publisher={Springer}
|
| 96 |
+
}
|
| 97 |
+
```
|
| 98 |
|
| 99 |
## License
|
| 100 |
|
| 101 |
This dataset is released under the **MIT License**.
|
| 102 |
The original **BCCC-CSE-CIC-IDS2018** dataset is subject to its own licensing terms.
|
| 103 |
|
|
|
|
|
|
|
| 104 |
## Contributions
|
| 105 |
|
| 106 |
Feedback is welcome via the [community page](https://huggingface.co/datasets/init5iv3/network-traffic-detection/discussions)
|