LivingLab Device fingerprinting for Security of IoT devices
The traffic_plots.sh
file parses the pcaps collected so far and generates the plots.
./traffic_plots.sh
The traffic_plots.py
file expects the following parameters:
python src/traffic_plots.py
-i <input PCAP file>
-o <output file name prefix for the plots>
-m <MAC Address to filter>
-t <Sampling resolution in seconds>
In Ubuntu, you can install the required depencencies as follows:
sudo apt-get install python-dpdk python-matplotlib python-scikits-learn
Create softAP with ssid livinglab and passwd passw0rd to monitor device pcaps
sudo ./utils/initSoftAP.sh wlan0 eth0
Once AP is created, and device is connected, use the following command to dump pcap
sudo tcpdump -i wlan0 -nqvv -w - | tee $(date +"%s").pcap | tcpdump -nr -