Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

Getting around MFA

Riley's account had MFA turned on, and it was taken anyway. This lesson looks at how attackers get past a second step without breaking it: wearing down approval prompts, taking over a phone number, choosing a weaker method the account still offers, and using paths that never ask. It ends with how to find the least evidence that opens an account.

MFA was on, and the account was still taken

When Cedar looked back at how Riley's account was taken over, the first question was predictable: wasn't MFA turned on? It was. Riley signed in with a password and a code from an authenticator app, and Cedar checked both. A relay passed them to Cedar while they were still valid and kept the session that followed, as Phishing and relayed sign-ins showed. The MFA did exactly what it was designed to do. The attacker went around it.

That is the usual story. Attackers rarely break the cryptography behind a code or a passkey. They persuade the person to complete the second step for them, take over the channel a code arrives through, pick a weaker method the account still allows, or use a path that never asks for a second step at all. In every case, a settings page can truthfully say "MFA: enabled" while the account is reachable with less.

Wearing down approvals

Some of Cedar's sales staff approve sign-ins with a prompt on their phone instead of typing a code. In that setup, the account asks for the password first and then sends the prompt. Suppose an attacker has one salesperson's password, perhaps from a breach at another service, as Guessing, spraying, and stuffing described. The attacker starts a sign-in, then another, and another. At 2 a.m. the phone lights up again and again. Some people deny every prompt. Others, half asleep or worn down, approve one just to make them stop. This is approval fatigue, sometimes called prompt bombing.

A message alongside the prompts makes it worse. A call or text that claims to come from Cedar's IT team explains that a fault is causing the prompts and that approving the next one will fix it. Now the person has a plausible reason to approve, and a request from what sounds like authority.

Number matching removes the blind tap. The app asks for a number shown on the sign-in screen, and someone who did not start a sign-in has no number to enter. It does not remove the phone call. An attacker who is talking to the person can read out the number from the screen in front of them, and as with relays, nothing in the number tells the app whose screen it came from.

Other controls close more of the gap. A service can stop sending prompts after a few go unanswered or are denied, and require a different method for a while. The prompt can show which application is asking and roughly where the sign-in comes from, so a 2 a.m. request from an unfamiliar place looks wrong. Most usefully, the prompt can offer a way to report it: "I didn't try to sign in". That report denies the request, alerts the security team and marks the password as known, since in this setup a prompt is sent only after the correct password. In the records, approval fatigue looks like a run of denied or expired prompts for one account, followed by an approval for a sign-in from a network the person has never used.

Taking over a phone number

A text-message code goes to a phone number, not to a particular phone. As Codes, links, and approval prompts explained, whoever receives messages for that number at that moment receives the code. Phone numbers can move. A mobile carrier can transfer a number to a new SIM card when a customer reports a lost phone, or to another carrier when a customer switches. An attacker who persuades the carrier's support staff, using personal details gathered elsewhere, can have the number moved to a SIM card they control. This is a SIM swap, or number transfer fraud.

The effect reaches further than sign-in codes. Many accounts use the same number for recovery, so the attacker can request a password reset, receive the reset code, set a new password and then receive the sign-in code as well. Two apparently separate checks collapse into control of one phone number. Often the real owner notices only because their phone suddenly shows no service.

Services can limit the damage. A phone number should not be the only way to recover a valuable account, and administrator accounts should not accept it at all. When the number on an account changes, or a reset is completed by text message, the service can notify the person's other channels, such as their email and enrolled devices, and hold sensitive changes for a waiting period. People can protect their own numbers too, since many carriers let a customer set a separate PIN or lock that must be given before a number moves.

Choosing the weakest method on offer

Sign-in pages often offer a link labeled "Try another way" or "Use a different method". It exists for good reasons: a person whose phone battery is flat still needs to work. But the link offers whatever the account allows, and the attacker gets to choose from the list too.

After the incident, Cedar requires a passkey for its finance staff, and Riley enrolls one. Riley's account still has a phone number for text-message codes from before the change, and the sign-in page still offers it as an alternative. A relay cannot use the passkey, because the browser will not offer it at a look-alike site. So the relay picks "Try another way" on its side, asks Riley for the password and then the text-message code, and forwards both. This is a downgrade: steering a sign-in to a weaker method that the account still accepts. The passkey requirement was real, but it was not what the attacker had to satisfy.

The fix is for the policy, not the sign-in page, to decide which methods count. If an account requires a passkey, any fallback offered at sign-in has to be just as phishing-resistant, such as a second passkey or a security key. A person who has lost every strong method goes through recovery, which can be slower and more careful, as Enrollment, replacement, and recovery explained, rather than through a weaker method at the sign-in page. The records help here as well. Someone who always uses a passkey and suddenly signs in with a text-message code, from a new network, is worth a closer look.

