Tooling (GoPhish, SET)
This card covers the toolset to run and measure social engineering campaigns in an authorized engagement: from the phishing framework to credential/session capture and page cloning, always within a scope with written consent. These are general industry tools; the goal is to understand them both to use them with permission and to recognize them from the defensive side.
Threat model
Section titled “Threat model”- What these tools enable: launching, tracking, and measuring campaigns; capturing credentials or sessions; cloning pages.
- Risk if abused: fraud and intrusion. That’s why they’re used only with a signed scope and captured data is treated as personal data (GDPR).
- Defensive value: knowing their artifacts (landing signatures, domains, headers) makes them detectable.
GoPhish — managed campaigns
Section titled “GoPhish — managed campaigns”A platform to launch campaigns with tracking and metrics (open, click, credential submit). Its pieces are the Sending Profile (SMTP), the Email Template, the Landing Page, Users & Groups, and the Campaign. The dashboard gives per-user and per-group rates, which are the basis of the awareness report.
# Typical install on a test host (summary)wget https://github.com/gophish/gophish/releases/latest/download/gophish-linux-64bit.zipunzip gophish-linux-64bit.zip -d gophish && cd gophish# Edit config.json: admin on 127.0.0.1, phish server on the public port./gophish # the log prints the initial admin passwordFlow: configure the sending profile (authenticated domain) → template → landing (clone) → authorized target group → launch and observe metrics.
SET — Social-Engineer Toolkit
Section titled “SET — Social-Engineer Toolkit”A classic Python framework with several vectors. Its best-known module is the Credential Harvester, which clones a login and captures what’s submitted; it also includes Website Attack, spear-phishing, payload generation, and QR. It’s very didactic for a lab and demos.
Session phishing / AiTM (MFA theft)
Section titled “Session phishing / AiTM (MFA theft)”flowchart LR
V[Victim] --> X[Attacker AiTM proxy]
X --> S[Real service + MFA]
S --> X
X -. captures session cookie .-> A[Attacker]
A --> S2[Already-authenticated session: evades MFA]
- Evilginx: a “man-in-the-middle” proxy that relays the real login and captures the session cookie; it evades MFA because it steals the already-authenticated session, not just the password.
- EvilProxy: the same idea offered “as-a-service” and used by real actors.
Only in an authorized engagement; its didactic value is showing why non-phishing-resistant MFA isn’t enough.
Page cloning and infrastructure
Section titled “Page cloning and infrastructure”- Clone of the target login (SET/manual/httrack) served on own infrastructure with TLS.
- HTML attachments that build the landing client-side; QR for quishing.
- Shorteners/redirectors for the link, within scope.
- Look-alike domain + categorization + SPF/DKIM/DMARC of the testing domain (deliverability), with a TLS certificate (Let’s Encrypt).
- Secure logging and custody of what’s captured → personal data (GDPR), destroy after the report.
Red Team (how it fits)
Section titled “Red Team (how it fits)”- Choose the tool by goal: GoPhish for awareness metrics, SET for lab demos, Evilginx/AiTM to show the limit of weak MFA (if in scope).
- Integrate with the pretext (Pretexting & OSINT) and the channel (phishing or vishing).
- Document configuration and minimal evidence so the finding is reproducible by the client.
Blue Team — recognizing these tools
Section titled “Blue Team — recognizing these tools”- Detection of look-alike domains and phishing kits (SET/GoPhish/Evilginx landing signatures).
- Phishing-resistant MFA (FIDO2): nullifies Evilginx/EvilProxy session theft.
- URL rewriting/detonation, mail analysis, and hunting for stolen session cookies (anomalous geo/UA, impossible sessions).
- Threat intel on kits and domains (see IOCs & TTPs) for proactive blocking.
Real-world cases
Section titled “Real-world cases”- EvilProxy / Evilginx: mass MFA-session-theft campaigns against M365/Google documented by multiple vendors.
- SET has been a reference tool in training and pentest reports for over a decade.
- Phishing-as-a-service (PhaaS) kits lower the barrier to entry and fuel BEC at scale.
Checklist
Section titled “Checklist”- Written authorization and scope (domains, targets, exclusions)
- Chosen framework (GoPhish for metrics, SET for demo, Evilginx for AiTM)
- Domain + mail authentication + landing TLS ready
- Template and landing consistent with the pretext
- Metrics tracking configured (open/click/credential/report)
- GDPR custody and destruction of what’s captured
- Demonstrate the impact of non-phishing-resistant MFA (if in scope)