r/ComputerSecurity • u/[deleted] • May 19 '21
Security key to lock/unlock computer for use?
Hello users of r/ComputerSecurity, I've come to the subreddit page to ask about the possibility and or viability of using a Yubico brand, or any other type of security device to use as an.... well ignition key how cars have. Many thanks for reading, and many more for any answers to my question.
3
u/harlemboogie May 20 '21
Article below gets you half way there.
https://blog.elcomsoft.com/2020/06/unlocking-bitlocker-volumes-by-booting-from-a-usb-drive/
Need to figure out how to take an action once the USB is pulled. I’ve implemented the above for PAM workstations.
2
u/rocketjump65 May 20 '21
If you want to prevent somebody else sitting down and using your computer without your permission, you can encrypt your hard drive. With encryption, you will have to type in your password every time you turn on your computer.
There are other ideas that sort of accomplish the same thing, requiring you to type in the correct password to use the computer, such as a BIOS password, or a Windows logon password. They have different levels of difficulty to bypass. And my opinion is that a encrypted hard drive is the best.
As for your idea of having a hardware dongle, you can setup the encryption to have the encryption key on a usb device, thereby making the usb necessary to decrypt and unlock your computer.
That could be convenient for you if you type slowly I guess. Me personally, I just have a good password, since losing the usb drive could be another point of failure, and there doesn't seem to be any advantage of having your encryption key on a usb device if you just make your password sufficiently long. But by all means, you could have a backup of the encryption key (in case you lose it), and have a no password on your setup, saving yourself the trouble of typing anything in or memorizing anything, and still have your computer completely locked down as long as the usb drive with the encryption key is secure.
I guess I should mention that encryption is totally free! You can use veracrypt. Works great!
1
u/greenlakeish May 20 '21
You can use a Yubikey (and presumably others) to do pre-boot authentication for bitlocker.
https://www.yubico.com/works-with-yubikey/catalog/secure-disk-for-bitlocker/
It would work roughly how you like, except that it won’t force shutdown after you are booted up.
2
u/gaz2600 May 19 '21 edited May 19 '21
I don't think it will replace your password but it will add a 2nd layer to your password. https://www.yubico.com/products/computer-login-tools/
Alternatively if you're just looking for a USB that will auto type your username and password then login you could use something like the Rubber Ducky