Contact us

Guide

How to prevent ransomware attacks on your endpoints

Ransomware is rarely a single bad file. It is usually the end of an attack that started with a phishing email, a stolen password or an unpatched remote access service. Each step below removes one of the routes attackers rely on, and the last few make sure you can recover if something still gets through.

  • We reply by email
  • Forever Systems, part of Forever Group

In short

To prevent ransomware attacks, close the ways in (patch, enforce MFA, shut unused remote access), limit what can run (remove local admin, use application control), detect attacks early with EDR that someone acts on, keep tested offline backups, add rollback where your platform offers it, train staff and rehearse your response.

Want help with ransomware prevention?

We can plan it with you or do it for you. Tell us where you are up to.

Contact us

How ransomware attacks unfold

Most ransomware incidents follow a similar pattern, and every stage is a chance to stop it:

Attack stageWhat the attacker doesEndpoint controls that interrupt it
Initial accessPhishing email or attachment, stolen password, exposed Remote Desktop or an unpatched VPN or remote access devicePatching, MFA, email and web filtering, closing unused remote access
ExecutionRuns a loader, script or macro on a user's deviceApplication control, macro and script restrictions, EDR prevention
Privilege and persistenceGains admin rights, switches off security tools, adds accountsNo standing local admin, tamper protection, EDR detection
Lateral movementUses legitimate admin tools and stolen credentials to reach servers and backupsEDR and XDR alerts, device isolation, segmentation, MFA for admin access
Data theftCopies sensitive data out before encrypting, to threaten publicationEDR telemetry, data theft blocking where the platform offers it, monitoring
Encryption and extortionEncrypts files, deletes recovery points, demands paymentBehavioural anti-ransomware, rollback, offline backups, a rehearsed response

The NCSC's guidance on mitigating malware and ransomware attacks recommends a defence-in-depth approach for exactly this reason: assume some malware will get in, and put layers in place so you have several chances to detect and stop it before it causes real harm. Its four actions are to make regular backups, prevent malware being delivered and spreading, prevent malware running on devices, and prepare for an incident. The steps below follow the same order of thinking, with a focus on what you do on laptops, desktops and servers.

Not sure which option applies to you? Ask us

Tell us about your organisation and we will point you to the right option.

Contact us

10 steps to prevent ransomware attacks

  1. Know every device you have. You cannot protect what you cannot see. Compare your asset list with the devices reporting to your security console and close the gap, including servers, virtual machines and remote laptops. Our guide to what an endpoint is helps you list them.
  2. Patch, starting with what faces the internet. The NCSC notes that ransomware is increasingly deployed through exposed services such as Remote Desktop Protocol and unpatched remote access devices. Prioritise firewalls, VPNs and remote access first, then operating systems, browsers and office apps. Our patch management process guide covers how to run this on a schedule, and replace software that is no longer supported.
  3. Close or lock down remote access. Disable Remote Desktop where it is not needed, put MFA on every remote access route and every cloud service, and give remote users low-privilege accounts. A zero trust approach to devices checks a device is healthy before it is allowed in.
  4. Remove standing local admin rights. Ransomware that runs as an everyday user can do far less damage. Give people a way to elevate for approved tasks instead, and keep admin accounts away from email and web browsing. See endpoint privilege management.
  5. Control what is allowed to run. Application allowlisting, restrictions on macros and scripting, and disabling auto-run for removable media all stop common ransomware loaders from starting. Start in audit mode, then enforce. See application whitelisting and USB device control, and build them into your endpoint hardening baseline.
  6. Run EDR with behavioural anti-ransomware, and make sure someone acts on it. Modern ransomware operators use legitimate tools, so signature-based antivirus alone can miss them. Endpoint detection and response watches behaviour, can isolate a device and kill processes, and records what happened. An alert at 2am only helps if someone responds, which is why organisations without their own out-of-hours cover often add a vendor-run managed detection and response service. If you are weighing up EDR against what you already run, see EDR vs antivirus.
  7. Add rollback and a dedicated anti-ransomware layer where it fits. Several platforms can undo ransomware damage on the device itself (see the table below), and some organisations add a specialist anti-ransomware agent beside their existing EDR. Turn on tamper protection so attackers cannot simply switch your security off.
  8. Keep offline backups and test restores. The NCSC calls up-to-date backups the most effective way of recovering from a ransomware attack. Keep at least one copy offline or in a cloud service designed to protect earlier versions, protect backup admin accounts with MFA, and test that you can restore. Forever Group offers cloud backup, and our sister site covers cloud backup options.
  9. Train people to spot the first move. Phishing and social engineering are a common way in. Short, regular training and simulated phishing help staff recognise and report suspicious messages. See ransomware awareness training on our sister site.
  10. Plan and rehearse your response. Decide in advance who isolates devices, who talks to customers and regulators, how you would rebuild from offline backups, and how you will respond to a ransom demand or a threat to publish data. Keep the plan available offline and exercise it. The NCSC offers a free online Exercise in a Box tool to help.

