Hacker News new | ask | show | jobs
by OmgImAlexis 3940 days ago
and what happens if your keyboard and mouse break? You'd then have no whitelisted HIDs and no way of allowing new ones.
4 comments

Another commenter had a fairly clever solution: https://news.ycombinator.com/item?id=10204560

With a bit of refinement it could contribute to the overall solution.

The responses here are also interesting: https://news.ycombinator.com/item?id=10203913

I think the idea is the machine only allows one keyboard and one mouse, and if you insert another input device you have to explicitly enable it. This would probably stop 90% of attacks.
If the computer requires a password to log in, then just look for the right password from the keyboard on a restart, and at that time tell the user that this keyboard is new. Sure, it's possible for evil keyboards to do bad things, but at least the user would be aware that there is now a new HID plugged in.
You input your password, it the attacker knows that, you are likely toast anyway...