Skip to main content

What Is Modlishka?

Modlishka is an HTTP reverse proxy written in Go by Piotr Duszynski. It proxies arbitrary domains to test weaknesses in two-factor authentication schemes and session handling. It is licensed under the GNU General Public License v3.0 or later, which permits commercial use under the terms of the license.

Use Cases

Security researchers and authorized penetration testers who need a configurable reverse proxy to test the resilience of web authentication flows, including OTP and session cookie handling, in consent-based assessments.

Strengths and Limitations

Strengths

  • +Supports most 2FA schemes by design without manual per-target template creation.
  • +Point-and-click domain proxying with command-line and JSON configuration options.
  • +Stateless design allows horizontal scaling through DNS load balancing.

Limitations

  • -The author's write-up names U2F hardware tokens as the technical countermeasure to this reverse-proxy technique.
  • -Domain translation is automatic in most cases; some domains need manual configuration.
  • -Some features, such as the web panel plugin, are marked as beta.

Defensive Use

Test whether 2FA and session controls can resist reverse-proxy interception, then prioritize U2F hardware token adoption.

Modlishka Alternatives

3 tools
ToolPricing
Evilginx

Reverse-proxy framework that tests MFA and session resilience by proxying legitimate websites, with an open-source core and commercial Pro edition.

Free / Commercial
Gophish

Open-source phishing simulation framework with a web UI and JSON API for building, sending, and tracking campaigns with detailed analytics.

Open Source
The Social-Engineer Toolkit (SET)

Open-source Python framework from TrustedSec for authorized social-engineering assessments with guided attack vectors and Metasploit integration.

Open Source

Frequently Asked Questions

What is Modlishka?→

Modlishka is an HTTP reverse proxy written in Go by Piotr Duszynski. It proxies arbitrary domains to test weaknesses in two-factor authentication schemes and session handling. It is licensed under the GNU General Public License v3.0 or later, which permits commercial use under the terms of the license.

What is Modlishka used for?→

Security researchers and authorized penetration testers who need a configurable reverse proxy to test the resilience of web authentication flows, including OTP and session cookie handling, in consent-based assessments.

What are the strengths of Modlishka?→
  • +Supports most 2FA schemes by design without manual per-target template creation.
  • +Point-and-click domain proxying with command-line and JSON configuration options.
  • +Stateless design allows horizontal scaling through DNS load balancing.
What are the limitations of Modlishka?→
  • +The author's write-up names U2F hardware tokens as the technical countermeasure to this reverse-proxy technique.
  • +Domain translation is automatic in most cases; some domains need manual configuration.
  • +Some features, such as the web panel plugin, are marked as beta.
How is Modlishka used defensively?→

Test whether 2FA and session controls can resist reverse-proxy interception, then prioritize U2F hardware token adoption.