r/ComputerSecurity • u/JuicyError • Jul 08 '22
Windows full system disk encryption with FIDO2 as key
Hey guys!
I'm currently trying to setup full disk encryption on Windows 10 with using my FIDO2 device as a key.
I've done this in Linux with LUKS2 using systemd-cryptenroll --fido2-device, and I'm wondering if there is a way of getting a similar functionality in Windows 10.
I'm currently using VeraCrypt, but afaik it only supports decryption using passwords and keyfiles (and even then, you can't use keyfiles for system encryption). Aloaha apparently supports system decryption using keyfiles/certificates as keys, but not using FIDO2 as a key. I don't think BitLocker supports FIDO2 either but you can get software/libraries to emulate a FIDO2 device as a keycard, but that involves entering the pin for the FIDO2 device which I would want to avoid (like passing --fido2-with-client-pin=no to systemd-cryptenroll).
Any advice is welcome, and thank you in advance!
Edit: the device on which I’m planning to run windows on is a work laptop. They’re pretty lax with what software we use, but there are certain requirements that have to be met. As a result, I can’t use tpm on the machine to hold my keys.
2
u/johnwestnl Jul 08 '22
Business machines have a TPM chip, which is kind of an on board smart card, and which is all bitlocker knows off. The best you can get with third party hardware is Windows logon.
2
u/R-EDDIT Jul 08 '22
You can't directly use a "FIDO2 device", unless it's a device that can also function as a "PIV-compatible Smart Card". Most YubiKey's do this. You can find discussion on this here.
https://www.reddit.com/r/yubikey/comments/royb3b/yubikey_piv_for_bitlocker_on_win10/
Further information on management solution:
https://www.yubico.com/works-with-yubikey/catalog/secure-disk-for-bitlocker/
As others have said, FIDO itself (the protocol) is designed to protect against phishing, by binding authentication challenges to a specific DNS origin. So in this use case, there's not a security difference between PIV and FIDO. You could use TPM encryption, the benefit of a PIV/FIDO devices is that it can be stored separately from the computer. It would be nice for Windows to directly support FIDO2 devices for bitlocker encryption, but that would be just for setup convenience rather.
It may be important to make sure you have more than one key, in case you lose it. I'm not sure if you can do that in the LUKS/FIDO2 configuration, but with PIV you can load the same certificate on two smartcard (emulators) to have a backup.
1
u/magicmulder Jul 08 '22
Maybe a dumb question, but does it have to be the plain local machine or could you live with a VM that’s fully encrypted?
1
u/bearsinthesea Jul 08 '22
Isn't FIDO an online protocol? Would you need network access to boot?
0
u/[deleted] Jul 08 '22
[deleted] — view deleted comment