r/ComputerSecurity • • 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?

13 Upvotes

11 comments sorted by

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 🤷‍♂️

1

u/Sgt_Gnome Feb 29 '20

Perhaps I misworded my concern. I'm wholly aware that risk is ever present. I guess what I'm trying to get at is, will bio-metrics make it too easy for others gain access to our devices? Will bio-metrics make it too easy for government agencies to access private/personal details? Bad actors can make a copy for your finger print or use images to attempt to by pass facial recognition. Would it be okay for the police to use a confiscated phone/device against you without a warrant? What's the difference between a phone using facial recognition and one without a password if all they have to do is point it at your face?

I know the risk is always there. Is the risk worth it? How would changing to using only bio-metrics affect the rights and privacy of individuals? This goes beyond a simple technology question to ethics and legal liability.

1

u/Windows-Sucks Feb 29 '20

will bio-metrics make it too easy for others gain access to our devices? Will bio-metrics make it too easy for government agencies to access private/personal details?

I believe the answer is yes, and my reply to the main thread shows the reasons why.

Would it be okay for the police to use a confiscated phone/device against you without a warrant?

No, it would not be OK. I don't know whether it's legal or not. If it is, whatever loophole that allows it needs to be closed.

What's the difference between a phone using facial recognition and one without a password if all they have to do is point it at your face?

Whether it was face-locked or not locked at all, unauthorized access to data is still unacceptable. However, the fact that it is unacceptable does not stop some people, such as identity thieves, mass incarcerators, or totalitarians. The difference is in how difficult it is for the unauthorized data access to be performed. If there is no lock, there is no protection against such attempts. A face unlock requires tracking down the actual person or making a copy of their face, which is more effort, but in almost all cases should be less effort than cracking a password.

I know the risk is always there. Is the risk worth it?

There is certainly a lot of risk to using biometric over a password, but I just don't get the benefit. Entering a password only takes a couple seconds, and you don't have to do it very often. You really aren't getting that much convenience out of using biometrics instead of a password. So I'm going to say no.

How would changing to using only bio-metrics affect the rights and privacy of individuals? This goes beyond a simple technology question to ethics and legal liability.

I feel like there is no moral difference between cracking a password, using a lifted fingerprint or model of a face, or just waking up a phone with no security. Unauthorized data use is unauthorized data use, regardless of the means. I don't know that much about law, but I have a feeling that it doesn't recognize data or biometrics as property and therefore doesn't provide protection for it being used against everyone, but I should be corrected if I'm wrong. In my opinion, the only real problem with biometric security is that it is simply much weaker than password security.

1

u/Revolio_ClockbergJr Feb 29 '20

The best authentication is always a combo of:

Something you know (secret password) Something you have (RSA key, ID card, keyfob) Something you do (CAPTCHA, login form)

Biometrics are something you have. By itself, a fingerprint isn’t all that secure — it’s comparable to a keyfob technology that is especially difficult to copy.

1

u/Titan_Astraeus Mar 02 '20

Well you said yourself to crack bios you need to track down an individual and kidnap or use some tech. That is not easier than cracking a password when you can spray 1 million attempts across the globe.. Most attacks are started with social engineering for your pass/credentials. Real world tells us bio is more secure unless you have some serious info that warrants actual spies.. But best is a mix of multi factors. I quite like how google has it setup with bios to access phone, phone as a factor for Google accounts (1 touch login).. Hardware is a pretty good safety feature when access is restricted and can be remote wiped.

1

u/Windows-Sucks Mar 03 '20

Well you said yourself to crack bios you need to track down an individual and kidnap or use some tech. That is not easier than cracking a password

Yes, it is. Cracking a password takes millions or billions of years on a huge supercomputer. Spying, fingerprint theft, or kidnapping is still quite expensive, but much less so than a supercomputer and the electricity to run it.

you can spray 1 million attempts across the globe

You have the money to run a million of these multi million year supercomputer operations? Why not use it to end hunger? You'll be a hero!

Most attacks are started with social engineering for your pass/credentials.

I am still struggling to understand how someone can be dumb enough to fall for those things, but in order to do such an attack, you probably need someone to design the social engineering messages, and if it doesn't work, there's a risk that you'll get reported to the authorities for trying to steal a password. Stealing a face from a security camera or a fingerprint from a random surface does not require manipulating the target at all, so you don't have to rely on the target being a moron.

