Backups and Ransomware

Video + 9 min read · includes a lab

Attacker
Reception PC
Accounts PC
Pay to unlock
Shared folder
Files locked
Harmful attachment
Spreads
Backups and Ransomware
0:00 / 5:41 · Backups and Ransomware
Chapters and transcript

Backups and Ransomware Imagine arriving at work. A harmful attachment was opened yesterday. Overnight, it spread to the other computer and the shared folder. Now every file is locked, and a message demands payment. In this lesson, you will learn how ransomware gets in, the three, two, one backup rule, and why updates and protection software matter.

How it gets in Ransomware usually gets in through ordinary weaknesses. A phishing email with a harmful attachment or link. Stolen or weak passwords, especially for remote access tools left open to the internet. Software that is not updated. And pirated or cracked software, which often hides malware. Infected USB drives and downloads from untrusted websites are another way in.

How it gets in Once inside, ransomware may spread to shared folders on the same network. Many attackers also copy the data first, then threaten to publish it if you do not pay. Paying does not guarantee you get your files back, and it funds more crime. Law enforcement agencies generally advise against paying. The best position is to not need to pay, because you can restore from your own backups.

The 3-2-1 rule A simple, widely used rule is three, two, one. Keep three copies of important data: the original plus two backups. Store them on two different types of storage, like an external drive and a cloud backup service. And keep one copy off-site. The idea is that no single problem, such as fire, theft, a failed disk or ransomware, can destroy every copy at once.

The 3-2-1 rule What should you back up? Accounting and invoicing data. Customer, patient or student records. Contracts, HR files and important documents. And your website files and databases. Back up email too, if your email provider does not already keep it safely.

Sync is not backup Be careful with file sync services. They copy changes between devices instantly. So when files are encrypted on one laptop, the change syncs to the cloud, and then syncs to the other laptop too. Every copy is damaged. Check that your service keeps previous versions and lets you restore deleted files.

One copy offline Ransomware tries to encrypt every file it can reach, including backups. Here, one backup drive is always plugged in. Ransomware reaches it, and it is locked too. The other drive was disconnected after the last backup. Ransomware cannot reach it, so it stays safe.

One copy offline Protect at least one copy. Disconnect an external drive after each backup and store it safely. Or rotate two drives, so one is always disconnected. Or use a cloud backup that keeps older versions and protects them from being deleted or changed for a set time. And protect backup accounts with strong passwords and MFA, because attackers often look for backups to delete first.

Test your restores A backup you have never restored from is a hope, not a plan. Backups fail silently. Look at this weekly report. The accounts folder has not been backed up for ninety days. The software stopped running, and nobody noticed. So the owner fixes it, then restores a few files to a test folder and opens them. Now the backup is proven.

Test your restores Build these habits. Check backup reports every week. Every few months, restore a few files to a different location and open them. Once a year, practise restoring a whole system. Write down how long a full restore takes. And keep written restore instructions somewhere you can reach if the computers are down.

Updates Many attacks use security holes the software maker has already fixed. Updates close those holes. Turn on automatic updates for Windows, macOS, phones and browsers. Update other software too, like office apps, PDF readers and website plugins. Update the router, or ask your provider to. And replace devices that no longer get security updates. Do not use pirated software. It gets no updates and may already be infected.

Antivirus and EDR Every computer needs protection software. Antivirus looks for known malware and blocks it. Windows and macOS include built-in protection, so make sure it is on and updating. EDR, endpoint detection and response, goes further. It watches behaviour, like many files being encrypted quickly, and can isolate a device. It is often sold as a managed service. No tool catches everything, so use it with backups and updates.

If ransomware strikes If ransomware strikes, disconnect affected devices from the network and Wi-Fi. Do not turn them off unless advised, as this can lose evidence. Disconnect backup drives if they are attached. Call your IT support or a security professional. Do not contact the attackers or pay without expert advice. And restore from clean backups only after the cause is found and fixed.

Quick check Quick check. A ransom message appears on the reception computer. A backup drive is plugged into it right now. What should you do first? Choose your answer.

Key takeaways Let us recap. Ransomware gets in through phishing, weak passwords, missing updates and cracked software. Follow three, two, one, with one copy offline or versioned. Test your restores, because backups fail silently. Keep updates and protection software on. And if it strikes, disconnect first and call for help. Now read the lesson below, try the lab, and take the quiz.

Imagine arriving at work to find that every file on every computer has been locked. The screen shows a message demanding payment. Orders, invoices, patient records and student files are all unreadable. This is ransomware, and good backups are what decide whether it is a bad day or a disaster.

How ransomware gets in

Ransomware usually gets in through ordinary weaknesses:

  • A phishing email with a harmful attachment or link
  • Stolen or weak passwords, especially for remote access tools left open to the internet
  • Software that is not updated, with known security holes
  • Pirated or cracked software, which often contains hidden malware
  • Infected USB drives or downloads from untrusted websites

Once inside, ransomware may spread to other computers and shared folders on the same network. Many attackers also copy data before locking it, then threaten to publish it if you do not pay.

Paying the ransom does not guarantee you will get your files back, and it funds more crime. Law enforcement agencies generally advise against paying. The best position is to not need to pay, because you can restore from your own backups.

The 3-2-1 backup rule

A simple, widely used rule for backups is 3-2-1:

Number Meaning Example
3 Keep 3 copies of important data The original plus two backups
2 On 2 different types of storage An external drive and a cloud backup service
1 With 1 copy off-site A cloud backup, or a drive kept at another location

The idea is that no single problem, such as fire, theft, a failed disk or ransomware, can destroy every copy at once.

What to back up:

  • Accounting and invoicing data
  • Customer, patient or student records
  • Contracts, HR files and important documents
  • Website files and databases
  • Email, if it is not already kept safely by your email provider

Note that file sync services, which copy changes between devices instantly, are not always a true backup. If files are deleted or encrypted on one device, the change can sync everywhere. Check that your service keeps previous versions and lets you restore deleted files.

Keep one copy offline

Ransomware tries to find and encrypt every file it can reach, including backup drives and shared folders. If your only backup drive is always plugged in, it can be locked too.

Protect at least one backup copy by:

  • Using an external drive that you disconnect after each backup and store safely
  • Rotating two drives, so one is always disconnected
  • Using a cloud backup service that keeps older versions and protects them from being deleted or changed for a set time. Some services call this immutable or versioned backup

Protect backup accounts with strong passwords and MFA. Attackers who get into a network often look for backups to delete first.

Test your restores

A backup you have never restored from is a hope, not a plan. Backups fail silently more often than people expect: the wrong folder was selected, the drive is full, or the software stopped running months ago.

  • Check backup reports or logs every week
  • Every few months, restore a few files to a different location and open them
  • At least once a year, practise restoring a whole system or key application
  • Write down how long a full restore takes, so you can plan around it
  • Keep simple written instructions on how to restore, stored somewhere you can reach if the computers are down

Updates

Many attacks use security holes that have already been fixed by the software maker. Updates close those holes.

  • Turn on automatic updates for Windows, macOS, phones and browsers
  • Update other software too: office apps, PDF readers, accounting software and website plugins
  • Update the router and other network devices, or ask your internet provider or IT contractor to do it
  • Replace devices and software that no longer receive security updates
  • Do not use pirated software. It does not get updates and may already be infected

Antivirus and EDR basics

Every computer should run protection software.

  • Antivirus looks for known malware and blocks it. Modern versions of Windows and macOS include built-in protection. Make sure it is turned on and updating.
  • EDR (endpoint detection and response) goes further. It watches what programs are doing, can detect suspicious behaviour such as many files being encrypted quickly, and can isolate a device from the network. EDR is often sold as a managed service.

For a very small business, built-in protection that is kept on and updated is a reasonable start. As the business grows, or if it holds sensitive data such as health records, consider EDR with someone to watch the alerts.

No tool catches everything. Protection software works best together with backups, updates and careful staff.

If ransomware strikes

  1. Disconnect affected devices from the network and Wi-Fi. Do not turn them off unless advised, as this can lose useful evidence.
  2. Disconnect backup drives if they are attached.
  3. Call your IT support or a security professional.
  4. Do not contact the attackers or pay without expert advice.
  5. Restore from clean backups after the cause has been found and fixed.

HANDS-ON LAB

Ransomware Morning at the Clinic

A small clinic opens to a ransom note on the reception computer. Make the right first decisions.

Start the lab →

Check your understanding

Answer every question correctly to complete this lesson. If you miss one, try the quiz again.

1. What does the 3-2-1 backup rule mean?

2. Why is an offline backup important against ransomware?

3. How do you know a backup will work when you need it?

Locked: answer every quiz question above correctly to complete this lesson.

Spotted a mistake or something unclear? Report a mistake