What is Password cracking?

Recovering the original password from its stored hash by guessing candidates and hashing each one until it matches. It works offline, so strong, slow password hashing and long passwords are the defence.

Systems store a hash of each password rather than the password. If the hashes are stolen, an attacker can test guesses at their own pace on their own hardware, trying common passwords, word lists with rules and brute force, until a guess hashes to the same value. Tools such as hashcat and John the Ripper do this very quickly. Authorised testers use them to measure how many of an organisation's passwords would fall, so the password policy can be fixed. Defenders cannot see offline cracking, so they focus on stopping hash theft, using slow salted hashing such as bcrypt or Argon2, requiring multi-factor authentication, and checking new passwords against known-bad lists.

Source: NIST CSRC Glossary (NIST SP 800-115).

Practice it in a lab

Free, hands-on labs that teach Password cracking.

All glossary terms

Related