In 2003 a manager at the American standards institute NIST, Bill Burr, wrote an eight-page appendix to a document on electronic authentication. It recommended that passwords contain a mixture of upper-case and lower-case letters, digits and special characters, and that they be changed regularly.
Those two pages shaped password policy across the world for fifteen years. Nearly everyone who has used a computer at work has been told that a password must contain a capital letter, a number and a symbol, and must be changed every ninety days.
In 2017 Burr, by then retired, told a newspaper that he regretted much of it. He had had almost no data to work from. He had asked system administrators for real passwords to study and been refused, for understandable reasons, and had relied on a paper from the 1980s.
Since then the data has arrived in quantity. Breaches have put billions of real passwords into the hands of researchers, and the picture they give is clear.
What people choose
Every analysis of leaked passwords finds the same things at the top of the list: "123456", "password", "qwerty", "111111", the name of the site and simple keyboard patterns. In the largest collections, the most common few thousand passwords account for a substantial share of all accounts.
Asked to add complexity, people do it predictably. The capital letter goes first. The digit goes last, and it is very often a 1 or a year. The symbol is an exclamation mark at the end. Letters are swapped for look-alike characters in standard ways: a becomes @, o becomes 0, s becomes $.
So "password" becomes "Password1!". It satisfies every rule in the 2003 appendix. It is also among the first few thousand guesses any attacker's software will make, since the people who write that software have studied the same leaked lists.
The complexity rules were supposed to enlarge the space of possible passwords. In practice they moved people from one small predictable set to another, and made the result harder to remember.
What forced changes do
The second rule fared no better.
Researchers at the University of North Carolina obtained the password histories of more than 7,700 defunct accounts at their own institution, which had required a change every three months. They found that people changed their passwords by small transformations: incrementing a digit, moving a character, changing the month. Knowing a user's old password, their software could guess the new one within a few attempts for a large share of accounts.
A study at Carleton University reached the same conclusion from the arithmetic: the security gained by regular forced changes is small, and it is outweighed by the cost, as people choose weaker passwords and write them down.
How passwords are attacked
It helps to separate two situations.
Online guessing. An attacker tries passwords against a live login page. A well-run site limits the number of attempts, so only a handful of guesses are possible. Against this, a password merely needs not to be among the most common.
Offline cracking. An attacker has stolen the site's database. Properly designed systems do not store passwords. They store a hash, the output of a one-way function, from which the password cannot be calculated directly. The attacker hashes candidate guesses and compares. With modern graphics hardware and a fast hash function, billions of guesses a second are possible.
Attackers do not try combinations at random. They start with lists of previously leaked passwords, then dictionaries, then those words with the usual modifications applied. A password that follows a human pattern falls early, however many character types it contains.
For the site, the defence is to use a slow hashing function designed for passwords, with a random value unique to each user mixed in. That reduces the attacker to thousands of guesses a second.
The larger problem: reuse
The commonest way accounts are compromised today is not guessing at all.
People reuse passwords. Surveys consistently find that a majority do so across at least some accounts. When one site is breached, the attackers obtain pairs of email address and password, and try those pairs automatically against banks, email providers, shops and employers. This is called credential stuffing.
It needs no skill and operates on a vast scale. A password that is long, random and excellent offers no protection if it is also the password for a forum that was breached in 2019.
Annual industry reports on breach investigations have for years listed stolen credentials as the most frequent means of initial access. A free service run by the security researcher Troy Hunt lets anyone check whether an email address appears in known breaches. Its collection holds well over ten billion compromised accounts.
What the guidance says now
NIST rewrote its recommendations in 2017 and has refined them since. National cyber-security agencies in Britain and elsewhere give similar advice. The main points, for those who run systems:
- Length matters most. Require a minimum of eight characters, and preferably more. Allow at least 64, including spaces, so that passphrases work.
- Do not impose composition rules. No required mixture of character types.
- Do not force periodic changes. Require a change only when there is evidence of compromise.
- Check against a blocklist. When a password is set, compare it with lists of commonly used and previously breached passwords, and reject matches. This is the single most effective control on quality.
- Allow pasting, so that password managers work.
- No password hints or security questions of the "mother's maiden name" kind, whose answers can be looked up.
- Limit failed attempts.
- Store passwords with a suitable slow, salted hash.
- Offer a second factor.
It is unusual for a security standard to reverse itself so thoroughly. The reversal followed the evidence.
What an individual should do
The data points to three measures, in this order of importance.
A different password for every account. This alone defeats credential stuffing. Nobody can remember a hundred passwords, which is why the next point exists.
A password manager. It generates a long random password for each site, stores them encrypted and fills them in. You remember one strong passphrase. The managers built into browsers and phones are adequate for most people. Dedicated ones add features. Security agencies recommend them. They have an additional benefit: a manager will not fill a password into a look-alike site, which blunts phishing.
For the passwords you must remember, namely the manager itself, your device and your main email, use a passphrase: several unrelated words. Four or five words chosen at random are long, hard to guess and far easier to recall than a string of symbols. The advice of Britain's cyber-security centre is three random words. The words must really be random. A line from a song is in the attacker's dictionary.
A second factor. Something in addition to the password, so that a stolen password alone is not enough.
How much a second factor helps
A study by Google with university researchers, published in 2019, measured this on real attacks against its own users.
| Second factor | Automated attacks blocked | Bulk phishing blocked | Targeted attacks blocked |
|---|---|---|---|
| Code by text message | 100% | 96% | 76% |
| Prompt on the phone | 100% | 99% | 90% |
| Hardware security key | 100% | 100% | 100% |
Microsoft has published a similar finding: accounts with any form of multi-factor authentication were more than 99 per cent less likely to be compromised.
The methods are not equal. Codes sent by text can be intercepted by taking over the phone number, and both text codes and app codes can be phished: a fake site asks for the code and relays it at once. Attackers have also learnt to bombard users with approval prompts until one is accepted in irritation.
Hardware keys and the newer passkeys are resistant to all of these, because the authentication is bound cryptographically to the real site's address. A fake site simply gets nothing.
Any second factor is far better than none. Use the strongest that is offered, and start with email, since control of an email account allows the passwords of most other accounts to be reset.
Passkeys
The long-term answer to the password problem is to stop using passwords. A passkey is a pair of cryptographic keys. The private one stays on your device, protected by its fingerprint or face unlock, and the public one is held by the site. Logging in is a matter of the device proving that it holds the private key.
There is nothing to remember, nothing to reuse, nothing that can be phished and nothing useful to steal from the site's database. The main operating systems and browsers support them, and a growing number of services offer them. Adoption is uneven, and moving passkeys between different companies' ecosystems is still awkward, but where one is available it is the best choice.
A policy on one page
For an organisation:
- Minimum length of twelve to fourteen. No composition rules.
- Block common and breached passwords at the time of setting.
- No scheduled expiry. Reset on evidence of compromise.
- Multi-factor authentication for everyone, phishing-resistant for administrators.
- Provide a password manager and show people how to use it.
- Monitor for leaked credentials.
- Move to passkeys as systems allow.
For a person: a manager, a unique password everywhere, a passphrase for the few you memorise, and a second factor on anything that matters.
The 2003 rules had a long life because they sounded rigorous and nobody could check them. When checking became possible, most of them did not survive, which is a fair warning about any security rule that rests on plausibility alone.



