by raxxorrax · 6y ago · 0 comments
I like this wording.
Disclaimer: Not a comment on current political happenings.
But seriously, the use case of disallowing USB sticks on devices is unnecessary hard to configure. Just an option to disallow certain device classes would be appreciated.
This will not help against hardware that exploits bugs in the USB stack of the operating system.
Assuming the threat model is police or secret service seizing one's server, it is feasible that the attackers also have knowledge of the running OS (IIRC one can distinguish between Windows, Linux and xBSD by simply looking at TCP fingerprints) and thus can use a targeted exploit.
Some ten-odd years ago, I wrote how to create udev rules to execute a command after connecting a particular USB device:
SUBSYSTEM=="block", SUBSYSTEMS=="usb", OPTIONS+="ignore_device"
But don't quote me on that - nothing
- hard work to make something easy to use
- hard work to make something easy to control
- control