Ransomware rollback and anti-ransomware in the platforms we supply

Ransomware rollback means different things in different products: some restore individual files from on-device copies, others return the whole device to its state before the attack. These are the capabilities each vendor describes in its own material; which edition or bundle you need is confirmed at quote.

PlatformRansomware-specific capabilityRead more
ThreatDown EDRSeven-day ransomware rollback: restores files encrypted, modified or deleted by ransomware up to seven days back, plus network, process and desktop isolationThreatDown; ThreatDown EDR licensing
SentinelOne Singularity Control and CompleteBehavioural detection, automated remediation and rollback to a state before the attack (support depends on the operating system)SentinelOne Singularity
CrowdStrike FalconFalcon Prevent uses machine learning and indicators of attack against ransomware, scripts and fileless techniques; Falcon Insight XDR adds detection and responseFalcon Insight XDR
WatchGuard Endpoint SecurityMalware and ransomware protection with behavioural detection; the 360 and Elite editions add the Zero-Trust Application Service and lateral movement detectionWatchGuard EPDR
Sophos EndpointCryptoGuard anti-ransomware with file rollback, and adaptive protection during an active attackSophos Endpoint
Check Point Endpoint Security (Harmony Endpoint)Anti-ransomware with file restoration, in the same agent as prevention and EDRCheck Point anti-ransomware
HalcyonA dedicated anti-ransomware agent that runs beside your existing EDR, protects security tools from tampering and is designed to capture encryption keys so data can be recoveredHalcyon

Two cautions. Rollback works on the device and depends on local copies or snapshots that ransomware tries to destroy, so it complements backups rather than replacing them. And no single layer stops every attack, which is why the NCSC recommends defence in depth. Compare licensing for these and other options in anti-ransomware software on our licensing site.

Prefer a hand with this?

We can help you plan it and set it up, alongside your own team.

Contact us

What to do if ransomware gets through

If you suspect ransomware on a device, speed matters, but so does not making things worse:

  • Isolate affected devices from the network, using your EDR console's isolation if you have it, and avoid wiping or rebuilding them until you have preserved what investigators may need
  • Follow your response plan and bring in incident response help early; the NCSC runs a commercial Cyber Incident Response scheme in which certified companies support affected organisations
  • Reset credentials that may have been exposed, starting with admin and remote access accounts
  • Check backups are clean before restoring, because ransomware may have been present for some time and copied into backups
  • Report it to the NCSC through report.ncsc.gov.uk, which also encourages reporting to the Report Fraud service, and consider whether you must notify the data protection regulator (see endpoint security compliance)

On paying, the NCSC is clear that law enforcement does not encourage, endorse or condone ransom payments. If you pay, there is no guarantee you will get access to your data, your computers will still be infected, you will be paying criminal groups and you are more likely to be targeted in future. Planning for recovery without paying is the safer position.

Common gaps in ransomware defences

When organisations review their ransomware readiness, these are weaknesses worth checking for first:

  • EDR installed but nobody watching: alerts pile up out of hours with no one to triage or isolate a device
  • Servers left on a lighter policy, or excluded from protection, because of performance worries that nobody revisited
  • Backups reachable from the main network, with the same admin credentials, so attackers can delete them first
  • Everyday accounts with local admin rights, often left over from a one-off software install
  • Unsupported operating systems still running a line-of-business application, without extra isolation
  • No rehearsed plan, so the first time anyone reads it is during an incident

