News for hackers. Stuff that matters.
Re:Show HN: A virtual Yubikey device for 2FA/WebAuthN by askvictor on Saturday September 17, 2022 @06:58PM (#32882450)
Multiple layers are always better. If your computer or browser is compromised, then your password manager's secrets have been pwned, but with 2FA your accounts are still safe (assuming the 2FA is on a separate device, which it really should be)

There's also non-tech users to consider. It's pretty hard to convince users to use a password manager; plenty of people still re-use the same password across sites. It's impossible to prevent that. But it is possible to enforce 2FA for _your_ site.

Re:Show HN: A virtual Yubikey device for 2FA/WebAuthN by iudqnolq on Saturday September 17, 2022 @07:09PM (#32882538)
Your first example is interesting, but it's much more limited than you describe. The attacker can't use your credentials to authenticate their own session, but they have complete control over the authenticated session on your laptop. I can't think of an account I have where that would be meaningfully less bad.
Re:Show HN: A virtual Yubikey device for 2FA/WebAuthN by askvictor on Saturday September 17, 2022 @07:16PM (#32882589)
The attacker has access to all of your authenticated sessions on your compromised laptop. They don't have access to any un-authenticated accounts which have 2FA enabled.
Re:Show HN: A virtual Yubikey device for 2FA/WebAuthN by bb88 on Saturday September 17, 2022 @07:23PM (#32882627)
Further because 2FA is simpler, a session can time out in a shorter amount of time.