Concepts / Passwords and hashes

Passwords and hashes

Password spraying

Also called spraying, low-and-slow guessing, one password many accounts

Trying one likely password once against every account, so no account passes a lockout threshold and anyone who reused a weak shared secret is found.

One password, every account, no lockout
One password, every account, no lockout

Brute force piles failures on one account and trips its lockout. A spray fails only once per account, so no lockout fires, and any account using that password opens.

Password spraying tries one likely password once against every account. Brute force tries many passwords on one account and trips its lockout; a spray fails once per account, so no lockout fires, and accounts using it open. It needs a username list and one good guess, like an unchanged default. In hydra: -L the list, -p one password. A second factor stops it; watch for one source touching many accounts.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab