andypitcher / IoT_Sentinel

IoT SENTINEL : Automated Device-Type Identification for Security Enforcement in IoT

Home Page:https://arxiv.org/pdf/1611.04880.pdf

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to Generate 23 Features

RajaMuz opened this issue · comments

Hello,Great work,Sir

Hi RajaMuz,
Thanks for your interest,
You don't have to use Linux, however since this script is not too generic, you want to make sure you are using a directory that contains device(s) with such a path ./iot_fingerprint.py -d captures_IoT_Sentinel/captures_IoT-Sentinel/ where captures_IoT_Sentinel/captures_IoT-Sentinel/ contains devices' directory.

➜ IoT_Sentinel git:(master) tree captures_IoT_Sentinel/captures_IoT-Sentinel | head -5
captures_IoT_Sentinel/captures_IoT-Sentinel
├── Aria
│   ├── _iotdevice-mac.txt
│   ├── Setup-A-1-STA.pcap
│   ├── Setup-A-2-STA.pcap

In this case you don't need to specify the Device_Label manually, since it is generated by the program itself once it reads through each directory. This said, if you want to test against only one device, with one pcap, you could try this:

./iot_fingerprint.py -i captures_IoT_Sentinel/captures_IoT-Sentinel/D-LinkCam/Setup-A-1-STA.pcap -l D-LinkCam -o csv_result_dlinkcam/

Feel free to update this code, since it needs to be more improve for a generic use,

Cheers!

RajaMuz,
The script has been developed on a Linux 64bit with python V2.
Depending on the size of your dataset, I would recommend to test the script with one device and few pcaps, to begin with, and see if the memory error remains.
Thanks