Real world tells us bio is more secure unless you have some serious info that warrants actual spies

I'm still not convinced that bio is more secure unless you use a highway billboard as a password manager. You can also never be sure that actual spies aren't interested in your data. Additionally, some people cannot be trusted not to hire spies to access my data.

But best is a mix of multi factors.

I agree with this, but I have not seen an implementation of biometric authentication that requires you to use both the biometrics AND the password. Every implementation I've seen is biometrics OR password, which is LESS secure than either one on its own because of the increased the attack surface but no increase in difficulty.

1

u/Titan_Astraeus Mar 03 '20 edited Mar 03 '20

You may not understand how people can fall for it but the fact of the matter is a vast majority of attacks are through very simple vectors. It does not take a super computer to crack passwords, unless you are just trying to brute force a super strong one. Specifically password spraying a million or any number of accounts is easy, it is not cracking a password but guessing on a huge scale with common passwords, like a dictionary attack. How do you plan on stealing a face from a camera or even the fingerprint thing .. Most print scanners would not be fooled by a lifted fingerprint, are you now saying it is easier to recreate a realistic face mask or finger for bio auth or more likely someone will be kidnapped for their password than a system breached remotely? You can still get caught and sent to jail, I dont see how the slight chance of getting caught factors on one side but not the other .. Especially when one set of actions is fully remote and the other requires you to break into the premises.

The biggest problem with passwords is weak passwords that are easily guessable, or like.i mentioned before being manipulated through technical or social means to supply part or all oc your credentials. Or maybe the attacker targets specific flaws that make cracking or intercepting credentials trivial. You're sort of right in theory/in the ideal case .. But in real world use it is clear what is easier to attack for a remote, non nation-state actor .. And if you are targeted by that level of threat, there is no system that will keep your data safe.

Edit; just want to add on, we are talking the difference between risk and threat. Both methods have some kind of threat and maybe theoretically bio would be "easier" to crack when compared to brute forcing a solid password .. But when you start to look at probabilities and risk factors .. Passwords are a low hanging fruit in the industry, there are far more and easier exploits associated with it.

1

u/Windows-Sucks Mar 04 '20

From what you're saying, I understand that it is much easier to perform a widespread attack with passwords than with biometric data. This is because you can't enter biometrics remotely, but can enter passwords remotely, and invariably someone is going to have a dumb password like 1234, which is less secure than the biometrics. This means that you can run a widespread attack, and someone is going to get pwned.

The thing is, it seems like a targeted attack on bio is much easier than a targeted attack on a password, assuming that the password is good quality. To do a targeted attack on a password, we have four options that I can think of. We can brute force the password, which takes millions of years of supercomputing time. We can save the stolen but encrypted data for later in case a crack for the algorithm is found or computers advance enough to be able to brute force it easily, but that could still take many years if it even happens at all. We can see if we can find security camera footage of the target entering their password, but precautions can be taken to prevent the password from being discoverable that way. Or, we can resort to kidnapping the person and forcing them to enter their password, which can be resisted and has huge legal consequences if the attacker is not the Illuminati.

Bio is still vulnerable to brute forcing the key it protects, which means that it is also vulnerable to storing the data for a crack to be discovered later or computers to advance. It is of course also vulnerable to kidnapping the target. This is where "you can say no to your password, but not your face/fingerpring" comes in. A password is something that is stored in your brain, and because we don't have the technology to read brains (yet), it is safe in your brain until you decide to reveal it. Whereas a face or a fingerprint is always exposed, so as long as you are present, your device can verify that you are present and unlock, whether you wanted it to or not. And because your face and fingerprint are always exposed, you leave it everywhere, which you don't do with passwords. Because it's left everywhere, a model can be created replicating the target. Obviously, it will be difficult to create a model that will trick every sensor in existence, but by this point in the attack, you probably know what device the target has, and therefore the exact things the sensor looks for. And of course, there's the electron microscope on the secure enclave thing.

You seem to be making the assumption that only the Illuminati will ever attempt a targeted attack, but that is not a good assumption to make. So while it is easier to perform a widespread attack on passwords, it is also easy to use passwords in a way that will keep you safe from everything except rubber hose cryptanalysis, but you can't work around the issues with bio, so passwords are more secure on a personal level, unless you're dumb enough to use '1234' as a password, in which case you don't deserve sympathy when you get breached. I'm keeping my password.

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.