Human-Layer Security

Social Engineering & Phishing

The most-patched system still falls when an authorized human is manipulated into acting for the attacker. Learn the tradecraft, the psychology, and the socio-technical defenses.

Legal & ethical use

This lesson demonstrates offensive techniques for educational purposes and authorized security testing only. Using them against systems you do not own or lack explicit written permission to test is illegal under computer-misuse laws worldwide, including Turkey’s Penal Code (Law No. 5237, arts. 243-245). The authors and PrimeThreat accept no liability for any misuse of or damage arising from this material.

Lesson modules

Lesson 01

Overview — The Human Is the Attack Surface

  • Social engineering attacks the decision-making of people rather than flaws in code: the target is trust, attention, and habit, so even a fully patched system falls when an authorized human is manipulated into acting for the attacker.
  • Phishing is the electronic-delivery branch of social engineering and is consistently the single most common initial-access vector; it appears in ATT&CK under Initial Access (T1566) and Reconnaissance (T1598).
  • The attack chain almost always pairs a pretext (a believable story) with a payload action: click a link (T1204.001 User Execution: Malicious Link), open a file (T1204.002 Malicious File), reveal a secret, approve an MFA prompt, or perform a wire transfer.
  • Attackers do reconnaissance first — harvesting names, roles, and reporting lines from LinkedIn and breach dumps (T1598 Phishing for Information; T1589 Gather Victim Identity Information) — so a convincing message can be crafted before contact.
  • Defense must therefore be socio-technical: technical controls (email authentication, phishing-resistant MFA) plus human controls (training, verification procedures, blame-free reporting). Neither alone is sufficient.

REFERENCES

T1566
T1598
T1204.001
T1204.002
T1589
NIST SP 800-63B
ISO/IEC 27001:2022 A.6.3
Lesson 02

The Phishing Family — Bulk, Spear, Whaling, BEC

  • Bulk (commodity) phishing casts a wide, untargeted net — millions of identical lures impersonating banks, couriers, or IT — relying on volume and a small click-through rate; low effort, low per-target customization.
  • Spearphishing is targeted at a specific person or team using personalized context; ATT&CK splits it by payload: Spearphishing Attachment (T1566.001), Spearphishing Link (T1566.002), and Spearphishing via Service (T1566.003, e.g. LinkedIn/WhatsApp DMs that bypass email gateways).
  • Whaling is spearphishing aimed at high-value executives (CFO, CEO) whose authority unlocks money movement or sensitive data; the lure leans heavily on the authority principle.
  • Business Email Compromise (BEC) is the highest-dollar-loss category: the attacker impersonates an executive, vendor, or lawyer (T1656 Impersonation) to redirect payroll or a wire transfer, often with no malware at all — pure text and pretext.
  • BEC frequently follows a real account takeover: once inside one mailbox, attackers send Internal Spearphishing (T1534) from a trusted internal address and set inbox rules to hide replies, making the fraud far harder to spot.
  • Lookalike/typosquatted domains and display-name spoofing power these lures: attackers register confusable domains (T1583.001 Acquire Infrastructure: Domains) and masquerade sender identity (T1036 Masquerading).

REFERENCES

T1566.001
T1566.002
T1566.003
T1656
T1534
T1583.001
T1036
CWE-451
Lesson 03

Beyond Email — Vishing, Smishing, and Quishing

  • Vishing (voice phishing) uses a phone call to build pressure and bypass written-trail scrutiny; ATT&CK tracks it as Spearphishing Voice for access (T1566.004) and for information gathering (T1598.004). It is the help-desk attack behind the MGM/Scattered Spider breach.
  • A common vishing play is the IT-help-desk impersonation: the attacker poses as a stranded employee (T1656 Impersonation) and talks the agent into resetting a password and re-enrolling MFA on an attacker-controlled device.
  • Smishing (SMS phishing) exploits the small screen, link shorteners, and the higher trust people place in texts; it powered the 2022 0ktapus/Scattered Spider campaign that hit 100+ organizations including Twilio.
  • Quishing (QR-code phishing) embeds the malicious URL in a QR image to defeat email link scanners and to move the victim onto a personal phone outside corporate controls; the QR resolves to a credential-harvesting or AiTM page.
  • Modern voice attacks increasingly add AI voice cloning to impersonate a known executive or colleague, raising the believability of the urgency pretext (deepfake-enabled vishing).
  • Across all channels the goal is the same: get the human to authenticate, pay, or install on the attacker’s behalf — the delivery medium just changes which filters are bypassed.

REFERENCES

T1566.004
T1598.004
T1656
CWE-451
Lesson 04

In-Person and Physical Pretexts — Pretexting, Baiting, Quid Pro Quo, Tailgating

  • Pretexting is the engine under all social engineering: a fabricated but plausible scenario and identity (e.g. ‘auditor’, ‘new vendor’, ‘IT support’) that justifies the request and lowers the target’s guard (T1656 Impersonation).
  • Baiting dangles something enticing to trigger the action — the classic dropped USB stick in a parking lot, or a ‘free movie download’, leading to malware execution (T1204.002 User Execution: Malicious File; T1091 Replication Through Removable Media).
  • Quid pro quo offers a service in exchange for access or credentials — e.g. a fake support technician offering to ‘fix’ a problem if the user disables protections or reads back a code.
  • Tailgating / piggybacking is physical-access social engineering: following an authorized person through a secure door, often by carrying boxes or feigning a forgotten badge to exploit politeness.
  • Dumpster diving and shoulder surfing are reconnaissance pretexts that feed later attacks by harvesting org charts, internal jargon, and credentials.
  • Physical and process controls (badge-in/badge-out, visitor escort, clean-desk, no-shared-codes policy) are the countermeasures and map to people/physical controls in ISO/IEC 27001:2022 Annex A.

REFERENCES

T1656
T1204.002
T1091
ISO/IEC 27001:2022 A.6.3
Lesson 05

The Psychology — Cialdini’s Principles of Influence

  • Robert Cialdini’s research identifies the persuasion levers that social engineers weaponize; recognizing them by name is the core of training resistance. Each principle maps to a recurring lure pattern.
  • Authority: people defer to perceived power — a spoofed CEO email or a caller claiming to be IT. The defense is to verify role and request through an independent channel, not the one that contacted you.
  • Scarcity / Urgency: ‘act now or the account closes / the deal dies’ compresses the time to think; deliberate friction (a mandatory cool-off + verification step) neutralizes it.
  • Social Proof: ‘everyone on your team has already done this’ borrows the comfort of the crowd to normalize an abnormal request.
  • Reciprocity: a small favor (a gift card, a helpful ‘fix’) creates a felt obligation to comply with the follow-up ask — the heart of quid pro quo.
  • Liking: attackers build rapport, shared interests, and flattery; a likable, friendly caller is questioned less.
  • Commitment / Consistency: once a target agrees to something small, they are pressured to stay consistent with larger follow-on requests (the foot-in-the-door technique).
  • Training that names these triggers — supported by NIST’s Phish Scale methodology for rating lure difficulty — helps staff label the manipulation in the moment instead of reacting to it.

REFERENCES

T1656
NIST SP 800-50r1
Lesson 06

Modern Identity Attacks — MFA Fatigue, AiTM, and OAuth Consent Phishing

  • MFA fatigue / push bombing: the attacker, already holding a valid password, spams approval prompts until the worn-down or confused user taps ‘Approve’ (T1621 Multi-Factor Authentication Request Generation). Number-matching and rate-limiting prompts are the direct mitigations.
  • Adversary-in-the-Middle (AiTM) phishing kits (e.g. Evilginx-style reverse proxies) sit between victim and real site, relaying the login and stealing the post-auth session cookie — defeating one-time-code MFA (T1557 Adversary-in-the-Middle; T1539 Steal Web Session Cookie; T1111 Multi-Factor Authentication Interception).
  • Because AiTM steals the session, even SMS/TOTP/push MFA can be bypassed — this is the core argument for origin-bound, phishing-resistant FIDO2/WebAuthn credentials that cryptographically refuse to authenticate to the wrong domain.
  • OAuth consent phishing (illicit consent grant) tricks the user into approving a malicious third-party app’s permissions, granting the attacker a long-lived token to mail/files without ever capturing the password (T1528 Steal Application Access Token; abuse via T1550.001 Application Access Token).
  • These techniques explain why ‘we have MFA’ is not the finish line: the attacker’s target shifts from the password to the session, the push prompt, or the consent screen.
  • Defenses: phishing-resistant MFA (FIDO2), conditional-access/device-binding, blocking legacy auth, restricting and reviewing OAuth app consent, and short token lifetimes.

REFERENCES

T1621
T1557
T1539
T1111
T1528
T1550.001
NIST SP 800-63B
A07:2021
Lesson 07

Case Study — MGM / Scattered Spider (2023) and 0ktapus / Cloudflare (2022)

  • September 2023: the group Scattered Spider used vishing (T1566.004 / T1598.004) against the MGM Resorts IT help desk — using LinkedIn-sourced details to impersonate an employee (T1656) and convince the agent to reset MFA on a high-value account.
  • With privileged access they pivoted to identity infrastructure, then deployed ALPHV/BlackCat ransomware against ESXi hosts; MGM disclosed a financial impact of roughly $100M and days of operational outage (room keys, reservations, slot/POS systems down).
  • Caesars Entertainment was hit by the same group via the same social-engineering playbook and reportedly paid about a $15M ransom — two outcomes, one human attack vector.
  • 2022 0ktapus campaign: bulk smishing lured employees to AiTM credential pages, compromising 100+ companies including Twilio — showing how SMS lures plus phishable MFA scale to mass account takeover.
  • The instructive contrast: Cloudflare was targeted by the identical 0ktapus smishing run but was not breached, because its employees used FIDO2 hardware security keys — the phishing-resistant credential refused to authenticate to the attacker’s lookalike domain.
  • Lesson: the same lure that beats password+OTP fails against origin-bound FIDO2, and the help-desk reset path is the soft underbelly that needs out-of-band identity proofing.

