Privacy

How two-factor authentication can protect you from account hacks

Comment

An illustration of a browser window using two-factor authentication on a red background
Image Credits: Getty Images

If you find passwords frustrating, two-factor authentication probably won’t get much love. But security experts say using two-factor authentication is one of the best ways to protect your online accounts from even the most sophisticated hackers.

Two-factor authentication adds another factor of authentication to your usual log-in process on top of your password, hence the name. Once you enter your username and password, you’ll be prompted to enter a code sent as a text message or an email, or sometimes as a push notification on your phone.

In all, it usually only adds a few extra seconds to your day, if that.

Two-factor authentication (sometimes called “two-step verification”) combines something you know, such as your username and password — with something you own, such as your phone or a physical security key, or even something you have — like your fingerprint or another biometric, as a way of confirming that a person is authorized to log in.

You might not have thought much about it, but you do this more than you might realize. Whenever you withdraw cash from an ATM, you insert your card (something you have) and enter your PIN (something you know) — which tells the bank that it’s you. Even when you use your bank card on the internet, often you still need something that you know — such as your ZIP or postal code.

Simply put, having a second step of authentication makes it so much more difficult for a hacker or a thief to break into your online accounts.

Why is two-factor authentication important?

Gone are the days where your trusty password can protect you. Even if you have a unique password for every website you use, there’s little in the way to stop malware on your computer (or even on the website!) from scraping your password and using it again. Or, if someone sees you type in your password, they can memorize it and log in as you.

Don’t think it’ll happen to you? So-called “credential stuffing,” “password spraying”, or brute-force attacks can make it easy for hackers to break in and hijack people’s online accounts in bulk. That happens all the time. Cell networks, retail giants, grocery delivery services, music streaming sites, and even tech giants like Cisco and Apple’s iCloud service aren’t immune.

Only accounts with two-factor authentication are protected from these automated log-in attacks.

Two-factor also protects you against phishing emails. If someone sends you a suspicious-looking email that tries to trick you into logging in with your Google or Facebook username and password to a fake site, for example, two-factor can still protect you. Only the legitimate site will send you a working two-factor code.

A three-step illustration of how two-factor authentication works, from entering your account password to receiving and entering a code sent to your phone.
A three-step illustration of how two-factor authentication works, from entering your account password to receiving and entering a code sent to your phone. Image: Getty Images

Enabling two-factor is a good start, but it’s not a panacea. As much as it can prevent hackers from logging in as you, it doesn’t mean that your data stored on the company’s server is protected from hackers breaching a server elsewhere, or a government demanding that the company turns over your data.

And some methods of two-factor are better than others. As you’ll see.

The best way to two-factor your accounts

Even if you want to secure all of your accounts, you may find some sites and services don’t support two-factor. But as credential-stuffing attacks rise and data breaches have become a regular occurrence, many sites and services are doing everything they can to protect their users.

There are four main types of two-factor authentication, ranked in order of effectiveness:

1. A text message code:

The most common form of two-factor is a code sent by SMS. It doesn’t require an app or even a smartphone, but cell service is required. It’s easy to use and set-up, but two-factor by text message is the least secure method. Hackers can easily exploit weaknesses in the phone networks to steal SMS two-factor codes. Because SMS messages aren’t encrypted, text messages are also prone to leaking. Plus, if your phone is lost or stolen, an attacker could request a two-factor code and access your accounts. A text message code is far, far better than not using two-factor at all, but there are far more secure options.

2. An authenticator app:

This works similarly to the text message, except you’ll have to install an app on your smartphone. Anytime you need a two-factor code, you can get one from your app. Authenticator apps even work offline and don’t require a cell or internet connection. There are many authenticator apps to choose from, like Authy, Duo, and Google Authenticator. The difference here is that they are sent over an encrypted connection, making it nearly-impossible for anyone to steal your two-factor code before you use it. If you use iOS 15 or later, you already have a two-factor authenticator built-in to your iPhone.

3. Using biometrics:

Using your face, eye, or fingerprint is a common way to unlock your devices, but it’s also increasingly used as a method for websites to check that you are who you say you are. Often these biometric-based two-factor options are built into your device, such as your computer or phone, to scan your face or fingerprint.

4. A physical security key:

Last but not least, a physical security key is considered the strongest of all two-factor authentication methods. Security keys often look like USB stick-sized devices that are small enough to fit on a keyring. You may not even need one since newer Android devices and iPhones have the hardware feature built-in. These security keys contain unique cryptographic code that tells a website or a service that it’s you logging in. After entering your password, you are prompted to insert the security key into your device. And that’s it! Even if someone steals your password, they can’t log in without that key. And phishing pages won’t work because only the legitimate sites support security keys. These keys are designed to thwart even the smartest and most resourceful attackers, like nation-state hackers. Google’s own data shows it hasn’t had a single confirmed account breach since rolling out security keys to its staff.

There are several security keys to choose from: Google has its Advanced Protection Program for high-risk users, like politicians and journalists, and its Google Titan key for everyone else. But many security experts will say Yubikeys are the gold standard of security keys.

There are a few things to note, though. Not all sites support security keys yet, but most of the major companies do — like Microsoft, Facebook, Google, and Twitter. Once you set up a physical key, this will often become the only way to log-in — you likely won’t be able to revert to a lesser-secure way of logging in, like a fingerprint or a two-factor code. You may also need to buy two security keys, with one stored in a safe place as a backup. Also, if one is stolen, there’s no way to determine your account from the key itself. But, if you lose them both, you might be done for. Even the company that stores your data might not be able to get you back into your account. That’s why it’s important to save any backup codes you might be given in your password manager in the event of account lock-outs.

If after all this your favorite site or service still doesn’t use two-factor authentication, you should tell them! If it’s a site or service that you cannot avoid, consider using a very long, unique password that is not used anywhere else. This reduces, though does not eliminate, the risk of someone compromising your accounts unless they breach the site or service itself.

That’s what you need to know. You might want to create a checklist of your most valuable accounts, and begin switching on two-factor authentication starting with them. In most cases, it’s fairly straightforward. You might want to take an hour or so to go through all of your accounts — so put on a pot of coffee and get started.

You should see two-factor as an investment in security: a little of your time today, to save you from a whole world of trouble tomorrow.

Cybersecurity 101 - TechCrunch

More TechCrunch

The countdown continues! You have 4 days left to lock in your TechCrunch Disrupt 2024 tickets at the discounted rate. Don’t miss the chance to save up to $600 —…

4 days left to save big on TechCrunch Disrupt 2024 tickets

On Monday, the U.S. government formally accused Iran of hacking the Donald Trump campaign. In a joint statement issued by the FBI, the Office of the Director of National Intelligence…

US government accuses Iran of Trump campaign hack; Iran scoffs

The United States Department of Justice filed a major lawsuit against Live Nation-Ticketmaster in May, arguing that the entertainment giant is acting as a monopoly. An additional 10 state attorneys…

Thirty-nine state AGs now support Live Nation-Ticketmaster lawsuit

Construction companies deal with a lot of documents — so many that it can be difficult to process and manage them all. According to one recent survey, a third of…

Sarah Buchner started as a carpenter when she was 12 — now her AI construction startup has raised $20 million

The Rounds, the startup that delivers recurring grocery and household essentials in reusable packaging, announced on Monday its $24 million Series B funding round. The new capital will go toward…

The Rounds scoops up $24M to bring its ‘household restocking’ delivery service to more markets

The U.S. Department of Defense is a mammoth organization. It not only employs millions of service members and hundreds of thousands of civilian employees, but also has the world’s largest…

Defcon AI closes $44M seed round to solve a problem of ‘maximum complexity’: Military logistics

Eppo has closed a new funding round that values the company at over $100 million.

Eppo lands new cash to grow its app, website and AI experimentation business

Simulating the real world is a tremendously complex problem if you want to do it at any useful level of fidelity. Traditional techniques are holding back design teams at vehicle…

Beyond Math’s ‘digital wind tunnel’ puts a physics-based AI simulation to work on F1 cars

NASA and the space industry are in agreement: if we want to establish a permanent human presence on the moon, we’ll need to make use of every native resource we…

Starpath accelerates moon water mining plans with $12M in funding

AI models have proven capable of many things, but what tasks do we actually want them doing? Preferably drudgery — and there’s plenty of that in research and academia. Reliant…

Reliant’s paper-scouring AI takes on science’s data drudgery

