Modlishka is an open-source penetration testing tool that transparently proxies multi-domain HTTP and HTTPS traffic through one domain for authorized security research.
Overview
Modlishka acts as a man-in-the-middle reverse proxy for browser-based traffic. It can forward TLS and non-TLS requests for multiple destination domains through a single listening domain without extra client certificates.
The project was released to demonstrate adversary-in-the-middle techniques against common two-factor authentication schemes and to raise awareness for defenders. Configuration uses command-line flags and JSON files, with optional JavaScript injection and modular plugins.
Security-oriented features include support for many 2FA schemes, credential harvesting with URL context, and an extensible plugin architecture. A web panel plugin offers credential management and session impersonation in beta.
Modlishka runs on Windows, macOS, Linux, and BSD. The authors state it is intended strictly for authorized research and professional security testing.
Key features
- HTTP and HTTPS reverse proxying
- Multi-domain traffic on one host
- JSON and CLI configuration
- Pattern-based JavaScript injection
- TLS wrapping for legacy sites
- Modular plugin architecture
- Automatic TLS certificate plugin
- 2FA scheme testing support
Use cases
- Authorized phishing penetration tests
- 2FA awareness research
- TLS wrap for legacy websites
- Transparent reverse proxy experiments