Passwords & accounts basics
Almost every hack you'll read about in the news traces back, at some point, to a password problem — a weak password, a reused password, or a stolen password with no second layer of defense behind it. This lesson covers the small number of habits that eliminate the vast majority of account-takeover risk, before we get into anything more technical.
Why passwords fail so often
Attackers don't usually "guess" your password one character at a time in real time. Instead, they rely on a few predictable weaknesses:
- Weak passwords — short, common, or based on personal info (
password123, your pet's name, your birth year) are crackable in seconds using pre-built lists of common passwords. - Reused passwords — if you use the same password on multiple sites, a breach at any one of them exposes your account everywhere else. Attackers automate this with a technique called credential stuffing: taking leaked username/password pairs from one breach and trying them against thousands of other sites.
- Phishing — tricking you into typing your real password into a fake login page (covered in depth two lessons from now).
Brute-force vs. dictionary attacks — a quick distinction
Two related, commonly confused terms: a brute-force attack tries every possible combination of characters systematically, given enough time — feasible only against short passwords, since the number of combinations explodes exponentially with length. A dictionary attack is smarter: instead of trying random combinations, it tries real words, common passwords, and known-breached passwords first, since actual human-chosen passwords cluster heavily around predictable patterns. This is exactly why "use a real word with a number at the end" fails — it's precisely what a dictionary attack checks first, long before it would ever need to fall back to true brute force.
What makes a password actually strong
- Length matters more than complexity. A 16-character phrase like
correct-horse-battery-staple-42is dramatically harder to crack than an 8-character mess likeP@ssw0rd!, despite looking "less complicated." Every extra character multiplies the number of possible combinations an attacker has to try. - Uniqueness matters more than memorability. Every account should have a completely different password. This sounds impossible to manage by hand — which is exactly why the next section exists.
- Avoid personal information. Names, birthdays, and pet names are the first things attackers guess, because they're often findable from your social media (Path 09 covers exactly how much of this is publicly discoverable in far more depth).
Password managers — the actual solution
You are not expected to memorize dozens of unique 16+ character passwords — nobody does. A password manager generates and stores a unique strong password for every single account, protected behind one strong master password you memorize. Popular free/freemium options include Bitwarden, 1Password, and the password managers built into modern browsers.
:::
Choosing a genuinely strong master password
Your password manager's one master password is the single most important password you'll ever choose, since it protects every other password behind it — if it's compromised, everything is compromised at once. A long, memorable passphrase (four or five random, unrelated words — correct-horse-battery-staple is the famous example) is the widely-recommended approach: genuinely long enough to resist brute-force attempts, but structured in a way your own memory can actually hold onto without writing it down anywhere.
Two-factor authentication (2FA / MFA)
Two-factor authentication (2FA), also called multi-factor authentication (MFA), requires a second piece of proof beyond your password to log in — usually a time-based code from an app on your phone, or a physical security key. Even if an attacker steals your password entirely (through a breach or phishing), they're stopped cold without that second factor.
Common types of second factor, roughly from weakest to strongest:
| Type | How it works | Notes |
|---|---|---|
| SMS code | A text message with a one-time code | Better than nothing, but vulnerable to SIM-swapping attacks |
| Authenticator app (Google Authenticator, Authy) | A rotating 6-digit code generated on your phone, no network needed | Solid, widely supported |
| Hardware security key (YubiKey) | A physical USB/NFC device you tap or plug in | Strongest option, resistant to phishing |
What SIM-swapping actually is
SMS-based 2FA's specific weakness is worth understanding, not just knowing exists: in a SIM-swap attack, an attacker convinces (or social-engineers, Path 10) your mobile carrier into transferring your phone number to a SIM card they control — after which they receive your SMS 2FA codes directly, completely bypassing the "something only you have" premise the second factor was supposed to guarantee. This is exactly why authenticator apps and hardware keys — which don't depend on your phone number at all, only a specific device or app you actually possess — are considered meaningfully stronger.
Passkeys — the emerging passwordless alternative
An increasingly common newer option, worth knowing about: passkeys use the same public/private key cryptography referenced throughout this course's later cryptography material, generating a unique key pair per account instead of a traditional password at all. Your device proves your identity using your fingerprint, face, or device PIN to unlock a private key that never leaves your device — meaning there's no password to phish or leak from a server breach in the first place, since the server only ever stores your public key. Where available, passkeys are genuinely a stronger option than even a password-plus-2FA combination, though adoption is still gradually expanding across major platforms.
:::danger Enable 2FA everywhere you can According to Microsoft's own security research, enabling MFA blocks over 99% of automated account-takeover attempts. It is, by a wide margin, the single highest-impact security control an individual can turn on. Start with your email account — it's the "master key" that can reset almost everything else if compromised.
Account recovery — the overlooked weak link
Attackers who can't get into your password will often go after your account recovery options instead — the "Forgot password?" flow. Make sure your recovery email and phone number are current, and be aware that some recovery questions ("What's your mother's maiden name?") are often publicly findable and shouldn't be your only line of defense.
Many "security questions" ask for information that's either publicly discoverable (your mother's maiden name may well be on a genealogy site) or knowable by people close to you (your first pet, your favorite teacher) — meaning they can sometimes be easier for a determined attacker to answer than your actual password is to guess. Where a service allows it, consider entering deliberately false, memorable answers (stored in your password manager alongside the account) rather than truthful, publicly-guessable ones.
🧪 Hands-on lab — lock down your own accounts
- Install a password manager (Bitwarden is free and open-source, a solid first choice).
- Pick your single most important account — usually your primary email — and check whether 2FA is available. If it is, enable it using an authenticator app rather than SMS if you have the choice.
- Use your password manager to generate a new, unique, 16+ character password for that account, replacing whatever you were using before.
- Check whether your email address has appeared in any known data breaches using Have I Been Pwned — this is a legitimate, widely trusted service (you'll see it referenced again throughout this course).
- If any breached account still uses a password you recognize as reused elsewhere, change it now.
- Check whether any of your important accounts (banking, email, social media) currently offers passkeys as a sign-in option, and consider setting one up if so.
- Review your primary email account's security questions (if any are set) — for any that rely on genuinely guessable or publicly-findable facts, consider replacing the answer with a deliberately false one, saved securely in your password manager.
Why does length generally matter more for password strength than throwing in symbols and numbers?
Show answer
Password strength against brute-force guessing comes down to the total number of possible combinations, which grows exponentially with length — each additional character multiplies the search space by the size of your character set. An 8-character password using a big mixed character set still has far fewer total combinations than a 16-character password using a smaller, simpler character set, because length compounds far more aggressively than complexity per character. This is exactly why long passphrases (several random words strung together) are both easier to remember and harder to crack than short, symbol-heavy passwords.Key terms
- Password manager — software that generates and securely stores unique passwords per account.
- Two-factor authentication (2FA) / MFA — a second proof of identity beyond your password.
- Credential stuffing — trying leaked username/password pairs against many other sites.
- SIM-swap attack — transferring a victim's phone number to an attacker-controlled SIM, bypassing SMS-based 2FA.
- Passkey — a passwordless authentication method using public/private key cryptography instead of a shared secret.
- Account recovery — the "Forgot password?" flow, often a weaker link than the password itself.
Recap
- Most account takeovers stem from weak, reused, or phished passwords — not sophisticated cracking; dictionary attacks target predictable human password patterns before ever resorting to true brute force.
- Length beats complexity; uniqueness beats memorability — a password manager solves both, protected by one strong, memorable passphrase.
- 2FA blocks the vast majority of automated takeover attempts and should be your top security priority — authenticator apps and hardware keys resist SIM-swapping in a way SMS codes don't.
- Passkeys represent an emerging, genuinely stronger passwordless alternative worth adopting where available.
- Account recovery flows, including security questions, are a commonly overlooked weak point — keep recovery info current and consider false answers for guessable security questions.
References
- Have I Been Pwned — check if your email has appeared in a known data breach.
- Bitwarden — free, open-source password manager.
- Microsoft: One simple action you can take to prevent 99.9% of attacks on your accounts — the research behind the MFA statistic above.
- FIDO Alliance: Passkeys — a free, official explanation of how passkeys actually work.
Next up → Common tech scams for beginners