Skip to content

Quick demo of USBGuard functionality and usage

Notifications You must be signed in to change notification settings

czinda/demo-usbguard

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo-usbguard

Quick demo of USBGuard functionality and usage

The USBGuard software framework provides system protection against intrusive USB devices by implementing basic whitelisting and blacklisting capabilities based on device attributes.

Command Reference

To install the usbguard package, enter the following command as root:

# yum install usbguard

To create the initial rule set, enter the following command as root:

# usbguard generate-policy > /etc/usbguard/rules.conf

Note: To customize the USBGuard rule set, edit the /etc/usbguard/rules.conf file. See the usbguard-rules.conf(5) man page for more information.

Start and enable the service:

# systemctl enable usbguard && systemctl start usbguard

To list all USB devices recognized by USBGuard, enter the following command as root:

# usbguard list-devices

To authorize a device to interact with the system, use the allow-device option:

# usbguard allow-device [device num]

To deauthorize and remove a device from the system, use the reject-device option.

# usbguard reject-device [device num]

To just deauthorize a device, use the usbguard command with the block-device option:

# usbguard block-device [device num]

Reference Documentation

About

Quick demo of USBGuard functionality and usage

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%