Website security basics: preventing credential theft and account takeovers

Credential theft is the starting point for most account takeovers. An attacker who obtains a valid username and password pair can log in without exploiting any software vulnerability, bypass perimeter defenses, and operate under the legitimate user’s identity. The updated NIST SP 800-63B-4 now requires verifiers to check new passwords against a blocklist of commonly used or compromised passwords and to stop requiring routine password changes, shifting federal guidance away from complexity rules and toward breach-aware credential hygiene.

How the account recovery path reintroduces credential risk

Passkeys remove phishable passwords from the login screen. NIST describes passwords as not phishing-resistant and sets out requirements for syncable authenticators, including synced passkeys. That makes login itself harder to attack.

Further reading: Cloud security risks: protecting sensitive files in Microsoft 365

The weak point moves to what happens after login is secured. When a user loses a device, the recovery flow typically falls back to an email link, an SMS code, or a support agent verifying identity through personal details. Each of those steps reintroduces the exact phishable, interceptable factors that passkeys were designed to eliminate.

Recovery flows can undo what passkeys protect if they rely on email-only resets or single-factor SMS verification. An attacker who controls a victim’s email inbox gains the ability to trigger password resets across every linked service. The FBI’s guidance specifically highlights protecting high-impact accounts like primary email for this reason: access to one inbox can cascade into dozens of account takeovers.

Recommended read: Cyber insurance in 2026: security requirements U.S. businesses should expect

Sites adopting passkeys should audit the full recovery path. If the fallback for a lost passkey is a password reset sent to an email address protected only by a password, the chain is only as strong as that weakest link.

A man using a password manager on a desktop computer at home to create strong credentials, highlighting account security and credential theft prevention.

Credential stuffing attacks and login rate limiting

Credential stuffing uses automated tools to test stolen username-password pairs against login pages at scale. Because people reuse passwords across services, a single data breach supplies attackers with credentials that work elsewhere.

The updated NIST SP 800-63B-4 now requires rate limiting against failed online authentication attempts. This is a direct response to automated stuffing: without throttling, an attacker can test thousands of credential pairs per minute against a single endpoint.

Effective rate limiting goes beyond a simple lockout after five failures. A well-designed system combines several layers:

  • Progressive delays that increase wait time after each failed attempt for a given account or IP address, slowing automated tools without permanently locking legitimate users out.
  • Device fingerprinting or behavioral signals (typing cadence, mouse movement patterns) that distinguish a human retrying a forgotten password from a bot cycling through a list.
  • Separate thresholds for IP-based and account-based limits, because attackers rotate IP addresses while targeting the same account, or target many accounts from one address.

Rate limiting alone does not solve credential stuffing. It buys time. The real fix is ensuring that stolen passwords do not work in the first place, through breach-aware password checks and multi-factor authentication.

Password blocklists and breach-aware credential checks

Traditional password policies forced users to include uppercase letters, numbers, and symbols, then change the result every 90 days. The outcome was predictable: people appended “1!” to their existing password and kept going. NIST’s updated guidance rejects that pattern. Verifiers must not require routine password changes and must instead check passwords against lists of compromised or commonly used strings.

A blocklist check happens at the moment of password creation or reset. The system compares the candidate password against a database of credentials known to be compromised (often sourced from aggregated breach data). If the password appears in that database, the user must choose a different one.

This approach works because it targets the actual threat vector. Attackers do not brute-force random strings. They test known passwords from previous breaches. Blocking those passwords at the source removes the cheapest ammunition from a credential stuffing attack.

The distinction NIST draws matters here: passwords used alone face stricter requirements than passwords paired with MFA. When a second factor is present, a compromised password alone is not enough for access. When it is the only factor, the blocklist check becomes the primary defense line.

Multi-factor authentication beyond SMS codes

MFA adds a verification step after the password, but not all second factors offer the same protection. SMS-based one-time codes are vulnerable to SIM swapping and real-time phishing proxies that relay the code to the attacker as the user types it.

Stronger second factors include:

  • Hardware security keys (FIDO2/WebAuthn) that require physical possession and are bound to the specific site origin, making phishing relay attacks ineffective.
  • Authenticator apps generating time-based codes on the user’s device, removing the cellular network as an attack surface (though still vulnerable to real-time phishing).
  • Synced passkeys functioning as both the first and second factor, eliminating the password entirely and binding authentication to the device’s biometric or PIN unlock.

FBI reporting on account takeover incidents shows substantial direct financial harm from compromised accounts, reinforcing that layered authentication is not optional for sites handling payments, stored credentials, or personal data.

A cybersecurity analyst monitoring login attempt logs and account takeover alerts on a security dashboard in a server room, representing enterprise-level website security monitoring.

Prioritizing which accounts to protect first

Not every account on a platform carries the same risk. Admin accounts, accounts with stored payment methods, and accounts linked to email addresses that serve as recovery points for other services all represent higher-value targets.

The FBI’s guidance emphasizes protecting high-impact accounts as a first priority. An attacker who compromises an administrative account can disable security controls for every other user. An attacker who takes over a primary email account gains a password-reset capability across the victim’s entire digital footprint.

A practical prioritization for site owners: enforce hardware-based MFA or passkeys on all admin and staff accounts before rolling out user-facing MFA. Require breach-aware password checks on all accounts immediately. Apply stricter rate limits to admin login endpoints. These steps address the highest-damage scenarios first, with the least friction for the broadest user base.

Credential theft prevention is not a single feature. It is a chain: blocklist checks at password creation, rate limiting at login, phishing-resistant second factors during authentication, and recovery flows that do not quietly hand back the keys through a weaker channel. The site that secures its front door but leaves the recovery path unguarded has not solved the problem, only moved it.

Most popular

8 Min Read SEO

YouTube SEO: improving video visibility in U.S. search results

YouTube SEO is the practice of aligning a video's metadata, content signals, and technical setup so…

8 Min Read SEO

Core Web Vitals: improving page speed and mobile search performance

Measuring Core Web Vitals gives you three numbers. Passing all three on mobile is a different…