What Is Ransomware?

Written by:
Harry Marsden Security Strategy Engineer Business Computer Solutions LinkedIn
An illustration of sensitive documents locked behind a padlock, with a cyber criminal above asking for money.

What is ransomware, and how does an attack work? This guide answers both questions, then covers how ransomware spreads, protection, backups, incident response, recovery, reporting and whether to pay a ransom.

Ransomware is malicious software that locks devices or encrypts data so criminals can demand payment to restore access. The measures businesses can take to protect against ransomware include protecting every login with Multi-Factor Authentication, patching internet-facing systems quickly, training staff to spot phishing, keeping backups apart from the network and planning the response before an attack.

Ransomware is one type of malware. The wider family of malicious software is covered in What Is Malware?.

What Ransomware Is

Ransomware is a type of malware (malicious software) that stops you accessing your devices or the data stored on them, usually by encrypting the files. Encryption scrambles data so it cannot be read without a key, and the criminals behind the attack demand a ransom, usually in a cryptocurrency, in exchange for that key.

Attackers may also copy the data before encrypting it and threaten to leak it. That second threat puts pressure on a business to pay even when its own backups are intact.

Paying does not always work. Some malware is presented as ransomware, but the files are not decrypted after the ransom is paid. The NCSC’s advice on mitigating malware and ransomware calls this wiper malware.

How Ransomware Spreads

Ransomware spreads by gaining a foothold on one account or device, then moving across the network to every system the attacker can reach. Attackers usually get in through stolen passwords, phishing emails or weaknesses in systems that face the internet.

The common ways in, as the NCSC groups them in its advice on reducing exposure to attack, are:

  • Stolen credentials. Attackers log in with compromised usernames and passwords, often gathered through phishing.
  • Exploitable vulnerabilities. Attackers exploit weaknesses or insecurely configured services that are exposed to the internet.
  • Forgotten systems. Devices and services nobody is monitoring give attackers an unwatched way in.

Most victims are not chosen. A white paper from the NCSC and the National Crime Agency found that most initial accesses are gained opportunistically, not aimed at a particular organisation, and that success usually comes down to poor cyber hygiene, such as unpatched devices, poor password protection or a lack of Multi-Factor Authentication.

How a Ransomware Attack Unfolds

The NCSC’s guide to ransomware breaks an attack into three stages:

  • Access. Attackers gain access to the network, establish control and plant the malicious encryption software. They may also copy data to threaten a leak.
  • Activation. The malware is activated, locking devices and encrypting data across the network.
  • Ransom demand. An on-screen message explains the ransom and how to pay, usually through an anonymous web page and in a cryptocurrency.

The gap between access and activation is where a business has the best chance to stop an attack. Monitoring critical systems for unusual activity matters, because the earlier an attack is found, the more effectively the business can respond, a theme that runs through the NCSC’s advice on limiting the impact of a compromise.

How to Protect Against Ransomware

The measures businesses can take to protect against ransomware work in layers, so one failure does not hand over the whole network. Each layer closes one of the common entry points described above.

  • Multi-Factor Authentication on every login. A second check beyond a password, explained in What Is Multi-Factor Authentication and Why It Matters, means a stolen password is not enough.
  • Prompt patching. Install security updates quickly, especially on firewalls, VPNs (virtual private networks) and other internet-facing devices.
  • Least privilege. Give people and systems only the access they need, and remove unused permissions.
  • Staff awareness. Train people to recognise phishing and report mistakes. How to Spot Phishing Attempts gives examples.

For a structured place to start, Cyber Essentials is the minimum standard of cyber security the Government recommends for organisations of all sizes, and Cyber Essentials: What It Is and Why It Matters explains how it works.

Backups That Survive a Ransomware Attack

Backups are the main route back after a ransomware attack, but only if the attack cannot reach them. Attackers look for backups and try to delete or encrypt them, so that paying becomes the only way out.

Backups that survive an attack are:

  • Stored separately. Copies held apart from live systems, so one incident cannot affect both.
  • Protected from change. Immutable (unchangeable once written) where possible, so an attacker cannot edit or delete them.
  • Tested regularly. Restores tried and recorded, because a backup job that reports success is not proof the data can be recovered.
  • Complete enough to rebuild. Servers, Microsoft 365, cloud services and settings, not only files.
  • Checked before use. Scanned for malware before restoring, in case the infection reached them first.

To check your own backups against this list, the NCSC’s guidance on preparing a technical recovery capability is a useful companion, and Backup and Disaster Recovery: A Business Guide covers recovery planning.

Planning Your Incident Response

An incident response plan sets out who does what when an attack is found, so decisions are made calmly, not under attackers’ pressure. Keep a copy that does not depend on your own systems.

