When multi factor authentication stops being multi
Making user accounts secure on the internet has been a struggle since there was the Internet. There always were and always will be malicious actors trying to steal your credentials. Their reasons might be political, financial or because they are shitheads. Companies trying to protect their data have struggled with this problem forever. Trying to ‘one-up’ the shitheads while not making their users’ lives harder. If you make the authentication too hard, no one will want to use your app, if you make the rules too loose, shitheads have an easy way in.
Hence the password complexity rules were born. Your password had to have a certain length, contain a number, a special character, and a mix of lowercase and uppercase letters. All this to prevent brute-forcing passwords. But you can mitigate brute-force attacks with rate limiting and locking after some failed attempts. A sensible rate limit (5 failed attempts for example) with account lock afterwards is enough. This approach works well unless your password was somehow stolen, which is the next part of our story.
The shitheads mentioned above realised they could use browser extensions to steal users’ browsing data. Or what is even worse, whatever text users wrote in their browsers and then get all the credentials for any website they wanted. One could market the browser extension as “something that will find you coupons” or anything valuable for the end user. Then a user would enable it on all websites, and send “analytical” data back to the extension author. Then poof, their email/password combinations were on the dark web. This wasn’t the “only” way credentials got leaked and sold around on the dark web. Believe it or not, there still are companies storing passwords in plain text in their databases. It’s no wonder that people running clown shows like that get hacked. Even serious companies get hacked all the time. And when they get hacked, the data gets sold to whoever wants to pay. This brings me back to the problem of ever-increasing password complexity rules.
The users have enough to worry about with password complexity rules already. So they most likely have one “strong” password which they use everywhere. You know the one your mom (mine included) had written down on a post-it note taped to their screen. If you had my email and password combination from one leak, there was a very high likelihood that it would work on other apps. And if it works in my email provider, this means I’m jolly well fucked. Then we started having password managers with a single auto-generated password for every service we use. Although this is a great security improvement, it still suffered the same fate as the passwords we enter in the browsers. It can get stolen by browser extensions and passwords never expire. This leads us to the next evolution, the introduction of 2FA and the authenticator apps. Authenticator apps added a second layer of authentication and security to the process. Someone could have your email and password combo, but if they didn’t have access to the authenticator app on your phone, they couldn’t do anything. The authenticator app was on your phone, the password in the password manager or in your head and this combination was more or less okay. Somewhat cumbersome to use, especially with some shared business accounts, but secure enough. Because you had separate points of failure. Even better approach than that and still stays the most secure way is having a separate hardware one-time token generator. Like the challenge/response device many people had to access their online banking before the phone apps. Or a Yubikey like device if you wanted something more portable. This was secure enough until the password managers started implementing one-time password functionality. This is amazing and I now only have to log into my password manager to be able to log in everywhere. Let me spell this out again: I only have to log into my password manager once now and I have access to everything. Which is a security issue and we are back at a single point of failure.
The passkey authentication makes life easier, and it even adds more security to the authentication process. But, we still have a single point of failure, the password manager app. I trust that the password manager app provider is keeping their data secure, and has the best security team money can buy. The irony of life hits again, I wrote this post quite some time ago, and never got to editing it. But this morning I received an email that there has been a security incident at my password manager company. So in today’s world, can you completely trust any company unless it is something you own and run by yourself?
The obvious answer is that you can’t, so you have to protect yourself as much as possible. Use a password manager like KeePass or 1Password to generate and store different random passwords for all the apps you use. Then use the authenticator app for OTP. Do this for crucial apps at least, and if you want to do something extra, have a Yubikey as an extra step. This makes sure you have to have another device on hand to access your critical accounts. So even if someone gets access to your unlocked computer/phone, the passwords there will be useless without the other device. Yes I understand that the phone could be the single point of failure now, so buy the Yubikey. This increases your security posture and makes you less vulnerable to exploits.
If you liked what you read, sign up below to be notified when I write again on this subject. If you would like a free 30 minute consultation on the best approach to securing your credentials, book a free call here. Share this post to the people you like so spread the knowledge and make everyone we can safer on the internet.
Comments