9 karma · joined August 11, 2020
You could have a kind of air-gapped system that is running a non-persistent OS like Tails, plug in USB keys into that to check them for basic things, but again, the risk/reward tradeoff seems quite heavily leaning towards risk.
Evil maid could definitely do that, but that comes to your threat model. If evil maids are in your threat model, then you should never leave your computer (let alone your USB devices) unattended. Regardless of the USB devices, evil maid would probably just go in for your computer or power supply first. Most threat models that involve evil maid attacks would also mitigate those by having fully separated sets of hardware just for travel that are always treated as being potentially compromised.
For the drive-by plugin, that's a very real threat to some orgs, which is why a lot of orgs with sensitive data will just shut off USB ports in the system BIOS, so that nothing can ever be plugged in anyways, or they use some more sneaker-net tactics and put tape or other coverings on exposed USB ports.
You could have an OS level intervention, but again, a lot of attacks are closer to the metal than the OS, which is why it's such a mess :(
Best strategy is still only use your own devices that you own. I don't even really accept USB devices from others. If they need to send me some files, I get them to use Dropbox or similar.
QubesOS does have an interesting way of handling USB device management and protection locally, but getting into using Qubes can be quite tricky for normal people, so it might actually just create a larger attack surface if you use it incorrectly.