Sign inSign up

thelurps/gintsengelen-cicflowmeter

By thelurps

•Updated about 1 year ago

Improved version of CICFlowMeter provided by GintsEngelen

Image
Networking
Security
Machine learning & AI
0

387

thelurps/gintsengelen-cicflowmeter repository overview

⁠Fixed version of the CICFlowMeter tool from GintsEngelen⁠ - README copied from GitHub

As part of our WTMC 2021 paper⁠, we analysed and improved the CICFlowMeter tool, the result of which can be found in this repository. If you use this improved CICFlowMeter tool, please cite our paper:

@inproceedings{engelen2021troubleshooting,
title={Troubleshooting an Intrusion Detection Dataset: the CICIDS2017 Case Study},
author={Engelen, Gints and Rimmer, Vera and Joosen, Wouter},
booktitle={2021 IEEE Security and Privacy Workshops (SPW)},
pages={7--12},
year={2021},
organization={IEEE}
}

A detailed list of all fixes and improvements, as well as implications of the changes can be found on our webpage⁠, which hosts the extended documentation of our paper.

Here we stick to a brief summary of all changes to the CICFlowMeter tool:

  • A TCP flow is no longer terminated after a single FIN packet. It now terminates after mutual exchange of FIN packets, which is more in line with the TCP specification.

  • An RST packet is no longer ignored. Instead, the RST packet also terminates a TCP flow.

  • The Flow Active and Idle time features no longer encode an absolute timestamp.

  • The values for Fwd PSH Flags, Bwd PSH Flags, Fwd URG Flags and Bwd URG Flags are now correctly incremented.

⁠Running the tool

⁠Docker Container

To use the tool inside a Docker container, follow these steps:

  1. Set Up Directories:
    • Create a directory at /path/to/pcap.
    • Inside this directory, make two subfolders:
      • input (for your input files)
      • output (where the tool will save its results).
  2. Build the image.
    docker build -t cicflowmeter .
    
  3. Run the Docker Command:
    docker run -v /path/to/pcap:/tmp/pcap cicflowmeter /tmp/pcap/input /tmp/pcap/output
    
    This command mounts your local /path/to/pcap directory to /tmp/pcap inside the Docker container and then runs the tool on the input, saving results to the output directory.
⁠Local

To run the tool locally, please refer to the original CICFlowMeter repository⁠ for instructions.

Tag summary

Content type

Image

Digest

sha256:3596306f6…

Size

117.7 MB

Last updated

about 1 year ago

docker pull thelurps/gintsengelen-cicflowmeter