Getting around MFA
Riley's account had MFASigning in with more than one type of factor, such as a password plus a code from an enrolled authenticator app. Two passwords are still one factor type, however many screens they appear on. 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 appSomething a person controls and uses to prove control of an account, such as a memorized password, an app that generates one-time codes, or a security key. It counts only after it has been registered to that account., and Cedar checked both. A relay passed them to Cedar while they were still valid and kept the sessionThe ongoing connection between later requests and an earlier sign-in, so you are not asked for your password on every click. It is often tracked with a cookie holding an unpredictable session identifier. 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 passkeyA credential that your phone, computer or password manager creates for one website and keeps for you, unlocked with a fingerprint, face or PIN. Nothing you could type is sent, and it works only for the site it was made for, which helps it resist phishing.. 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-resistantA property of an authentication method that binds sign-in to the real service, so evidence entered on a look-alike site cannot be passed on and used. Passkeys have it; passwords and one-time codes do not., such as a second passkey or a security keyA small physical device, plugged in or held near a phone or computer, that holds credentials and uses them to prove you have it. It is an authenticator that resists phishing.. 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 providerA service that authenticates users and tells other applications about the sign-in, so those applications never handle the users' passwords. In OpenID Connect it is called an OpenID 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 sprayingAn attack that tries a few common passwords against many accounts, one or two attempts each, so that no single account sees enough failures to stand out. 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 protocolAn agreed set of rules for the messages two systems exchange and what each message means. HTTP, OAuth 2.0, OpenID Connect and SAML are all protocols. 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:
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.
Check your understanding
Try these questions before moving on. If an answer isn't right, use the feedback and try again.
Try it in the Lab
- Test a passkey requirement against the fallbacks it leavesGive Lena a passkey beside an authenticator app, get past her second step the weaker way, enforce a passkey requirement, and find the path it still leaves open.