Phishing & Spoofing – Advanced Study Notes
(MIT‑level, first‑principles treatment for the NCO Cyber Olympiad)
Scope – Networking, Internet & Cyber Security
Audience – Graduate students, advanced undergraduates, and research‑oriented participants.
Goal – Understand the mechanisms, theory, edge cases, and defense strategies of phishing and spoofing attacks, and develop the analytical tools needed to design robust countermeasures.
1. Foundations
| Concept | First Principles | Key Takeaway |
|---|---|---|
| Authentication | Digital signatures, PKI, TLS handshakes | A trust anchor (certificate, key) is required for any secure communication. |
| Integrity | Hash functions, MACs | Any tampering is detectable if the integrity tag is verified. |
| Non‑repudiation | Asymmetric cryptography | The sender cannot deny sending the message. |
| Session Binding | TLS session IDs, cookies | The client and server must prove they belong to the same session. |
Phishing and spoofing attack the trust chain by faking authentication, bypassing integrity checks, and masquerading as legitimate entities.
2. Phishing
2.1 Definition & Taxonomy
| Category | Description | Typical Vector |
|---|---|---|
| Phishing | Mass‑distributed deceptive emails or sites that trick users into revealing credentials or installing malware. | Email, SMS, social media |
| Spear Phishing | Targeted attacks tailored to a specific individual or organization. | Custom emails, known contacts |
| Whaling | High‑profile targets (CEOs, CFOs). | Executive‑level phishing, business e‑mail compromise |
| Vishing | Voice‑based phishing (phone calls). | Caller ID spoofing, TTY |
| Smishing | SMS phishing. | Short‑code or spoofed numbers |
| Pharming | DNS or local cache poisoning redirecting users to malicious sites. | DNS spoofing, router compromise |
| Credential Stuffing | Automated login attempts using leaked credentials. | Mass brute‑force on login forms |
2.2 Mechanisms
-
Email Spoofing
- SMTP: The
MAIL FROMheader can be forged; many mail servers do not validate it. - SPF / DKIM / DMARC: Mechanisms to authenticate email. Spammers bypass by using compromised domains or manipulated headers.
- SMTP: The
-
Fake Websites
- URL Shortening / Typosquatting: Slightly different domain names that appear legitimate.
- HTTPS Misuse: Self‑signed certs or stolen certs can trick browsers if users ignore warnings.
-
Session Hijacking
- Cross‑site scripting (XSS) to steal cookies.
- Man‑in‑the‑Middle (MITM) to capture session tokens.
-
Social Engineering
- Psychological manipulation: urgency, authority, scarcity.
- Impersonation: Using official logos, language patterns.
2.3 Technical Details: Email Authentication
| Protocol | SPF | DKIM | DMARC |
|---|---|---|---|
| SPF | Sender Policy Framework – verifies IP against TXT records. |
No | |
| DKIM | No | DomainKeys Identified Mail – digital signature of headers & body. | |
| DMARC | No | No | Domain-based Message Authentication, Reporting & Conformance – policy for SPF/DKIM failures. |
Why spoofing works
- SPF