Ransomware Fix: The One Change That Actually Helps
In this article
The ransomware problem won't get better until we change one thing: how we handle authentication. Most ransomware attacks don't start with clever hacking—they start with a stolen or guessed password. Until every account that can reach sensitive data uses phishing-resistant multi-factor authentication (MFA), attackers will keep walking through the front door. This guide explains the single change that matters most, what it looks like in practice, and how to implement it without breaking your workflow.
What You'll Need
- Administrative access to your organization's identity provider (e.g., Microsoft Entra ID, Okta, Google Workspace admin console)
- A list of all accounts that have access to email, file shares, or administrative portals
- Hardware security keys (e.g., YubiKey) or a mobile device with an authenticator app that supports FIDO2/WebAuthn
- A test group of users to pilot the change before rolling out broadly
- Backup of your identity provider's configuration (export settings if available)
Step-by-Step
- Audit your current authentication. Log into your identity provider's admin console and list every user, service account, and application that can access email, file storage, or admin panels. Note which ones currently use only a password (no MFA).
- Identify the highest-risk accounts first. Prioritize global admins, domain admins, finance users, and anyone with access to backups or source code. These are the accounts ransomware operators target first.
- Enable phishing-resistant MFA for those high-risk accounts. In most identity providers, this means requiring FIDO2 security keys or passkeys. Go to the security settings and create a conditional access policy or authentication method policy that requires a hardware key for admins. The exact menu path varies—look for "Authentication methods" or "Conditional Access" in your provider's admin portal.
- Set up a pilot group. Create a small group of 5–10 users who are comfortable with technology. Assign them the new policy and ask them to register their security keys or passkeys. Have them test signing in from a personal device and a work device.
- Roll out to all users gradually. After the pilot works for a week, expand the policy to all users in phases—start with one department, then another. Announce the change with clear instructions and a deadline. Provide a link to your provider's official setup guide for security keys.
- Require MFA for every sign-in, not just risky ones. Many providers allow you to skip MFA on trusted networks. Disable that exemption. Ransomware often comes from inside the network after a VPN compromise.
- Remove password-only service accounts. For any service account that cannot use MFA, rotate the password to a long random value, store it in a secure vault, and restrict its permissions to the minimum needed. If possible, use managed identity certificates instead.
- Monitor sign-in logs for anomalies. After enabling MFA, watch for failed MFA attempts or new device registrations. Most identity providers have a sign-in log you can review weekly.
- Train users on why this matters. Explain that a stolen password is no longer enough to get in. Show them how to use their security key or passkey, and what to do if they lose it (e.g., a backup key or recovery code).
- Review and update quarterly. Every three months, check that no new accounts have been created without MFA, and that no one has disabled MFA on their own account. Automate this with a report if your provider supports it.
Common Mistakes
- Allowing SMS or voice call MFA. SMS codes can be intercepted via SIM swapping. Use authenticator apps or hardware keys instead.
- Exempting VPN users. A VPN is not a trusted network. Anyone connecting through VPN must still use MFA.
- Forgetting about third-party apps. Some apps (like older email clients) don't support MFA. You must either update them or block them and use a modern app that does.
- Not testing the rollout. If you enable MFA for everyone at once, you'll have a flood of helpdesk tickets. Test with a small group first.
- Ignoring backup codes. If a user loses their phone or security key, they need a recovery method. Provide one-time backup codes and store them securely.
Tips
- Use hardware security keys for admins and passkeys for regular users—passkeys are easier to use and still phishing-resistant.
- Set a policy that requires MFA re-authentication every 12 hours for admin roles, not just once.
- If you use Microsoft Entra ID, enable the "Authentication Strengths" feature to require FIDO2 for privileged roles.
- For Google Workspace, enforce "2-Step Verification" for all users and set "Allow security keys" as the only permitted method.
- Keep a few spare security keys in a locked drawer for emergencies.
Troubleshooting
If a user cannot sign in after MFA is enabled:
- First, check if they registered a key. Have them go to the security info page and add a new key or passkey.
- If they lost their phone or key, use the admin console to temporarily reset their MFA. Most providers allow an admin to clear a user's MFA registration, which lets them re-register on the next sign-in.
- If the sign-in works but an app fails, the app probably doesn't support MFA. Use an app password (if your provider allows it) or switch to a modern app that supports MFA.
- If you get locked out of admin, use the break-glass account—a separate admin account with a different MFA method that you set up before the rollout. If you didn't set one up, contact your provider's support with proof of domain ownership.
Frequently Asked Questions
Why is MFA the one thing that changes ransomware?
Most ransomware attacks start with a stolen password. MFA stops that attack vector because the attacker can't provide the second factor. It's the single most effective control you can implement.
Can I use an authenticator app instead of a hardware key?
Yes, but authenticator apps (like Google Authenticator or Microsoft Authenticator) are still susceptible to phishing if the user enters the code on a fake site. Hardware keys are better because they verify the site's identity.
What if a user refuses to use MFA?
Make it mandatory. For most organizations, that means a policy that blocks sign-in without MFA. If a user truly cannot use a key, provide a temporary backup code and escalate to management.
Does MFA protect against ransomware already inside the network?
No. MFA stops initial access. Once ransomware is inside, it can move laterally using stolen session tokens or unpatched vulnerabilities. MFA is not a substitute for patching and network segmentation.
How long does it take to roll out MFA?
For a small business, a few days. For a large enterprise, 2–4 weeks if you phase it by department. The audit and pilot take the most time.
What about service accounts that can't use MFA?
Rotate their passwords to long random values, store them in a vault, and restrict their permissions. Better yet, replace them with managed identities that use certificate-based authentication.