News for hackers. Stuff that matters.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by pil0u on Wednesday June 15, 2022 @05:20AM (#31750746)
Around 2014, I read a security researcher's article stating that biometrics should be used as an identifier at best, but never as a password. “You can change a password, but you cannot change your fingerprint”.

From that day on, I’ve never used biometrics system used as authentication.

With a increasing use of biometrics on phones, should I think differently in 2022?

Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @05:53AM (#31750939)
> a security researcher's article stating that biometrics should be used as an identifier at best, but never as a password

Blanket statements like that are never true. It's usually about threat modelling, i.e. build your defences according to who might want to access your stuff and what are their capabilities.

Why? Because you will have to target a balance between convenience and security. If you don't use biometrics you might end up to have "QWERT1234" as a password to compensate for the loss of convenience.

Even if you have a strong password and you are ready to give up some convenience, you also risk false sense of security. Your password might be strong but there are many ways to extract passwords. As a result you might want to switch to certificates - which are convenient and secure to use but now you are responsible for it's upkeep or you might loss access to the systems when you loose your certificate. Also, you might think that certs are super secure but just yesterday it was revealed that there's a way to extract certificates from Intel and AMD machines through an attack called hertzbleed.

Hmm, maybe you need something even more secure. How about air gap? If your device doesn't have a network connection, you must be %100 protected, right? Wrong, there are multiple demonstrations about extracting information through sound, magnetic forces and light.

%100 security is impossible, better choose the right kind for you.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by dhzhzjsbevs on Wednesday June 15, 2022 @06:29AM (#31751098)
> Blanket statements like that are never true.

Except in cases where they are, like this one.

Just cause you want convenience doesn't change the fact your fingerprints aren't good passwords.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by babypuncher on Wednesday June 15, 2022 @01:18PM (#31756159)
Biometrics may not be easy to change, but they are a lot harder to copy than passwords. How many people are likely to be targeted by an organization with the resources to covertly steal and duplicate peoples fingerprints?

For the vast majority of users, the threat model looks like "I don't want that creep who just stole my purse to be able to log in to my iPhone", not "I am guarding state secrets and a potential target of Kremlin agents".

Passwords get stolen and used all the time, but I have yet to hear stories of everyday thieves breaking into iPhones with stolen fingerprints.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @06:35AM (#31751125)
fingerprint are not passwords at all, they are fingerprints.

Checking for a fingerprint match essentially means that the administrator of the device is present and authorises the action, assuming that their fingerprints are not copied by an attacker and they are not physically forced to comply with an attacker.

Checking for a password match essentially means that the administrator of the device might or might not be present but authorises the action, assuming that the password was not obtained through a post-it, coercion, phishing, guessing or any other password extraction method and they are not physically forced to comply with an attacker.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by throwaway09223 on Wednesday June 15, 2022 @09:49AM (#31752840)
The point is that fingerprints may not mean the administrator of the device is present, in the same way that a password that cannot be changed also may not mean the administrator of the device has authorized an action.

If a credential cannot be changed then its confidence as an identifier is significantly reduced.

Fingerprints are useful in cases where the effort of copying a fingerprint is greater than the value of the target. They're great for almost everyone with low value systems, like your average easily pickable front door lock. They're good for keeping honest people honest.

Fingerprints are a problem for high value systems.

Fingerprints are also certainly a shared secret identifier, and we typically call shared secret identifiers "passwords" even when they aren't literally a typed word.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by gchamonlive on Wednesday June 15, 2022 @07:56AM (#31751660)
Related: fingerprints can be hacked https://news.ycombinator.com/item?id=29306163
Re:Quick Tip: Enable Touch ID for Sudo (2020) by awestroke on Wednesday June 15, 2022 @09:14AM (#31752393)
As can passwords
Re:Quick Tip: Enable Touch ID for Sudo (2020) by alpaca128 on Wednesday June 15, 2022 @12:50PM (#31755746)
But you can change passwords.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by pierreminik on Wednesday June 15, 2022 @03:41PM (#31758318)
And the biometric check is still password based, right? You can't use Touch ID until you've entered your password, and then it's only a convenience for a given time.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by hunter2_ on Wednesday June 15, 2022 @12:45PM (#31755653)
I think there are many cases where your listed assumptions about each (passwords and fingerprints) are agreeable, but one important difference makes passwords often superior: ability to change after a compromise. If your accounts get hosed because someone else can enter your password, you can start over and continue using password-based authentication; if someone else can enter your fingerprints, you start over and must not use fingerprints for authentication.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by lstamour on Wednesday June 15, 2022 @01:13PM (#31756082)
True. But unlike a password, biometrics often also act as a second factor in that they authorize a particular device and can’t easily be done remotely. Even if my fingerprints were compromised, I’d probably continue using biometrics instead of or in addition to a password. I’m a fan of Yubikey with biometrics, for example, because it’s an extra layer of security. Just don’t lose a finger or hand or you’ll never easily authenticate again…
Re:Quick Tip: Enable Touch ID for Sudo (2020) by phpisthebest on Wednesday June 15, 2022 @07:08AM (#31751328)
You negated all of your points with your clarifications of "assuming that..." why should one assume none of those are present?
Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @07:17AM (#31751387)
Because that's how you model your threats? You assume things like someone won't be able to physically take your RAM and read whatever data they want, for example. If you can't assume that, then you implement measures against it like soldering the RAM to the mainboard.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by FabHK on Wednesday June 15, 2022 @11:47AM (#31754783)
This was not a negation, but a helpful clarification of what assumptions are made in either case (and thus, what your threat model must consider).

Namely: if you are forced to comply, it doesn't matter in either case.

If your password can be "obtained through a post-it, [...] phishing, guessing" etc. (key logger), then you might be better off with biometric authentication.

If your fingerprint can easily be extracted (and the sensor be fooled by it easily), then you might be better off sticking with the password.

Those clarifications give you a good way to think about the tradeoffs.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by nl on Wednesday June 15, 2022 @07:20AM (#31751411)
Most of the time they aren't. And if they are you probably can't protect against the attacker.

From elsewhere on this thread: https://www.schneier.com/blog/archives/2015/08/mickens_on_se...

Re:Quick Tip: Enable Touch ID for Sudo (2020) by hulitu on Wednesday June 15, 2022 @07:04AM (#31751306)
> Checking for a fingerprint match essentially means that the administrator of the device is present and authorises the action

No it means only that the fingerprints are present. Your finger can be cut or you might be forced to unlock the device.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @07:22AM (#31751419)
That's why I have an "assumptions" part. It doesn't matter though, it will depend on the implementation of the fingerprint scanner.

The gist is, a password and a fingerprint are not the same thing. Fingerprint is not a weaker password or anything like that, they have different properties and as a result they have different pros and cons. For example, no one can copy your fingerprint by looking over your shoulder - unlike a password.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by qzx_pierri on Wednesday June 15, 2022 @08:18AM (#31751859)
I think accounting for scenarios where someone might want to cut your finger off to gain access to your device is covered under the thread modeling reply above closer to the parent comment. Which makes sense. If I'm a cartel boss, I'm definitely not using biometrics. But if I'm a college sophomore who doesn't have any nation state enemies, then biometrics is fine.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by babypuncher on Wednesday June 15, 2022 @01:25PM (#31756253)
> Your finger can be cut or you might be forced to unlock the device.

How common is this scenario? I imagine it is a lot less common than passwords getting stolen or cracked.

Contrary to how some people here are acting, most people aren't targets of foreign foreign espionage.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by interactivecode on Wednesday June 15, 2022 @09:29AM (#31752582)
if they are about to cut off my finger, I'm pretty sure I will just tell them my sudo password of my local machine. at that point they can modify all they want on my laptop.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by pilsetnieks on Wednesday June 15, 2022 @07:08AM (#31751329)
Touch ID specifically requires a live finger. Other fingerprint readers might not.

You can also be forced to reveal or enter the password.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by AndrewThrowaway on Wednesday June 15, 2022 @07:29AM (#31751474)
> Touch ID specifically requires a live finger.

I remember reading about one school which implemented "live finger" readers.

How did kids hack it?

Polymer clay and a gummy bear.

Put your finger on clay and wait for it to dry. You will have your permanent mirrored fingerprint.

When required fingerprint press gummy bear against clay and then against the reader. As gummy bear holds charge, can even be cut thin etc. there is little chance to detect that it is not a real skin.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by JoachimS on Wednesday June 15, 2022 @08:21AM (#31751889)
You are missing the "requires a live finger" part.

The biometric system (sensor + algorithm) used by Apple, as well as other competitive biometric vendors, detect blood flow, pulse in the finger. This is done as a mitigation against fake fingers as well as the (always presented) gory "cut off the finger" attack scenario.

A gummy bear may be lifelike, but normally lacks a beating heart and circulatory system.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by shaftway on Wednesday June 15, 2022 @12:49PM (#31755723)
Most fingerprint sensors that look for a pulse can be fooled by a gummy bear that has been sliced thin enough to allow the pulse to pass through, but thick enough for the ridges to be picked up. Think about something around a millimeter thick.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by airstrike on Wednesday June 15, 2022 @12:06PM (#31755107)
> A gummy bear may be lifelike, but normally lacks a beating heart and circulatory system.

“Normally”?

Re:Quick Tip: Enable Touch ID for Sudo (2020) by eyelidlessness on Wednesday June 15, 2022 @09:36PM (#31761633)
Sure, everyone says they want humanely sourced gummy worms. But there’s still a niche market for that fresh worm with the gummy goo still coagulating.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by ThePowerOfFuet on Thursday June 16, 2022 @12:16PM (#31767775)
If this is the case, why does Touch ID unlock a device in less time than the gap between heartbeats?
Re:Quick Tip: Enable Touch ID for Sudo (2020) by chriswarbo on Wednesday June 15, 2022 @07:20AM (#31751409)
No, it only means that the device reported a match; or, that a match signal came in on a certain hardware port (since the scanner may have been replaced, tamperered with, etc.).
Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @07:50AM (#31751619)
Not necessarily, it depends on the implementation. On Apple's case AFAIK the fingerprint mach doesn't simply report a match but also provides the system with the key(which was stored in a separate system) to decrypt the data. You can't simply connect a bogus fingerpront scanner to an Apple device and access the system, in fact that's the reason why unauthorised repairs end up having the touch ID or Face ID broken.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by dzikimarian on Wednesday June 15, 2022 @08:06AM (#31751750)
Same on Android. Fingerprint is used to enable access to cryptographic key.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by FabHK on Wednesday June 15, 2022 @11:42AM (#31754706)
That was literally the second half of the sentence (which you left out, unless GP edited their post).
Re:Quick Tip: Enable Touch ID for Sudo (2020) by chriswarbo on Wednesday June 15, 2022 @07:19AM (#31751404)
> assuming that their fingerprints are not copied by an attacker

> assuming that the password was not obtained through a post-it, coercion, phishing, guessing or any other password extraction method

If we're happy to make such assumptions, then we can remove security entirely: just assume that actions are authorised!

Less tongue-in-cheek: we should try to avoid making such assumptions in the first place. For example, saying "this action was authorised by the presence of an administrator" is setting us up for failure: that's a hard thing to ensure, and also relies on fuzzy concepts like "presence".

Instead, there's nothing wrong with saying "this action was authorised by the fingerprint scanner matching the admin account": it's a more accurate statement, it doesn't hide any vulnerabilities, and it doesn't rely on any fuzzy concepts; e.g. we're not talking about humans, fingers, etc. we're only talking about accounts and hardware devices.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @07:27AM (#31751460)
If you like, you can stop making assumptions and only do statements but that doesn't change anything.

>"this action was authorised by the fingerprint scanner matching the admin account"

Okay, so? It's the same thing as "this action was authorised by a keyboard entry sequence matching the admin account prerecorded sequence".

How is this any more useful? If anything, you better know and understand your assumptions and introduce other measures if you suspect that some of those assumptions are no longer true.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by chriswarbo on Wednesday June 15, 2022 @07:56AM (#31751662)
> "this action was authorised by a keyboard entry sequence matching the admin account prerecorded sequence"

"keyboard entry sequence" is just a long-winded way of saying "password"; there's nothing wrong abbreviating.

However, even this facetious example was useful, since it's exposed a security problem: you're storing passwords ("prerecorded [keyboard entry] sequence"). You should be storing password hashes instead (using a slow hash function).

:)

Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @07:59AM (#31751680)
I don't store anything but it doesn't matter because it doesn't change anything. Simply modify the sentence to include the hash conversion.

The storing password part is relevant for extraction of password from an already compromised system and fingerprints can be hashed just as well(and on Apple's implementation, they are). It's just irrelevant implementation detail that doesn't make difference for the security of the system in question.

In fact, fingerprints are actually more secure because you don't have rainbow tables for hashed fingerprints but you have it for passwords.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by chriswarbo on Wednesday June 15, 2022 @09:03AM (#31752288)
> Simply modify the sentence to include the hash conversion.

You seem to be missing my point: that it's better to think about security issues in terms of the components and actions that actually exist in the implementation (e.g. "when the given password agrees with the stored hash, then XYZ"), rather than the real-world concepts they're crudely trying to approximate (e.g. "when the administrator is present, then XYZ").

If you want to use fingerprint scanners as part of a security system, that's fine; I really don't care. What I do care about is that "fingerprint scanner says yes" does not imply "Alice is currently holding her thumb against the phone screen", or other such real-world scenarios.

Alice holding her thumb against the screen might cause the fingerprint scanner to say yes; and it's perfectly fine to make that assumption when designing a UI (where failure is mostly an irritation). Yet security design should not make that assumption, since it may hide all sorts of vulnerabilities.

As an analogy: a "Keep off the grass" sign is not the same as there being nobody on the grass. It's good enough for something inconsequential, like turning on a sprinkler system (if you get wet, you should've followed the sign; similar to a UI breaking if the user doesn't use their phone in standard ways); yet it's not enough to, say, store our valuables on the grass, in the hope that nobody can get to them.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by FabHK on Wednesday June 15, 2022 @11:50AM (#31754834)
> "fingerprint scanner says yes" does not imply "Alice is currently holding her thumb against the phone screen"

Which is why GP carefully qualified his statement that "administrator is present" with the appropriate assumptions.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by personjerry on Wednesday June 15, 2022 @10:16AM (#31753250)
I think this is a product manager versus engineer conversation where you're talking over each other.

You're technically right that fingerprints aren't "good passwords", in fact they are not even passwords at all. But for most people, most of the time, they cover most of the same use cases at a better convenience price point.

For general use (i.e. unless you work in security or journalism) that's what matters.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by Bilal_io on Wednesday June 15, 2022 @07:04AM (#31751304)
> Except in cases where they are, like this one.

Mark Twain once said "All generalizations are false, including this one."

Re:Quick Tip: Enable Touch ID for Sudo (2020) by Wowfunhappy on Wednesday June 15, 2022 @05:59PM (#31759984)
> Hmm, maybe you need something even more secure. How about air gap? If your device doesn't have a network connection, you must be %100 protected, right? Wrong, there are multiple demonstrations about extracting information through sound, magnetic forces and light.

Eh, they're all pretty bogus though, with ridiculously contrived scenarios I mostly can't imagine happening in the real world.

USB sticks and the like pose a more realistic danger to air gapped machines, but they're also easy to avoid if you're conscientious.

Air gaps are really, really good and we should be using them more.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by mrtksn on Wednesday June 15, 2022 @06:11PM (#31760087)
For most people a fingerprint scanner is just enough, an awful lot of people don't have any password or biometrics and even they just do fine. It's all about the threat, there's no right answer about how much security is enough security without assessing the threat factor.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by Wowfunhappy on Wednesday June 15, 2022 @06:23PM (#31760184)
I'm not arguing that point. But I think focusing on these frankly-stupid "look we can transfer data using light" papers severely undersells the effectiveness of air gaps, for people who do need them.

It should be obvious to anyone who has used a QR code that it's possible to transfer data over other channels, but it's pretty obvious it's happening.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by hackernewds on Wednesday June 15, 2022 @07:14AM (#31751366)
> there are multiple demonstrations about extracting information through sound, magnetic forces and light.

fascinated by this. where could one learn more?

Re:Quick Tip: Enable Touch ID for Sudo (2020) by dave881 on Wednesday June 15, 2022 @07:27AM (#31751465)
US Military/Intel TEMPEST program covers protection against some of these. The Wikipedia article's references includes links to relevant research.

https://en.wikipedia.org/wiki/Tempest_(codename)

Re:Quick Tip: Enable Touch ID for Sudo (2020) by dewey on Wednesday June 15, 2022 @05:28AM (#31750805)
Don't use biometrics as a password if your threat model includes: Person cloning your finger print from a glass you left at a bar, manufacturing a fake fingerprint from it and getting physical access to your device to unlock it.

Otherwise for most people it's probably better than easy to guess passwords or not using a password at all. Especially if it's annoying to type every time (iPhone passkey). Many people didn't use a passkey before, since there's TouchID or FaceID everyone uses something and it's better against a random thief than nothing at all.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by atoav on Wednesday June 15, 2022 @06:26AM (#31751085)
May favourite attack of that kind has been the one where a CCC-hacker stole the German defense ministers finger print... using a DSLR camera and a tele lense at a press conference: https://www.theregister.com/2014/12/29/german_minister_finge...
Re:Quick Tip: Enable Touch ID for Sudo (2020) by satysin on Wednesday June 15, 2022 @07:00AM (#31751280)
Sorry but I have to nitpick here. Nobody was ever able to verify the fingerprint was the same as the German defence ministers.

What the attacker was able to do was take a high resolution photo of the defence ministers thumb and then produce a "fingerprint" that they could use to register as a "fingerprint" on their own phone and then unlock that phone with the "fingerprint".

It could be nothing like the defence ministers actual fingerprint but just look enough like any real fingerprint to register with a fingerprint scanner on a phone.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by atoav on Wednesday June 15, 2022 @12:29PM (#31755436)
Thanks for the nitpick, you are right, but given the state of photogrammetry today I wouldn't be surprised if just a few pictures would be enough to give you an accurate representation.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by colechristensen on Wednesday June 15, 2022 @12:03PM (#31755064)
If it was a good photograph Tia would be pretty easy to verify visually. It would also be trivial to replicate on towels to see if your methods actually were adequate to authenticate on your own device.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by hnaccount_rng on Wednesday June 15, 2022 @07:02AM (#31751292)
But that wouldn’t work with TouchID sensors right? They also check for “living tissue”. And at that point the attack becomes _very_ expensive to perform
Re:Quick Tip: Enable Touch ID for Sudo (2020) by atoav on Wednesday June 15, 2022 @12:36PM (#31755532)
I mean, as a electronics guy I'd say it kinda depends on how that living tissue detection is being done. You can trick a lot of sensors into outputing things that don't make much sense if you know which physical properties they are looking for.

The most sophistication would probably be something like a PPG (optical reflection changes due to blood flow in certain bands). If the fake is thin enough the PPG would likely just shine through it. Skin resistance/humidity can be easily faked as well.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by kaba0 on Thursday June 16, 2022 @08:44AM (#31765391)
It was mentioned elsewhere in the thread that a not too thick layer of gummy bear could fool it, due to light passing through it, but getting reflected back from the back. Not sure how true is it though.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by olabyne on Wednesday June 15, 2022 @07:29AM (#31751478)
Oh, I remember this, but I didn't know it was Ursula von der Leyen, now president of the european commission.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by dewey on Wednesday June 15, 2022 @06:44AM (#31751195)
That’s exactly what I had in mind when writing that. That was a good one!
Re:Quick Tip: Enable Touch ID for Sudo (2020) by mordae on Wednesday June 15, 2022 @05:35AM (#31750847)
A glass?

I mean... Wouldn't there be a bunch of my fingerprints on the phone itself?

And if my bag gets stolen along with the laptop and possibly the phone, wouldn't there be fingerprints on pencils, water bottle and the phone charger?

https://hackaday.com/2015/11/10/your-unhashable-fingerprints...

Re:Quick Tip: Enable Touch ID for Sudo (2020) by dewey on Wednesday June 15, 2022 @05:37AM (#31750860)
Where the finger print comes from isn't really the point. The point is that a random opportunistic thief that finds a phone and wants to go spelunking is most likely not dedicated, capable or willing to go through that and your data stays safe.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by GeckoEidechse on Wednesday June 15, 2022 @07:07AM (#31751325)
Bringing us back to the discussion about threat models :P
Re:Quick Tip: Enable Touch ID for Sudo (2020) by Gigachad on Wednesday June 15, 2022 @05:55AM (#31750945)
Never forget the $10 wrench method.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by 01acheru on Wednesday June 15, 2022 @06:11AM (#31751028)
The $10 wrench always works: biometrics, passwords, encryption keys, physical keys, PINs, etc.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by carlhjerpe on Wednesday June 15, 2022 @06:26AM (#31751084)
But if you have wrench in your threat model you're either in a really bad situation or you're rich enough to have personal security making the wrench method a lot more complex.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by ohgodplsno on Wednesday June 15, 2022 @06:56AM (#31751258)
It's either Mossad or Not-Mossad.

>My point is that security people need to get their priorities straight. The “threat model” section of a security paper resembles the script for a telenovela that was written by a paranoid schizophrenic: there are elaborate narratives and grand conspiracy theories, and there are heroes and villains with fantastic (yet oddly constrained) powers that necessitate a grinding battle of emotional and technical attrition. In the real world, threat models are much simpler (see Figure 1). Basically, you’re either dealing with Mossad or not-Mossad. If your adversary is not-Mossad, then you’ll probably be fine if you pick a good password and don’t respond to emails from [email protected]. If your adversary is the Mossad, YOU’RE GONNA DIE AND THERE’S NOTHING THAT YOU CAN DO ABOUT IT. The Mossad is not intimidated by the fact that you employ https://. If the Mossad wants your data, they’re going to use a drone to replace your cellphone with a piece of uranium that’s shaped like a cellphone, and when you die of tumors filled with tumors, they’re going to hold a press conference and say “It wasn’t us” as they wear t-shirts that say “IT WAS DEFINITELY US,” and then they’re going to buy all of your stuff at your estate sale so that they can directly look at the photos of your vacation instead of reading your insipid emails about them. In summary, https:// and two dollars will get you a bus ticket to nowhere. Also, SANTA CLAUS ISN’T REAL. When it rains, it pours.

https://www.schneier.com/blog/archives/2015/08/mickens_on_se...

Re:Quick Tip: Enable Touch ID for Sudo (2020) by GSGBen on Wednesday June 15, 2022 @07:27AM (#31751453)
The full article is a good read too. Such a great writing style.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by FabHK on Wednesday June 15, 2022 @11:52AM (#31754866)
Man, inflation is everywhere these days...
Re:Quick Tip: Enable Touch ID for Sudo (2020) by TowerTall on Wednesday June 15, 2022 @06:08AM (#31751016)
Obligatory xkcd https://xkcd.com/538/
Re:Quick Tip: Enable Touch ID for Sudo (2020) by throwaway744678 on Wednesday June 15, 2022 @09:34AM (#31752643)
Oh, man! The wrench actually costs only $5.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by yallneedtogetit on Wednesday June 15, 2022 @05:36AM (#31750855)
Police can compel people to provide biometrics to unlock their devices, but passwords can be forgotten.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by dewey on Wednesday June 15, 2022 @05:39AM (#31750866)
That doesn't always work out that well for the person "forgetting" the password though: https://en.wikipedia.org/wiki/Key_disclosure_law
Re:Quick Tip: Enable Touch ID for Sudo (2020) by patrec on Wednesday June 15, 2022 @05:54AM (#31750943)
Exactly, this depends a lot on jurisdiction. I seem to remember that there are some places where you could basically spend the rest of your life in jail if you forget (with or without scare-quotes) your passport.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by tirwander on Wednesday June 15, 2022 @02:24PM (#31757107)
Yeah... It's like child support laws here where I live (never had to pay child support, have a friend that is a lawyer). They can hold you indefinitely until you come up with what they need. Forgot the password? Ah well, how convenient! We have this place just for you to sit and hopefully.one day remember!

Child support here, while I agree it should be being paid but people can run into hard times, is sort of like this but more ridiculous. If you are.behind on child support, they jail you indefinitely until you can pay it.... But you are in jail indefinitely and likely have lost your job if you had one. So....

Re:Quick Tip: Enable Touch ID for Sudo (2020) by digisign on Wednesday June 15, 2022 @06:03PM (#31760015)
That's a choice however, assuming you know it.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by JBiserkov on Wednesday June 15, 2022 @06:25AM (#31751079)
on iPhone, you can press the `power` and `volume down` buttons for a few seconds and Face ID is disabled until you enter the code.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by NoGravitas on Wednesday June 15, 2022 @09:31AM (#31752607)
On Android, this is (usually, vendors may vary) hold down `power`, then tap "Lockdown" on the screen. I do like the fact that on Apple you can do it without interacting with the screen.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by ascagnel_ on Wednesday June 15, 2022 @09:24AM (#31752522)
Similarly, tapping the power button five times in close succession will put an iPhone into "emergency mode", which (a) brings up a screen with prominent buttons to call 911 or your emergency contact and (b) disables biometrics until the PIN is provided.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by cassianoleal on Wednesday June 15, 2022 @06:36AM (#31751132)
Volume up works too.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by JBiserkov on Wednesday June 15, 2022 @07:07AM (#31751324)
You are right. I incorrectly assumed that since `power` + `volume up` takes a screenshot, it wouldn't work, but I just tried it, and holding them for a few seconds does lock the phone too.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by cassianoleal on Thursday June 16, 2022 @08:04PM (#31772489)
Clicking power 5 times also seems to work!
Re:Quick Tip: Enable Touch ID for Sudo (2020) by NoGravitas on Wednesday June 15, 2022 @09:33AM (#31752640)
In the US, the idea isn't that the password can be forgotten, but that passwords are protected speech, which can't be compelled. This legal theory hasn't been fully tested, though — I wouldn't depend on it unless it was upheld by the Supreme Court, but I'd expect this Court to give the police absolutely anything they want.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by Gigachad on Wednesday June 15, 2022 @05:56AM (#31750948)
This isn’t true in most of the world and is even questionably true in the US
Re:Quick Tip: Enable Touch ID for Sudo (2020) by phpisthebest on Wednesday June 15, 2022 @07:13AM (#31751362)
It will remain questionable in the US until it reaches the Supreme Court.

IMO is clearly a violation of the 5th amendment, but the Bill of Rights in the US has been soo watered down at this point they may not even be considered rights any more....

Re:Quick Tip: Enable Touch ID for Sudo (2020) by NoGravitas on Wednesday June 15, 2022 @09:38AM (#31752702)
4th amendment, I think. Regardless, given the current composition of the Court, I wouldn't hold your breath for the situation to improve.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by phpisthebest on Wednesday June 15, 2022 @11:37AM (#31754594)
One could make that case, but 4th allows for searches with a warrant

I would say 5th because divulging the contents of ones mind is testimony which one should not be compelled to do, the 5th profits you from being a witness against yourself, reveling a password is being a witness against yourself

Re:Quick Tip: Enable Touch ID for Sudo (2020) by chipsa on Wednesday June 15, 2022 @11:43AM (#31754716)
Fifth: the password is testimony. It's searching their things, but the warrant issued by the court means that it's likely a reasonable search (ergo, not a violation of the 4th).
Re:Quick Tip: Enable Touch ID for Sudo (2020) by harha on Wednesday June 15, 2022 @06:42AM (#31751179)
Adding to that: just because someone has your fingerprint, they won’t have full access since you can’t reset to a new iPhone and get the backup with just the fingerprint. It’s the combination of fingerprint + the previously authenticated device
Re:Quick Tip: Enable Touch ID for Sudo (2020) by nijave on Wednesday June 15, 2022 @07:38AM (#31751534)
The threat model of sudo is a little different. You already have authenticated access and sudo is requesting elevated access. Even a static button on the computer would provide benefit since it alerts the user a program is attempting to obtain elevated privileges.

For comparison, Windows default configuration is a yes/no dialog (UAC).

If an attacker had unelevated access they probably stand a pretty good chance of getting elevated access on a workstation (replacing files, putting a shim in front of sudo, stealing SSH keys, access tokens, cookies, etc) anyway (if the regular user has those privileges)

Re:Quick Tip: Enable Touch ID for Sudo (2020) by spijdar on Wednesday June 15, 2022 @05:30AM (#31750821)
I think this depends a lot on your threat model. (specifically referring to phones/mobile devices)

If you're at all concerned about being targeted, this is a very valid concern. On the other hand, I think using fingerprints/biometrics is "good enough" to prevent non-targeted attacks (theft, lost device) from retrieving sensitive info, and is far better than no password or a short numeric PIN.

Obviously, using a rotating alpha-numeric-symbol password is more secure, but unless you only very sporadically use your mobile device, is pretty inconvenient.

(of course, it'd probably be best to use MFA here and have a PIN code along with biometrics, but I'm not aware of any consumer devices like that)

Re:Quick Tip: Enable Touch ID for Sudo (2020) by coding_unit_1 on Wednesday June 15, 2022 @05:28AM (#31750802)
Biometrics are not being used as a password directly. They are typically used as an identifier to unlock the secrets store on the device and then retrieve an access token (which has previously been obtained via username/password authorisation).

The biometric information never leaves the device.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by kube-system on Wednesday June 15, 2022 @01:27PM (#31756272)
Touch ID isn't really biometric authentication. It is hardware token authentication, and that hardware token is unlocked via biometrics. The end application then authenticates with the hardware token. It works similarly to a Yubikey Bio Series token. It is actually an additional layer of protection over what you'd have with most physical hardware tokens, which can be used by anyone who possesses them.

While you can't change your fingerprint, you can change which token is registered with the end application, so that concern is mitigated.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by samatman on Wednesday June 15, 2022 @08:04AM (#31751724)
Short answer is all that advice is obsolete. Biometrics as used by secure enclaves have tradeoffs which are unrelated to the (again, obsolete) practice of storing biometrics as authentication per se.

The secure enclave holds biometrics, these are used to generate ordinary key pairs which are revokable.

If you have a device like this, try it! Register a finger, then un-register the finger: congrats, you've changed your fingerprint.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by lathiat on Wednesday June 15, 2022 @08:27AM (#31751942)
Every time you type a password or pin code into your phone in a public place it’s trivial for someone to see what it is over your shoulder. It’s doable for keyboards to though not quite as easy.

They can’t see it if you use your fingerprint or FaceID.

That’s actually a security improvement for some threat models.

Just a thought :)

Re:Quick Tip: Enable Touch ID for Sudo (2020) by gommm on Wednesday June 15, 2022 @06:58AM (#31751266)
I see touch ID for sudo as the equivalent of 2FA. I am on my computer, I'm logged in in the account that has admin permissions but we want to confirm that it's me and not someone else that is logged in to my account, so touchid for sudo acts as a 2fa.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by leksak on Wednesday June 15, 2022 @07:01AM (#31751290)
That's a fine 2FA unless your threat model involves physical coercion. The nice thing about passwords is that giving it is, with the exception of some drugs maybe, voluntary. You don't really have the same agency if someone forcibly makes your finger touch the device. And I think fingerprints work even on a dead body. And can be lifted from inanimate surfaces like a glas at a bar.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by prvit on Wednesday June 15, 2022 @07:32AM (#31751498)
This feels ignorant of the fact that all the interesting information on your computer will be accessible without sudo.

touchid is actually better than a password here, as it prevents malware from using sudo without physical confirmation from you.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by jonfw on Wednesday June 15, 2022 @10:07AM (#31753107)
What do you expect you will do if somebody capable of killing you wants your password?

I can't imagine a circumstance where I would not voluntarily give somebody a password if they were in a position to physically force me to provide biometrics

Re:Quick Tip: Enable Touch ID for Sudo (2020) by quitit on Wednesday June 15, 2022 @05:39PM (#31759802)
There is certainly merit to this line of thinking, however that is the scenario where the password is literally the hash of the fingerprint or facial read - this is a use case that's closer to a login name rather than a password.

To use touchid/faceid as an example:

- it requires that the password was recently entered

- it's not the password, but a means of accessing a temporary token

- that token is easily purged from memory by triggering SOS or failing touchid/faceid repeatedly

- a range of conditions will also automatically purge the token, such as usage that doesn't match the user's behaviour, unusual movement such as scuffles, certain combinations of location/time/movement, and of course not being used for several hours (this also seems to vary based on certain conditions.)

In this sense a biometric read can provide a useful level of security for most scenarios and definitely better than entering a 4-digit pin repeatedly, and infinitely better than gestural passwords which are comically easy to guess.

For secure applications it's not useful, nor is a 4 or 6 digit pin, but such implementations also engage a range of security enhancements such as internet/voip via an encrypted VPN, locked down device profiles, limited access to networks and so-on. Sometimes the discussion about biometric data use in authentication tends to over-borrow from this level of security need.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by btm1971 on Wednesday June 15, 2022 @11:28AM (#31754457)
When fingerprint readers were first starting to appear in Thinkpads, I enabled it so I could log in. I was demo'ing it to a co-worker who said "what's to keep someone from cutting your finger off to log in". I responded "if we've reached the point that they are willing to cut off my finger, I'm going to give them my password".
Re:Quick Tip: Enable Touch ID for Sudo (2020) by dijit on Wednesday June 15, 2022 @05:28AM (#31750803)
They continue to be correct, the major difference when it comes to phones is that you're constantly typing a number in plain view of everyone around you.

So you're making a tradeoff and with phones it works out slightly better if you unlock with biometrics most of the time; but you should know the five clicks method for disabling the biometric unlock temporarily.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by Tagbert on Wednesday June 15, 2022 @08:55PM (#31761369)
I'm not sure whether this applies to sudo, but for device access, a biometric like a fingerprint is neither an identifier nor a password. It is closer to a session key. In any finger print system I have used, you must login with a username and password, then you have a session of access. The finger print can extend that session for some hours or days. Eventually the session rules require you to login again. Without having a recent session, your fingerprint does not provide access.

Yes, like any session-based access, it is a compromise between convenience and security. For frequent usage like phone access, I feel like it is a reasonable compromise.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by sexy_panda on Wednesday June 15, 2022 @05:26AM (#31750786)
I think that someone with enough motivation can easily use your fingerprint against you.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by cguess on Wednesday June 15, 2022 @05:31AM (#31750828)
And that applies to only the smallest of percentage of people, and those it does would be receiving specialized trainings.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by zitterbewegung on Wednesday June 15, 2022 @10:57AM (#31753914)
I really hope the move to FIDO happens soon in all browsers (aka passkeys).

When you reboot a Mac you have to type in the password to login still.

The easiest way to authenticate to a Mac is actually your Apple Watch.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by Melatonic on Wednesday June 15, 2022 @02:46PM (#31757466)
My phone (android) doesnt let me use the fingerprint forever - every once in awhile I have to enter the passcode. And on bootup of course I have to enter the passcode. So while my passcode is quite long (and secure) the fingerprint adds a ton of convenience.

I think this is a good compromise - at worst if I were to lose the device and someone were to cut off my finger at best it would only work for a few days. But that scenario seems quite rare.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by franga2000 on Wednesday June 15, 2022 @08:27AM (#31751950)
Being able to change a credential only matters of it's a clonable credential like a key or a password. Assuming whatever device you're using is able to distinguish between the real thing and a copy, it doesn't matter if your fingerprint/face/iris... is "compromised" so there's no need to change it. That is, however, an assumption that has been made many times in the past and proven untrue.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by obert on Wednesday June 15, 2022 @05:30AM (#31750826)
I could agree, on the other hand though it would become very hard hiding your true identity if you were using a thumbprint to identify yourself, not to mention the ability to have multiple unlinked accounts, or signing in with someone else’s account (eg your children or your partner’s) on the same service.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by Angostura on Wednesday June 15, 2022 @06:48PM (#31760410)
One advantage of TouchID/FaceID for me is that I can use a long, strong passphrase on my phone - one much longer than I otherwise would if I had to use it to unlock every time. The passphrase is still required for highlky sensitive stuff like keychain access and turning off Find My
Re:Quick Tip: Enable Touch ID for Sudo (2020) by jw1224 on Wednesday June 15, 2022 @05:29AM (#31750812)
> “You can change a password, but you cannot change your fingerprint”

I’ve never understood this argument.

I could just as easily say “someone else can use your password, but they cannot use your fingerprint”.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by yallneedtogetit on Wednesday June 15, 2022 @05:35AM (#31750853)
What's being missed here is that courts have ruled that police (read: government) can compel people to provide biometrics to unlock their devices, but passwords can be forgotten.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by nurumaik on Wednesday June 15, 2022 @06:20AM (#31751064)
A person sitting next to you in cafeteria can remember your password by looking at your keyboard but can't remember your fingerprint this way
Re:Quick Tip: Enable Touch ID for Sudo (2020) by theandrewbailey on Wednesday June 15, 2022 @08:04AM (#31751734)
A person sitting next to you can wait until you leave, dust every surface you touched, and copy your fingerprints. I hope you can change your fingerprints.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by alpaca128 on Wednesday June 15, 2022 @01:03PM (#31755932)
I'd wish them good luck guessing my custom keyboard layout.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by permo-w on Wednesday June 15, 2022 @08:58AM (#31752225)
for me this is not the reason you should be careful using fingerprints for security. I don't use touch ID because I'm concerned that if I'm ever arrested, the police could a) force me to unlock it, b) unlock it while I sleep. The same goes for people I sleep in the same room as.

I think it's silly to have a security measure that can be passed while you're not even conscious

Re:Quick Tip: Enable Touch ID for Sudo (2020) by kube-system on Wednesday June 15, 2022 @01:37PM (#31756416)
If you're worried about being compelled to enter your Touch ID, just mess up entering your fingerprint five times or turn off the device, and the device will no longer accept Touch ID.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by permo-w on Wednesday June 15, 2022 @05:57PM (#31759963)
I'd rather just use a code
Re:Quick Tip: Enable Touch ID for Sudo (2020) by netheril96 on Wednesday June 15, 2022 @09:27PM (#31761576)
Password on iPhone has its own problem: it can be easily leaked when you type in front of any cameras.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by Spooky23 on Wednesday June 15, 2022 @01:57PM (#31756732)
Typically, biometrics are used as an unlock locally.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by brainphreeze on Wednesday June 15, 2022 @05:26AM (#31750785)
I'd tend to agree to be honest. Consider this: a group of thieves jump you and pin you down, they want to perform a banking transaction on your phone. They grab your hand, extend your finger and press it against the phones sensor. They're in. On some mobile banking apps, they can perform the same.

The use of a password only known to you cannot be physically taken from you as your mind controls that authentication mechanism.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by Aaargh20318 on Wednesday June 15, 2022 @06:11AM (#31751032)
Consider this: you are working on your laptop in a public place, like on the train. or in a coffee shop. You log in to your company website. Anyone looking over your shoulder can see you type your password, as well as the webpage you're logging in to.

And it's not just people standing behind you, it can also be the security camera in that coffee shop. It can be someone looking through your office window with a telescope from the next building over.

Same goes for your phone. There are ample opportunities to see someone type in their PIN code to unlock their phone, especially if you use it for payments which are generally done in public places. No need for violence, no need to draw attention to yourself, just watch them enter their PIN and then pickpocket the phone afterwards.

It all depends on the exact threat scenario, but biometric authentication can be preferable to passwords when used in public places.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by FabHK on Wednesday June 15, 2022 @11:58AM (#31754990)
When Ed Snowden accesses his laptop in the documentary Citizenfour, he puts a blanket over his head and himself including the laptop, then types in the password (presumably... we will never know :), and only then emerges from the blanket. I thought that was an excellent simple security measure!

Maybe a bit weird if you start doing that in trains and coffee shops though.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by Sebb767 on Wednesday June 15, 2022 @05:33AM (#31750841)
They can also threaten to cut off your finger, in which case you'd probably want to enter the password anyway. Also, your password can easily be found by looking over your shoulder or by you unlocking your device in front of a camera - which is quite likely, given how often you unlock your phone. You can also collect and fake a fingerprint, but it's a lot more effort.

On the other hand, in a few countries police can force you to use biometric authentication, but not to release your passwords. In the end, you really need to think about your threat scenario and act accordingly.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by michelb on Wednesday June 15, 2022 @05:30AM (#31750818)
So they beat you until you give the password.
Re:Quick Tip: Enable Touch ID for Sudo (2020) by TacticalCoder on Wednesday June 15, 2022 @06:11AM (#31751026)
That's why systems correctly designed have not one but two passwords (or PINs), which look identical. You enter either and everything seems to work. But one of the two means "I'm under duress".

If people home-jack me at night, my 24/7 alarm system/monitoring company calls me in the following 45 seconds at most and asks me for my password. If I say "monkey" it means everything is fine, if I say "beetle" it means I'm under duress. When I give either password, the company answers: "OK, sleep well, all is good". But in the later case they call the police and tell them a home-jacking is ongoing. (obviously my two words aren't "monkey" and "beetle", this is just an example).

(as a bonus my alarm system has an anti-jamming system and communicates using several channels)

Banking apps should be the same: they should have one PIN to do regular business and another one where everything looks legit, but you'd only be making fake wire transfer or only allowed tiny withdrawals, showing a small balance.

Some companies (for example my alarm system) and websites (very few but I've seen some) and some HSM (for example cryptocurrencies hardware wallets can decode using two keys, one of them showing a smaller balance than the real one) have seen the light and have such a feature.

I do believe we're still in the stone age when it comes to security. Most people like to post that disastrous XKCD and think the bad guys have forever won thanks to their $5 wrench. I'd hazard a guess: people thinking with that victim mentality aren't the ones coming up with better security systems.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by davidgould on Friday June 17, 2022 @03:04AM (#31774973)
> they call the police and tell them a home-jacking is ongoing

Who show up three hours later and shoot your dog.

Re:Quick Tip: Enable Touch ID for Sudo (2020) by brewmarche on Wednesday June 15, 2022 @07:27AM (#31751461)
This would also work with 2 fingerprints
Re:Quick Tip: Enable Touch ID for Sudo (2020) by coding_unit_1 on Wednesday June 15, 2022 @05:29AM (#31750810)
A $5 wrench will retrieve a password https://xkcd.com/538/ :)