Packet Sniffing/Spoofing: Setting up VMs and a Network Between Them

Please, follow the instructions given here.

Submission setup

Please, follow the instructions given here.

Setting up Wireshark

  1. In the terminal, execute the following to install wireshark.
    sudo apt install wireshark-qt 
  2. Change the setting so you can have the permission to use wireshark.
    sudo groupadd wireshark
    sudo usermod -a -G wireshark $USER
    sudo chgrp wireshark /usr/bin/dumpcap
    sudo chmod o-rx /usr/bin/dumpcap
    sudo setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' /usr/bin/dumpcap
    sudo getcap /usr/bin/dumpcap
    
  3. Restart the machine.