Password Spray

Password Policy

Checking password policy is important for creating a sufficient wordlist. also, it is important to look for the Lockout threshold in order to avoid account lockouts during the brute-force.

Retrieve the password policy:

net accounts

using NetExec:

nxc smb <ip_address> -u <username> -p <pass> --pass-pol

PowerShell Script

Kerbrute

If valid usernames are known, perform a password spray to find weak passwords:

Password spray using kerbrute

NXC

Another method to spray passwords, particularly targeting various services:

Password spray using nxc

Last updated