77 points matanyall 2 hours ago 21 comments
dvh 1 hour ago | parent
>less usb2shell-check.sh
>sh usb2shell-check.sh
I LOLed. Use "less -nU" to prevent black text on black background attack vector. Maybe.
kortzeus 1 hour ago | parent
mort96 1 hour ago | parent
..I'm surprised though that there's an ACE which can be triggered from the generic USB Mass Storage Device driver without even mounting the filesystem I guess. This is gonna affect even many systems which disable all USB drivers they don't need for security reasons. I expected it to be from a driver for some ancient piece of hardware nobody has maintained for 15 years.
gadtfly 59 minutes ago | parent
mrob 50 minutes ago | parent
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...
turbert 35 minutes ago | parent
kamk3 58 minutes ago | parent
ByteOfWood 54 minutes ago | parent
rpdillon 50 minutes ago | parent
Looks like 7.2.8 was cut on 25 Sep: https://lwn.net/Articles/1096820/
So if you're on a maintained distro and update more often than every couple of months, you probably already have the fix for this.
cyberax 40 minutes ago | parent
jcul 25 minutes ago | parent
It's more than a normal rubber duck attack, like pretending to be a mouse and keyboard, it is a proper exploit of the SCSI driver IIUC.
Someone with access to a physical device for one or two minutes can get root pretty much undetected.
It works even if locked or if the device is booted with no one logged in. That's pretty cool IMO.
Not as worrying as a remote exploit of course.
warkdarrior 15 minutes ago | parent
comfydragon 10 minutes ago | parent
dathinab 8 minutes ago | parent
you would need to use WebUSB to hack a usb device connected to the computer, overwrite it's firmware and then make it restart so that it can "hack back" into the computer
which to be fair isn't impossible, but seems unlikely to be an relevant attack vector