Skill 3.7.1

Brute force

Key Concepts

Its feasibility depends on the key space: each extra bit doubles the work. Modern symmetric keys of 128 bits or more are beyond brute force. Passwords are far weaker, so attackers use dictionary attacks, hybrid attacks and precomputed rainbow tables of hashes.

Defences include long keys, long passphrases, account lockout or throttling for online attacks, and salting plus slow key-stretching hash functions (bcrypt, scrypt, PBKDF2, Argon2) for stored passwords.