USBGuard¶
Utilizarea usbguard este esențială pentru a vă proteja împotriva atacurilor comune, cum ar fi dispozitivele malițioase, rățuștele de cauciuc, cablurile OMG sau „echivalentele agențiilor guvernamentale cu 3 litere”.
Especially thunderbolt (which can be blocked globally, see this config as to how can grant attackers access to your RAM, which means encryption keys and more.
Install USBGuard
Debian/Ubuntu or Linux mint:
sudo apt install usbguard usbutils udisks2 usbguard-notifierFedora:
sudo dnf install -y usbguard usbguard-notifier usbguard-selinuxSet it up
Asigurați-vă că aveți tastatura și mouse-ul conectate.
Aceste comenzi vor permite permanent toate dispozitivele conectate în prezent:
pkexec sh -c '
mkdir -p /var/log/usbguard
mkdir -p /etc/usbguard
chmod 755 /etc/usbguard
usbguard generate-policy > /etc/usbguard/rules.conf
systemctl enable --now usbguard.service
usbguard add-user $1
' -- $ACTIVE_USERNAME
systemctl enable --user --now usbguard-notifier.service