Many businesses have not yet settled even the first decision. In the GOV.UK Cyber Security Breaches Survey 2025/2026, around half of businesses (49%) had a rule or policy not to pay ransomware demands, while one in four (24%) did not know what their policy was.

  • Critical systems. Which systems and data the business needs first, and what depends on them.
  • Roles and contacts. Who leads the response, who decides on recovery and who speaks to staff and customers.
  • Specialist help. The NCSC recommends that all UK organisations, regardless of size, engage an NCSC-assured Cyber Incident Response provider for significant incidents.

A cyber insurance policy may include that support. What Is Cyber Insurance and How to Make Sure You’re Covered explains what to check.

How to Recover From a Ransomware Attack

To recover from a ransomware attack, contain it, find out how the attackers got in, restore from clean backups in order of business priority and close the route they used. Rushing to restore before the incident is understood risks letting the attackers straight back in. The NCSC’s guidance on the immediate activities after a disruptive attack sets out the first moves.

  • Take charge. Set up clear leadership for the response, using your incident plan.
  • Bring in specialists. An NCSC-assured Cyber Incident Response provider finds out how attackers got in and whether they still have access.
  • Decide on disconnection. Disconnecting systems can stop further commands and limit spread, while shutting them down may lose evidence.
  • Check your backups. Find out when they were last taken and whether they are intact.
  • Restore in priority order. Recover the systems that critical business functions depend on first.
  • Keep a record. Log what was found, when, and who decided what.

Reporting a Ransomware Attack

A ransomware attack can lead to several reports, each with its own purpose:

  • The NCSC. Report the incident to the NCSC for guidance and support. The NCSC is not a regulator, and reporting to it does not meet any legal reporting requirement.
  • Report Fraud. Report the attack as a crime to Report Fraud, which replaced Action Fraud on 4 December 2025 as the national service for reporting cyber crime and fraud.
  • The ICO. If personal data is affected and the breach is reportable under UK GDPR, the ICO expects a report within 72 hours of discovering it, where feasible.
  • Insurers and regulators. A cyber insurer or sector regulator may set its own reporting requirements.

Should You Pay the Ransom?

The NCSC and UK law enforcement are clear on this. They do not encourage, endorse nor condone the payment of ransom demands, and paying carries four risks:

  • There is no guarantee you will get access to your data or computer.
  • Your computer will still be infected.
  • You will be paying criminal groups.
  • You are more likely to be targeted in future.

Paying also does not remove the threat to publish stolen data, so limiting what an attacker could take matters too. How to Mitigate Against Data Breaches and Sensitive Information Attacks covers those measures.

What to Expect From a Cyber Security Provider

Ransomware protection depends on a provider that treats prevention, backups and response as one plan. Look for:

  • Plain answers about scope. Whether you are getting a Cyber Security Audit, a vulnerability scan or a penetration test, and what each one covers.
  • Backups designed for recovery. Copies kept apart from the network, monitored and test-restored, as part of Backup and Disaster Recovery.
  • Training that changes behaviour. Security awareness training that teaches staff to spot phishing and report mistakes without blame.
  • A response agreed in advance. Who to call, who decides and how recovery will run, settled before an incident.
  • Cultural fit. A provider that makes time to understand how you work, what matters to your business and what your goals are. Plain English, the same familiar people and regular updates.

For how this is delivered in practice, see Cyber Security Services in Kent. More guidance is in How to Protect Your Business.

FAQs about What Is Ransomware?

Ransomware is a type of malware that stops you accessing your devices or data, usually by encrypting files, so criminals can demand a ransom for the key. Attackers may also copy data first and threaten to leak it.

Ransomware spreads from a first foothold, such as a stolen password, a phishing email or an unpatched internet-facing system, across the network to every device the attacker can reach. Multi-Factor Authentication, prompt patching and limited user permissions slow that spread.

By protecting every login with Multi-Factor Authentication, patching internet-facing systems quickly, limiting each person’s access to what they need, training staff to spot phishing and keeping tested backups stored separately from the network.

Yes, where recent backups survive the attack. Up-to-date backups kept apart from the network are the most effective way back, and they should be scanned for malware before anything is restored.

No. The NCSC and UK law enforcement do not encourage, endorse nor condone paying. Payment gives no guarantee of getting data back, leaves the computer infected, funds criminal groups and makes a business more likely to be targeted again.

It depends on what was affected. Where personal data is involved and the breach must be reported, UK GDPR sets a 72-hour reporting requirement to the ICO. Reporting to the NCSC and Report Fraud is encouraged, and insurers or regulators may have their own requirements.

Recovery can take several weeks, according to the NCSC’s guidance on mitigating malware and ransomware attacks, and a business’s reputation can take longer to recover. Tested backups, a written incident response plan and a clear order for restoring critical systems all shorten it.