courses

Social Engineering

Attacking the human, not the machine

Every other defense in this course — access control, cryptography, memory-safety mitigations — hardens the machine. Social engineering ignores all of it and attacks the person operating the machine. Why spend weeks finding a memory-corruption bug in a hardened, ASLR-protected server when you can email an employee a fake invoice and have them wire you the money — or hand you their password — voluntarily?

This is not a fringe technique. It is the most common entry point for real breaches. The overwhelming majority of incidents begin with a human being convinced to click a link, open an attachment, approve a login, or move money. An attacker who phishes one valid credential skips straight past the firewall, the VPN, and the patch cycle, and arrives authenticated. From there the host-attack lifecycle takes over.

The defining property of social engineering: the victim chooses to take the harmful action. There is no exploit in the software sense — the “vulnerability” is human psychology, and it does not get patched.

Why it works: the psychology

The reason social engineering is so durable is that it exploits cognitive shortcuts that are normally useful. Robert Cialdini’s principles of influence — written for marketing, but a near-perfect attacker playbook — explain why people comply. Recognizing the lever being pulled is the first defense:

Principle How an attacker weaponizes it
Authority Spoofs the CEO, IT, the IRS, or police — people defer to perceived authority. “This is the Help Desk, we need your password to fix your account.”
Urgency / Scarcity “Your account will be locked in 1 hour.” Time pressure short-circuits careful thinking — the single most common phishing ingredient.
Reciprocity Does a small “favor” first (holds a door, sends a useful file) so you feel obliged to return one.
Liking Builds rapport; impersonates a colleague or friend. We say yes to people we like.
Social proof “All your coworkers have already completed this.” People follow the herd.
Commitment / consistency Gets a small “yes” first, then escalates — once you’ve started complying, stopping feels inconsistent.
Unity Invokes shared identity (“as a fellow alum/veteran/team member…”) to lower your guard.

Notice that urgency + authority is the recurring combination in nearly every phishing message: a powerful figure demanding immediate action. When you feel both at once in an unexpected message, that is the signal to slow down.

The taxonomy of attacks

Social engineering comes in many delivery channels, but the goal is always one of: steal credentials, deliver malware, or induce a payment/action.

Phishing and its variants

Beyond the inbox

Scams and fraud

The same techniques drive consumer fraud at scale: tech-support scams (“your computer is infected, call this number”), romance scams, investment/”pig-butchering” scams, gift-card scams, and invoice fraud. These overlap heavily with the forensics privacy material and are reported to the FBI’s IC3.

Business Email Compromise: where the money is

Business Email Compromise (BEC) deserves its own section because it is, in raw dollars, one of the most damaging cybercrimes in existence — and it often involves no malware at all, just a convincing email. The attacker either spoofs or takes over a trusted email account (a CEO, a vendor, a real-estate title company) and instructs someone in finance to wire funds or change payment details.

The FBI’s Internet Crime Complaint Center (IC3) reported roughly $2.8 billion in BEC losses in 2024 alone, and nearly $8.5 billion across 2022–2024. It is consistently among the costliest categories in the entire report — outpacing ransomware in total dollars for years.

Common BEC patterns:

The defense is almost entirely process, not technology: out-of-band verification (call the requester on a known number, never one from the email) and dual control / separation of duty for payments — the same access-control principle that requires two people to approve a wire.

Worked example: dissecting a phishing email

Email is trivially spoofable — the From: header is just text the sender types. The real provenance lives in the headers and in the three email-authentication checks (SPF, DKIM, DMARC). Most mail clients hide headers; “Show Original” / “View Source” reveals them.

Look at the Authentication-Results header the receiving server stamps on:

Authentication-Results: mx.pdx.edu;
       spf=fail (sender IP is 203.0.113.7)
          smtp.mailfrom=paypa1-billing.example;
       dkim=none;
       dmarc=fail (p=reject) header.from=paypal.com
Received: from unknown (HELO mailer.cheap-vps.example) (203.0.113.7)
From: "PayPal Service" <security@paypal.com>
Return-Path: <bounce@paypa1-billing.example>
Subject: Urgent: your account has been limited

Every red flag an analyst needs is here:

You can inspect a domain’s published SPF policy yourself with dig:

$ dig +short TXT paypal.com | grep spf
"v=spf1 include:_spf.paypal.com include:pp._spf.paypal.com -all"
                                                            └ "-all" = hard fail
                                                              anything not listed

⚠️ SPF, DKIM, and DMARC are the technical backbone of email anti-spoofing — they are covered in depth on the Email Security page. Crucially, they stop an attacker from forging your exact domain, but they do not stop look-alike domains (paypa1.com), display-name spoofing, or a genuinely compromised account — which is exactly why BEC still works despite universal DMARC adoption.

URLs get the same scrutiny: hover (don’t click) to see the real target, watch for look-alike/homoglyph domains, sub-domain tricks (paypal.com.secure-login.example — the real domain is secure-login.example), and URL shorteners hiding the destination.

Defending against social engineering

Because the target is human, defense is layered across technology, people, and process — no single control is enough. This is defense in depth applied to the human attack surface.

Technical controls

Human controls

Process controls

Key takeaways

References


Related course pages: Identity and Access Management · Access Control and Authorization · Host Security and the Attack Lifecycle · Incident Response · Privacy

🛠️ Maintenance note: the BEC/phishing dollar figures are from the FBI IC3 2024 report (released April 2025) — refresh them when the next annual IC3 report drops. AI-driven voice/video deepfakes are rapidly changing vishing and whaling; revisit that section each term.