This repository provides a push-button installer for setting up Evilginx, Burp Suite, and Nginx as a coordinated reverse proxy system. You will need to run these scripts on the associated nginx and evilginx servers.
Before running the installer scripts, ensure you have:
-
Three servers configured:
- Burp Server (for intercepting traffic from evilginx)
- Evilginx Server (the core of the system, and the middleware)
- Nginx Reverse Proxy Server (the front end on a safe and whitelisted azureedge.net domain)
-
IP Addresses of Each Server
- Required as an argument when running the installation scripts.
-
Azure CDN Setup
- You must create an Azure CDN with the custom domain
yourdomain.azureedge.net
. This is used as an argument in both scripts
- You must create an Azure CDN with the custom domain
Run the following on each respective server:
./evilginx_setup.sh <domain> <ip_addr> <burp_ip_addr>
<domain>
= Base domain name (e.g.,example
). This is the same as your azureedge subdomain.<ip_addr>
= Evilginx server IP<burp_ip_addr>
= Burp proxy IP
./nginx_setup.sh <domain> <full_domain>
<domain>
= Base domain name (e.g.,example
). This is the same as your azureedge subdomain.<full_domain>
= Fully qualifiednip.io
domain (e.g.,example.192-168-1-1.nip.io
)
- Evilginx: Handles phishing attacks, TLS termination, and session manipulation.
- Burp Suite: Intercepts traffic for further analysis.
- Nginx: Acts as a reverse proxy, dynamically routing paths to the correct backend servers.
- Azure CDN: Routes requests through
azureedge.net
to obfuscate the final destination.
- Requests to
your-domain.azureedge.net/login
are proxied to Evilginx. - Requests to
your-domain.azureedge.net/www
are proxied accordingly. - JavaScript and cookie settings are rewritten to maintain seamless authentication.
- Ensure hive ingress rules allow traffic on ports 80 and 443 for both Nginx and Evilginx as well as port 8080 on the burp server.
- Evilginx requires root privileges to function correctly.
- SSL certificates are automatically generated via Let's Encrypt.
- Evilginx Not Responding? Ensure
sudo evilginx
is running. The script doesn't start it by default - Nginx Errors? Check logs:
sudo tail -f /var/log/nginx/error.log
- Azure CDN Not Routing? Double-check DNS maps to the correct IP address.
One for you, one for me!
.:..::..:. ... .. ........
:::?PBBP?:.: ..:::^::^:::!7~^^:::::. ~.... .:.!5GBGY~
:::#@@@@@@#::: .::^:.^Y? 7 ~?. JY??.~.7^.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@B~J@&BJ~^:~ .
. ~B@@@@@@B^7#@@@GB5 ?P 7G YY ?#G@@@#J!B@@@@@&Y^ ..
...:::...^B@@@#P?^:^?B@@@@GJ~.?P !G YY.~?P&@@@BJ~:^P@@@@@#!...:::
^.^YB##BY: JB!:7?7!.^^!YB@@@@&&#YJ?7YB7?JYB&&@@@@#57^.. .!JGY&Y::.7G##BP!
:.:&@@@@@@&: ..^:^?^^Y??~:^~?5G#@@@@@@@@@@@@@@&B5J!^.:!7:..^!:^: ^ 5@@@@@@@J :
:.^@@@@@@@&:.^ :^::?:..~Y~.~^^^~!7?JYYYYJJ?7~^:..:^~^~:!.::^: .: P@@@@@@@J ^
^5#&^.^ .:::^.^^^.^Y~?.:^:...:::: .:...J~Y?7^ :^:. .. .JB&&&G?.::
..::::.:^:.. .:^:..^~~^J^Y~!: J^7!? !P5 ~^~:!^^:. ... ...:^:..:.
.... .::.. .::::^:^:.::.?!!!~.~?7:^:::. ... .....
.:::... ...::::::::::::... ....
..:::... ^: .....
..:::::^ ?~
...