Ransomware is malicious software that locks a victim out of their own files or device and then demands payment to restore access. On a home network it usually arrives through a malicious email attachment, a fake software download, or an exposed remote-access service, and it typically encrypts files so they cannot be opened without a key the attacker holds. The short answer: it is malware used as extortion, and the only reliable defense is a recent backup you keep offline, plus closing the ways it gets in.

What the term means and where it comes from

"Ransomware" is a standard English compound word, not slang and not informal jargon. It is built from "ransom" plus the suffix "-ware," the ending used across computing to name categories of software (software, firmware, malware, spyware, freeware). Ransom itself comes from the medieval sense of a sum paid to free a captured person or property, and it appears in English centuries before computers existed. The coinage simply merges that idea with "software": a program whose purpose is to hold your data hostage.

The word is used the same way in news reporting, law enforcement advisories and technical documentation, and it needs no explanation in a sentence like: "The pharmacy chain's billing system was knocked offline for two days after ransomware encrypted its servers." You would not write it in quotes or with a hyphen, and there is no competing spelling.

How ransomware actually works

Almost every modern ransomware attack follows the same broad sequence. Understanding the sequence matters because each stage offers a place to stop it.

  1. Delivery. The malware gets in. Common routes are phishing emails with a malicious attachment or link, pirated or fake installers for popular software, malicious ads, and internet-facing remote desktop services with weak passwords.
  2. Execution and staging. Once running, the code often tries to disable or avoid security tools, then looks for files worth encrypting - documents, photos, spreadsheets, databases - and sometimes maps network drives it can reach.
  3. Encryption. Files are scrambled with strong encryption. Many attackers also steal copies of the files first, a tactic called double extortion, so they can threaten to publish the data even if you restore from a backup.
  4. Extortion. A ransom note appears on the desktop or a text file is dropped in folders, usually with a countdown timer, a payment method such as cryptocurrency, and a chat portal for negotiations.

On home equipment the damage is often wider than people expect. A laptop that has a mapped connection to a network-attached storage drive, or a backup drive that is plugged in and mounted, can have those files encrypted too. That is why an attached USB drive is not a real backup against this class of attack.

The main types you will hear about

  • Encrypting ransomware. The classic form: files are scrambled and a key is demanded. Without the attacker's key, recovery depends on flaws in the attacker's code or on backups.
  • Locker ransomware. Files may not be touched; instead the whole device is locked, blocking access to the desktop or login. Sometimes it is a fake warning designed to scare you into paying.
  • Scareware and tech-support scams. Pop-ups claim the device is infected and demand a payment or a phone call. This is not encryption at all - it is social engineering, and closing the browser or restarting usually ends it.
  • Data-theft extortion. No encryption happens; files are copied out and the demand is "pay or we publish." Home users with sensitive photos or identity documents are exposed to this too.

Why you should not just pay

Paying is discouraged by law enforcement and security agencies for several practical reasons. Payment funds further attacks. There is no guarantee the key works or that the attacker will honour the deal, and some families of malware have been badly written enough that decryption fails even after payment. Paying also marks the victim as someone who pays, which can invite a second attack. The honest assessment is that decryption without a backup is frequently impossible, and the recovery route that actually works is restoring clean data - which is why backups are the centrepiece of every serious protection plan.

One useful exception: some ransomware strains have been reverse-engineered, and free decryption tools exist for those specific families. The No More Ransom project, run by law enforcement and security vendors, hosts a collection of these tools. It is worth checking which strain you have before doing anything drastic, because identification sometimes makes recovery free.

Signs of an infection and what to check

  • Files suddenly have unfamiliar extensions, appear as unreadable text, or will not open in apps that used to handle them.
  • A ransom note file appears in many folders at once, or a full-screen message replaces the desktop.
  • Desktop wallpaper changes without you doing it, often to a warning message.
  • The drive activity light stays busy and the machine becomes very slow while you are not doing anything demanding.
  • Files vanish from a shared folder, or a network drive shows renamed or duplicate files.

A common misconception is that ransomware is always dramatic and visible. In reality the encryption phase can run quietly in the background for a while, and the first clear sign may be that yesterday's spreadsheet will not open.

What to do if it happens

Speed matters more than cleverness here. Act in this order:

  1. Disconnect from the network. Unplug the Ethernet cable and turn off Wi-Fi, and unplug any external or network drives. This limits how far the encryption can spread.
  2. Do not pay and do not reboot repeatedly. Powering down can destroy traces that recovery tools rely on, and rebooting may trigger further encryption.
  3. Identify the strain. Note the ransom note wording and the file extension added to your files, then check the No More Ransom project for a free decryptor.
  4. Restore from backup. Wipe the affected device and restore from a backup made before the infection. Confirm the backup itself is not encrypted before overwriting anything.
  5. Change passwords for email, banking and any account used on the affected machine, from a different, clean device, and turn on two-factor authentication.
  6. Report it to your local police or national cybercrime reporting body. Reporting is often a prerequisite for insurance claims and helps track campaigns.

If there is no usable backup, a professional data-recovery service may be able to help, but success is never guaranteed and it is not cheap. For most households the realistic outcome is losing the affected files and rebuilding.

Prevention that actually works at home

No single measure stops everything, but a stack of simple habits closes the routes attackers use most.

  • Keep the 3-2-1 backup rule. Three copies of important data, on two different types of media, with one copy off-site. A cloud backup that keeps version history is strong protection because you can roll back to a date before the infection. Keep at least one backup drive disconnected when not in use.
  • Patch promptly. Install operating system, browser and app updates when offered. Many attacks exploit flaws that were fixed months earlier.
  • Be careful with attachments and installers. Treat unexpected invoices, delivery notices and password-reset emails with suspicion, and download software only from the vendor's official site or an official app store.
  • Use a standard account for daily use rather than an administrator account, and give administrative approval only when a task needs it.
  • Turn on two-factor authentication on email, cloud storage and any remote-access account. Email is the reset key to everything else.
  • Close remote access you do not need. Disable remote desktop features you never use, and never expose them directly to the internet with a simple password.
  • Segment the smart home. Put cameras, plugs and other internet-connected devices on a separate guest Wi-Fi network so an infected gadget cannot reach your computers or storage.

Labels and menu names differ slightly between operating systems, router brands and app versions, so look for the equivalent setting rather than an exact wording. On most routers the guest network option sits in the wireless settings area; on most computers, backup and update settings live in the system settings app.

Frequently Asked Questions

Can antivirus software stop ransomware?

It helps but is not sufficient on its own. Security software catches known malicious files and suspicious behaviour, yet new variants and fileless techniques can slip past. Backups and cautious behaviour remain the reliable layer.

Can I get my files back without paying?

Sometimes. Free decryptors exist for some strains, and versioned cloud backups let you restore earlier copies. For strains with no known weakness, decryption without a backup is generally not possible.

Does ransomware affect phones and tablets?

It is far more common on computers, but phones are not immune. Mobile attacks usually arrive through sideloaded apps outside the official app stores or through malicious links. Stick to official app stores and keep the device updated.

Is it safe to plug in a backup drive after an infection?

Only after the infected machine has been fully wiped and reinstalled, or on a different, clean computer. Connecting a clean drive to an active infection can encrypt the backup too.

Can ransomware spread to other devices on my Wi-Fi?

Some strains look for other reachable machines and shared folders. Disconnecting the infected device immediately and isolating smart devices on a guest network reduces that risk.

Do I need to tell anyone if I was attacked?

For a home user it is not usually a legal obligation, but reporting to the national cybercrime body is still worthwhile - it helps authorities track campaigns and may be needed for insurance claims.