Some of these can be closed by changing how tools you already own are configured; others need an extra layer or a service. Our endpoint security best practices checklist covers the wider programme.

How we help

We supply several endpoint security platforms, so we can look at your ransomware defences without pushing one product. We can:

  • Review your current endpoint protection, EDR coverage, admin rights, patching and backup set-up against the NCSC's ransomware guidance
  • Recommend where rollback, a dedicated anti-ransomware layer or a vendor-run MDR service would add the most, with pricing confirmed at quote
  • Help plan and roll out EDR, application control and privilege management in stages
  • Point you to backup, training and incident response services across Forever Group

Contact us to talk through how to prevent ransomware attacks on your devices.

How Forever Systems helps with endpoint security

We are an independent UK IT and cyber security provider. We supply and support endpoint security from several vendors, so we can recommend what fits your devices, your people and your budget rather than one vendor's answer to everything.

  • Start with what you have: we can review your current antivirus, EDR and Microsoft 365 licences before suggesting anything new
  • Vendor-aware advice on EDR, XDR and managed detection and response, including CrowdStrike, SentinelOne, WatchGuard, Bitdefender, Sophos and Check Point Harmony
  • Deployment help: planning a rollout, replacing an existing product and setting sensible policies for device control, encryption and patching
  • Policies and compliance: we help you map your controls to Cyber Essentials and the NCSC's device guidance
  • Ongoing support options, such as policy tuning, renewals and regular reviews, agreed and confirmed at quote

We work with businesses, schools, charities and public sector organisations. Tell us about your devices and we will suggest a sensible next step.

Frequently asked questions

What is the best way to prevent ransomware attacks?

There is no single best control. The NCSC recommends defence in depth: patch quickly, use MFA, remove local admin rights, control which applications can run, run EDR that someone acts on, keep offline backups you have tested, train staff and rehearse your response. Each layer gives you another chance to stop an attack.

Can antivirus stop ransomware?

Modern antivirus and next-generation antivirus block many known ransomware files, but ransomware operators often use legitimate tools and stolen accounts, which file-based detection can miss. EDR adds behavioural detection, investigation and response actions such as isolating a device. See EDR vs antivirus for the difference.

What is ransomware rollback?

Rollback is a feature in some endpoint platforms that restores files, or the device's state, to how they were before ransomware changed them. ThreatDown EDR restores affected files up to seven days back, and SentinelOne offers rollback in its Control and Complete packages. It complements backups rather than replacing them.

Do backups protect against ransomware?

Up-to-date backups are the NCSC's most effective recovery measure, provided attackers cannot reach them. Keep at least one copy offline or in a service that protects earlier versions, secure backup admin accounts with MFA, and test restores. Backups do not stop attackers publishing data they have stolen.

Should we pay a ransomware demand?

The NCSC says law enforcement does not encourage, endorse or condone paying. If you pay, there is no guarantee you will get your data back, your computers will still be infected, you will be funding criminal groups and you are more likely to be targeted again. Report incidents to the NCSC and plan to recover without paying.

Is ransomware prevention part of Cyber Essentials?

Cyber Essentials covers several of the key controls, including firewalls, secure configuration, security updates, user access control and malware protection. Backing up data is not a technical requirement of Cyber Essentials, but the requirements highly recommend it. Our sister site explains each Cyber Essentials control.

Still have a question about ransomware prevention?

Ask us and a member of our team will reply by email.

Contact us

Next step

Want help choosing or running endpoint security?

Tell Forever Systems what you need and we will come back to you by email with options and next steps.

  1. 1
    Tell us what you needA few lines is enough: your organisation, users or sites, and timescales.
  2. 2
    We read it and reply by emailWith options and clear next steps.
  3. 3
    You decideChoose the option that suits you and we take it from there.

Endpoint Security UK is a website of Forever Systems, part of Forever Group. Vendor-independent. We supply and support several endpoint security platforms, so we recommend what fits.

Send a quick enquiry

We reply by email.

About: Ransomware prevention

We only use these details to reply to your enquiry.

Talk to us about ransomware prevention

We reply by email.

We only use these details to reply to your enquiry.
Talk to us aboutransomware prevention
Contact us