Paths that never ask

Some ways into an account skip the second step entirely, usually for reasons that once made sense.

Older protocols are the classic case. Some mail and file protocols send a username and password straight to the service with each connection, so there is no sign-in page on which an identity provider could ask for anything more. If Cedar's mail service still accepts them, Riley's account can be reached with the password alone, which is why password spraying often aims at exactly these endpoints. App passwords, long generated secrets for older applications that cannot handle MFA, work the same way: each one is a single secret that opens the account without a second step.

Then there are gaps in the policy itself. Accounts left out of MFA during a pilot, a migration or after an executive complained. Service accounts excluded because they cannot answer prompts. A rule that skips MFA on the office network, combined with a VPN, the service that connects a remote laptop as though it were in the office, which asks only for a password. Each exception had a reason when it was made. Many outlive that reason, because nobody owns the exception and nothing makes it expire.

Finally, a session that already exists never asks again until it ends. That is by design, as Staying signed in explained, and it is why the session the relay kept was worth more to Cedar's attacker than anything Riley typed.

Checking every path to the account

The useful question is not "is MFA enabled?" but "what is the least evidence that gets someone into this account?" Answering it means listing every path: each sign-in method and fallback, each protocol the service still accepts, app passwords, recovery by email or phone, help desk resets, and sessions that already exist. For each one, write down what it actually requires. The account's real strength is the weakest entry on that list, the point Why attackers go after identity made. Here is the list for Riley's account once the passkey requirement arrives, if nothing else changes:

The passkey is the strongest path into Riley's account, but an attacker will take the older mail protocol or the text-message reset instead.

Policies describe intent, and sign-in records describe what actually happened. Checking which method each successful sign-in used over a few weeks shows which paths are really in use: password-only sign-ins through an older protocol, text-message codes on accounts that were supposed to have moved to passkeys, members of an excluded group whose project ended long ago. Every exception needs an owner, a reason and an end date, and a regular review should remove the ones whose reason has passed.

Try finding the gap in a few fictional policies.

Find the path that skips MFA

Simulation. These policy summaries come from made-up organizations, for practice only. Checking an answer happens only in your browser and sends nothing.

Which path reaches an account under this policy with only a password? 1 of 4
Policy: Staff sign-in
  Web and mobile apps: passkey, or password and authenticator app
  Mail apps using older protocols: allowed, password sent directly
  Exceptions: none

Enable JavaScript to check an answer here, or open the explanation below.

Show the answer and why

Mail apps on older protocols, which take the password alone. Older protocols send the password straight to the service, so there is nowhere to ask for more. The policy lists no exceptions, but this path works as one.

Where is the gap in this policy? 2 of 4
Policy: All staff, MFA required for every sign-in
Excluded group: Laptop rollout pilot
  Created: 2025-03-04   Reason: new laptops not yet enrolled
  Rollout completed: 2025-05-30
  Owner: none           Review date: none
  Members: 46, including [email protected]

Enable JavaScript to check an answer here, or open the explanation below.

Show the answer and why

The pilot exclusion, still covering 46 people after its reason passed. The rollout ended, but the exclusion did not. All 46 members, [email protected] among them, can still sign in without a second factor.

How could someone reach an account under this policy with only a password? 3 of 4
Policy: All staff
  MFA required, except from the office network (192.0.2.x)
Remote access VPN:
  Places remote staff on the office network (192.0.2.x)
  VPN sign-in: password only

Enable JavaScript to check an answer here, or open the explanation below.

Show the answer and why

Through the VPN, whose password alone puts them on the excepted network. The two settings combine: the VPN needs only a password, and once connected, sign-ins arrive from the excepted network. A location exception should never stand in for a factor.

Which path into these accounts skips the passkey? 4 of 4
Policy: Administrators
  Sign-in: passkey required, no other methods
  App passwords: allowed, for older mail apps that cannot use passkeys
  Lost passkey: in-person check with a second approver

Enable JavaScript to check an answer here, or open the explanation below.

Show the answer and why

App passwords, each one saved secret that never asks for a second step. Older mail apps present the app password and are never asked for more, so whoever holds one reaches the account without the passkey. These administrator accounts are only as strong as their app passwords.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

An employee's account asks for a password, then sends an approval prompt to their phone. Fourteen prompts arrive at 2 a.m., and the fifteenth is approved. Which response helps most? 1 of 3

Choose one answer.

Cedar requires a passkey for its finance staff, but its sign-in page still offers a text-message code under "Try another way". How strong are those accounts? 2 of 3

Choose one answer.

Riley's web sign-in now requires a passkey, but Cedar's mail service still accepts an older protocol that sends a username and password with each connection. What is the least evidence that opens Riley's mailbox? 3 of 3

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity