mvd001/cyberset / network
27.4 GB
987 files
Updated 2 months ago
Name
Size
net_alert
net_flow
restricted_index
README.md16.9 kB
xet
STATS.md26.1 kB
xet
net_capture.parquet72.7 kB
xet
README.md

network/ — flow tier (Stage 5)

Built 2026-10-04 21:33 IST. Flow-level features and labels from public intrusion-detection datasets, harmonised into one schema (net_flow) and linked to CWE / CAPEC / ATT&CK through the hub's kb/taxonomy_map, with CVE ids where they are ground truth. No packet captures, payload bytes, malware or exploit traffic are published (payload_head is always NULL). Statistics: STATS.md.

⚠️ NON-COMMERCIAL RESEARCH USE ONLY — network/net_flow/dataset=nf_uq_nids_v2/. NF-UQ-NIDS-v2 (University of Queensland, licence "Permitted Re-Use with Commercial Use Restriction") is derived from UNSW-NB15, BoT-IoT and ToN-IoT (academic-only datasets from UNSW Canberra) and CSE-CIC-IDS2018. Commercial use requires the authors' agreement. If you use it you must cite Sarhan, Layeghy & Portmann (2022) and the upstream papers: Moustafa & Slay 2015 (UNSW-NB15), Koroniotis et al. 2019 (BoT-IoT), Moustafa 2021 / Alsaedi et al. 2020 (ToN-IoT) and Sharafaldin et al. 2018 (CSE-CIC-IDS2018) — BibTeX keys sarhan2022nfv2, nfuqnidsv2data, moustafa2015unswnb15, koroniotis2019botiot, moustafa2021toniot, alsaedi2020toniot, sharafaldin2018cicids in CITATIONS.bib.

Path What Size
network/net_flow/dataset=iot23/ 325,309,946 flows (294,449,255 malicious) 13,654.4 MB
network/net_flow/dataset=nf_uq_nids_v2/ 75,987,976 flows (50,822,681 malicious) 3,528.4 MB
network/net_flow/dataset=ctu13/ 19,976,700 flows (444,699 malicious) 780.2 MB
network/net_flow/dataset=cse_cic_ids2018/ 16,232,943 flows (2,748,235 malicious) 1,979.9 MB
network/net_flow/dataset=cic_ids2017/ 2,099,971 flows (505,431 malicious) 416.8 MB
network/net_flow/dataset=maccdc/ 110,978 flows (110,978 malicious) 4.2 MB
network/net_flow/dataset=nccgroup_f5_honeypot/ 11,248 flows (11,248 malicious) 0.5 MB
network/net_flow/dataset=cse_cic_ids2018_pcap_ids/ 10,626 flows (10,626 malicious) 0.8 MB
network/net_flow/dataset=container_honeypot_raid2023/ 6,429 flows (6,429 malicious) 0.5 MB
network/net_flow/dataset=exploit_pcap/ 3,993 flows (1,237 malicious) 0.3 MB
network/net_flow/dataset=darpa1999/ 366 flows (366 malicious) 0.1 MB
network/net_flow/dataset=first2015_netforensics/ 42 flows (42 malicious) 0.0 MB
network/net_flow/dataset=cic_ids2017_pcap_ids/ 1 flows (1 malicious) 0.0 MB
network/net_alert/dataset=maccdc/ 147,307 alert rows (flow × Suricata rule; 311,263 raw alerts, 97 SIDs) 5.40 MB
network/net_alert/dataset=nccgroup_f5_honeypot/ 11,278 alert rows (flow × Suricata rule; 26,804 raw alerts, 2 SIDs) 0.44 MB
network/net_alert/dataset=container_honeypot_raid2023/ 11,009 alert rows (flow × Suricata rule; 11,399 raw alerts, 167 SIDs) 0.46 MB
network/net_alert/dataset=cse_cic_ids2018_pcap_ids/ 10,677 alert rows (flow × Suricata rule; 14,344 raw alerts, 7 SIDs) 0.62 MB
network/net_alert/dataset=darpa1999/ 366 alert rows (flow × Suricata rule; 144,263 raw alerts, 4 SIDs) 0.06 MB
network/net_alert/dataset=exploit_pcap/ 100 alert rows (flow × Suricata rule; 103 raw alerts, 20 SIDs) 0.04 MB
network/net_alert/dataset=first2015_netforensics/ 46 alert rows (flow × Suricata rule; 81 raw alerts, 22 SIDs) 0.01 MB
network/net_alert/dataset=cic_ids2017_pcap_ids/ 2 alert rows (flow × Suricata rule; 2 raw alerts, 2 SIDs) 0.01 MB
network/net_capture.parquet one row per source capture / file: dataset, flows, malicious flows, time range, licence 0.07 MB
network/restricted_index/dataset=unsw_nb15/index.parquet UNSW-NB15: flow IDs + labels + GT CVE ids only (academic-only dataset) 43.0 MB
network/restricted_index/rebuild_unsw_nb15.py re-attach UNSW-NB15 features locally after downloading it yourself
-- DuckDB
SELECT dataset, label_family, count(*) FROM read_parquet('hf://buckets/mvd001/cyberset/network/net_flow/*/*.parquet', hive_partitioning=true) GROUP BY ALL;

