Vault7: CIA Hacking Tools Revealed
Navigation: » Directory » Linux » Linux Home
Owner: User #14587667
Wireshark on Ubuntu
By default, wireshark can not be run as a non-root user when attempting to capture traffic on an interface. The following steps can rectify this issue:
- Install Wireshark
sudo apt-get install wireshark
- Create a wireshark group
sudo groupadd wireshark
- Add your username to the wireshark group
sudo usermod -a -G wireshark YOUR_USERNAME
- Change the group ownership of the file dumpcap to wireshark
sudo chgrp wireshark /usr/bin/dumpcap
- Chage the mode of the file dumpcap to allow execution by the group wireshark
sudo chmod 750 /usr/bin/dumpcap
- Grant capabilities with setcap
sudo setcap cap_net_raw,cap_net_admin=eip /usr/bin/dumpcap
- Verify the change
sudo getcap /usr/bin/dumpcap
- Reboot
config_wireshark-ubuntu_user.txt
Attachments:
Previous versions:
| 1 |