SE-PHISHINGintermediate · 6 min · upd. 2026-10
Phishing campaigns
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.
Threat model
Section titled “Threat model”- 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.
Theory: types of phishing
Section titled “Theory: types of phishing”- 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.
How it works: the attack chain
Section titled “How it works: the attack chain”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.
Infrastructure (authorized engagement)
Section titled “Infrastructure (authorized engagement)”- 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"-allin SPF rejects unauthorized sources (don’t use~allin a mature production setup).p=rejectin DMARC blocks direct domain spoofing;adkim=s/aspf=srequire strict alignment.
Red Team (process, not templates)
Section titled “Red Team (process, not templates)”- 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.
Blue Team (defense)
Section titled “Blue Team (defense)”- 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).
Metrics and reporting
Section titled “Metrics and reporting”- 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.
Real-world cases
Section titled “Real-world cases”- 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.
Checklist
Section titled “Checklist”- 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
References
Section titled “References”PrerequisitesFundamentals