keepcalculator

06 Numbers and Powers

Ransomware Data Encrypted: Immediate Steps to Take

Card No. 06·14542 · Updated · Standard formula, shown below

If ransomware encrypts your organization’s data, disconnect the affected systems from the network immediately, then activate your incident response plan and notify the appropriate internal and external stakeholders. Your next priorities are to preserve evidence, assess the scope, and restore from offline backups — not to pay the ransom. This article walks through the exact sequence of actions, common pitfalls, and how to prepare before the next attack.

What Ransomware Actually Does

Ransomware is a type of malware that encrypts files on a victim’s system, then demands payment — usually in cryptocurrency — in exchange for the decryption key. Modern variants don’t just encrypt one computer; they spread across networks, encrypting file servers, databases, and even cloud-synced folders. Some strains also exfiltrate data before encryption, using the threat of leaking it as additional leverage.

Understanding the mechanics helps you respond correctly. The encryption is typically asymmetric: the attackers hold the private key, and without it, decryption is mathematically infeasible. That’s why paying doesn’t guarantee recovery — you’re trusting criminals to honor a promise, which they often don’t. Even when they do provide a working decryptor, it can be buggy or slow, and you’ve funded the next attack.

Immediate Response: The First 15 Minutes

Your actions in the first few minutes determine how much data you can save and how quickly you can recover. Follow this order:

  1. Isolate infected systems. Unplug network cables, disable Wi-Fi, and turn off shared drives. Do not shut down the computer if you can avoid it — memory and running processes may contain evidence useful for forensic analysis.
  2. Power down unaffected systems. If you have a network diagram, disconnect entire segments to stop lateral movement. The goal is to contain the blast radius.
  3. Change credentials. Immediately reset passwords for all administrative accounts, service accounts, and any credentials that might have been cached on the infected machine. Use a different, clean device to do this.
  4. Preserve logs. Note the time you detected the attack, what you observed, and any error messages. Keep a written timeline — it will be invaluable for investigators.
  5. Activate your incident response plan. If you don’t have one, now is the time to improvise — but having a pre-written plan with assigned roles saves critical minutes.

Assessing the Damage

Once containment is underway, you need to understand the scope. Check which systems are encrypted, which are merely infected but not yet encrypted, and whether any data was exfiltrated. Look for ransom notes (often named README.txt or DECRYPT.html) to identify the ransomware family — this helps determine if a free decryption tool exists.

Inventory your backups. The most important question is: do you have clean, offline backups? Offline means not connected to the network — if your backups were network-attached, they may also be encrypted. Check the last successful backup date and test a sample restore to ensure the backups aren’t corrupted. If you have a 3-2-1 strategy (three copies, two media types, one offsite), you’re in a much better position.

To Pay or Not to Pay

This is the most agonizing decision. The FBI and CISA strongly advise against paying, because it encourages more attacks and doesn’t guarantee recovery. However, in some cases — where backups are nonexistent and the data is critical to patient safety or national security — organizations have paid. There’s no legal prohibition on paying ransom in the U.S., but it may violate sanctions if the attacker is on a sanctions list.

If you decide to pay, negotiate. Attackers often start high and accept lower offers. But remember: even after payment, you may not get a working decryptor, and the attackers may still leak your data. In many cases, paying is just the beginning of a longer ordeal.

Restoring from Backups

If you have clean backups, the recovery process is straightforward but time-consuming:

  1. Wipe and reimage all affected systems to a known-good state.
  2. Patch vulnerabilities that allowed the initial infection — often a phishing email or an unpatched remote desktop protocol (RDP) port.
  3. Restore data from backups, prioritizing critical systems first.
  4. Verify integrity by testing applications and checking data completeness.
  5. Monitor for re-infection for at least a week after restoration.

If you don’t have backups, you have fewer options. You can try free decryption tools from No More Ransom, an initiative by Europol and cybersecurity companies. These work for some older or weaker ransomware variants. For modern strains, you may have to attempt data recovery from shadow copies or deleted files, which is rarely successful but worth trying.

Legal and Regulatory Obligations

Most jurisdictions have data breach notification laws. If the ransomware exfiltrated personal data, you likely have a legal obligation to notify affected individuals, regulators, and sometimes law enforcement. In the U.S., HIPAA-covered entities must report breaches to HHS, and state laws have their own timelines. In the EU, GDPR requires notification to the supervisory authority within 72 hours of becoming aware of a breach.

Even if no data was stolen, you may still need to report the incident to law enforcement, especially if you’re in a regulated industry. Your legal counsel should guide you on specifics — don’t guess. Also, preserve all evidence for potential litigation or insurance claims.

Post-Incident: Strengthening Defenses

After you’ve recovered, the work isn’t over. Conduct a post-incident review to identify how the attack happened and what failed. Common root causes include:

  • Phishing emails that bypassed spam filters
  • Unpatched software or operating systems
  • Weak or reused passwords
  • RDP exposed to the internet without multi-factor authentication (MFA)
  • Lack of network segmentation

Implement fixes: enforce MFA everywhere, patch promptly, segment networks so a single infection can’t reach all data, and maintain immutable backups (e.g., write-once, read-many storage). Train employees to recognize phishing attempts. Consider a tabletop exercise to practice your incident response plan — it’s much easier to make mistakes in a drill than during a real attack.

Frequently Asked Questions

Should I shut down the computer immediately?

No. Shutting down can destroy volatile evidence in memory and may trigger the ransomware to finish encrypting. Instead, disconnect from the network and leave the system running until forensic experts can image it. If you must stop the encryption spread, unplug the network cable, not the power.

Can ransomware be decrypted without paying?

Sometimes. The No More Ransom project offers free decryption tools for many older or less sophisticated variants. For modern ransomware like LockBit or Hive, no free tools exist. Your best bet is always a clean backup.

What if the ransomware also encrypted my backups?

If your backups were network-attached and connected, they’re likely encrypted too. This is why the 3-2-1 rule is critical: keep at least one backup offline or in immutable storage. If all backups are encrypted, you may have to pay or lose the data.

How do I know if my data was stolen?

Many ransomware groups operate

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →