Backup & Recovery · 5 min read

Ransomware Recovery Decision Tree: Vulnerable, Compromised, Contained and Recoverable Are Different States

An evidence-preserving recovery workflow that separates exposure, compromise, containment and restoration instead of treating a patch or clean scan as incident closure.

Publisher: NetSignalKit Editorial | Corrections and feedback

Independent technical information. Validate vendor claims and test changes in your own environment. Some outbound commercial links may earn a commission; see our disclosure.

Start by naming the state you can actually prove

A ransomware response gets dangerous when teams use one word—'infected'—for several different states. A system can be vulnerable without evidence of exploitation. It can be compromised without files being encrypted. It can be contained while still untrusted. It can have clean backups that have never been successfully restored.

NIST CSF 2.0 separates response from recovery: incidents are contained and eradicated under Respond, while Recover restores assets and operations. The distinction is operationally useful because installing a patch changes vulnerability state; it does not prove attacker persistence is gone or that recovery assets are trustworthy.

  • Vulnerable: an exploitable condition exists, but compromise is not established.
  • Compromised: evidence supports unauthorized access or execution.
  • Contained: spread/access paths are reduced enough to investigate and recover, but trust is not automatically restored.
  • Recoverable: protected recovery assets exist and their integrity/usability can be demonstrated.
  • Recovered: restored systems/data have been validated and normal operating status is confirmed.

Decision 1 — is this exposure or an active incident?

Begin with read-only evidence: exact product/OS versions, public exposure, security alerts, file changes, account activity, process/service changes, scheduled tasks, endpoint/network telemetry and off-box logs. If the only finding is an affected version, follow vulnerability remediation while preserving enough evidence to show when the vulnerable state existed.

If encryption, unauthorized access, suspicious execution, credential misuse or other compromise evidence exists, move to incident response. Do not reduce the case back to 'just patch it' because the vulnerable package now has a fixed version.

Decision 2 — containment without destroying evidence

CISA's StopRansomware guidance emphasizes isolating impacted systems from the network. The practical goal is to stop further encryption, lateral movement and access to backup repositories while retaining evidence needed for scoping.

Prefer network isolation/disconnection over indiscriminate power-off when you can safely do so. Volatile evidence can disappear on shutdown. If a host cannot be disconnected and active damage continues, emergency power-off may be justified, but record why that tradeoff was made.

Separate backup infrastructure from the suspect system before testing recovery. A backup target that remains writable with the same compromised credentials is still in the attacker's failure domain.

Decision 3 — define the trusted recovery boundary

Do not restore into the original architecture until the entry path and trust assumptions are understood. Decide what can be trusted: clean installation media, golden image, infrastructure-as-code, offline configuration export, identity system, encryption keys and recovery credentials.

NIST IR 8374 Rev.1 recommends protecting and testing backups as part of ransomware risk management. NIST CSF 2.0 RC.RP-03 is explicit that backup and restoration-asset integrity should be verified before use. That is a stronger gate than 'backup job succeeded last night.'

Decision 4 — choose the recovery point

The newest backup is not automatically the safest backup. If compromise persisted for days before encryption, the latest snapshots may contain attacker-created accounts, modified startup configuration or poisoned application state.

Use the incident timeline to choose candidate recovery points. Record backup identifier, creation time, retention/immutability evidence and whether the repository was reachable by the compromised identity. When practical, retrieve a copy into an isolated recovery environment rather than mounting the only recovery set back onto the suspect host.

Decision 5 — prove integrity before and after restore

NIST CSF 2.0 uses two distinct recovery outcomes: RC.RP-03 verifies backup/restoration assets before use; RC.RP-05 verifies restored assets and confirms normal service. That means a hash check and an application test answer different questions.

A SHA-256 match can prove that retrieved bytes match a previously measured byte sequence. It cannot prove a database backup is transactionally consistent, that a VM contains no persistence, or that an application dependency works. Use byte integrity where appropriate, then perform service-specific validation.

Credential rotation timing

Rotate credentials that were plausibly exposed, but do it from a trusted control point. Rotating privileged passwords or API keys while an attacker still controls the identity provider, endpoint or remote-access appliance can simply reveal the new secrets.

Prioritize administrative, backup, hypervisor, remote-access, cloud, service-account and application secrets based on evidence and dependency. Record what was rotated, where the credential was used and whether active sessions/tokens also required invalidation.

Common failed approaches

Do not declare recovery because antivirus is quiet. Do not reconnect an offline backup to an untrusted host just to check whether files exist. Do not delete encrypted data or logs before determining whether they are needed for investigation or insurance/legal processes.

Do not rebuild every system blindly if the organization has not preserved identity, DNS, network, application and key dependencies needed to make the restored service function. Conversely, do not preserve a suspect production image as the trusted recovery source merely because rebuilding is inconvenient.

Verification after remediation

  • Original entry path is closed or compensating exposure controls are verified.
  • Containment boundaries prevent the recovered environment from immediately re-entering the compromised failure domain.
  • Recovery-point provenance and repository exposure are documented.
  • Backup/restoration assets pass the checks appropriate to their type before use.
  • Restored files/services pass application-level validation, not only hash/copy checks.
  • Administrative and in-scope secrets are rotated from a trusted control point and sessions/tokens are invalidated where applicable.
  • Monitoring/logging is restored before broad reconnection so recurrence can be detected.
  • Business owners validate the required transaction/service, and incident closure criteria are documented.

Evidence classification

AUTHORITATIVE: NIST CSF 2.0 defines containment/eradication and the pre/post restoration integrity outcomes; NIST IR 8374 Rev.1 and CISA StopRansomware provide ransomware-focused preparation/response guidance. FIELD for this article is limited to the isolated restore-verification exercise described in the companion restore-drill article; NetSignalKit did not simulate ransomware on production systems.

Related guides

Primary sources & further reading

Sources are credited for verification, not reproduced. Linked pages may change after publication.