Hacker News new | ask | show | jobs
by tptacek 5 days ago
You're losing me again. You want Passkeys to be migratable and syncable. I do too. They are. In what way does that make them phishable? Passkeys are an evolution of FIDO, and the entire purpose of FIDO is to combat phishing.
3 comments

(I added an edit to my comment later about the offline backups, you might want to check that too)

About phishing, think of this phishing scenario:

I send you an email, saying that there is a problem with your Apple Passwords, say it's corrupt or whatever, and in order to fix it, you need to re-upload your passkey backup file (whatever it is on your Mac). It's not as straightforward as "enter your password", but it's still theoretically possible to remotely take over your account with this flow.

When passkey remains inside a physical security key, it's completely unrechable. That's what makes it unphishable. But, when you start copying your passkey into files on somewhere else other than Apple servers, that becomes a threat vector in itself, especially if you're targeted for it.

I addressed your update upthread.

What you just described is a social engineering attack, not a phishing attack. When you've reached the point of telling your victim they need to upload their .kdbx file, you've (1) left the realm of things a protocol can really address, and (2) adopted an argument that says backup is a bad thing, which makes your post incoherent.

The core idea of a phishing attack is origin spoofing.

Put differently: it would be simpler (and totally plausible; security is hard) to trick a user into running attacker-controlled code --- perhaps to "diagnose" a "problem" --- at which point all bets would be off, even if you were using hardware keys.

(I couldn't reply to your latest comment, I guess MAX_DEPTH_REACHED == 1)

> I addressed your update upthread. What you just described is a social engineering attack, not a phishing attack. When you've reached the point of telling your victim they need to upload their .kdbx file, you've (1) left the realm of things a protocol can really address, and (2) adopted an argument that says backup is a bad thing, which makes your post incoherent.

You're right, and I should have made my argument clearer. Backup isn't inherently bad. But, there are tradeoffs with both approaches a) no backup, you're at the mercy of the provider vs b) backups, you are now at the mercy of your security skills. Both have different pros and cons. Similar to how it's not Bitcoin's problem that you lose your passphrase and people lose their Bitcoin wallets left and right. It's a UX problem, not a protocol problem.

It may not be responsibility of FIDO2 passkey protocol to protect your kdbx file, but the distinction doesn't really help people. What matters is: can people rely on a passkey to access their accounts idefinitely without thinking about how they would salvage a kdbx from their Mac? Will users reach an awareness level that how many Passkeys would set themselves for life in case one of the provider accounts (like Apple) goes down?

Because, these are easy to answer questions with passwords. It doesn't matter which hash protocol the server uses for your password. You remember your password? Then, you're set for life (as long as you resist phishing attacks, yes). Apple bans you? Microsoft bans you? You might lose access to hundreds of accounts you have. With Passkeys, your provider banning you becomes a life-critical event, and "you should have synced to other devices" won't be helping victims of it retroactively. The UX is confusing, the backup/no-backup/syncs-are-actually-backups/buy-a-mac conundrum is confusing.

We might see many people losing access because they didn't plan properly for the ramifications of this. FIDO2 not covering social engineering or, say, malware, attacks doesn't change the current problem with provider-centric model. People assume that they can always recover their accounts. I think passkey hides many bitter truths behind "oh, you're going to be fine".

I like passkeys and use them, but it makes itself look too good.

I'm past caring whether people do or don't like Passkeys[†], but brought this up because your article made a point, very early on, that was a record scratch for anyone who understands why Passkeys exist. And then, in responding to that point, you made a weird argument about how Google and Apple won't "sign" Passkeys they don't own? Which is not how Passkeys work.

[†] I only care when people say crazy things, like that they're just as safe with random passwords and a password manager, or TOTP.

(Again couldn't reply to the comment)

> I'm past caring whether people do or don't like Passkeys, but brought this up because your article made a point, very early on, that was a record scratch for anyone who understands why Passkeys exist. And then, in responding to that point, you made a weird argument about how Google and Apple won't "sign" Passkeys they don't own? Which is not how Passkeys work.

It must be very clear to you as a security researcher on how passkeys make sense and how great they work, but I look at it from a user's perspective. So, your criticism about my arguments is an indictment of passkeys too. Because, when a user loses access to their accounts they will be hit with "oh right, you didn't understand how passkeys work, and that's why you lost access to your bank account, oh poor guy, you should have read more about passkeys".

When I said "Apple won't sign a passkey" I meant was that Apple probably wouldn't just let us transfer passkey files from one Apple account to another Apple account, and I turned out to be right. It was a right only given in the context of the same account with a sync setup between devices. And there is one hack that involves a Mac, and some unknown-level of sorcery to use a kdbx file with another Apple account. No one can do that. Security researchers can, I'm sure. Possibly, I can and some power users too, if I buy a Mac in the future. No one else.

No one even could imagine that they would need more than one device to make sure they would never lose access to their accounts. So, if any user trusts passkeys, and get their provider account such as Apple banned, they will have lost all access to all their accounts with passkeys. Yes, they will never be phished, but maybe they'll wish they would instead of having lost access.

The thing is in the real world no account works like this, least of all a bank account. Lost your device and need to sign in? Go to your local branch and ask them to give you online access, they take care of it. Most other accounts? Go to the login page, login with email, and set up a new passkey.

You are overthinking what users will need, passkeys with account recovery flows will work fine in the vast majority of cases.