Skip to content
Skillpedia
Misc35k · #5545

building-ransomware-playbook-with-cisa-framework

Helps your agent create a ransomware response plan. It follows security guides to cover all steps of responding to an attack.

What it does

This agent helps create a ransomware incident response plan, following CISA and NIST recommendations. It organizes the necessary steps before, during, and after an incident.

When to use it

  • ✓To create or update a ransomware response plan.
  • ✓To check if ransomware defenses are ready.
  • ✓To test how the team would react to a ransomware attack.

Example of what to ask your AI

“Create a ransomware response plan based on CISA guidelines.”

Want more? Open the sections below.

How to use

The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.

Skill link

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/building-ransomware-playbook-with-cisa-framework/SKILL.md

Ready-to-paste message

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/building-ransomware-playbook-with-cisa-framework/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
How it works

The agent uses CISA and NIST information to structure a plan. It lists steps for prevention, detection, containment, eradication, recovery, and post-incident activities, including checklists.

Installation

Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.

In the terminal (Claude Code, Codex, Cursor), in your project folder:

npx skills add mukul975/Anthropic-Cybersecurity-Skills --skill building-ransomware-playbook-with-cisa-framework

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/building-ransomware-playbook-with-cisa-framework/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Building Ransomware Playbook with CISA Framework

When to Use

  • An organization needs to create or update its ransomware incident response playbook following CISA guidelines
  • A security team is conducting a ransomware readiness assessment against the CISA StopRansomware framework
  • Compliance requires documenting ransomware response procedures aligned with NIST CSF and CISA recommendations
  • During tabletop exercises to validate that the organization's ransomware response steps match industry best practices
  • After a ransomware incident to update the playbook with lessons learned and close identified gaps

Do not use as a substitute for legal counsel regarding ransom payment decisions, breach notification timelines, or regulatory obligations specific to your jurisdiction.

Prerequisites

  • Familiarity with the CISA StopRansomware Guide (cisa.gov/stopransomware/ransomware-guide)
  • NIST Cybersecurity Framework (CSF) understanding (Identify, Protect, Detect, Respond, Recover)
  • Inventory of critical assets, backup infrastructure, and communication channels
  • Defined roles and responsibilities for incident response team members
  • Python 3.8+ for playbook generation and compliance checking automation
  • Access to organization's asset inventory and backup configuration documentation

Workflow

Step 1: Preparation Phase (CISA Part 1 - Prevention)

Establish ransomware-specific defenses before an incident:

CISA Preparation Checklist:
━━━━━━━━━━━━━━━━━━━━━━━━━━
[ ] Maintain offline, encrypted backups tested for restoration
[ ] Create and exercise a cyber incident response plan (IRP)
[ ] Implement network segmentation between IT and OT networks
[ ] Enable MFA on all remote access and privileged accounts
[ ] Deploy endpoint detection and response (EDR) on all endpoints
[ ] Disable or restrict RDP; require VPN for remote access
[ ] Maintain a software/hardware asset inventory
[ ] Apply patches within 48 hours for internet-facing systems
[ ] Configure email filtering and disable macro execution by default
[ ] Conduct regular phishing awareness training
[ ] Implement application allowlisting (AppLocker/WDAC)
[ ] Test backup restoration quarterly and document RTO/RPO

Step 2: Detection and Analysis Phase

Identify ransomware indicators and assess scope:

Detection Indicators:
━━━━━━━━━━━━━━━━━━━━
- Mass file rename operations with new extensions (.locked, .encrypted)
- Ransom notes appearing in directories (README.txt, DECRYPT.html)
- Volume Shadow Copy deletion (vssadmin delete shadows)
- Abnormal CPU usage from encryption processes
- EDR/AV alerts for known ransomware signatures
- Network connections to known C2 infrastructure
- Unusual lateral movement via SMB or PsExec
- Sysmon Event ID 11 (file creation) spikes

Initial Analysis Steps (CISA):
  1. Take system images and memory captures of affected devices
  2. Identify patient zero and initial access vector
  3. Determine the ransomware family (ID Ransomware, ransom note analysis)
  4. Assess encryption scope: which systems, shares, and data are affected
  5. Check if data exfiltration occurred (double extortion indicator)

Step 3: Containment Phase

Stop the spread and preserve evidence:

Immediate Containment (First 1-4 hours):
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1. Isolate affected systems from the network (disable NICs, VLAN quarantine)
2. If unable to disconnect, power down affected systems
3. Disable shared drives to prevent encryption spread
4. Reset credentials for compromised accounts (especially admin/service accounts)
5. Block known ransomware IOCs at firewall/proxy (C2 domains, IPs)
6. Preserve forensic evidence (memory dumps, disk images, logs)
7. Engage legal counsel and prepare breach notification if data exfiltrated

Extended Containment:
  - Identify and patch the initial access vector (phishing, RDP, VPN vuln)
  - Audit all Active Directory accounts for persistence (scheduled tasks, services)
  - Check for backdoors or additional malware beyond the ransomware payload

Step 4: Eradication and Recovery Phase

Remove the threat and restore operations:

CISA Recovery Steps:
━━━━━━━━━━━━━━━━━━━
1. Rebuild affected systems from known-clean images (do NOT decrypt in place)
2. Restore data from offline backups (verify backup integrity first)
3. Reset ALL passwords including service accounts, krbtgt (twice, 12h apart)
4. Scan restored systems with updated AV/EDR before reconnecting to network

…
FAQ

What is an incident response playbook?

It's a step-by-step guide that outlines what to do when a security incident, like a ransomware attack, occurs.

What are CISA and NIST?

CISA (Cybersecurity and Infrastructure Security Agency) and NIST (National Institute of Standards and Technology) are organizations that create guidelines and best practices for cybersecurity.

Can I use this plan for legal advice on ransom payments?

No, this plan does not substitute legal counsel. Decisions about ransom payments, breach notifications, and regulatory obligations should be discussed with lawyers.

Details

Original description by the author

Builds a structured ransomware incident response playbook aligned with the CISA StopRansomware Guide and NIST Cybersecurity Framework, covering preparation, detection, containment, eradication, recovery, and post-incident phases with actionable checklists. Use when creating or updating a ransomware playbook, running a CISA-aligned readiness assessment, or validating response steps during a tableto

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#5545
License
Apache-2.0
Updated
8/31/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills