Skip to content
Skillpedia
Security35k · #6131

performing-ransomware-response

Has your agent act quickly in case of a ransomware attack. It helps contain the attack, analyze what happened, try to recover data, and protect the system. It's useful for minimizing damage from a data hijacking attack.

What it does

This agent helps you deal with ransomware attacks. It guides you from detecting the attack to recovering your files and protecting against future attacks.

When to use it

  • ✓Your files have been encrypted and you received a ransom note.
  • ✓You suspect a ransomware attack is in progress.
  • ✓You need to decide whether to pay the ransom or try to recover files another way.

Example of what to ask your AI

“Help me respond to a ransomware attack.”

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/performing-ransomware-response/SKILL.md

Ready-to-paste message

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

It identifies the type of ransomware, isolates affected systems to stop the spread, assesses which files are lost, and helps decide the best way to recover everything, whether through backups, a decryptor, or payment.

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 performing-ransomware-response

Or download just the file:

curl -L https://raw.githubusercontent.com/mukul975/Anthropic-Cybersecurity-Skills/main/skills/performing-ransomware-response/SKILL.md -o SKILL.md
Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

Performing Ransomware Response

When to Use

  • Ransomware has been detected executing or file encryption is actively occurring
  • Users report inability to open files with unfamiliar extensions appended
  • A ransom note is discovered on one or more systems
  • EDR detects mass file modification patterns consistent with encryption behavior
  • Threat intelligence warns of an imminent ransomware campaign targeting the organization

Do not use for general malware incidents that do not involve file encryption or extortion; use malware incident response procedures instead.

Prerequisites

  • Ransomware-specific incident response playbook reviewed and approved by executive leadership
  • Tested and verified offline backup strategy with air-gapped or immutable copies
  • Incident retainer with a specialized ransomware response firm (e.g., Mandiant, CrowdStrike Services, Kroll)
  • Legal counsel pre-engaged for OFAC sanctions screening and regulatory notification
  • Cyber insurance carrier contact information and policy coverage details
  • Bitcoin/cryptocurrency analysis capability or third-party engagement for payment tracing

Workflow

Step 1: Detect and Confirm Ransomware

Validate that the incident is ransomware and determine the variant:

  • Identify the ransomware by analyzing the ransom note filename, extension appended to encrypted files, and note content
  • Upload the ransom note and a sample encrypted file to ID Ransomware (id-ransomware.malwarehunterteam.com)
  • Check NoMoreRansom.org for available free decryptors
  • Determine the ransomware deployment method from EDR/SIEM logs
  • Identify the ransomware group (e.g., LockBit, BlackCat/ALPHV, Royal, Akira, Play)
Ransomware Identification:
━━━━━━━━━━━━━━━━━━━━━━━━━
Variant:          LockBit 3.0 (Black)
Extension:        .lockbit3
Ransom Note:      README-LOCKBIT.txt
Tor Site:         lockbit[redacted].onion
Deployment:       Group Policy Object pushing ransomware.exe to all domain-joined systems
Initial Access:   VPN credential compromise (no MFA)
Dwell Time:       12 days
Data Exfiltration: Yes - 47GB uploaded to MEGA via rclone prior to encryption

Step 2: Immediate Containment

Stop ransomware propagation before assessing damage:

  • Priority 1: Disconnect affected network segments from core infrastructure (pull the network cable, not shutdown)
  • Priority 2: Isolate all domain controllers immediately if GPO-based deployment is suspected
  • Priority 3: Disable the compromised accounts used for deployment
  • Priority 4: Block lateral movement protocols (SMB TCP/445, RDP TCP/3389, WinRM TCP/5985-5986)
  • Priority 5: Preserve at least one encrypted system live (do not power off) for memory forensics
  • Do NOT: Shut down encrypted systems; keep them powered on to preserve encryption keys in memory

Step 3: Assess Damage and Scope

Quantify the impact to inform recovery and business decisions:

  • Count the number of encrypted systems (workstations, servers, domain controllers)
  • Determine which business-critical systems and data are affected
  • Verify backup integrity: check that backups were not encrypted, deleted, or corrupted
  • Assess whether data exfiltration occurred (check for rclone, WinSCP, MEGA, cloud storage activity)
  • Determine the ransom demand amount and payment deadline
  • Check OFAC sanctions lists to verify the ransomware group is not a sanctioned entity (paying is legally risky)
Impact Assessment:
Encrypted Systems:      187 of 340 endpoints (55%)
Encrypted Servers:      12 of 28 (43%) - includes 2 file servers, 1 database server
Domain Controllers:     2 of 3 encrypted
Backup Status:          Veeam repository intact (offline copy verified clean)
Data Exfiltration:      Confirmed - 47GB to MEGA (file listing under analysis)
Ransom Demand:          $2.5M in Bitcoin (72-hour deadline)
OFAC Screening:         LockBit - not currently sanctioned entity (verify with counsel)

Step 4: Recovery Decision Matrix

Evaluate recovery options in consultation with legal, executive leadership, and cyber insurance:

Option Pros Cons Recommended When
Restore from backup No payment, no legal risk Recovery time may be days Clean backups available
Free decryptor No payment, fast Rare availability Variant has published decryptor

…

FAQ

What is ransomware?

Ransomware is a type of virus that locks your files or computer and demands a payment (ransom) to release them.

Should I pay the ransom?

Paying the ransom does not guarantee you'll get your files back and can fund criminal activities. The best option is always to try restoring from backups.

How can I protect myself?

Keep your systems updated, use strong passwords, enable two-factor authentication, and regularly back up your important data.

Details

Original description by the author

Executes a structured ransomware incident response from detection through containment, forensic analysis, decryption assessment, recovery, and post-incident hardening, covering ransom negotiation, backup integrity verification, and regulatory notification. Use when actively responding to a ransomware outbreak or crypto-ransomware infection, or deciding on ransom payment and containment steps. '

repo: mukul975/Anthropic-Cybersecurity-Skills

Popularity

GitHub stars
35k
Ranking position
#6131
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