Evilginx Man-in-the-Middle Framework

repository·master·Indexed 12 days ago

https://github.com/kgretzky/evilginx2

A man-in-the-middle (MiTM) attack framework written in Go used to capture login credentials and session cookies to bypass 2-factor authentication (2FA). It operates as a reverse proxy between a browser and a target website, implementing its own HTTP and DNS servers. Version 3.0 is a standalone application, and version 3.3 supports integration with a specific fork of Gophish.

Tokens
900
Snippets
3
Records
7
Agent score
95%

What's inside Evilginx

  1. Overview of Evilginx 3.0

    master

    Evilginx is a man-in-the-middle (MiTM) attack framework designed for phishing login credentials and session cookies. By acting as a reverse proxy between a browser and a target website, it can bypass 2-factor authentication (2FA) protections.

    Unlike its predecessor which relied on a custom nginx configuration, Evilginx 3.0 is a standalone application written in Go that implements its own HTTP and DNS servers, simplifying setup and deployment.

  2. Access Evilginx documentation and support

    master

    Documentation

    For installation and usage instructions, refer to the official online documentation at: https://help.evilginx.com

    Support Policy

    Note that the maintainer does not provide support for:

    • Providing existing phishlets.
    • Creating custom phishlets.

    Users are encouraged to look for ready-to-use phishlets provided by the community.

  3. Run Evilginx via CLI

    master

    Evilginx is a command-line application. You can start it by running the binary, optionally providing flags to configure directories and modes. If no configuration directory is provided, it defaults to ~/.evilginx (the current user's home directory plus .evilginx).

    # Basic execution
    ./evilginx
    
    # Execution with custom directories
    ./evilginx -p ./my_phishlets -t ./my_redirectors -c ./my_config
    
    # Enable developer mode (uses self-signed certificates)
    ./evilginx -developer
    
    # Enable debug logging
    ./evilginx -debug
    
    # Show version
    ./evilginx -v
  4. Use Developer Mode for Self-Signed Certificates

    master
    When running in developer mode using the -developer flag, Evilginx will generate self-signed certificates for all hostnames. This is useful for testing environments where valid ACME/Let's Encrypt certificates cannot be obtained.
  5. Configure Phishlet and Redirector Directories

    master

    Evilginx requires directories for phishlets (YAML definitions) and redirectors (HTML pages).

    • Phishlets: If -p is not provided, the application looks in the executable's ./phishlets directory, and then falls back to /usr/share/evilginx/phishlets/.
    • Redirectors: If -t is not provided, the application looks in the executable's ./redirectors directory, and then falls back to /usr/share/evilginx/redirectors/.
  6. Reference: Evilginx CLI Flags

    master

    The following command-line flags are available for configuring the Evilginx server at startup:

    -p, --phishlets <path>       Phishlets directory path
    -t, --redirectors <path>     HTML redirector pages directory path
    -debug                       Enable debug output
    -developer                   Enable developer mode (generates self-signed certificates for all hostnames)
    -c, --config <path>          Configuration directory path
    -v, --version                Show version