ransomware-recovery
Skill0 starsChanged 15 days agoMITView on GitHub
Plan and execute recovery from ransomware — clean-room/isolated recovery environment, restore order (identity first), validating backups are free of persistence, rebuilding vs. restoring, credential reset sequence, staged reconnection and business validation. Use after ransomware containment when systems must be restored, or when preparing a ransomware recovery plan.
In this repository273 other files it gives its agents.
- ad-attack-path-analysisSkill
- adcs-security-reviewSkill
- ad-privileged-access-reviewSkill
- dcsync-detectionSkill
- gpo-security-reviewSkill
- kerberos-attack-detectionSkill
- agent-tool-permission-reviewSkill
- ai-incident-responseSkill
- llm-gateway-controlsSkill
- llm-security-evaluationSkill
- mcp-server-security-reviewSkill
- model-artifact-securitySkill
- prompt-injection-reviewSkill
- rag-security-reviewSkill
- api-abuse-detectionSkill
- api-authorization-testingSkill
- api-inventorySkill
- api-schema-securitySkill
- dast-baselineSkill
- sast-triageSkill
- sca-dependency-riskSkill
- secure-code-reviewSkill
- security-requirementsSkill
- threat-modelingSkill
- asset-criticality-tieringSkill
- asset-inventory-reconciliationSkill
- external-attack-surface-reviewSkill
- shadow-it-discoverySkill
- aws-credential-compromiseSkill
- aws-iam-reviewSkill
- aws-org-guardrailsSkill
- cloudtrail-investigationSkill
- guardduty-triageSkill
- s3-exposure-reviewSkill
- azure-activity-investigationSkill
- azure-rbac-reviewSkill
- conditional-access-reviewSkill
- entra-audit-investigationSkill
- entra-signin-investigationSkill
- backup-assuranceSkill
- critical-service-mappingSkill
- recovery-exerciseSkill
- cloud-exposure-reviewSkill
- cloud-incident-responseSkill
- cloud-logging-baselineSkill
- cloud-posture-assessmentSkill
- audit-evidence-packageSkill
- continuous-control-monitoringSkill
- control-mappingSkill
- control-testing-samplingSkill
- container-incidentSkill
- dockerfile-hardeningSkill
- image-scanningSkill
- runtime-detection-falcoSkill
- db-audit-loggingSkill
- db-exfiltration-investigationSkill
- db-hardeningSkill
- db-privilege-reviewSkill
- data-classificationSkill
- data-discoverySkill
- The first 60 shown.
The file
Files
Ransomware Recovery
Principles
- Don't restore into a compromised environment: rebuild trust (identity, admin tooling) first.
- Restore points must predate the intrusion (not just the encryption) or be scanned for the attacker's persistence and tooling.
- Recovery is a sequence; publish it so business owners know when to expect services.
Recovery sequence (typical)
- Isolated recovery environment (IRE / clean room): separate network, clean admin workstations, new admin credentials, out-of-band communications.
- Identity: AD forest recovery (restore one DC per domain from a known-good backup, seize FSMO, clean metadata, reset krbtgt twice, reset all privileged and service accounts, review GPOs/AdminSDHolder/ADCS) or rebuild; verify Entra Connect/federation integrity.
- Core infrastructure: DNS, DHCP, PKI, hypervisors (often encrypted at ESXi level), backup infrastructure, security tooling (EDR, SIEM) — so restored systems are monitored from first boot.
- Tier 1 business services per
critical-service-mapping(dependencies first), then Tier 2/3. - Endpoints: reimage rather than clean.
Validate restored systems
Scan with updated EDR/AV and YARA for the incident's IOCs (incident-scoping artefacts), check for persistence mechanisms found during the investigation, patch the initial access vector before reconnecting, verify integrity of application data (business owner sign-off).
Reconnection
Stage by zone with monitoring; keep internet egress restricted initially; watch for the known TTPs and C2.
Track
Service | Tier | Dependencies | Restore source/point | Rebuild/restore | Validation (security/business) | ETA | Status
Communicate progress to leadership and customers (via comms team).
Related skills
ransomware-response, backup-assurance, eradication-recovery, critical-service-mapping
References
- CISA #StopRansomware Guide: https://www.cisa.gov/stopransomware/ransomware-guide
- NIST SP 1800-11 Data Integrity: Recovering from Ransomware and Other Destructive Events: https://www.nccoe.nist.gov/data-integrity-recovering-ransomware-and-other-destructive-events
- Microsoft AD Forest Recovery Guide: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/forest-recovery-guide/ad-forest-recovery-guide
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

