Malware and Ransomware Guide
What is ransomware and how do I protect my home computer?
Ransomware locks your files and demands payment. Keep an offline backup, update everything, and be careful with attachments and links.
Short answer
Ransomware is malware that encrypts your files or locks your device so you cannot use it, then demands payment, usually in cryptocurrency [1]. The best protection is a recent backup kept offline or separate from your computer, because ransomware actively targets backups [1][2]. Keep devices updated and be wary of unexpected attachments and links.
Step by step
- Keep an offline backup. Copy important files to an external drive you disconnect afterwards, or use a cloud service with version history [2].
- Turn on automatic updates. Many attacks use known flaws that updates fix.
- Use built-in protection. On Windows, turn on Controlled Folder Access to protect key folders from unauthorised programs [3].
- Use cloud version history. OneDrive, for example, includes ransomware detection and file versioning [3].
- Be careful with attachments. Do not enable macros in documents you were not expecting.
Should I pay?
The NCSC and UK police do not encourage paying. If you do pay there is no guarantee you will get your data back, your computer will still be infected, you will be funding criminals and you are more likely to be targeted again [1].
If it happens
Disconnect the device from the internet, do not pay, and report it to Report Fraud or Police Scotland. Then follow our guide to cleaning an infected computer and restore from a backup made before the infection.
In plain words
Ransomware holds your files hostage. If you keep a separate backup, you can ignore the ransom and restore your files.
Questions people ask
Can phones get ransomware?
It is rare on phones that use official app stores and are kept updated.
Does cloud backup protect me?
Yes, if it keeps previous versions. Plain syncing can copy encrypted files over good ones.
Will antivirus stop ransomware?
It helps, but backups are what let you recover.
What is wiper malware?
Malware that pretends to be ransomware but does not restore files even after payment [2].
Sources
- National Cyber Security Centre, What you need to know about ransomware. Accessed 2 December 2026.
- National Cyber Security Centre, Mitigating malware and ransomware attacks. Accessed 2 December 2026.
- Microsoft Support, Protect your PC from ransomware. Accessed 2 December 2026.
12 factual claims checked against 3 sources before publication.