Skip to content
Pwnversity
SE-PHISHINGintermediate · 6 min · upd. 2026-10

Phishing campaigns

T1566

Phishing is the number-one intrusion vector. This card covers how a campaign is designed and run in an authorized engagement (from pretext to infrastructure to metrics) and, above all, how it’s stopped on the defensive side. It includes no ready-to-abuse email templates: the focus is methodological and defensive.

  • Attacker’s goal: steal credentials or a session, run a payload, or redirect a payment (BEC).
  • Authorized exercise’s goal: measure the click/credential-submit rate and, above all, the report rate, to improve training and controls.
  • What is not done: campaigns against third parties out of scope, unnecessary retention of personal data, or naming specific employees.
  • Mass phishing: generic email to many people; low rate, high volume.
  • Spear phishing: targeted and personalized with OSINT (see Pretexting & OSINT); high effectiveness.
  • Whaling: aimed at senior executives (CEO/CFO).
  • BEC (Business Email Compromise): CEO/vendor fraud to redirect payments, often without malware.
  • Clone phishing: copy of a legitimate email with a swapped link or attachment.
  • Quishing: the link travels inside a QR code to dodge the mail filter.
flowchart TD
    A[Target OSINT] --> B[Pretext and lure]
    B --> C[Infra: domain + mail authentication]
    C --> D[Delivery to the inbox]
    D --> E{Does the victim click?}
    E -- No / reports --> F[SOC blocks and investigates]
    E -- Yes --> G[Cloned landing on controlled infra]
    G --> H[Credential or session capture]
    H --> I[Access or awareness metric]

Anatomy of the pretext and lure (conceptual)

Section titled “Anatomy of the pretext and lure (conceptual)”
  • Sender: look-alike domain (typosquatting), trusted display name, or compromised domain.
  • Subject: appeals to urgency or authority.
  • Body: imitated brand, a link that looks legit, and a clear call to action.
  • Landing: login page cloned on your infrastructure (only with authorization).
  • Timing: work hours; avoid language and formatting errors that give it away.
  • Credible-looking domain, categorized and with an “aged” registration.
  • Authenticated mail to reach the inbox: SPF/DKIM/DMARC of the testing domain.
  • TLS on the landing; redirect after capture; clean custody of what’s captured.
  • Campaign framework (GoPhish, see Tooling) for sending, tracking, and metrics.

Every captured credential is personal data: handle it per GDPR and destroy it after the report.

Mail authentication you’ll see (and how defense uses it)

Section titled “Mail authentication you’ll see (and how defense uses it)”

These same records are what the defense must harden. Correct examples:

; SPF (TXT on the root domain)
example.com. IN TXT "v=spf1 include:_spf.google.com -all"
; DKIM (TXT on selector._domainkey)
s1._domainkey.example.com. IN TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSq...AQAB"
; DMARC (TXT on _dmarc)
_dmarc.example.com. IN TXT "v=DMARC1; p=reject; rua=mailto:dmarc@example.com; adkim=s; aspf=s"
  • -all in SPF rejects unauthorized sources (don’t use ~all in a mature production setup).
  • p=reject in DMARC blocks direct domain spoofing; adkim=s/aspf=s require strict alignment.
  • Define a measurable scenario and goal with the client (click vs. credential vs. report).
  • Personalize with OSINT only as needed (spear) and respect exclusions.
  • Prepare domain, authentication, and your own landing with TLS.
  • Launch in the agreed window; monitor metrics without over-exposing data.
  • Note: AiTM/session theft (Evilginx) shows why non-phishing-resistant MFA isn’t enough → Tooling.
  • Phishing-resistant MFA (FIDO2/passkeys): even if the password is stolen, they don’t get in.
  • DMARC at p=reject + aligned SPF/DKIM; mail filtering, attachment sandboxing, and URL rewriting.
  • Training + simulations periodically; an easy report button and fast SOC response.
  • Detection and blocking of look-alike (typosquatting) domains; isolate the click with remote browsing.
  • Alerts on credential submission and hunting for stolen session cookies (see IOCs & TTPs).
  • Open, click, credential-submit, and report-to-SOC rates.
  • Time to first report: the sooner, the better the defensive culture.
  • The report trains and improves controls; it does not name people.
  • BEC: billions in cumulative losses per IC3/FBI, often without malware.
  • Google/Facebook (2013-2015): BEC that diverted ~$100M with fake vendor invoices.
  • APT campaigns using spear-phishing as initial access (see MITRE ATT&CK).
  • MFA session theft with Evilginx/EvilProxy (real-time phishing) widespread.
  • Written scope and authorization (target list, exclusions)
  • OSINT to personalize (spear) done
  • Domain/sender and mail authentication prepared
  • Lure with a clear influence principle
  • Landing cloned on own infrastructure with TLS
  • Open/click/credential/report tracking configured
  • GDPR handling of captured credentials (and destruction)
  • Report aimed at training and controls