scanrootkit

How to Prevent Ransomware - Backups, Patching and the Garmin Case Study

Ransomware encrypts your files and demands payment for the key. Increasingly it also steals data first and threatens to publish it, so even victims who can restore from backup face a second demand. CISA and the FBI describe this as “double extortion.”

Most ransomware gets in through a small number of doors: phishing emails, unpatched software, exposed remote access and stolen passwords. Close those, keep backups the attacker cannot reach, and you have dealt with the bulk of the risk. This guide follows CISA’s #StopRansomware Guide, adapted for homes and small businesses, and ends with what the 2020 Garmin attack shows about recovery.

1. Backups you can restore when everything else fails

Backups are the defence that turns a ransomware attack from a disaster into an inconvenience. CISA’s first recommendation is to “maintain offline, encrypted backups of critical data,” and it warns why: “many ransomware variants attempt to find and subsequently delete or encrypt accessible backups.”

Follow the 3-2-1 rule

CISA describes the 3-2-1 rule as:

Make at least one copy offline or immutable

A backup drive that stays plugged in is just another drive for the ransomware to encrypt. At least one copy should be:

Test restores

A backup you have never restored from is a hope, not a plan. Every few months, restore a handful of files, and once a year try restoring a whole folder to a different computer. Businesses should also keep what CISA calls “golden images,” preconfigured system templates that let you rebuild machines quickly.

Sync is not backup

OneDrive, iCloud Drive, Google Drive and Dropbox sync folders copy every change, including encryption. Their version history and recycle bin can rescue you, and Microsoft’s ransomware protection settings in Windows can help with OneDrive recovery. But treat sync as a convenience, and keep a separate backup.

2. Patch, and patch internet-facing systems first

Attackers routinely exploit known vulnerabilities in software that was never updated. CISA’s advice is to keep operating systems and software current, giving priority to internet-facing systems and to vulnerabilities already known to be exploited.

For a home or small office:

3. Close remote desktop and other exposed services

Remote Desktop Protocol (RDP) left open to the internet is a well-known ransomware entry point, because attackers can guess or reuse passwords against it from anywhere. CISA’s guidance is direct: “Do not expose services, such as remote desktop protocol, on the web.”

4. Leave Office macros blocked

Malicious macros in Word and Excel files have long been used to deliver ransomware. Microsoft changed Office so that VBA macros in files from the internet are blocked by default, stating that macros “are a common way for malicious actors to gain access to deploy malware and ransomware.”

When you open such a file you now see a red SECURITY RISK banner with no option to enable content. Leave it that way. If a file you received by email really needs macros, confirm with the sender by another channel, and ask for the data in a format that does not need them. CISA’s guide likewise advises keeping macros disabled in Office files received by email.

5. Protect accounts with multi-factor authentication

Stolen passwords let attackers log in as you, through email, VPNs or cloud services, without needing any malware at first. Turn on multi-factor authentication for email, remote access and any administrator accounts. CISA recommends phishing-resistant methods such as hardware security keys and passkeys where you can. Using a password manager stops one breached password from unlocking everything else, and helps against keyloggers too.

6. Reduce what one infection can reach

7. Train for phishing

Phishing is still the most common first step. Teach everyone to check the sender’s real address, distrust urgency (“your account will be closed today”), and report suspicious messages rather than delete them quietly. Businesses should filter email at the gateway, flag messages from outside the organisation, block risky attachment types and set up DMARC for their domains, all in CISA’s guide.

Case study: the 2020 Garmin attack

On 23 July 2020, Garmin, the GPS and fitness device maker, was hit by an attack that, in the company’s words, “encrypted some of our systems.”

What went down: Garmin.com and the Garmin Connect app, customer support by phone, email and chat, the flyGarmin and Garmin Pilot aviation services, and inReach activation were all affected. BleepingComputer reported, citing a Taiwanese outlet, that production lines at Garmin’s factories in Taiwan were shut for two days. Garmin’s statement said its products kept working apart from their online features, and that inReach SOS and messaging were not affected.

What it was: Garmin’s public statement did not name the malware. BleepingComputer identified it as WastedLocker, based on a source in the incident response, an employee’s photo of encrypted files with a .garminwasted extension, and a matching sample. WastedLocker was linked to Evil Corp, a criminal group the US Treasury had sanctioned in December 2019, which made any payment legally risky for a US company.

Data: Garmin said on 27 July 2020 that it had “no indication that any customer data, including payment information from Garmin Pay, was accessed, lost or stolen.” Fitness data recorded during the outage was stored on users’ devices and synced later.

Recovery: Garmin said affected systems were being restored and expected normal operation “over the next few days.”

Lessons from Garmin

If you are hit

  1. Disconnect the affected computers from the network and Wi-Fi. Do not wipe them yet if you may need evidence.
  2. Disconnect backup drives immediately if they are still attached.
  3. Report it. In the US, file at ic3.gov or contact a local FBI field office. CISA and the FBI ask victims to report whether or not they pay. Law enforcement may know of a free decryptor.
  4. Do not rush to pay. The FBI says it “does not support paying a ransom,” because payment does not guarantee you will get data back and it encourages more attacks.
  5. Change passwords from a clean device, starting with email and admin accounts, because attackers often steal credentials before encrypting.
  6. Rebuild, then restore. Wipe and reinstall affected computers, check the backups are clean, then restore data. Look for anything else the attackers left behind using how to check for malware and, for machines that showed signs of hidden tools, how to detect a rootkit.

Frequently asked questions

What is the best way to prevent ransomware?
There is no single fix, but offline backups matter most, because they let you recover without paying. After that, keep software patched, do not expose remote desktop to the internet, use multi-factor authentication and leave Office macros blocked in files from the internet.
Is a cloud sync folder a backup against ransomware?
Not on its own. Sync services copy changes, so encrypted files can sync over the good copies. Version history or a recycle bin can save you, but a true backup is a separate copy that the infected computer cannot change.
Should I pay a ransomware demand?
The FBI does not support paying, because payment does not guarantee you get your data back and it encourages more attacks. Paying some groups can also break US sanctions law. Report the attack to the FBI at ic3.gov whatever you decide.
What happened in the Garmin ransomware attack?
On 23 July 2020 an attack encrypted some of Garmin's systems, taking Garmin Connect, its website, call centres and aviation services offline for several days. Reporting by BleepingComputer, citing sources and an employee photo of encrypted files, identified the ransomware as WastedLocker. Garmin said it saw no sign that customer data was accessed.
Can antivirus stop ransomware?
It stops much of it, and Windows includes an extra layer called controlled folder access. But no scanner catches everything, and attackers who get into a network may try to switch security tools off, which is why backups and access controls carry most of the weight.