Tr0ub4dor&3: How Password Rules Went Wrong, and How They Were Fixed
Why websites made you add a capital letter, a number and a symbol, then change it every 90 days — and why the people who wrote those rules now say they were a mistake. Sixty years of passwords, from MIT in 1961 to passkeys.
· 9 min read
At some point in the last twenty years, a website has told you that your password must be at least eight characters long, contain an uppercase letter, a lowercase letter, a number and a special character, and be changed every 90 days. You probably responded the way almost everyone does: you took a word you could remember, capitalised the first letter, swapped an "o" for a zero and added "1!" to the end. Three months later you changed the "1" to a "2".
Those rules were not handed down by cryptographers after careful study. Most of them trace back to a single government appendix written in 2003, based on very little evidence. Fourteen years later the same agency reversed almost all of them, and the man who wrote the original told a newspaper he regretted it.
The first password
Computers didn't need passwords while only one person could use them at a time. That changed at MIT in 1961, when a team led by Fernando Corbató built the Compatible Time-Sharing System (CTSS). CTSS let many people use one expensive IBM mainframe at once from separate terminals, each with their own files and a ration of computer time. To keep those files and that time apart, every user got a private password. It is usually counted as the first computer password.
It was broken almost straight away. Allan Scherr, a PhD student who needed more computer time than his ration allowed, found a way to make the system print out the file holding everyone's passwords. He later admitted it, decades after the fact. In another incident in the mid-1960s, a mix-up while editing files caused the password file to be displayed as the system's welcome message, to every user who logged in.
Both problems came from the same design: CTSS stored the passwords as plain text. Anyone who could read the file could read every password.
Hashing, salt and a case history
The fix came from Unix. In a paper called "Password Security: A Case History", published in 1979, Robert Morris and Ken Thompson of Bell Labs described how they had changed the way Unix stored passwords.
Instead of the password itself, Unix stored the output of a one-way function, a hash, so that a stolen file didn't directly reveal anyone's password. When you logged in, the system hashed what you typed and compared the results. They made the function deliberately slow, running a modified version of the DES cipher 25 times, so that an attacker trying guesses would get through far fewer per second. And they added a salt: 12 random bits mixed in with each password, so two users with the same password would have different hashes and an attacker couldn't precompute one table of answers for everyone.
Every one of those ideas is still how passwords should be stored today. Modern algorithms such as bcrypt, scrypt and Argon2 are descendants of the same reasoning: salt every password, and make each guess expensive.
The paper also did something nobody had done before: it measured what people actually chose. Morris and Thompson collected a sample of real passwords and tried to guess them. About 86% were short, all lowercase, ordinary words, names or otherwise easy to find. The weakest part of the system was not the cryptography but the passwords people picked.
The worm that guessed
In November 1988, a program written by a Cornell graduate student, Robert Tappan Morris (son of the Robert Morris who co-wrote the 1979 paper), spread across the early internet and slowed thousands of machines to a crawl. One of the ways the Morris worm broke into accounts was by guessing passwords. It tried variations of each account's username and the user's real name, then worked through a built-in list of several hundred common words.
It worked often enough to matter. For the first time, a large share of the internet's computers had been compromised by guessing, and system administrators started to take the strength of their users' passwords seriously.
The appendix
By the early 2000s, US federal agencies were putting services online and needed a standard for how to authenticate people. The job of writing guidance fell to the National Institute of Standards and Technology (NIST). In 2003 it published Special Publication 800-63, the Electronic Authentication Guideline.
Its Appendix A, written by a NIST manager named Bill Burr, tried to quantify how hard a password was to guess. With little real-world data to work from, it borrowed a measure from information theory, Claude Shannon's entropy, and estimated that a password got stronger as it drew on more types of characters. Its suggestions boiled down to what millions of system administrators then turned into policy:
- Require a mix of character types: uppercase, lowercase, numbers and symbols.
- Make people change their passwords regularly.
NIST was widely treated as the authority, and its guidance was copied into corporate IT policies, banking websites and university systems around the world. The 90-day password reset became a fixture of office life.
What people actually did
The rules assumed that people would choose passwords randomly from all the characters available. People didn't. Asked to include a capital letter, they capitalised the first letter. Asked for a number, they added "1" at the end. Asked for a symbol, they added "!" after that, or replaced an "a" with "@". Forced to change the password, they changed the last digit.
Attackers learned all of this quickly, because password breaches started handing them the data. In 2009, the social-games company RockYou was hacked, and 32 million user passwords leaked, stored in plain text. The most common was 123456, used by nearly 300,000 accounts. Researchers finally had millions of real passwords to study, and password-cracking tools learned to try exactly the substitutions and suffixes the complexity rules encouraged. "P@ssw0rd1!" ticks every box in a 2003-style policy and is one of the first things a cracker tries.
Forced expiry turned out to be worse than useless. A 2010 study by researchers at the University of North Carolina, using the old passwords of thousands of university accounts, found that people forced to change their password mostly made small, predictable edits to the old one. For about four accounts in ten, the researchers could work out the new password from the old one in a matter of seconds.
Correct horse battery staple
In August 2011, the webcomic xkcd published a strip called "Password Strength". It compared a password built the way the rules encouraged, Tr0ub4dor&3, with four random common words, correct horse battery staple. The first, it estimated, had about 28 bits of entropy once you allowed for how people actually build such passwords, and was hard to remember. The second had about 44 bits, because each word was picked at random from a list of a couple of thousand, and was easy to remember.
The comic's conclusion — "through 20 years of effort, we've successfully trained everyone to use passwords that are hard for humans to remember, but easy for computers to guess" — became one of the most quoted lines in computer security.
A year later, Dropbox engineer Dan Wheeler released zxcvbn, a password strength estimator built on the same idea. Instead of counting character types, it looks for the patterns attackers actually try — common passwords, dictionary words, names, keyboard walks like "qwerty", dates, repeats and l33t substitutions — and estimates how many guesses a password would take. A password meter that worked like that rated "P@ssw0rd1!" as weak, which is what it was.
The U-turn
The rules were formally rewritten in June 2017, when NIST published a new version of its guidance, SP 800-63B. It reversed almost everything the 2003 appendix had come to stand for:
- No composition rules. Sites shouldn't require particular mixtures of character types.
- No periodic changes. Passwords shouldn't expire on a schedule, only when there's evidence they've been compromised.
- Check against known-bad passwords. New passwords should be compared with lists of passwords from previous breaches, dictionary words, repeated or sequential characters, and words specific to the service.
- Allow long passwords, at least 64 characters, including spaces, so people can use passphrases, and let them paste, so password managers work.
- No password hints and no "security questions" such as your mother's maiden name.
That August, Bill Burr gave an interview to The Wall Street Journal. "Much of what I did I now regret," he said.
Others had reached the same conclusions. The UK's National Cyber Security Centre had already advised against forced password expiry and went on to recommend passwords made of three random words. In 2019, Microsoft dropped password expiration from its recommended security settings for Windows, describing periodic expiry as "an ancient and obsolete mitigation of very low value".
NIST's fourth revision of the guidelines, finalized in 2025, went further, changing several of those recommendations from "should not" to "shall not" and asking for a minimum of 15 characters when a password is the only thing protecting an account.
After the password
Sixty-odd years after CTSS, passwords are still how most people log in, but they are no longer expected to carry the whole load. Two-factor authentication adds a code or a phone prompt. Password managers generate long random passwords that nobody has to remember, which removes most of the reasons for reusing one. And since 2022, Apple, Google and Microsoft have backed passkeys, which replace the password with a cryptographic key pair stored on your device, so there is nothing for a phishing page to steal or a breach to leak.
Until passwords disappear entirely, the best advice is the version the research has settled on, which is simpler than the rules it replaced: make it long, make it unique to each site, don't build it from your name or a dictionary word with a number on the end, and let a password manager remember it for you.
Check how long your password would take to crackTest how strong a password really is. See the estimated guesses and time to crack it, the common words, keyboard patterns, and dates that weaken it, and how to fix it — checked in your browser, never sent anywhere.