I've been thinking about the "evil maid" threat, as well as the fact that it has been shown that USB thumb drives can be infected with malware at the firmware level. Seems to me, a good way to mitigate both threats is by requiring a user to enter a password within a set number of seconds after a new device is plugged into a USB port.
If the password is not entered or is entered incorrectly, then a predetermined action could be taken (disable USB inputs, shut down system, ignore this USB device, or some other choice).
This seems to me to be obvious enough that someone must have already done it. If no one has done it, I am inclined to do it.
So, does anyone here know if someone has done this?
Oh...and for those who don't know...the "evil maid" threat is where you leave your laptop on standby in the motel room while you go down to the bar. The maid enters, plugs a USB thumb drive into your laptop, and installs a keylogger or other malware. Variants of this have it happening to your desktop while you are out of the office at the coffee machine, or to your laptop at any time when your attention is distracted for a few minutes.