logoalt Hacker News

warkdarrior • yesterday at 11:32 PM • 2 replies • view on HN

Would this work over WebUSB?


Replies

comfydragon • yesterday at 11:37 PM

WebUSB lets web apps talk to USB devices that are attached to the host running the browser. It doesn't have the browser present an emulated USB device to the kernel (at least not to my knowledge).

dathinab • yesterday at 11:39 PM

not really, WebUSB is on the other side of (it allows you to interact with USB devices, it can not emulate a malicious device)

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