Online

What Actually Makes a Password Strong?

What Actually Makes a Password Strong?
Security Guides Team 6 August 2024

Most people learned password rules from websites rather than from anyone who studies the problem, which is why the average password is a short word, a capital letter, a number and an exclamation mark. That pattern is so predictable it is one of the first things attackers try.

What are attackers actually doing?

Not typing guesses at a login box. When a website is breached, the stored passwords are taken and attacked offline at enormous speed, using lists of previously leaked passwords, dictionaries and rules that mimic exactly the substitutions people make.

Replacing an a with an @, an o with a zero, or adding a 1 and an exclamation mark at the end are all in the standard rule set. They add almost nothing to the time required and a great deal to the difficulty of remembering.

Why does length matter more?

Because the number of possible combinations grows exponentially with each additional character, while adding symbol types only multiplies the alphabet. Adding four more characters does far more than adding a punctuation mark.

A sixteen character passphrase built from ordinary words is dramatically harder to attack than an eight character string of mixed symbols, and considerably easier for a human being to type on a phone.

What does good practice look like?

UK national guidance recommends building memorable passwords from several random words, on the basis that this produces genuine length without producing something nobody can remember. Three or four unrelated words, not a phrase from a book or a song lyric.

  • Random, meaning unrelated to each other and to you. Not your street, your dog and your birth year.
  • Long, at least fifteen characters in total and more where allowed.
  • Unique, which matters more than everything above put together.
  • Not a known phrase, since quotations, lyrics and film titles appear in cracking dictionaries.

Where does uniqueness fit?

It is the single most important property. A magnificent password used on twelve sites is defeated the moment any one of those sites is breached, because attackers automatically try leaked pairs everywhere else.

A mediocre password used in one place only affects one account. That trade is worth making, and it is why password managers matter more than clever memorisation.

What about the rules websites impose?

Many are counterproductive and are gradually being abandoned. Forcing a symbol and a number produces the predictable pattern above. Capping the length at twelve characters actively prevents strong passwords. Rejecting spaces prevents passphrases.

A site with a low maximum length or a ban on pasting from a password manager is telling you something about its engineering, and it is a reason to be careful about what you store there.

What should you never use?

  1. Anything from the annual lists of most common passwords.
  2. Names, birthdays, pets, teams and anything on your social profiles.
  3. Keyboard patterns, which are in every cracking dictionary.
  4. A base word with a site name added, which is the first rule attackers apply.
  5. A password you have used before, anywhere.
  6. Anything that has appeared in a breach, whatever it looks like.

Does any of this matter if you use a manager?

Less, and that is the point. A password manager generates long random strings you never see, which removes the whole question for every account except the few you type yourself: the manager master password, your device unlock, and your email.

Those three should be strong passphrases you can remember. Everything else should be random and stored.

What is the practical summary?

Long beats complicated. Unique beats strong. Use a manager for everything you can, use three or four random words for the handful you must remember, and add two-factor authentication wherever it is offered, because that is what makes a compromised password survivable.