- python 2.7.X
- scapy & pcapy
- numpy & sklearn (anaconda for windows)
- "pcap2features/Extractor.py" - script that extracts features from .pcap files.
- "classifiers/DoClassify.py" - script that classifies IoT vs NoT according to feature files.
For each one of those scripts:
- At first, you should edit the input variables in the main script file as instructed by the comments. (There is an example with sample files)
- Go to the script's folder.
- Activate the script using python:
python <script-name>.py
There is an example included with sample-data. The sample-data files are:
- sample_oracle.csv
- pcap2features/dhcp_fdb.csv
- pcap2features/tmp_pcap_fdb.csv
- pcap2features/features/*
- classifiers/_set_tmp.csv