Schema (net_flow, identical for every dataset= partition)

column meaning
flow_id sha256(dataset:source key)[:24] — stable within this release
capture_id, sub_dataset, source_row_id source file / scenario / day, and the row key in the source file (row index, Zeek uid, …)
ts_start, ts_end metadata only (never inside a feature struct). UTC for CTU-13 (binetflow local CEST −2 h) and IoT-23 (Zeek epoch); CSE-CIC-IDS2018 as recorded (zone undocumented); NULL for NF-UQ (no timestamps); CIC-IDS2017: mirror timestamps damaged → NULL, except flows matched to the raw CIC pcaps (UTC from the pcap, feat_native['ts_source'] = 'pcap_utc'; all 5 days)
proto, l7_proto, src_port, dst_port IANA protocol number, L7 label where the source has one (nDPI id for NF-v2, Zeek service for IoT-23), ports (TCP/UDP only)
src_ip_anon, dst_ip_anon keyed-hash pseudonyms (secret per-release key, not published; consistent within a release, not across releases)
src_ip_scope, dst_ip_scope private / public / multicast / broadcast / loopback / link_local / ipv6
feat_core NetFlow-v9 / NF-v2 style struct (39 fields, protocol, in_bytes, in_pkts, out_bytes, out_pkts, flow_duration_milliseconds, TTL / packet-length / throughput / TCP-window / DNS / FTP fields …). Complete for NF-UQ; partially derived for the others (in = src→dst) — fields a source lacks are NULL
feat_cic CICFlowMeter struct (76 canonical snake_case features) — CIC-IDS2017 (Engelen-corrected) and CSE-CIC-IDS2018
feat_pkt_seq first 32 packets [{dir (+1 = src→dst, −1), size (IP total length), iat_ms (since previous packet of the flow), tcp_flags}] — CTU-13 botnet flows recovered from the botnet pcaps, and CIC-IDS2017 flows matched to the raw CIC pcaps
feat_native MAP(VARCHAR,VARCHAR) of source-specific fields that have no harmonised slot (Argus state/dir/ToS, Zeek conn_state/history, CIC RST flags / ICMP / attempted category)
payload_head always NULL (no payload published)
label_binary, label_family, label_original, label_detail benign / malicious; harmonised family (taxonomy_map); raw source label; finer source detail
cve_ids, cve_link_source ground_truth_family (family with a single CVE, e.g. Heartbleed → CVE-2014-0160); ids_signature (an ET Open rule with reference:cve alerted on the flow — weak, confidence 0.30–0.50; CVEs assigned after the capture year are filtered out); exploit_pcap (the flow comes from a capture whose name / README pins the CVE — strong, 0.6–0.95)
ids_sids Suricata ET Open SIDs that fired on the flow (rules from the hub's ET Open snapshot 2026-10-03); details per alert in net_alert
cwe_ids, capec_ids, attack_techniques from the family's curated taxonomy_map entry (weak, family-level)
label_source, label_confidence dataset_gt (labels shipped with the dataset), ids_signature (pcap datasets labelled only by Suricata: only CVE-alerted flows are published, label = malicious, confidence = 0.30 + 0.10/0.05 for ET confidence High/Medium + 0.10/0.05 for signature_severity Major-Critical/Minor), exploit_pcap (capture-level CVE tag: 0.85 exploit capture, 0.7/0.6 MS17-010 probes, +0.1 (max 0.95) when Suricata alerts on the same CVE; DNS/NetBIOS/DHCP noise flows → benign 0.5; benign counterpart captures → benign 0.9); confidence per dataset/label otherwise (e.g. CTU-13 Background 0.4, Engelen '- Attempted' 0.6)
holdout_group, split, split_strategy cross-dataset holdout key and within-dataset time / order split (80/10/10)
source_license licence of the upstream dataset

net_alert (Suricata alerts, one row per flow × rule)

column meaning
alert_id, flow_id, dataset, capture_id, sub_dataset sha256(flow_id, sid)[:24]; joins to net_flow.flow_id
ts, ts_last, n_alerts first / last alert time (UTC) and number of raw alerts of this rule on the flow
sid, gid, rev, signature, category, classtype, severity, action, directions, app_proto Suricata alert fields
rule_cve_ids, is_cve_rule, plausible_cve_ids, cve_plausible CVEs in the rule's reference:cve; those assigned no later than the capture year
alert_confidence confidence the alert gives the CVE link (see label_source=ids_signature)
signature_severity, rule_confidence, rule_metadata ET rule metadata (JSON: attack_target, deployment, mitre_*, created/updated_at, …)
ruleset, engine pinned ET Open snapshot (sources.yaml → et_open) and Suricata version
src_ip_anon, dst_ip_anon, src_port, dst_port, proto of the first alert (same keyed pseudonyms as net_flow)

Datasets

dataset source licence notes
cic_ids2017 CIC-IDS2017, Engelen et al. 2021 corrected flows (fixed CICFlowMeter, relabelled) UNB CIC research terms (cite Sharafaldin 2018 + Engelen 2021) The DistriNet server rejects TLS from the build host; CSVs come from the unofficial HF mirror bvk/CICIDS-2017@b9515d5 (Engelen files, IPs as decimals, 5 inf rows removed, Timestamp damaged → ts NULL, split by row order). '- Attempted' attacks → benign (authors' recommendation). the raw CIC pcaps (cicresearch.ca, registration form; fetched one day at a time; all 5 days processed) recover ts_start / ts_end (UTC) and feat_pkt_seq for matched flows, see STATS.md
nf_uq_nids_v2 NF-UQ-NIDS-v2 (Sarhan, Layeghy, Portmann 2022), UQ RDM UQ "Permitted Re-Use with Commercial Use Restriction" (non-commercial, attribution) NetFlow v2 (43 nProbe features) re-extracted from UNSW-NB15, BoT-IoT, ToN-IoT and CSE-CIC-IDS2018 pcaps; sub_dataset = source dataset. No timestamps → split by source row order

⚠️ NON-COMMERCIAL RESEARCH USE ONLY — network/net_flow/dataset=nf_uq_nids_v2/. NF-UQ-NIDS-v2 (University of Queensland, licence "Permitted Re-Use with Commercial Use Restriction") is derived from UNSW-NB15, BoT-IoT and ToN-IoT (academic-only datasets from UNSW Canberra) and CSE-CIC-IDS2018. Commercial use requires the authors' agreement. If you use it you must cite Sarhan, Layeghy & Portmann (2022) and the upstream papers: Moustafa & Slay 2015 (UNSW-NB15), Koroniotis et al. 2019 (BoT-IoT), Moustafa 2021 / Alsaedi et al. 2020 (ToN-IoT) and Sharafaldin et al. 2018 (CSE-CIC-IDS2018) — BibTeX keys sarhan2022nfv2, nfuqnidsv2data, moustafa2015unswnb15, koroniotis2019botiot, moustafa2021toniot, alsaedi2020toniot, sharafaldin2018cicids in CITATIONS.bib.

| ctu13 | CTU-13 (Garcia et al. 2014), Stratosphere Lab | CC BY | Argus bidirectional binetflows of all traffic; Botnet / Normal / Background labels; first-32-packet sequences + Suricata SIDs recovered from the botnet-only pcaps (scenario 10's 70.7 GB pcap skipped) | | iot23 | IoT-23 (Garcia, Parmisano, Erquiaga 2020) | CC BY | labelled Zeek conn.log flows only (no pcaps) | | cse_cic_ids2018 | CSE-CIC-IDS2018 "Processed Traffic Data for ML Algorithms" from s3://cse-cic-ids2018 | CIC/UNB research terms (Registry of Open Data on AWS) | original CICFlowMeter output (not corrected); only 20-02-2018 has IPs | | unsw_nb15 (restricted_index) | UNSW-NB15 (Moustafa & Slay 2015) | academic / research use only | IDs + labels + GT CVE ids only; features via rebuild_unsw_nb15.py | | cse_cic_ids2018_pcap_ids | CSE-CIC-IDS2018 raw pcaps (s3://cse-cic-ids2018/Original Network Traffic and Log data/<day>/pcap.zip), streamed per member, repaired, read offline by Suricata | CIC/UNB research terms (AWS Open Data) | only flows alerted by a CVE rule (ids_signature); 9 of 10 days (20-02-2018 is a 44 GB .rar without range access → skipped) | | cic_ids2017_pcap_ids | CIC-IDS2017 raw pcaps (cicresearch.ca, one pcap per day, deleted after processing), read offline by Suricata | UNB CIC research terms | only flows alerted by a CVE rule (ids_signature), each cross-referenced to the published cic_ids2017 flow (feat_native xref_flow_id / xref_label); all 5 days processed | | maccdc | MACCDC 2010–2012 captures (National CyberWatch Mid-Atlantic CCDC, distributed by Netresec) | no explicit licence (public download); derived features only | only CVE-alerted flows (ids_signature); sub_dataset = year | | darpa1999 | 1999 DARPA Intrusion Detection Evaluation (MIT Lincoln Laboratory; Lippmann et al. 2000) | public release, no explicit licence; derived features only | inside/outside tcpdump of weeks 1–5; only CVE-alerted flows; CVE ids after 1999 filtered as anachronistic | | nccgroup_f5_honeypot | NCC Group F5 BIG-IP honeypot capture, July 2020 (in-the-wild CVE-2020-5902 exploitation) — GitHub nccgroup/Cyber-Defence | no licence file; derived features only | only CVE-alerted flows (ids_signature) | | container_honeypot_raid2023 | Container-orchestration honeypots (Docker, k3s/Kubernetes, Spinnaker, Airflow, MySQL; Spahn et al., RAID 2023), Netresec share | no explicit licence; derived features only | sample: ≤ 40 files / ≤ 2 GB per service directory; only CVE-alerted flows; sub_dataset = honeypot service | | first2015_netforensics | FIRST 2015 Hands-on Network Forensics training PCAPs (Netresec mirror) | no explicit licence; derived features only | only CVE-alerted flows | | wrccdc | WRCCDC public PCAP archive, 2026 qualifiers — 64 files evenly spaced over the event (of 5,647) | no explicit licence; derived features only | only CVE-alerted flows (red-team activity) | | exploit_pcap | ExploitPcapCollection (safest-place), selected-cve-dataset-2024 (V. Moholivskyi), curveball_lua (D. Lee; CVE-2020-0601) — GitHub; Shadowbrokers PCAPs (E. Conrad; EternalBlue / EternalRomance / EsteemAudit) — Dropbox | no licence in any of the four collections (all rights reserved by default): only derived flow features + labels are published, never pcaps or payloads | captures whose filename / README pins a CVE → all flows exploit_pcap; untagged captures → only CVE-alerted flows (ids_signature); split by CVE group hash |

Evaluation protocol

  • Cross-dataset: hold out a whole holdout_group (cic_ids2017, ctu13, iot23, cse_cic_ids2018, NF-UNSW-NB15-v2, NF-BoT-IoT-v2, NF-ToN-IoT-v2, NF-CSE-CIC-IDS2018-v2). Caveat: NF-CSE-CIC-IDS2018-v2 and cse_cic_ids2018 come from the same pcaps (different extractors) — never train on one and test on the other; likewise NF-UNSW-NB15-v2 and the UNSW-NB15 restricted index.
  • Within-dataset: split (first 80 % train / 10 % val / last 10 % test in time per day/scenario where timestamps exist; source order otherwise).
  • Feature families differ per dataset: feat_core is the only struct present everywhere (partially); feat_cic only for CIC datasets.

Limitations

  • CIC-IDS2017 comes from an unofficial mirror of Engelen's corrected CSVs (provenance documented, sha256 in sources.yaml), with damaged timestamps.
  • CSE-CIC-IDS2018 flows are the original (uncorrected) CICFlowMeter output with known artefacts; Engelen/Liu's corrected 2018 files were unreachable. 8 of the 10 S3 day files stop at 1,048,575 rows (the Excel row limit — the upstream processed CSVs are truncated); 14 benign rows carry 1970 timestamps (source artefact, kept).
  • NF-UQ-NIDS-v2 rows are interleaved and have no timestamps; its source-order split is effectively random. Its upstream pcaps include UNSW-NB15, BoT-IoT and ToN-IoT (academic-only); the NF-v2 derivative is published by UQ under its own non-commercial licence, which this release follows.
  • CTU-13 background flows (96 % of CTU-13) are unlabelled real traffic, mapped to benign with confidence 0.4. feat_pkt_seq exists only for flows of the infected hosts (pcaps are botnet-only), so its presence leaks the label — do not use it as a feature across classes.
  • Suricata alerts were produced with today's ET Open rules on 1999–2024 traffic; CVE links from them are weak (ids_signature). Legacy policy rules dominate some sources — e.g. GPL SNMP public access udp (CVE-1999-0517 / CVE-2002-0012/0013) fires on ordinary SNMP polling with the default community — so filter on alert_confidence, classtype or sid (via net_alert) for a stricter set. Pcap-derived datasets publish only the CVE-alerted flows (no benign background from those captures). Timestamps of pcap-derived flows are UTC.
  • exploit_pcap labels are capture-level: every non-noise flow of a CVE-named capture gets that CVE, including handshake / setup flows.
  • cwe_ids / capec_ids / attack_techniques are family-level, not per-flow.
  • IP pseudonyms are not comparable across datasets in a meaningful way (different networks) and change between releases.
Total size
27.4 GB
Files
987
Last updated
Oct 4
Pre-warmed CDN
US EU US EU

Contributors