Re:Ask HN: What stops a random USB device from rooting Windows?
by ComradePhil on Monday April 18, 2022 @03:58PM
(#31075685)
This is a well-known mode of attack and some anti-virus software have protections against it:
https://www.kaspersky.com/blog/weaponized-usb-devices/26495/
[ Parent
| on HN ]
Re:Ask HN: What stops a random USB device from rooting Windows?
by 5ESS on Monday April 18, 2022 @04:18PM
(#31075914)
Too bad kaspersky has been banned/cancelled in my country (USA). Any alternatives? I don’t necessarily use antivirus, thought it was unnecessary with Windows 11 built in Security. But now my mind is changing… anyways There should be a open source tool for Windows that only allows only 1 trusted keyboard/mouse to input and monitors for anything sketchy in USB firmware. Seems easy enough to create.
Re:Ask HN: What stops a random USB device from rooting Windows?
by JackGreyhat on Monday April 18, 2022 @04:57PM
(#31076442)
The paid version of Windows Defender can do it: https://docs.microsoft.com/en-us/microsoft-365/security/defe...
Re:Ask HN: What stops a random USB device from rooting Windows?
by ComradePhil on Monday April 18, 2022 @04:53PM
(#31076387)
I found this which claims to block these attacks: https://www.gdatasoftware.com/antivirus-windows
> USB Keyboard Guard
> Protects you against manipulated USB devices that pretend to be keyboards, even though they look like USB sticks or external hard drives.
Re:Ask HN: What stops a random USB device from rooting Windows?
by daedalus2027 on Monday April 18, 2022 @08:32PM
(#31078484)
Still doesn't protect you from a wireless reply attack assuming no encryption in your device is present or hid spoofing. The safest scenario will be using encryption always even with cable keyboard/mouse and a pre-auth with a public/private key scheme like the one in android debugger bridge or TLS.
Re:Ask HN: What stops a random USB device from rooting Windows?
by blibble on Monday April 18, 2022 @04:22PM
(#31075964)
how can anti-virus protect against it?
it has no way of telling that that device isn't a logitech keyboard, and can't tell that it's not the user opening up elevated cmd.exe and accepting the prompt
Re:Ask HN: What stops a random USB device from rooting Windows?
by ComradePhil on Monday April 18, 2022 @04:33PM
(#31076113)
From the linked article:
> Kaspersky Endpoint Security's technology will not authorize any HIDs unless the user inputs a code using a HID already authorized to do so.