← All Blogs
Blog

Changing Your Password Is Not Enough

Learning about OAuth tokens against my will.

There are certain sentences you do not want to have to say to yourself while staring at a login screen. Mine was, I didn't post that.

One of my social accounts had posted generic spam with a link in it, which honestly felt insulting. If somebody is going to steal my identity, they could at least announce an album that doesn't exist, start a feud with Dave Grohl, or tell everybody Nico has been replaced by a drum machine. Instead I got scam garbage. My first assumption was that somebody had my password. I deleted the post, changed it, checked that two-factor authentication was still on, and immediately ran into the part that did not make sense. Why didn't I get a verification code? And, shortly after: What's the purpose of 2FA if somebody can apparently get in without it? I checked my phone, email, recent logins, and every embarrassing possibility I could think of. Reused password? Probably. Old breach? Maybe. Stupid email link? Nothing obvious. Then another account started behaving strangely. That was when I remembered the CAPTCHA.

These Things Are Getting Progressively More Advanced

A few days earlier I had been looking for an audio utility and landed on what looked like a normal download site. Before continuing, it gave me one of those Verify you are human boxes. I clicked it. Instead of traffic lights or motorcycles, it said additional verification was required. The page told me to open the Windows Run dialog, paste the verification text it had copied, and press Enter.

Crudely-drawn example of the CAPTCHA in question

My actual first thought was: These things are getting progressively more advanced. So I did. When I remembered this after the accounts started getting hijacked, the entire thing suddenly looked different: Open Run. Paste something from a random website. Execute it. I think I actually said, “Oh, fuck.” Because if I had thought about it for approximately five more seconds, I would not have done it. Not five minutes. Five seconds. There is no reasonable universe where a website needs me to execute random code on my own computer to prove I am human. But at the time it did not register as run unknown code from the internet. It registered as CAPTCHA. Security check. These things are getting ridiculous. Follow the instructions. Apparently that tiny gap between seeing an instruction and thinking about it was enough.

Oh, Good. Malware.

I started researching fake CAPTCHA scams and discovered that, yes, convincing somebody to run the malware themselves is apparently a real thing. What I had likely installed was an infostealer: malware designed to grab useful information from the computer, including saved credentials, browser data, cookies, active sessions, and something called OAuth tokens. I did not enjoy learning about OAuth tokens. My extremely simplified understanding is that after you authenticate, a service can give your browser something that effectively says, This person already proved who they are. Let them stay signed in. Normally, convenient. Less convenient when malware steals it. That finally answered the 2FA question. In at least some cases, nobody needed to enter my password and request a new verification code because they were using stolen session data that made the service think authentication had already happened. So two-factor authentication was not useless, despite several hours in which I was prepared to declare that it was. It still protects against somebody who steals your password and tries to log in normally. It just does not magically protect a computer that is already compromised—a useful distinction that I would have preferred to learn from an article.

Sign Out Of Everything

Email first, because email is apparently the skeleton key to your entire digital existence. Then social media, cloud storage, payment-related accounts, shopping, streaming, work accounts, and websites I had completely forgotten existed. Do you know how many online accounts you have? You think you do. You are wrong. I changed passwords, revoked sessions, removed devices, checked recovery information, reviewed connected apps, regenerated backup codes, and repeatedly proved that yes, I am in fact myself. Most accounts came back. Some did not. One had outdated recovery information. Another treated an unauthorized change as legitimate and my attempt to undo it as suspicious. One company's recovery system appears to consist of three automated emails standing on each other's shoulders pretending to be customer support. Nothing essential is permanently gone. Still mine, though. Or it was.

Factory Reset The Computer

Eventually I reached the obvious conclusion that I no longer trusted the operating system, so I wiped it. Fresh install. Fresh applications. Fresh browser. Nothing carried over just because it was convenient. It felt like fumigating a house by removing the house. Most of the important files were backed up. Music, current work, important documents, photos I would have been genuinely devastated to lose. What was not backed up was the category of files called I'll deal with that later: A few rough recordings. Unfinished lyrics. Old project versions. Photos I thought were syncing somewhere and apparently were not. Some voice memos I had copied onto the computer and then deleted from my phone because, obviously, they were safe now. They are gone. One of the demos was not even good. I still want it back. Both things can be true.

Current Status:

The computer is clean, or at least as clean as a freshly installed computer can reasonably be considered. Passwords are unique. Multi-factor authentication is everywhere it can be. Old sessions are revoked. My backups are now significantly less theoretical. I also know what OAuth tokens are. Sort of. I would have preferred not to. Mostly, everything is boring again, which is exactly what you want from computers and personal crises. Anyway: back up your files. Use two-factor authentication. Yes, still. And if a CAPTCHA ever asks you to open the Windows Run box to prove you are human, give yourself five seconds. That would have saved me several days of my life. You are human enough.