4 ms·
There's many ways to make a keylogger, from userspace down to the SMM layer of UEFI. Perhaps a better way to approach this would be to turn the threat model ar
by g_p 5y ago
There's many ways to make a keylogger, from userspace down to the SMM layer of UEFI.
Perhaps a better way to approach this would be to turn the threat model around? If they have a keylogger, assume they have a rootkit. What needs to remain secure even when the platform is comprised?
Try to get it down to some cryptographic keys, which you can then store on a smartcard, that you use with a card reader with hardware PIN pad. There's no keylogging the PIN on one of those, as the PIN is sent directly to the smartcard, without relying on the host.
Obviously at that point the software asking you to sign something is probably compromised, but your cryptographic keys will remain protected, as will the PIN.
- eigenvalue 5y agoYes clearly once you have a key logger installed you have been compromised and have to assume the worst. But it would still be really useful to know that your keystrokes are being observed and recorded. I wonder if you could make a little dongle that would encrypt your keystrokes as they leave your keyboard and have them decrypted via some “Secure Enclave” on your device’s CPU, which can only be accessed by the lowest level (signed) kernel code.