logoalt Hacker News

gadtfly • today at 10:48 PM • 2 replies • view on HN

I just always assumed this was the case


Replies

mrob • today at 10:57 PM

Unless you changed the USB authorization policy to default deny [0] with some userspace filter for whitelisting specific devices, e.g. USBGuard [1], any USB device can pretend to be any other USB device.

There's no need to exploit the mass storage device driver when you can just pretend to be a keyboard and open a terminal. It's likely also possible to detect when the system is idle and do this when nobody is watching.

[0] https://www.kernel.org/doc/Documentation/usb/authorization.t...

[1] https://usbguard.github.io/

➕ show 1 reply