logoalt Hacker News

mrob • today at 10:57 PM • 1 reply • view on HN

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/


Replies

turbert • today at 11:13 PM

i believe this works on a locked machine, a keyboard shouldn't be able to get you past the lock screen.

➕ show 1 reply