recovering-from-ransomware-attack

Executes structured ransomware recovery following NIST and CISA frameworks with validated backup restoration.

954|172|Updated Mar 13, 2026
One-click install
npx skills add https://github.com/xalgord/xalgorix --skill recovering-from-ransomware-attack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: recovering-from-ransomware-attack
Source: https://github.com/xalgord/xalgorix/tree/main/internal/tools/skills/data/ransomware-defense/recovering-from-ransomware-attack
Command: npx skills add https://github.com/xalgord/xalgorix --skill recovering-from-ransomware-attack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Recovering from a ransomware attack without a structured plan risks re-infection, restoring compromised backups, and breaking system dependencies. This Skill provides a step-by-step recovery workflow aligned with NIST and CISA frameworks so systems are restored safely, in the correct order, and validated against re-infection.

Core Features & Use Cases

  • Clean Recovery Environment Setup: Build an isolated recovery VLAN with firewall rules that block traffic to compromised production segments.
  • Identity-First Restoration: Recover Active Directory before domain-joined systems, including the critical double krbtgt password reset to defeat Golden Ticket persistence.
  • Backup Integrity Validation: Scan backups read-only with antivirus and check for ransomware artifacts before restoring any data.
  • Dependency-Ordered Restoration: Restore systems in four phases from identity infrastructure through critical business apps to remaining systems.
  • Use Case: After a LockBit attack encrypts 80% of a manufacturer's servers, follow the workflow to restore domain controllers from immutable backups, reset credentials, validate with dcdiag, and reconnect systems in monitored phases within the RTO commitment.

Quick Start

Use this skill to build a ransomware recovery runbook for restoring our Active Directory and ERP systems from verified backups after containment is complete.

Frequently Asked Questions about recovering-from-ransomware-attack

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I recover from a ransomware attack using backups?

Recover from ransomware by first completing containment and forensic preservation, then building an isolated recovery environment. Restore Active Directory first from verified pre-compromise backups, reset the krbtgt password twice, then restore remaining systems in dependency order with continuous EDR monitoring.

How to reset krbtgt password after ransomware attack?

Reset the krbtgt account password twice with approximately 12 hours between resets to allow replication, which invalidates all Kerberos tickets and defeats Golden Ticket persistence. Confirm replication completed with repadmin /showrepl between the two resets, then reset all privileged account passwords.

What order should systems be restored after ransomware?

Restore systems in dependency order: identity infrastructure (domain controllers, DNS, DHCP) first, then critical business systems like databases and ERP, followed by file servers and email, and finally development and archive systems. Restoring application servers before AD breaks authentication and wastes recovery time.

How do I verify backups are clean before ransomware recovery?

Mount backups read-only and scan them with antivirus such as ClamAV, then search for ransomware artifacts like encrypted file extensions and ransom notes. Confirm the backup timestamp predates the earliest known compromise, since attackers often dwell in networks for weeks before detonating encryption.

When should ransomware recovery not begin?

Do not begin recovery before containment is complete and forensic scoping has identified the attacker's access and persistence mechanisms. Premature recovery without clearing scheduled tasks, services, run keys, and WMI subscriptions risks immediate re-infection of restored systems.