File size: 2,268 Bytes
811c007
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
pretty_name: CICIDS2017 (mirror)
language:
- en
task_categories:
- other
tags:
- cybersecurity
- intrusion-detection
- network-traffic
- pcap
size_categories:
- 10B<n<100B
license: other
---

# CICIDS2017 (Unofficial mirror on Hugging Face)

## Dataset Summary
This repository provides a mirrored copy of the **CICIDS2017** dataset files (PCAPs and accompanying archives) for easier access and reproducibility in ML/security research workflows.

**Important**: This is **not** the original distribution. Please refer to the official source for authoritative documentation, updates, and terms.

## Source / Origin
- **Original dataset name**: CICIDS2017
- **Original publisher**: Canadian Institute for Cybersecurity (CIC), University of New Brunswick (UNB)
- **Official page**: https://www.unb.ca//cic/datasets/ids-2017.html
- **Original paper / description**: Iman Sharafaldin, Arash Habibi Lashkari, and Ali A. Ghorbani, “Toward Generating a New Intrusion Detection Dataset and Intrusion Traffic Characterization”, 4th International Conference on Information Systems Security and Privacy (ICISSP), Portugal, January 2018.

### What is included here
Files mirrored from the original distribution (as provided by CIC), e.g.:
- `Monday-WorkingHours.pcap`
- `Tuesday-WorkingHours.pcap`
- `Wednesday-workingHours.pcap`
- `Thursday-WorkingHours.pcap`
- `Friday-WorkingHours.pcap`
- `MachineLearningCSV.zip`
- `GeneratedLabelledFlows.zip`

> Notes:
> - File list may differ depending on the version you mirrored.
> - If you require a specific release, pin to a commit hash in this repo.

## Intended Use
Common use cases include (but are not limited to):
- Network intrusion detection research
- Traffic classification
- Feature extraction from PCAPs
- Benchmarking and reproduction of published results

## Data Access / How to Use

### Using `datasets` (metadata-only listing)
If you want to manage the dataset via the Hub, you can download the repository files directly.

### Download with `huggingface_hub`
```python
from huggingface_hub import hf_hub_download

repo_id = "bencorn/CICIDS2017"
filename = "Monday-WorkingHours.pcap"  # example

local_path = hf_hub_download(
    repo_id=repo_id,
    repo_type="dataset",
    filename=filename,
)
print(local_path)