-
Notifications
You must be signed in to change notification settings - Fork 43
Description
Hi everyone,
I'm opening an issue here since the repo I cloned doesn't support issue opening (https://github.com/kgretzky/evilginx2) and I honestly don't know if it's the official one or not. Maybe someone here can help me.
I'm trying to bypass microsoft MFA (on login.microsoftonline.com) and I got some issues with the redirect.
It seems microsoft uses some kind of URL parameters to perform multiple redirects, and even if I configure my phishlets to do a redirect on successful authentication, I always get redirected to the m365 landing page.
I'm running evilginx 3.3.0.
This is a snippet of my config.json file:
"lures": [
{
"hostname": "",
"id": "",
"info": "",
"og_desc": "",
"og_image": "",
"og_title": "",
"og_url": "",
"path": "/xxxxxxxx",
"paused": 0,
"phishlet": "mydomain",
"redirect_url": "https://en.wikipedia.org/",
"redirector": "",
"ua_filter": ""
}
]
I also tried to configure a sub_filter (which sould be supported by this version) as follows:
sub_filters:
- {triggers_on: 'login.microsoftonline.com', orig_sub: 'login', domain: 'microsoftonline.com', search: 'https://m365.cloud.microsoft', replace: 'https://en.wikipedia.org/', mimes: ['text/html', 'application/json', 'application/javascript']}
I tried using different syntaxes on the search field (the one I pasted is just the last one I tried).
None of these worked for me. What should I try next?