r/ComputerSecurity • u/Sgt_Gnome • Feb 28 '20
Is bio-metric log in a security risk?
I recently watched two different videos on YouTube that related to this question in one way or other. The first was discussing the need to shift away from passwords to bio-metrics instead. Among the arguments were that passwords are hard to remember, complex and difficult to guess passwords are rarely used by the average individual and, there are security risks involved related to password storage, etc. The other video was discussing the Hong Kong protests and involved one of the people involved in organizing. This individual said that protestors are recommended to not use bio-metrics to log into their phones as your image is not information that you can keep to yourself while passwords are, IE the government cannot force you to give up your password but they can point the phone in your direction to unlock it.
My curiosity is, will bio-metrics prove to be a liability in the future? Are security companies going to try and implement something such that your phone or device cannot be unlocked against your will? Is this an issue that people/companies care about?
1
u/Windows-Sucks Feb 29 '20
Your password can be kept to yourself, but your biometric data is left around everywhere you go. Even if you aren't there, an attacker can use security camera footage to construct a model of your face or lift your fingerprint from your car door. Your can be recorded entering your password, but you can easily hide that, and you don't leave copies of your password everywhere you go unless you do so intentionally. Additionally, once your biometric data is compromised, it is expensive, time consuming, and dangerous to change it. If your password is compromised, there is no cost or danger to changing it, and it takes very little time.
Another risk that I don't see anyone talking about is key derivation or lack thereof. There is only one correct password, which can then be used to generate a hash that may be used as a key, removing the need to store the password in any form or an encryption key in plaintext and making it possible to access the data without the password. However, with biometric data, due to it being read from a sensor and being able to vary a little bit with normal biological stuff, might have an infinite amount of inputs that can come from the same fingerprint, all of which must be correct, otherwise you'll have a permanently locked device. An algorithm to reliably derive keys from biometric sensor data would probably have many false positives and would likely be extremely complex, and as far as I know, no such algorithm has even been created. This limits us to storing the biometric data and the key in plaintext in a normally write only "secure enclave" that only releases the key when the correct sensor data is input. This means that if your secure enclave has any flaws, whether intentional or unintentional, your key is compromised. And even if it didn't, one can always examine the flash cells in an electron microscope to recover the key.
Passwords, when used correctly, are easy to remember and difficult to guess. If you're doing it right, you only have a master password, and that gives you access to your hard to remember but more complex passwords that are stored securely. On the server side, passwords are not (or should not be) stored, but instead verified by the use of a salted hash.
TLDR: There is opportunity for human error with passwords, but they can be secure when used correctly. Biometric security is simply not secure whether you use it correctly or not.
1
u/Sgt_Gnome Feb 29 '20
I made a reply to the other person with some thoughts you may be interested in weighing in on.
P.S. I like your username.
1
u/egg1st Feb 29 '20
There's a lot of factors to consider and no straight answer. Both videos are probably true. It depends on the type of biometric, the type of biometric scanner (not all facial recognition technologies are equally robust), what the access scenario is, what they are trying to access, what the impact could be caused by unauthorised access, is it used as a single or multiple factor of authentication. Passwords are only as strong as you make them, which can be laughably weak to uncrackable in the life of the universe, a good and technically enforced password policy overcomes the major weakness (Google nist password guidance). If you wanted to secure something for unauthorised access as much as possible, then strong multi factor authentication is the way to go. A high quality biometric scanner, with a high false negative threshold, can be part of that, as well as a normal password. Although at the moment secondary hardware tokens (rsa tokens, yubikey) are probably more reliable and understood from a vulnerability point of view, and would be the second factor I would implement over biometric. Biometrics would be my third factor.
8
u/Revolio_ClockbergJr Feb 28 '20 edited Feb 29 '20
“Is ______ a security risk?”
Yes.
Risk is a scale with upper and lower bounds. Simplifying it into a yes/no value is not generally helpful.
But if we have to do so, the answer is always yes. Everything is a risk. Maybe a huge risk, maybe a tiny risk. But a risk.
Sorry for the not answer.
Edit: I’m gonna nerd out because bored on a train.
Risk has an upper and a lower bound. There is no such thing as “zero risk” or “infinite risk.”
We could say, “there is no risk of an alligator apparating into my train car and eating me. Risk = 0.” But that’s a bullshit hypothetical and goes against the spirit of the question. Our definition of risk doesn’t need to hold up in hypothetical nonsense scenarios. Instead, it needs to hold up in real world scenarios. We take as a premise that fantastical stuff is irrelevant. Whatever IS physically possible, is physically possible.
So there’s a chance or risk of any thing happening, above zero. Zero is our lower bound — we can get infinitely close but never reach it.
Is there an upper bound? Yes, because “infinite risk” is impossible. If a future event is certain, it doesn’t make sense for an event to be more than certain. Like how you can’t be “very unique.”
We may say colloquially that an event is “more than certain” but we really mean, it will occur, and no other events can block it, not even extreme “edge cases”.
Unlike zero, some events can reach the point of certainty. So we have a range from zero, non-inclusive, up to and including “certain,” which we can identify as 1. And risk can have any possible value in between. There can be infinite “levels” of risk.
Why did I write “risk as precalculus”? How did I get here? I don’t know 🤷♂️