REFERENCES

T1566.004
T1598.004
T1656
T1621
T1078
Lesson 08

Defense Part 1 — Technical Controls (Email Authentication and Phishing-Resistant MFA)

  • SPF (RFC 7208) publishes which mail servers may send for your domain, letting receivers reject forged envelope senders — the first layer against domain spoofing.
  • DKIM (RFC 6376) cryptographically signs outbound mail so receivers can verify it was authorized by the domain and was not altered in transit.
  • DMARC (RFC 7489) binds SPF and DKIM to the visible From: header via alignment and tells receivers what to do on failure (none/quarantine/reject) plus sends aggregate reports — set an enforcing p=reject policy to stop exact-domain spoofing.
  • ARC (RFC 8617) preserves authentication results across legitimate forwarders/mailing lists so DMARC does not false-positive on indirect mail flows.
  • Email authentication stops exact-domain spoofing but NOT lookalike domains or display-name tricks, so it must be paired with gateway link/attachment analysis and user reporting.
  • Phishing-resistant MFA via FIDO2/WebAuthn (W3C Web Authentication + FIDO CTAP) is the strongest control: the credential is bound to the legitimate origin, so AiTM proxies and lookalike domains cannot replay it. NIST SP 800-63B classifies this as verifier-impersonation-resistant (AAL3-capable).
  • Supporting controls: number-matching on push MFA, blocking legacy/basic auth, restricting OAuth app consent, and DNS/brand monitoring for newly registered lookalike domains.

REFERENCES

RFC 7208
RFC 6376
RFC 7489
RFC 8617
NIST SP 800-63B
CWE-308
A07:2021
Lesson 09

Defense Part 2 — Human and Process Controls

  • Out-of-band verification is the highest-leverage process control: any request to move money, change bank details, or reset credentials must be confirmed via a separately-sourced, known channel (call back a number from the directory, not the one in the message). This directly defeats BEC and help-desk vishing.
  • Harden the help-desk identity-proofing flow specifically: require strong, non-public verification (e.g. manager callback, in-person, or trusted-device challenge) before any MFA reset — the exact gap exploited at MGM.
  • Security-awareness training, including realistic simulated-phishing exercises and the Cialdini trigger vocabulary, builds recognition; ISO/IEC 27001:2022 control 6.3 and NIST SP 800-50r1 frame it as an ongoing program, not a one-off. NIST’s Phish Scale helps calibrate exercise difficulty fairly.
  • Blame-free reporting culture is essential and counter-intuitive: punishing the person who clicked suppresses reporting, which is the metric that actually shortens dwell time. Make a one-click ‘Report Phish’ button frictionless and reward fast reporting.
  • Measure the right thing: report rate and time-to-report matter more than click rate, because a quickly reported click can be contained before damage.
  • Regulatory backing: PCI DSS v4.0 requires anti-phishing mechanisms (req 5.4.1) and social-engineering awareness in training (req 12.6.3); align programs to these and to ISO 27001 Annex A.
  • Layer least privilege and segmentation behind the human layer (T1078 Valid Accounts assumption): assume some phish will succeed and limit what a single compromised identity can reach.

REFERENCES

NIST SP 800-50r1
ISO/IEC 27001:2022 A.6.3
PCI DSS v4.0 Req 12.6.3
PCI DSS v4.0 Req 5.4.1
T1078
Lesson 10

ATT&CK Quick-Reference Map

  • Reconnaissance: T1598 Phishing for Information (T1598.004 Spearphishing Voice); T1589 Gather Victim Identity Information.
  • Resource Development: T1583.001 Acquire Infrastructure: Domains (lookalike/typosquat); T1585/T1586 Establish/Compromise Accounts; T1656 Impersonation.
  • Initial Access: T1566 Phishing — T1566.001 Attachment, T1566.002 Link, T1566.003 via Service, T1566.004 Voice; T1078 Valid Accounts (post-credential-theft login).
  • Execution (victim action): T1204.001 User Execution: Malicious Link; T1204.002 Malicious File (USB-baiting execution step).
  • Credential Access / Defense Evasion: T1557 Adversary-in-the-Middle; T1111 MFA Interception; T1621 MFA Request Generation; T1539 Steal Web Session Cookie; T1528 Steal Application Access Token; T1550.001 Application Access Token.
  • Initial Access / Lateral Movement: T1091 Replication Through Removable Media (USB baiting); T1534 Internal Spearphishing; T1036 Masquerading.

REFERENCES

T1566
T1598
T1656
T1621
T1557
T1111
T1539
T1528
T1550.001
T1534
T1204.001
T1078
T1583.001

Defense is socio-technical

Email authentication and phishing-resistant MFA close the technical gaps; out-of-band verification, hardened help-desk identity proofing, and a blame-free reporting culture close the human ones. Neither layer alone is enough.