National Cyber Warfare Foundation (NCWF)login

Evilginx3-Phishlets for understanding adversary-in-the-middle credential harvesting infrastructure


0 user ratings
2026-10-28 13:29:08
milo
Red Team (CNA)
"Evilginx3-Phishlets

A maintained collection of phishlet configuration templates for Evilginx3, analyzed here as an educational reference for defenders and authorized red teams studying reverse-proxy phishing architecture.








Toolsimplerhacking/Evilginx3-Phishlets — a curated, periodically updated collection of Evilginx3 phishlet configuration templates plus a documented example template
CategoryOffensive security configuration templates / adversary-in-the-middle phishing infrastructure
Primary UseReference material for authorized red teams building controlled phishing simulations with Evilginx3, and for defenders studying phishlet structure to build detections
Safe UseOnly within explicitly authorized penetration tests, red team engagements with written scope, and training labs; the repository's own disclaimer restricts use to controlled environments by cybersecurity professionals
Telemetry NoteReverse-proxy phishing leaves distinctive traces: TLS certificates for lookalike domains, server-side URL rewriting in delivered content, session anomalies when captured cookies are replayed from new IP/user-agent pairs, and abnormal token reuse visible to identity providers' conditional access logs

simplerhacking/Evilginx3-Phishlets is a repository that assembles phishlet configuration files — the YAML blueprints that tell the Evilginx3 adversary-in-the-middle proxy how to mirror a target site and intercept authentication traffic. With roughly 752 stars on GitHub and a topic list spanning evilginx3, phishing, redteaming, and pentesting, it has become one of the more visible public collections of these templates. This writeup treats the repository as documentary material: we examine the structure of a phishlet as published in the README, why the format matters to both offensive and defensive practitioners, and what the repository's composition reveals about the current state of reverse-proxy phishing tooling.


It is worth being blunt about what the repository actually contains. The README is dominated by promotion for a paid training course, the Evilginx Phishlet Developer Masterclass (2025), with curriculum previews covering phishlet architecture, session cookie interception, and handling of multi-factor authentication and CAPTCHA flows. The substantive technical artifact included inline is a demo phishlet template targeting a placeholder {domain}, plus a parameter-by-parameter explanation of the Evilginx phishlet schema. That documentation section is the most valuable part for an analyst: it is a clean, neutral description of how these configuration files are assembled, and it is what we will focus on here rather than on any operational detail.


A phishlet is declared in YAML with a name, author, and a min_ver field pinning the minimum compatible Evilginx version — the demo specifies '3.2.0'. The core of the file is the proxy_hosts block, which maps an origin subdomain (orig_sub) to the subdomain the impersonation page will present (phish_sub), with flags like session: true and is_landing: true controlling cookie handling and which host serves the initial page. Understanding this mapping is essential for defenders because it explains precisely why lookalike infrastructure needs valid TLS and consistent subdomain structure to remain convincing.


The sub_filters list is where the mechanics of a reverse proxy become visible. Each filter applies a search/replace transformation — swapping the legitimate {domain} for the operator's {hostname} — across a whitelist of mimes including text/html, application/javascript, text/css, application/json, and font/image types. The README's separate filter entry for application/x-www-form-urlencoded shows deliberate handling of form-posted data. From a defensive standpoint, this server-side rewriting is the fundamental signature of the technique: every asset served to the victim has been re-authored to point at attacker-controlled infrastructure.


Authentication capture is configured through three cooperating sections. The creds block pairs a key such as username or password with a search regular expression and a type like post, describing how submitted form values are extracted. The auth_tokens block names the cookies — in the demo, a single session key bound to {domain} — that constitute the harvested session material. Finally, auth_urls defines URL patterns, with valid_statuses like [200], that Evilginx treats as evidence of successful authentication, triggering token capture. The login block closes the loop by naming the form fields and the legitimate login URL so the proxy can automate validation.


The README's parameter glossary also documents optional blocks that reveal how operators adapt to modern authentication friction. force_post coerces HTTP method changes from GET to POST, is_landing designates the entry page of the simulation, js_inject allows JavaScript to be injected into proxied pages — described as a means of smoothing the victim's browsing experience — and domain acts as a template variable for portability across targets. These fields collectively explain why cookie-based session theft is the preferred objective: replaying a valid session cookie sidesteps password changes and many second-factor prompts, which is precisely the failure mode that FIDO2/WebAuthn phishing-resistant authentication is designed to close.


