Live data from Hacker News

PoisonTap – Exploits locked computers over USB

github.com

1–10 of 57 posts

Re: PoisonTap – Exploits locked computers over USB

#6

That is impressive. And scary. But if your box's physical security has been compromised, you're already screwed in any case.

> But if your box's physical security has been compromised, you're already screwed in any case.

There's a gradient to the screwage, however.

For example, I've encrypted my disk, so someone would need to steal my computer and then try bruteforcing it with some new-fangled graphics card.

With this insanity, I risk someone stealing my unencrypted traffic with a plug-and-play device any time I get up from my desk to pee. Then again, they can already do that with Wireshark.

Re: PoisonTap – Exploits locked computers over USB

#7
It seems like another mitigation missing from their list is "modify your DHCP client to reject over-broad subnet masks" where the cutoff is probably something like /20.

Additionally you could reject any DHCP lease for a subnet that purports to overlap with the address range of any other directly connected network.

Re: PoisonTap – Exploits locked computers over USB

#8

It's long past time that USB security is taken seriously. By default anything stuck into a USB port should be sandboxed and various integrity checks need to be performed before access is allowed.

> It's long past time that USB security is taken seriously.

You mean, before we started using USB for charging...?

It wouldn't be hard at all to make a convincing looking power adapter with something like PoisonTap baked in.

Re: PoisonTap – Exploits locked computers over USB

#9

It's long past time that USB security is taken seriously. By default anything stuck into a USB port should be sandboxed and various integrity checks need to be performed before access is allowed.

You can't blame the USB ports entirely... I mean, yes, it's insane he can force requests that trick your machine into dumping unencrypted cookies, but remember this intercepts and modifies unencrypted traffic, which any packet sniffer or upstream provider (router, ISP, et al) can already see/modify.

So even if you follow Samy's recommendation of putting cement on your USB ports, [0] you're still vulnerable to injection and interception.

Moral of the story: encrypt all the things.

[0]: https://github.com/samyk/poisontap#desktop-security

Re: PoisonTap – Exploits locked computers over USB

#10
I wonder if a viable method for securing USB devices would be a pairing step, similar to how bluetooth keyboards work. Most input devices are USB-based, which means we can't require confirmation for every device, but we could require OS confirmation for most of them, and do a pairing step for input devices. Like click these visual targets / type in this key sequence.

This wouldn't fully solve this problem, but it might just help protect me from people plugging devices into my machine while it's locked, and could even alert me that the device I thought was just charging has reported itself as a keyboard, despite looking nothing like one.

Post reply on HN