Suspicious Website Logins
The chart below counts the failed sign-ins on one student's school account, day by day, for two weeks. A day with one failure is usually a mistyped password. The account belongs to a student who, earlier that month, answered a message from a fake tournament office for an online game. That reply gave away the student's name, home address, phone number, and school.
The table is the sign-in log for the day that doesn't fit. On school days the student signs in on a school Chromebook in first period, and again during classes that use it. Which rows didn't the student make?
| Time | Device | Location (from the IP address) | Result |
|---|---|---|---|
| 7:52 a.m. | School Chromebook | School network | Success |
| 10:14 a.m. | Windows PC, never seen before | Data center, another state | Failure |
| 10:14 a.m. | Windows PC, never seen before | Data center, another state | Failure |
| 10:14 a.m. | Windows PC, never seen before | Data center, another state | Failure |
| ⋮ | ⋮ | ⋮ | ⋮ |
| 10:16 a.m. | School Chromebook | School network | Success |
| ⋮ | ⋮ | ⋮ | ⋮ |
| 10:19 a.m. | Windows PC, never seen before | Data center, another state | Failure |
| 10:19 a.m. | Windows PC, never seen before | Data center, another state | Success |
| 10:20 a.m. | Windows PC, never seen before | Data center, another state | Password changed |
| 3:41 p.m. | Laptop | Home internet provider | Failure |
| 3:42 p.m. | Laptop | Home internet provider | Failure |
The sign-in log
Signing in sends the username and password from the browser to the school's server, the computer that runs the sign-in page. The server checks them and writes a line in its sign-in log, whether the attempt worked or not. Each line holds the time, the result, and two clues about who was asking.
The first clue is the device. The browser reports what kind of device it runs on, though an attacker's tool can report whatever it likes. A device that has signed in before also keeps a small saved record of it, so the server can tell a familiar device from an unknown one. The second clue is the location. Every request arrives from an IP address, the number that identifies a device on the internet. Public records of who owns each block of addresses show roughly where an address is. They also show what kind of company owns it: a home internet provider, a cell network, or a data center, a building full of servers, many of them rented out to anyone who pays. A well-built log doesn't record the passwords that were typed.
That Windows PC has never signed in to this account, and its address belongs to a data center, where no student sits, so every row from it is the adversary's. The strongest clue is the 10:16 row. The student's own Chromebook signed in from the school network in the middle of the attempts, and one person can't be in a classroom and a data center at once. The ⋮ rows hide 52 more failures like the ones shown. So the device failed 56 times in about five minutes, got in on the 57th try, and changed the password. The two failures after school are the student's laptop, at home, trying a password that no longer works.
The attempts came in the middle of a school morning, an hour this student keeps, so the time gave nothing away here. On another account the time is often the giveaway: a burst of attempts at an hour the owner never signs in.
The adversary's tool sent its guesses one at a time through the school's real sign-in page, about 11 a minute, and each one put a line in the log. Nothing slowed it down: the page set no limit on failed attempts, though most sign-in services limit them by default.
Building the list
The log doesn't show what was typed, but the adversary wasn't guessing blindly. The student's password was Fairmount214!, the street name and house number from the home address with an exclamation mark on the end.
A dictionary built from that one reply is short. Take four words (the first name, the last name, the street, and the town), each with and without a capital letter. Add one of ten numbers. Those are the house number, the last four digits of the phone number, the years 2008 through 2011 (the likely birth years of a high schooler), and the same four years as two digits. End with one of four choices: nothing, !, ?, or #. That's 8 × 10 × 4 = 320 passwords. Estimate the tool's time for the whole list at this pace.
At about 11 a minute, the whole list takes about 29 minutes. The right password came 57th, five minutes in.
Passphrases and generated passwords
Here are three passwords. Which one could ever turn up in a dictionary like this one?
Fairmount214!
comfort-refined-suit-gravity-check
e22EU2/u7Ql3VWjr
The first is built from the student's home address, so Fairmount214! is the only one a dictionary built from the student's reply could hold. The second is a passphrase: five words a generator picked at random from a list of 4,347 common words, so nothing about the student led to them. The third came from a password generator: 16 characters, each one of the 94 a keyboard can type other than the space. The table compares how long each would last against this attack.
| Password | Possible passwords to try | Time at 11 guesses a minute |
|---|---|---|
Fairmount214! | 320 on the list | about 29 minutes |
comfort-refined-suit-gravity-check | about 270 billion years | |
e22EU2/u7Ql3VWjr | about years |
Those times are for guesses sent through a sign-in page. An adversary who steals a site's whole file of passwords can test guesses on their own computers billions of times faster. So real passphrase generators draw from bigger lists, and a longer random password is always safer.
A long password still needs to be unique. A password manager keeps a different generated password for every account, so a password stolen from one site opens nothing else. Changing a character or two doesn't make a reused password unique. Tools that try leaked passwords also try small changes of each, such as a number raised by one.
Multifactor authentication
Attackers signed in to Colonial Pipeline's network through a VPN account in April 2021. Nobody used the account anymore, but it still worked. Its password wasn't weak: the company's chief executive told the U.S. Senate it was "a complicated password." Investigators later found it in a batch of leaked passwords posted online. They suspected an employee had used it on another account that was hacked. The VPN asked for a username and password and nothing else.
On May 7, 2021, a criminal group called DarkSide hit Colonial's business computers with ransomware, software that scrambles a company's files until it pays. In case the attack spread to the computers that run the fuel line itself, the company shut the whole line down. That's 5,500 miles of pipe carrying about 45 percent of the fuel used on the East Coast. It began restarting on May 12, and deliveries took several more days to recover. In between, drivers lined up at stations from Virginia to Florida, and in Charlotte, North Carolina, about 7 in 10 stations ran out of gas. Colonial paid a ransom of 75 bitcoin, worth about 4.4 million dollars. A month later the FBI seized 63.7 of them back, about 2.3 million. Investigators said they may never know for certain how the attackers got that one password.


With MFA on the school account, the adversary would have had the right password at 10:19 a.m. and still needed the code sent to the student's phone, the same kind of code the "teammate" asked for in the game.
The account stays shut only as long as the student never passes a code on. The school turned on MFA for student accounts the following week, and the student now keeps a generated password for each account in a password manager.
Sources: Joseph Blount, testimony to the U.S. Senate Committee on Homeland Security and Governmental Affairs (June 8, 2021); Bloomberg, "Hackers Breached Colonial Pipeline Using Compromised Password" (June 4, 2021); U.S. Department of Justice, announcement of the ransom seizure (June 7, 2021); Colonial Pipeline, company statements (May 2021); GasBuddy station data as reported by WBTV (May 2021).