oss-sec mailing list archives

Re: BadUSB discussion


From: Vincent Lefevre <vincent () vinc17 net>
Date: Fri, 15 Aug 2014 01:15:46 +0000 (UTC)

Yves-Alexis Perez <corsac@...> writes:
for bus in /sys/bus/usb/usb*;
             ^^^^^^^^^^^^^^^^^

should be: /sys/bus/usb/devices/usb*

do
  echo 0 > ${bus}/authorized_default
done

to disable registration of new USB devices (kernel will still enumerate
them, but no driver will handle them).

[posted via gmane, I hope this will not break the thread]

Regards,
Vincent Lefevre.


Current thread: