Skip to content
Journal
youaccountforgot?

Authentication · · 6 min read

Account recovery is your real login page

By the Argenium team

Attackers rarely break the strongest door. They use the one marked “Forgot?”. However good your sign-in is, an account is only as strong as the easiest way to get back into it without the original credential.

Inventory every way in

Start by listing them, because most products have more than anyone remembers: the email reset link, an SMS code, recovery codes, a trusted-device approval, an administrator reset, and the support team that can change an email address when someone sounds convincing on the phone. Each of these is a login page. Most of them receive far less scrutiny than the real one.

Email links

Email is the most common recovery channel, which makes your users’ inbox security part of your own. You cannot control that, but you can control the link:

  • Single use, short-lived. Valid for minutes, consumed on use, and invalidated when a newer one is requested.
  • High entropy, stored hashed. Treat reset tokens like passwords in your database.
  • Quiet about existence. The response to “reset my password” should look the same whether or not the address has an account.
  • Scoped. A password reset should not silently remove a user’s passkeys or second factor. That is a separate, louder event.

SMS is a weak anchor

Phone numbers can be taken over through SIM swaps and fraudulent number ports, usually by persuading a carrier rather than by attacking the user. NIST SP 800-63B classifies authentication over the public phone network as a restricted authenticator for this reason. An SMS code can still be one signal among several, but it should not be the only thing standing between an attacker and a valuable account.

Your support desk is an authentication system

If an agent can change the email address on an account, the agent is performing authentication, often under time pressure and against people who practise social engineering for a living. Give them a real procedure instead of judgement calls: send a verification prompt to a device already signed in to the account, never rely on knowledge questions alone, require a second person for high-value accounts, and log every recovery so it can be reviewed.

Patterns that hold up

  • More than one passkey. Prompt users to register a second device, so losing one phone is not a recovery event at all.
  • Recovery codes. Generated at enrolment, shown once, stored hashed, each usable once.
  • Approval from a trusted device. Let an existing signed-in device approve a new one.
  • Delay and notify. For high-risk recovery, a waiting period with notifications to every known channel gives the real owner time to cancel. Inconvenient for attackers, mildly annoying for everyone else.
  • Reset the blast radius. After a recovery, end other sessions and ask the user to review their credentials and connected apps.

Measure it like a product

Track how often recovery is used, where people abandon it and how many support tickets it creates. A flow that users can’t complete pushes them to support, which is usually the weakest channel of all. And review changes to recovery with the same care as changes to sign-in, because that is what they are.

Share