News for hackers. Stuff that matters.
Re:Ask HN: Why is WebAuthn so slow to take off? by bawolff on Sunday April 23, 2023 @11:36AM (#35677143)
From a practical standpoint, i dont really think it matters.

The real threat 2fa auth solves is the fact people blame the site operator when they are hacked. 90% of the time it is due to reusing a password. The other 10% it is due to phishing. WebAuthn stops both. 2FA works not because it adds another factor, but because it removes choice from the user so they can't screw it up.

Re:Ask HN: Why is WebAuthn so slow to take off? by MattPalmer1086 on Sunday April 23, 2023 @11:45AM (#35677212)
Interesting take on 2FA. The user not being able to screw up is of course important, but the second factor (something you have) works primarily because it is tied to something physical and therefore local to the user, which is not subject to remote attacks.
Re:Ask HN: Why is WebAuthn so slow to take off? by markkitti on Sunday April 23, 2023 @12:21PM (#35677582)
Here's the concept. Perhaps we have the order wrong. Maybe the physical factor should be the primary factor. The second factor should never be transmitted, but rather is used to unlock the physical factor.
Re:Ask HN: Why is WebAuthn so slow to take off? by alwaysbeconsing on Sunday April 23, 2023 @12:40PM (#35677803)
Requiring a password for a hardware key doesn't add much to the key already being in your pocket or locked in your house/office. It helps against an attack that's specifically targeting you as a person but it's basically just a nuisance for you when considering generalized account attacks.
Re:Ask HN: Why is WebAuthn so slow to take off? by ctoth on Sunday April 23, 2023 @01:43PM (#35678544)
Not really part of what you said but this just caught my attention and I thought I'd ponder about it in public a bit.

We used to think that

> It helps against an attack that's specifically targeting you

would be sufficient, because, like who cares about little old me? But in the era of API intelligence, setting up a specific agent to target every person seems automatable.

If all that was missing before was a sufficiently-motivated attacker who would learn about you and your patterns, and that couldn't scale because we didn't have enough dedicated bad guys, that seems like it's a bout to change pretty quick.

Re:Ask HN: Why is WebAuthn so slow to take off? by runarberg on Sunday April 23, 2023 @12:49PM (#35677893)
Don’t most people that this this “correctly” use a password manager which stores passwords on the same device as stores the totp token and generates the one time code? Doesn’t this effectively turn your password into a device that you have, effectively turning the first factor (something you know) into something you have, while the second factor (something you have) is the same thing you have from the first factor (your phone)?

Even people that do this incorrectly and reuse passwords, probably also store their passwords in their browser, which is on the same device as their authenticator app. So I would guess by far majority of people are only using something they have twice.

Re:Ask HN: Why is WebAuthn so slow to take off? by noisenotsignal on Sunday April 23, 2023 @02:01PM (#35678745)
That’s the trade off being made for convenience. It’s still somewhat multifactor though (I’ve seen people call it 1.5FA); authentication codes have the benefit of being resilient to replay. So, you’re not pwned even if someone steals your password somehow.

Even if someone steals your phone, you should have a passcode. If they know or guess your passcode, well… someone could steal your house/car keys too, and we still carry them around anyway :)

Re:Ask HN: Why is WebAuthn so slow to take off? by bawolff on Monday April 24, 2023 @02:13AM (#35684229)
If we are assuming that the password manager is on the same device used to login, a replay attack is bordering on rediculous.

In this scenario, you are assuming that the client is not compromised (since otherwise they would just steal it before you use it) the server is not compromised (otherwise what is the point), you do not have an active mitm (otherwise they could use the token directly instead of replaying).

All that really leaves is you have someone capable of passively eavesdropping a TLS connection (usually much harder to do than active mitm). I suppose someone literally looking over your shoulder or recording you with a hidden camera - but even then they just have to out-race you hitting submit.

Anyways. Not a realistic threat in my mind.

Re:Ask HN: Why is WebAuthn so slow to take off? by noisenotsignal on Monday April 24, 2023 @12:03PM (#35689351)
Sorry, I meant replay really broadly because I could not come up with a better term in the moment. For example, a password can be leaked in many ways (guessed, by a breach if the website has poor password storage, etc) and be “replayed”, as in the attacker just enters the password themselves. A code does not have that problem because it is temporal.
Re:Ask HN: Why is WebAuthn so slow to take off? by bawolff on Monday April 24, 2023 @08:27PM (#35695082)
Ah ok. Its confusing because one of the requirements for time based one time password 2fa is that if you use the same 2fa token twice,it is still supposed to reject the second one even if it is in the same time window.

On the server side usually a "key" is stored, which for TOTP based 2fa would allow the attacker to create future 2fa tokens if they got ahold of the key. So what really saves you is the website choses the key not the user, meaning every website has a different one. Not the temporal nature.

Anyways, usual term for what you are referring to with reusing passwords is "credential stuffing".

Re:Ask HN: Why is WebAuthn so slow to take off? by crote on Monday April 24, 2023 @05:57AM (#35685556)
I'm not sure about "most people", but I for one never stored 2FA tokens on the same device as my passwords. My password manager is only on my desktop/laptop, and my 2FA tokens only live on my smartphone/Yubikey.

Storing both on one device sounds like a pretty stupid thing to do. Sure, it's convenient, but you are putting a looooot of trust into the assumption that your single device will never be compromised.

Re:Ask HN: Why is WebAuthn so slow to take off? by runarberg on Monday April 24, 2023 @10:01AM (#35687760)
How do you enter a password on your phone than? Do you manually type them after you reveal them on your desktop machine?
Re:Ask HN: Why is WebAuthn so slow to take off? by bawolff on Sunday April 23, 2023 @07:03PM (#35681606)
The average user is not typically subject to remote attacks. There are exceptions of course. However we should design the default security experience for the threats the average user faces. Most users aren't being targeted by the NSA, etc.

Unless you mean the webserver they use being attacked, but that is just as vulnerable for 2fa. The only difference is the user cannot screw up and use the same credential on multiple websites with 2fa.

Re:Ask HN: Why is WebAuthn so slow to take off? by GoblinSlayer on Monday April 24, 2023 @09:31AM (#35687412)
The average user isn't targeted personally, they are targeted en mass, the more people fall into the category, the more valuable target they become. A personal attack is needed only if the credential storage is not standardized.
Re:Ask HN: Why is WebAuthn so slow to take off? by bawolff on Monday April 24, 2023 @08:21PM (#35695018)
Remote attacks (e.g. say having a zero day in the sms messenger app. Not talking about remote in the sense of phishing emails are sent remotely or when attackers target service providers instead of users) typically get noticed and fixed really fast if they are used en masse. In practise it is much more common for attackers to pick specific targets in order to preserve how long their vector lasts for.
Re:Ask HN: Why is WebAuthn so slow to take off? by guerby on Sunday April 23, 2023 @12:50PM (#35677900)
Be careful to not lump all 2FA together: only FIDO2/webauthn second factor is immune to phishing.

evilginx will happily steal most other 2FA (TOTP, ...).