Introduction to Security · 1.2

🔐 Authentication & Password Security

Proving you are who you say you are — and making it hard to fake⏱ ~3 min

🏦Authentication is the bouncer at the door

A nightclub bouncer checks your ID to prove you are who you claim to be. Authentication does the same thing digitally — it's the process of proving your identity before being granted access. The ID is your password. But what if someone makes a fake ID? That's why modern security adds more checks — something you have (a phone), something you are (your fingerprint). Two fake IDs are much harder to make than one.

The Five Authentication Factor Types

FactorTypeExamplesWeakness
Something You KnowKnowledgePassword, PIN, passphrase, security questionCan be guessed, stolen, or phished
Something You HavePossessionAuthenticator app, SMS code, hardware key (FIDO2), smart cardDevice can be lost or stolen
Something You AreInherenceFingerprint, Face ID, iris scan, voice recognitionCan't be changed if compromised; fails in some conditions
Something You DoBehaviorTyping rhythm, swipe patterns, mouse movementCan change with injury or stress; harder to implement
Somewhere You AreLocationIP address, GPS geofencing, time zoneVPNs can spoof location; travelers trigger false alerts

Multi-Factor Authentication (MFA)

MFA requires two or more factors from different categories. A password + SMS code = MFA (Know + Have). A password + another password = NOT MFA (both are 'Know'). The whole point is that an attacker who steals your password still can't log in without your phone.

Weak: Password alone
  • Stolen in one phishing email
  • Cracked offline by automated tools
  • Reused on multiple sites (credential stuffing)
  • Colonial Pipeline attack: 1 stolen password → fuel shortage across SE United States
  • One attack = complete account takeover
Strong: MFA enabled
  • Attacker needs password AND your physical phone
  • Phishing-resistant FIDO2 keys can't be intercepted even on fake sites
  • Even if breach exposes your password, your account stays safe
  • Google: MFA blocks 99.9% of automated account attacks
  • Attacker would need to physically steal your device too

Passphrases Beat Passwords

  • P@ssw0rd! — looks complex but attackers know every substitution pattern. Cracked in seconds.
  • canoe-window-pepper-orbit — 4 random words, 27 characters. Decades to crack by brute force.
  • Length beats complexity — every extra character multiplies crack time exponentially
  • Randomness beats patterns — 'i luv my d0g!' is weak because it follows a guessable structure
  • Password managers let you use a unique 20+ character random password on every site — no memorization needed

Common Password Attack Types

  • Brute Force — trying every possible combination (very slow for long passwords)
  • Dictionary Attack — trying common words and known password patterns first
  • Credential Stuffing — taking username/password pairs from one breached site and trying them everywhere else (works because people reuse passwords)
  • Phishing — tricking you into typing your password on a fake site
  • Shoulder Surfing — watching you type your password in public
  • Keylogger — malware that records every keystroke
★ FactThe 2023 23andMe breach started with credential stuffing — attackers used 14,000 already-compromised passwords from other breaches to log in. Once in, they accessed DNA profiles of 6.9 million people through a connected 'relatives' feature. The passwords weren't stolen from 23andMe — they were reused from other breached sites. One password reused = breach at every site you used it.
🔒 SecuritySigns that your account may be under a password attack: login notifications from locations you don't recognize; 'failed login attempt' emails you didn't trigger; being locked out of your own account after failed attempts (attacker triggered the lockout); email address appearing in HaveIBeenPwned.com. Immediate response: change password, enable MFA, check active sessions and revoke any you don't recognize.
🧠Quick Checkfirst try = +5 XP

After the RockYou2024 data breach exposed 10 billion passwords, an attacker uses automated tools to try those exact credential pairs against email providers and banks. What attack technique is this, and why does MFA stop it?

0 XP🔥 0 days