Where does this fit in an authorized workflow? Legitimate use is narrow and contractual: a red team with explicit written scope deploys Evilginx3 in a simulation against a client's own environment or consenting test accounts, using phishlets modeled on the client's actual identity providers, to measure susceptibility to adversary-in-the-middle attacks and to validate compensating controls. The repository's own disclaimer states the tools are intended solely for legal and ethical use by cybersecurity professionals in controlled environments, and it should be taken at face value: deploying these templates against systems you do not own or against real third-party services is computer fraud in most jurisdictions, full stop.


For blue teams, this repository is arguably more useful as a defensive artifact than an offensive one. Every field in the template schema suggests a detection surface. Lookalike domains presenting valid TLS certificates for brands they do not represent are enumerable through certificate transparency logs. The sub_filters rewriting means that links inside simulated phishing emails resolve to infrastructure whose registered domain differs from the brand being rendered — a mismatch that mail security gateways and browser warnings attempt to surface. The auth_urls replay logic implies that harvested sessions will later appear from unfamiliar autonomous systems, devices, and user agents, which is exactly the anomaly class that conditional access and impossible-travel heuristics in identity platforms are tuned to catch.


Because the templates are configuration rather than compiled code, defenders can also study them statically. Any YAML file with the distinctive combination of proxy_hosts, sub_filters, auth_tokens, creds, and auth_urls keys is unambiguously an Evilginx phishlet, making the format itself a high-fidelity indicator during incident response — a file of this shape on a seized or leaked host is strong evidence of phishing-kit development rather than generic malware. Threat intelligence teams tracking criminal operators frequently profile groups by the phishlet versions, min_ver compatibility, and stylistic quirks of the templates they ship, and public collections like this one provide the baseline vocabulary for that kind of comparison.


The governance picture deserves a caveat. A large share of the README is commercial marketing for a paid masterclass, meaning the repository functions partly as a funnel toward paid training and custom phishlet development services offered by the maintainers under the SimplplerHacking-adjacent brand simplerhacking.com. There is nothing inherently wrong with a vendor maintaining a free sample library alongside paid offerings — this is a common model in offensive security — but readers should calibrate accordingly: the free templates are the demonstration layer, and the depth of the collection should be verified against the actual repository contents rather than the promotional copy. The absence of a declared license in the repository metadata is an additional caution for anyone considering redistribution or reuse of the files.


Operationally, acquiring the material is a standard git clone of the public repository, and the templates themselves are inert YAML without a running Evilginx3 instance — they are data, not executables. That distinction matters for security teams writing policy: possession of phishlet files is not, by itself, an indicator of an active compromise, though it is a strong signal of intent or research activity that warrants context. For training labs, vendors of purple-team ranges and phishing-simulation platforms provide safer, purpose-built alternatives that exercise the same defensive detections without maintaining reverse proxies pointed at real identity providers.


In sum, Evilginx3-Phishlets documents a configuration format that sits at the center of one of the most effective credential-theft techniques in current use. Read defensively, it is a free education in how adversary-in-the-middle phishing is structured, what artifacts it necessarily produces, and which controls — phishing-resistant MFA, certificate transparency monitoring, token binding, and session-anomaly detection — actually blunt it. Read offensively, it is a starting point that only has legitimate meaning inside a scoped, authorized engagement. Either way, the schema documented in the README is worth knowing cold, because the technique it configures is not going away, and the defenders who understand its internals are the ones who catch it.



Official project repository for simplerhacking/Evilginx3-Phishlets.

Download Tool

Educational analysis for authorized security professionals. Use only in controlled, authorized environments.






Source: OffensiveSec
Source Link: https://www.offsecblog.com/2026/10/evilginx3-phishlets-for-understanding.html


Comments
new comment
Nobody has commented yet. Will you be the first?
 
Forum
Red Team (CNA)



Copyright 2012 through 2026 - National Cyber Warfare Foundation - All rights reserved worldwide.