Key takeaways
- No single product stops ransomware. Layered controls do.
- MFA, patching, and closing exposed RDP block the most common ways in.
- Backups only count if attackers cannot delete them and you have tested a restore.
- In the first hour, isolate affected machines but do not power them off or pay.
Ransomware is malware, usually deployed by an organized criminal group, that encrypts your files and servers and demands payment for the key. Most modern attacks also steal data first and threaten to publish it, which means even good backups do not end the problem by themselves. Small businesses are frequent targets because they tend to have fewer defenses and less time to recover.
The good news is that most attacks rely on a short list of entry points: stolen passwords, exposed remote access, unpatched systems, and phishing. The steps below close those doors in priority order, then make sure you can recover if something gets through anyway. Plan on roughly a month to put them all in place for a typical 10 to 50 person office.
How ransomware gets in
Understanding the attack path tells you where to spend first. A typical incident looks like this:
- Initial access through a phishing email, a reused password, an RDP or VPN login without MFA, or an unpatched firewall or VPN appliance.
- Privilege escalation, where attackers harvest admin credentials from the first machine.
- Lateral movement across a flat network to file servers, backup servers, and domain controllers.
- Data theft and backup destruction, often over days or weeks.
- Encryption, usually launched overnight or on a weekend.
Every control below breaks one or more of those stages.
10 controls that prevent ransomware
STEP 01Turn on multi-factor authentication everywhere
MFA is the single highest-value control. Require it for email, Microsoft 365 or Google Workspace, VPN, remote access tools, banking, payroll, and every admin account. Use an authenticator app with number matching or, better, phishing-resistant passkeys or FIDO2 security keys for admins. Our guide on how to enable two-factor authentication has step-by-step instructions.
STEP 02Patch fast, starting with internet-facing systems
Set Windows Update and macOS updates to install automatically, and use a management tool such as Microsoft Intune or your RMM platform to confirm they actually installed. Prioritize firewalls, VPN appliances, and remote access gateways. Attackers often exploit newly disclosed flaws in these devices within days. Check the CISA Known Exploited Vulnerabilities catalog for anything you run, and replace devices that no longer receive updates, including any remaining Windows 10 machines without Extended Security Updates.
STEP 03Deploy EDR on every computer and server
Endpoint detection and response watches for ransomware behavior, such as mass file renames, shadow copy deletion, or credential theft, and can isolate a device automatically. Common small business choices include Microsoft Defender for Business (included in Microsoft 365 Business Premium), SentinelOne, CrowdStrike Falcon, and Huntress. EDR is most effective when someone is monitoring alerts 24/7, either in-house or through a managed detection and response (MDR) service. See EDR vs antivirus for the differences.
STEP 04Filter email and block risky attachments
Most attacks still start in the inbox. Use Microsoft Defender for Office 365 or Google Workspace's advanced protections to scan links and attachments. Block or quarantine high-risk file types like .iso, .img, .js, .vbs, and macro-enabled Office files from outside senders. Set up SPF, DKIM, and DMARC so criminals cannot easily spoof your own domain.
STEP 05Remove local admin rights and limit privileges
Daily user accounts should not have administrator rights. Give IT staff separate admin accounts used only for admin work, and never for email or browsing. Limit who can access each file share, and review permissions when people change roles or leave. Deploy Windows LAPS so every computer has a unique local administrator password, which stops one stolen password from unlocking every machine.
STEP 06Disable or secure Remote Desktop
Exposed Remote Desktop Protocol (port 3389) is one of the most abused entry points in ransomware cases. Never forward RDP through your firewall to the internet. If staff need remote access, put it behind a VPN or Remote Desktop Gateway with MFA, or use a zero-trust access tool. Our guide to setting up remote desktop securely covers the details.
Run an external port scan of your office IP address, or ask your IT provider to. Many businesses discover a forgotten RDP, camera, or NAS port forward that was opened years ago for a vendor and never closed.
STEP 07Keep immutable or offline backups
Attackers look for backups first. Your backups need at least one copy that cannot be changed or deleted, even by an admin account, for a set retention period. Options include immutable cloud storage (object lock), backup appliances with immutability, or rotated offline media. Follow the 3-2-1 backup rule: three copies, two media types, one offsite, with one of them immutable or offline. Back up Microsoft 365 and Google Workspace data too.
Keep backup systems off your Windows domain and protect their consoles with separate credentials and MFA.
STEP 08Test restores on a schedule
A backup you have never restored is a guess. At least quarterly, restore a sample of files, a full server or virtual machine, and a mailbox. Time it. If restoring your main line-of-business system takes three days, you need to know that now and decide whether it is acceptable. Document the steps so someone other than your usual IT person can follow them.
STEP 09Train staff and run phishing simulations
Short, regular training beats an annual hour-long video. Teach people to recognize phishing, verify payment and banking changes by phone, and report suspicious messages with one click. Monthly simulated phishing emails show who needs more help.
STEP 10Segment the network
On a flat network, one infected laptop can reach every server, camera, and printer. Use VLANs and firewall rules to separate servers, staff devices, guest Wi-Fi, VoIP phones, cameras, and IoT gear. Block workstation-to-workstation file sharing where it is not needed. Platforms like Ubiquiti UniFi, Meraki, and Fortinet make segmentation practical for small offices.
Write down who to call before you need them: your IT provider, cyber insurance hotline, attorney, and bank. Our free incident response plan template gives you a one-page structure for this.
What to do in the first hour if you are hit
Speed and order matter. If you see ransom notes, files with strange extensions, or mass alerts:
- Disconnect affected devices from the network. Unplug the Ethernet cable and turn off Wi-Fi. Do not power them off, since memory can hold evidence and sometimes encryption keys.
- Stop the spread. If you can, disable VPN and remote access, and isolate servers. Many EDR tools can network-isolate devices with one click.
- Call your IT provider or incident response team and your cyber insurance carrier. Most policies require you to use their approved responders and to notify them quickly, or coverage may be at risk.
- Preserve evidence. Photograph ransom notes, keep logs, and do not wipe or reimage machines yet.
- Protect the backups. Disconnect backup targets and confirm the immutable copies are intact.
- Reset credentials from a clean device, starting with admin and email accounts, once responders advise it.
- Do not contact the attackers or pay without legal counsel and your insurer involved.
- Report it to the FBI at ic3.gov. Reporting is free and can help with recovery and decryption resources.
If personal information of California residents was taken, California Civil Code section 1798.82 may require you to notify affected individuals, and to notify the Attorney General if more than 500 Californians are affected. Healthcare practices also have HIPAA breach notification duties. Involve an attorney early to sort out what applies.
When to call an IT professional
You can start several of these steps yourself today, especially MFA and closing exposed remote access. The harder parts, like 24/7 EDR monitoring, immutable backups, and network segmentation, usually go better with help. Los Angeles IT sets up and manages these controls through our managed IT security services, billed at $95 an hour or as a monthly plan, with no long-term contract. If you want a baseline first, a cybersecurity audit shows where you stand.
Incident Response Plan Template
A fill-in plan for ransomware, email compromise, and other cyber incidents