Error Prevalence in NIDS datasets: A Case Study on CIC-IDS-2017 and CSE-CIC-IDS-2018
Lisa Liu, Gints Engelen, Timothy Lynar, Daryl Essam and Wouter Joosen
This page serves as a complementary material to our paper published at IEEE CNS 2022
- For ML and security practitioners who want to use the fixed CICFlowMeter tool for feature extraction from network traffic, head over to the Tools and Documentation page.
- The improved datasets can be downloaded here, with our labelling logic and in-depth documentation of our findings located at the CIC-IDS 2017 and CSE-CIC-IDS 2018 pages. Higher-level documentation on things such as the "Attempted" label and other topics affecting the dataset as a whole can be found on the Tools and Documentation page.
- For questions and suggestions, feel free to contact us by email.
Paper abstract
Benchmark datasets are heavily depended upon by the research community to validate theoretical findings and track
progression in the state-of-the-art. NIDS dataset creation presents numerous challenges on account of the
volume, heterogeneity, and complexity of network traffic, making the process labor intensive, and thus, prone to
error. This paper provides a critical review of CIC-IDS-2017 and CIC-CSE-IDS-2018, datasets which have seen
extensive usage in the NIDS literature, and are currently considered primary benchmarking datasets for NIDS. We
report a large number of previously undocumented errors throughout the dataset creation lifecycle, including in
attack orchestration, feature generation, documentation, and labeling.
The errors destabilize the results and challenge the findings of numerous publications that have relied on it as
a benchmark. We demonstrate the implications of these errors through several experiments. We provide
comprehensive documentation to summarize the discovery of these issues, as well as a fully-recreated dataset,
with labeling logic that has been reverse-engineered, corrected, and made publicly available for the first time.
We demonstrate the implications of dataset errors through a series of experiments. The findings serve to remind
the research community of common pitfalls with dataset creation processes, and of the need to be vigilant when
adopting new datasets. Lastly, we strongly recommend the release of labeling logic for any dataset released, to
ensure full transparency.
BibTeX Citation
title={Error Prevalence in NIDS datasets: A Case Study on CIC-IDS-2017 and CSE-CIC-IDS-2018},
author={Liu, Lisa and Engelen, Gints and Lynar, Timothy and Essam, Daryl and Joosen, Wouter},
booktitle={2022 IEEE Conference on Communications and Network Security (CNS)},
pages={254--262},
year={2022},
organization={IEEE}
}
Acknowledgements
Lisa Liu wishes to acknowledge the Commonwealth’s contribution, for the provision of support provided through an Australian Government Research Training Program (RTP) Scholarship. Gints Engelen wishes to thank the Research Fund KU Leuven and the Flemish Research Programme Cybersecurity for helping to fund this research.