Update: Authorities have yet to access the inside of the sunken yacht, and Mike Lynch is still classified as missing. Other details have emerged in the interim. The accident appears…

Mike Lynch, recently acquitted in HP-Autonomy fraud case, is missing after yacht capsized off Sicily (updated)

Global technology giants are pushing back against attempts by India’s telecom networks to bring internet services under stricter regulation, rejecting arguments that such measures are necessary to create a “level…

US tech giants fight Indian telcos’ bid to regulate internet services, pay for network usage

Pakistani startup PostEx is entering Saudi Arabia as first global market after hitting $21 million ARR in the South Asian nation.

Pakistan’s PostEx to enter new markets, starting with Saudi Arabia

The AI boom is fueling the demand for data centers and, in turn, driving up water consumption. (Water is used to cool the computing equipment inside data centers.) According to…

Demand for AI is driving data center water consumption sky high

The group honking was an unintended consequence of Waymo’s tech.

The Waymo robotaxi honking problem has been resolved for real this time

OpenAI and Anthropic spend billions of dollars a year training models like GPT-4 and Claude, but competitive price dumping is making the business around these platforms rather precarious. Aidan Gomez,…

What margins? AI’s business model is changing fast, says Cohere founder

Hello, and welcome back to TechCrunch Space. Did you hear? Bridgit Mendler will be joining me onstage at this year’s TechCrunch Disrupt to talk all things ground stations. She’s just…

TechCrunch Space: Spending less

What’s the point of chatting with a human-like bot if it’s an unreliable narrator — and has a colorless personality? That’s the question I’ve been turning over in my head…

Gemini Live could use some more rehearsals

Zoom on Monday announced a new single-user webinar feature that caps out at 1 million attendees. The addition comes less than a month after the #WinWithBlackWomen fundraiser for Vice President…

Now a million people can watch you fumble Zoom’s screen-share settings at once

On Sunday, former President Donald Trump posted a collection of memes on Truth Social — the platform owned by his media company — that make it seem like Taylor Swift…

Could Trump’s AI-generated Taylor Swift endorsement be illegal?

Few truly autonomous systems are deployed on the battlefield, but one startup is looking to change that with robotic systems that use cooperative behavior to boost troops’ intelligence and tactical…

Swarmbotics founders grew ‘obsessed with robot swarms’ and now plan to bring them to the battlefield

Former a16z-investor Balaji Srinivasan has booked out an island in Singapore to create his own “Network School.”

Former a16z VC Balaji Srinivasan obtained a private island for his new longevity ‘technocapitalist’ school

The flight tracking company says the misconfiguration exposed customer names, addresses, and pilot’s data, as well as Social Security numbers.

FlightAware warns that some customers’ info has been ‘exposed,’ including Social Security numbers

Over 30% of 7- to 9-year-olds have an X account, according to a new report.

A surprising number of ‘iPad Kids’ are on X, study finds

Apple Podcasts can now be streamed from the web. Apple announced on Monday that its Apple Podcasts app is now available on all major web browsers (Chrome, Edge, Firefox, and…

Apple Podcasts launches on the web

Historic vehicles, flowing champagne and fashion have dominated the events at Monterey Car Week for decades now. But a change is afoot: EVs, tech-centric vehicles, startups and a heavy dose…

From a $2.5 million hyper car to a Spanish track-ready EV, here were the most interesting EVs at Monterey Car Week

The clock is ticking! You’ve got just 5 days left to lock in discounted tickets for TechCrunch Disrupt 2024. Save up to $600 on individual ticket types. This limited-time offer ends…

5 days left to secure ticket savings for TechCrunch Disrupt 2024

General Motors is cutting around 1,000 software workers around the world in a bid to focus on more “high-priority” initiatives like improving its Super Cruise driver assistance system, the quality…

GM cuts 1,000 software jobs as it prioritizes quality and AI

Popular iPad design app Procreate is coming out against generative AI, and has vowed never to introduce generative AI features into its products. The company said on its website that…

Procreate takes a stand against generative AI, vows to never incorporate the tech into its products

ElevenLabs, which develops AI-powered tools to create and edit synthetic voices, is making its Reader app available globally with support for 32 languages.

ElevenLabs’ text-to-speech app Reader is now available globally