Phishlet Development

Kuba Gretzky, the creator of Evilginx, has great documentation on what the format of a phishlet looks like and what information you'll need in your phishlet to make it functional. I definitely recommend referring to the documentation as you create your phishlet.

Since thorough documentation on phishlet creation exists, my goal is to make it easier to understand and give you examples of the phishlet creation process. I'll start by re-covering a few sections commonly used in phishlets, but won't be as verbose as the documentation is to keep things simple to understand.

Using Burp Suite to intercept web requests/responses when developing phishlets is extremely helpful as you can see every request, response, redirect, etc. that happens when authenticating for your target website.

Core Functionality

This part includes the common sections that you will find in phishlets. Having these sections defined within your phishlet can be enough for simple web applications.

Additional Functionality

For the more advanced web applications (or just for extra functionality) to your phishlet, you may need to implement some of the sections mentioned here.

auth_urls

By default, Evilginx considers the authentication as successfully captured once all cookies defined in the auth_tokens section are captured. However, if you are searching for cookies using regular expressions, Evilginx won't know when to consider the authentication process to be complete.

To fix this, we can set a URL that tells Evilginx that the authentication process is completed once the authentication reaches the specified URL.

YAML
auth_urls:
  - '/home'
  - '/home/*'

In this example, once the authentication process reaches www.weelee.zip/home or www.weelee.zip/home/*, Evilginx will count the authentication as completed and send the user to the redirect_url set.

Last updated