Sub topic 3
Why passwords alone fail
This chapter assumes you have used a centralized exchange account and know what a password and two-factor authentication (2FA) are. It explains the specific ways a password stops protecting an account. The later chapters on authenticator apps and passkeys build on these failure modes.
What a password actually proves
A password is a shared secret. You know it, and the exchange stores something derived from it. Logging in proves only that the person at the keyboard can reproduce that string. The server cannot tell whether that person is you, someone who bought your password, or someone who tricked you into typing it.
A password fails in four ways:
- It can be guessed.
- It can be reused from another site.
- It can be stolen from the server that checks it.
- It can be handed over by you.
Each failure mode needs a different defense, and a stronger password only helps with the first.
Failure 1: guessing
Guessing comes in two forms. An online guess is submitted to the login page, where rate limits and lockouts apply. An offline guess is run against a stolen database of password hashes, with no limits except the attacker's hardware.
Search space grows with length and alphabet size. For a password chosen uniformly at random, the entropy in bits is length × log2(alphabet size). The script below shows what that means at a hypothetical offline rate of 10 billion guesses per second.
import math
GUESSES_PER_SECOND = 10_000_000_000 # hypothetical offline attacker
def random_password_bits(length, alphabet_size):
return length * math.log2(alphabet_size)
def years_to_exhaust(bits):
seconds = 2 ** bits / GUESSES_PER_SECOND
return seconds / (60 * 60 * 24 * 365)
for length, alphabet in [(8, 26), (8, 94), (12, 94), (16, 94)]:
bits = random_password_bits(length, alphabet)
print(f"{length} chars, alphabet {alphabet}: {bits:.1f} bits, "
f"{years_to_exhaust(bits):.3g} years to exhaust")An 8-character lowercase password has about 37.6 bits, so the whole space is exhausted in well under a minute at that rate. A random 16-character password drawn from 94 printable characters has about 105 bits and is out of reach.
This only holds for uniformly random passwords. Humans do not pick them that way. They choose words, names, dates and predictable substitutions such as p@ssw0rd, and attackers' wordlists and rule sets are built around those habits. The real strength of a human-chosen password is much lower than the formula suggests.
Failure 2: reuse and credential stuffing
Reuse is the most common cause of account takeover. When any site you use is breached, the attacker holds pairs of email address and password. They then try those pairs on other services, including exchanges. This is called credential stuffing.
The attack is cheap because it needs no skill and can be automated. The success rate per attempt is low, but the volume makes up for it. As an illustration, if 1,000,000 stolen pairs are tried on an exchange and 1% of them are reused there, about 10,000 accounts open.
The exchange did nothing wrong in this scenario. Its own database was never breached, and the login page behaved correctly. This is why a long, unique password on the exchange matters only if you do not use it anywhere else. A password manager that generates a different random password for each site removes reuse as a failure mode.
Failure 3: theft from the server
Servers should store a slow, salted hash of each password, not the password itself. A hash is a one-way function: the server can check a submitted password against it, but cannot recover the password from it. A salt is a random value added per user so identical passwords produce different hashes. Slow functions such as Argon2, scrypt or bcrypt make each offline guess expensive.
You cannot verify any of this from outside. Breaches have exposed passwords stored in plain text, unsalted fast hashes, and hashes weak enough to crack in bulk. Even with good hashing, weak passwords fall first because attackers try the most likely candidates earliest.
You can check whether a password already appears in known breach corpora without sending it to anyone. The Have I Been Pwned range API uses k-anonymity. You send only the first five hex characters of the password's SHA-1 hash, and the service returns all matching suffixes. You compare the rest locally.
import hashlib
import urllib.request
def pwned_count(password):
digest = hashlib.sha1(password.encode("utf-8")).hexdigest().upper()
prefix, suffix = digest[:5], digest[5:]
url = f"https://api.pwnedpasswords.com/range/{prefix}"
with urllib.request.urlopen(url, timeout=10) as response:
body = response.read().decode("utf-8")
for line in body.splitlines():
candidate, _, count = line.partition(":")
if candidate == suffix:
return int(count)
return 0
if __name__ == "__main__":
print(pwned_count("password123")) # a large number: seen in many breachesA count above zero means the password is known to attackers and should never be used, however long or complex it looks.
Failure 4: you hand it over
Phishing is the failure that strong passwords cannot fix. A phishing page imitates the exchange login and asks for your credentials. The password you type is correct, and it works for the attacker immediately.
Phishing reaches you through several channels:
- Email or text saying "unusual login detected, verify now".
- Search ads that put a fake exchange site above the real result.
- Direct messages from fake support staff.
- Lookalike domains that differ by one character or use a different top-level domain.
Malware is a related route. A keylogger or infostealer on your computer records the password as you type it, or reads saved passwords from the browser. In both cases the password's strength is irrelevant, because the attacker receives the full string.
A password manager helps with phishing in a small way. It autofills only on the domain where the credential was saved, so a missing autofill suggests you are on the wrong site. This is a useful warning, not a guarantee. People override it, copy and paste manually, or use a manager that matches loosely.
Why complexity rules don't solve this
Many sites require a mix of uppercase, digits and symbols. These rules mostly produce predictable patterns, such as a capital first letter and 1! at the end. They do nothing about reuse, server theft or phishing. Current guidance, such as NIST SP 800-63B, favors length, a check against breached passwords, and no forced periodic rotation. Forced rotation encourages small, guessable changes.
The table maps each failure to what helps and what does not.
| Failure | What helps | What does not help |
|---|---|---|
| Guessing | Long random passwords, rate limits | Short "complex" passwords |
| Reuse and credential stuffing | Unique password per site, password manager | A strong password reused everywhere |
| Server theft | Unique passwords, breach checks, slow hashing by the site | Anything you do after the breach, except changing the password |
| Phishing and malware | A second factor that cannot be relayed, phishing-resistant sign-in | A longer password |
Why this matters more on an exchange
Exchange accounts hold assets that move quickly and irreversibly. A bank can often reverse a fraudulent transfer, but a confirmed blockchain withdrawal usually cannot be recalled. That makes exchange accounts attractive targets, and attackers often have a prepared routine: log in, change settings, withdraw to their own address and move the funds on.
The diagram shows where the password sits in a typical takeover and where a second factor and exchange controls interrupt it.
A password is therefore only the first gate. It protects against casual attackers, but it cannot protect against attackers who obtain it through reuse, a breach or phishing. The next chapters cover how stronger second factors and exchange-side limits change the outcome at each later step.
Practical baseline for the password itself
Passwords still matter, and you should keep them as strong as you can:
- Use a password manager and let it generate a random password of at least 16 characters for the exchange.
- Never use that password anywhere else, including on the email account tied to the exchange.
- Protect the email account at least as well as the exchange, since email is usually the route for password resets.
- Change a password immediately when a breach check shows it as exposed, or when you entered it on a page you doubt.
- Treat any request for your password from "support" as a scam. Real exchange staff never need it.
Exercise
An attacker has a list of one million email and password pairs from a breach of an unrelated forum. Your exchange password is a random 20-character string, but you also used it on that forum. Which failure mode applies, and does the password's length protect you?
Show answer
Reuse and credential stuffing apply. The length does not protect you, because the attacker does not guess the password. They already have the exact string from the forum breach and try it on the exchange. Only a unique password per site, together with a second factor, would stop this.
Exercise
A fake support agent sends you a link to "verify your account" and you enter your unique 24-character password on the page. Why did the password's strength not help, and which later defenses can still limit the damage?
Show answer
The failure was phishing. The attacker received the exact password you typed, so its length and randomness were irrelevant. A phishing-resistant second factor and exchange controls such as a withdrawal address allowlist and withdrawal delay can still stop or slow the takeover.