Re:The Threat on Your Desk: Building an Evil USB-C Dock
by j5155 on Saturday March 11, 2023 @11:38PM
(#35116728)
Does anything on your PC notify you about plugging in a keyboard? I know mine doesn’t, and it definitely doesn’t prompt me about whether to use it either.
You could check what devices you have connected but I doubt many people would do that every single time they come to work.
[ Parent
| on HN ]
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by triactual on Sunday March 12, 2023 @12:15AM
(#35116920)
Yeah, this is more of a UI problem that could be solved with a little effort. I would be concerned about a device that replaced the hub itself rather than simply adding a function. The core issue is that a system can always notify the user of newly connected devices (Windows seems to about half the time). But a malicious MCU emulating a hub and compromising or stealing data at the USB protocol level could appear exactly as expected. It could key log, inject, etc., undetected because it doesn’t have to interact with kernel drivers as anything other than the expected hub.
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by pabs3 on Sunday March 12, 2023 @01:00AM
(#35117200)
On Linux, GNOME has some USB protections when USBGuard is installed.
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by kalleboo on Sunday March 12, 2023 @01:06AM
(#35117237)
Macs warn you and require approval for any new USB device, including a keyboard, starting with macOS Venture.
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by cristiioan on Sunday March 12, 2023 @03:13AM
(#35117607)
Isn't that only when using lockdown mode?
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by danieldk on Sunday March 12, 2023 @05:07AM
(#35118164)
No, since Ventura I get these dialogs for all USB/Thunderbolt devices that I connect (except chargers I think?):
https://support.apple.com/en-bw/guide/mac-help/mchlf779ae93/...
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by newaccount74 on Sunday March 12, 2023 @05:33AM
(#35118273)
Unfortunately the dialog doesn't tell you what kind of device it is.
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by bikingbismuth on Sunday March 12, 2023 @01:07AM
(#35117240)
MacOS has a pop up that tries to identify the keyboard layout. If this screen came up when I plugged something in that wasn’t a keyboard, I would assume the device was malicious.
It is probably possible to automate the keystrokes to quickly kill this screen though.
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by fbdab103 on Sunday March 12, 2023 @01:54AM
(#35117499)
If I were a bad actor with the resources, I would dedicate more engineering effort to making the device subtle. It would try to remain invisible until a mouse/keyboard was plugged into the dock. The interceptor would then read that fingerprint and present that to the host OS, keeping the user unaware of the middleman.
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by triactual on Sunday March 12, 2023 @10:20AM
(#35120343)
My point is that no matter what you tell the OS, there will still be one more device connected than expected. If you plug in a keyboard and two are suddenly connected, it’s still very noticeable. This counting problem is occurring at the hardware level in the USB hubs and host. The attacker needs to compromise an external hub to behave like a USB protocol analyzer capable of intercepting and modifying data seamlessly in order for an attack like this to be anything other than trivially detectable. Fitting something like that into an existing enclosure means writing lots of low level code and embedded hardware design which is a different level of difficulty.
Re:The Threat on Your Desk: Building an Evil USB-C Dock
by fbdab103 on Sunday March 12, 2023 @01:30PM
(#35123163)
I was thinking more man-in-the-middle, not a sidecar device. Obviously more technically challenging to accomplish, but far harder to detect.