[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ESYKSCWWSFX78A3NRDDZRH":3,"skill-same:01M6ESYKSCWWSFX78A3NRDDZRH":112},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":73,"commitSha":74,"skillDirectory":75,"forksCount":14,"repositoryHtmlUrl":76,"repositoryHomepageUrl":77,"ownerHtmlUrl":78,"ownerBlogUrl":6,"ownerDescription":79,"updatedAt":80,"install":81,"resources":94},"01M6ESYKSCWWSFX78A3NRDDZRH","building-soc-playbook-for-ransomware",null,"Builds a structured SOC incident response playbook for ransomware attacks covering detection, containment, eradication, and recovery phases with specific SIEM queries, isolation procedures, and decision trees. Use when SOC teams need formalized response procedures for ransomware incidents aligned to NIST SP 800-61 and MITRE ATT&CK ransomware techniques.","henriquescastilho\u002Fmy-claude","henriquescastilho","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F153296945?v=4","01M6ESH7EXPXTH9CVQ4K16SRG8","Henrique Scheer","01M6ESH7JHEK2PTNNH4HEH787Z",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbuilding-soc-playbook-for-ransomware\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"soc","ransomware","playbook","building soc playbook for ransomware","de","cybersecurity","incident response playbook","software","incident","cm","decision","SOC-operations","t1566","t1490","NIST","T1059.001","mitre-attack","update","siem","incident response","2026-11-10 10:12:30",false,"---\nname: building-soc-playbook-for-ransomware\ndescription: 'Builds a structured SOC incident response playbook for ransomware attacks\n  covering detection, containment, eradication, and recovery phases with specific\n  SIEM queries, isolation procedures, and decision trees. Use when SOC teams need\n  formalized response procedures for ransomware incidents aligned to NIST SP 800-61\n  and MITRE ATT&CK ransomware techniques.\n\n  '\ndomain: cybersecurity\nsubdomain: soc-operations\ntags:\n- soc\n- ransomware\n- incident-response\n- playbook\n- nist\n- mitre-attack\n- containment\nmitre_attack:\n- T1486\n- T1490\n- T1489\n- T1566\n- T1059.001\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nd3fend_techniques:\n- Platform Hardening\n- Restore Object\n- Restore Configuration\n- Restore Software\n- Software Update\nnist_csf:\n- DE.CM-01\n- DE.AE-02\n- RS.MA-01\n- DE.AE-06\n---\n# Building SOC Playbook for Ransomware\n\n## When to Use\n\nUse this skill when:\n- SOC teams need a standardized ransomware response playbook for Tier 1-3 analysts\n- An organization lacks documented procedures for ransomware containment and recovery\n- Tabletop exercises reveal gaps in ransomware response coordination\n- Compliance requirements (NIST CSF, ISO 27001) mandate documented incident playbooks\n\n**Do not use** during an active ransomware incident as the sole guide — have pre-built playbooks tested and rehearsed before incidents occur.\n\n## Prerequisites\n\n- SIEM platform (Splunk ES, Elastic Security, or Sentinel) with endpoint and network data\n- EDR solution (CrowdStrike, SentinelOne, or Microsoft Defender for Endpoint) with network isolation capability\n- Backup infrastructure with tested recovery procedures and offline\u002Fimmutable backups\n- Communication plan with legal, executive leadership, and external IR retainer contacts\n- MITRE ATT&CK knowledge for ransomware technique chains\n\n## Workflow\n\n### Step 1: Define Detection Triggers\n\nCreate SIEM detection rules for early ransomware indicators:\n\n**Mass File Encryption Detection (Splunk):**\n```spl\nindex=sysmon EventCode=11\n| bin _time span=1m\n| stats dc(TargetFilename) AS unique_files, values(TargetFilename) AS sample_files by Computer, Image, _time\n| where unique_files > 100\n| eval suspicious_extensions = if(match(mvjoin(sample_files, \",\"), \"\\.(encrypted|locked|crypt|enc|ransom)\"), \"YES\", \"NO\")\n| where suspicious_extensions=\"YES\" OR unique_files > 500\n| sort - unique_files\n```\n\n**Shadow Copy Deletion (T1490):**\n```spl\nindex=wineventlog sourcetype=\"WinEventLog:Security\" OR index=sysmon EventCode=1\n(CommandLine=\"*vssadmin*delete*shadows*\" OR CommandLine=\"*wmic*shadowcopy*delete*\"\n OR CommandLine=\"*bcdedit*\u002Fset*recoveryenabled*no*\" OR CommandLine=\"*wbadmin*delete*catalog*\")\n| table _time, Computer, User, ParentImage, Image, CommandLine\n```\n\n**Ransomware Note File Creation:**\n```spl\nindex=sysmon EventCode=11\nTargetFilename IN (\"*README*.txt\", \"*DECRYPT*.txt\", \"*RANSOM*.txt\", \"*RECOVER*.html\", \"*HOW_TO*.txt\")\n| stats count by Computer, Image, TargetFilename\n| where count > 5\n```\n\n**Elastic Security EQL variant:**\n```eql\nsequence by host.name with maxspan=2m\n  [process where event.type == \"start\" and\n    process.args : (\"*vssadmin*\", \"*delete*\", \"*shadows*\")]\n  [file where event.type == \"creation\" and\n    file.name : (\"*README*DECRYPT*\", \"*RANSOM*\", \"*HOW_TO_RECOVER*\")]\n```\n\n### Step 2: Build Triage Decision Tree\n\n```\nRANSOMWARE ALERT TRIAGE\n│\n├── Is encryption actively occurring?\n│   ├── YES → IMMEDIATE: Isolate host from network (Step 3)\n│   │         Do NOT power off (preserve memory for forensics)\n│   └── NO → Is this a pre-encryption indicator?\n│       ├── Shadow copy deletion → HIGH PRIORITY: Isolate and investigate\n│       ├── Known ransomware hash → HIGH PRIORITY: Block hash, scan enterprise\n│       └── Suspicious process behavior → MEDIUM: Investigate, prepare isolation\n│\n├── How many hosts affected?\n│   ├── Single host → Contained incident, follow host isolation procedure\n│   ├── Multiple hosts (2-10) → Escalate to Tier 2, begin enterprise-wide scan\n│   └── Enterprise-wide (>10) → Activate full IR team, engage external retainer\n│\n└── Is data exfiltration confirmed?\n    ├── YES → Double extortion scenario, engage legal for breach notification\n    └── NO\u002FUNKNOWN → Check for Cobalt Strike\u002FC2 beacons, review outbound transfers\n```\n\n### Step 3: Containment Procedures\n\n**Network Isolation via EDR (CrowdStrike Falcon):**\n```bash\n# Isolate host using CrowdStrike Falcon API\ncurl -X POST \"https:\u002F\u002Fapi.crowdstrike.com\u002Fdevices\u002Fentities\u002Fdevices-actions\u002Fv2?action_name=contain\" \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"ids\": [\"device_id_here\"]}'\n```\n\n**Network Isolation via Microsoft Defender for Endpoint:**\n```powershell\n# Isolate machine via MDE API\n$headers = @{Authorization = \"Bearer $token\"}\n$body = @{Comment = \"Ransomware containment - IR-2024-0500\"; IsolationType = \"Full\"} | ConvertTo-Json\nInvoke-RestMethod -Uri \"https:\u002F\u002Fapi.securitycenter.microsoft.com\u002Fapi\u002Fmachines\u002F$machineId\u002Fisolate\" `\n    -Method Post -Headers $headers -Body $body -ContentType \"application\u002Fjson\"\n```\n\n**Firewall Emergency Rules:**\n```\n# Palo Alto — Block SMB lateral spread\nset rulebase security rules RansomwareContainment from Trust to Trust\nset rulebase security rules RansomwareContainment application ms-ds-smb\nset rulebase security rules RansomwareContainment action deny\nset rulebase security rules RansomwareContainment disabled no\ncommit\n```\n\n**Active Directory Emergency Actions:**\n```powershell\n# Disable compromised account\nDisable-ADAccount -Identity \"compromised_user\"\n\n# Reset Kerberos TGT (if domain admin compromised)\n# WARNING: This resets krbtgt and requires two resets 12+ hours apart\nReset-KrbtgtKeys -Server \"DC-PRIMARY\" -Force\n\n# Block lateral movement by disabling remote services\nSet-Service -Name \"RemoteRegistry\" -StartupType Disabled -Status Stopped\n```\n\n### Step 4: Evidence Collection and Preservation\n\nCollect forensic artifacts before remediation:\n\n```powershell\n# Capture running processes and network connections\nGet-Process | Export-Csv \"C:\\IR\\processes_$(hostname).csv\"\nGet-NetTCPConnection | Export-Csv \"C:\\IR\\netstat_$(hostname).csv\"\n\n# Capture memory dump (if host still running)\nwinpmem_mini_x64.exe C:\\IR\\memory_$(hostname).raw\n\n# Collect ransomware artifacts\nCopy-Item \"C:\\Users\\*\\Desktop\\*README*\" \"C:\\IR\\ransom_notes\\\" -Recurse\nCopy-Item \"C:\\Users\\*\\Desktop\\*.encrypted\" \"C:\\IR\\encrypted_samples\\\" -Force\n\n# Capture event logs\nwevtutil epl Security \"C:\\IR\\Security_$(hostname).evtx\"\nwevtutil epl System \"C:\\IR\\System_$(hostname).evtx\"\nwevtutil epl \"Microsoft-Windows-Sysmon\u002FOperational\" \"C:\\IR\\Sysmon_$(hostname).evtx\"\n```\n\n### Step 5: Eradication and Recovery\n\n**Identify ransomware variant:**\n- Upload encrypted sample and ransom note to ID Ransomware (https:\u002F\u002Fid-ransomware.malwarehunterteam.com\u002F)\n- Check No More Ransom Project (https:\u002F\u002Fwww.nomoreransom.org\u002F) for available decryptors\n- Search for ransomware family IOCs in MalwareBazaar\n\n**Enterprise-wide IOC scan in Splunk:**\n```spl\nindex=sysmon (EventCode=1 OR EventCode=11 OR EventCode=3)\n(TargetFilename=\"*ransomware_binary_name*\" OR sha256=\"KNOWN_HASH\"\n OR DestinationIp=\"C2_IP_ADDRESS\" OR CommandLine=\"*malicious_command*\")\n| stats count by Computer, EventCode, Image, CommandLine\n| sort - count\n```\n\n**Recovery from backups:**\n1. Verify backup integrity (offline\u002Fimmutable backups not affected)\n2. Rebuild affected systems from known-good images\n3. Restore data from last clean backup\n4. Validate restored systems before reconnecting to network\n5. Monitor restored systems for 72 hours for reinfection\n\n### Step 6: Post-Incident Documentation\n\nStructure the playbook conclusion with lessons learned:\n\n```\nPOST-INCIDENT REVIEW TEMPLATE\n1. Timeline of events (detection to full recovery)\n2. Initial access vector identification\n3. Dwell time analysis (time from initial compromise to encryption)\n4. Detection gaps identified\n5. Response effectiveness metrics (MTTD, MTTC, MTTR)\n6. Playbook improvements recommended\n7. New detection rules deployed\n8. Backup and recovery procedure updates\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Double Extortion** | Ransomware tactic combining data encryption with data theft, threatening public release if ransom unpaid |\n| **Dwell Time** | Duration between initial compromise and detection — ransomware operators average 5-9 days before encryption |\n| **MTTC** | Mean Time to Contain — time from detection to successful isolation of affected systems |\n| **Kill Chain** | Ransomware progression: Initial Access -> Execution -> Persistence -> Privilege Escalation -> Lateral Movement -> Collection -> Exfiltration -> Impact |\n| **Immutable Backup** | Backup storage that cannot be modified or deleted for a defined retention period (WORM storage) |\n| **RTO\u002FRPO** | Recovery Time Objective \u002F Recovery Point Objective — maximum acceptable downtime and data loss thresholds |\n\n## Tools & Systems\n\n- **CrowdStrike Falcon \u002F SentinelOne**: EDR platforms with network isolation, process kill, and threat hunting capabilities\n- **Splunk ES \u002F Elastic Security**: SIEM platforms for detection rule deployment and enterprise-wide IOC scanning\n- **ID Ransomware**: Online service identifying ransomware variants from encrypted file samples and ransom notes\n- **No More Ransom Project**: Europol-backed initiative providing free decryption tools for known ransomware families\n- **Veeam \u002F Rubrik**: Enterprise backup solutions with immutable backup support and instant recovery capabilities\n\n## Common Scenarios\n\n- **LockBit Attack**: Detected via SMB lateral movement and mass file encryption — isolate, scan for Cobalt Strike beacons\n- **BlackCat\u002FALPHV**: Detected via ransomware note creation — check for data exfiltration via Rclone or Mega upload\n- **Conti\u002FRoyal**: Detected via shadow copy deletion — check for prior BazarLoader\u002FEmotet initial access\n- **RansomHub**: Detected via anomalous process execution — investigate for compromised VPN or RDP credentials\n- **Play Ransomware**: Detected via service account abuse — audit AD for newly created accounts and group membership changes\n\n## Output Format\n\n```\nRANSOMWARE PLAYBOOK EXECUTION — IR-2024-0500\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nPhase 1 - Detection:\n  Alert:      Mass file encryption detected on FILESERVER-03\n  Variant:    LockBit 3.0 (confirmed via ID Ransomware)\n  MTTD:       12 minutes from first encryption to SOC alert\n\nPhase 2 - Containment:\n  [DONE] FILESERVER-03 isolated via CrowdStrike at 14:35 UTC\n  [DONE] SMB blocked enterprise-wide via firewall emergency rule\n  [DONE] Compromised service account disabled in AD\n  MTTC:       23 minutes\n\nPhase 3 - Eradication:\n  [DONE] 3 additional hosts with C2 beacon identified and isolated\n  [DONE] Cobalt Strike C2 domain (c2[.]evil[.]com) sinkholed\n  [DONE] Enterprise-wide IOC scan completed — no additional infections\n\nPhase 4 - Recovery:\n  [DONE] FILESERVER-03 rebuilt from gold image\n  [DONE] Data restored from immutable Veeam backup (RPO: 4 hours)\n  [DONE] Systems monitored 72 hours — no reinfection\n  MTTR:       18 hours\n\nTotal Affected: 1 server, 3 workstations\nData Loss:      4 hours of file modifications (backup RPO)\nExfiltration:   No evidence of data exfiltration confirmed\n```\n","# Building SOC Playbook for Ransomware\n\n## When to Use\n\nUse this skill when:\n- SOC teams need a standardized ransomware response playbook for Tier 1-3 analysts\n- An organization lacks documented procedures for ransomware containment and recovery\n- Tabletop exercises reveal gaps in ransomware response coordination\n- Compliance requirements (NIST CSF, ISO 27001) mandate documented incident playbooks\n\n**Do not use** during an active ransomware incident as the sole guide — have pre-built playbooks tested and rehearsed before incidents occur.\n\n## Prerequisites\n\n- SIEM platform (Splunk ES, Elastic Security, or Sentinel) with endpoint and network data\n- EDR solution (CrowdStrike, SentinelOne, or Microsoft Defender for Endpoint) with network isolation capability\n- Backup infrastructure with tested recovery procedures and offline\u002Fimmutable backups\n- Communication plan with legal, executive leadership, and external IR retainer contacts\n- MITRE ATT&CK knowledge for ransomware technique chains\n\n## Workflow\n\n### Step 1: Define Detection Triggers\n\nCreate SIEM detection rules for early ransomware indicators:\n\n**Mass File Encryption Detection (Splunk):**\n```spl\nindex=sysmon EventCode=11\n| bin _time span=1m\n| stats dc(TargetFilename) AS unique_files, values(TargetFilename) AS sample_files by Computer, Image, _time\n| where unique_files > 100\n| eval suspicious_extensions = if(match(mvjoin(sample_files, \",\"), \"\\.(encrypted|locked|crypt|enc|ransom)\"), \"YES\", \"NO\")\n| where suspicious_extensions=\"YES\" OR unique_files > 500\n| sort - unique_files\n```\n\n**Shadow Copy Deletion (T1490):**\n```spl\nindex=wineventlog sourcetype=\"WinEventLog:Security\" OR index=sysmon EventCode=1\n(CommandLine=\"*vssadmin*delete*shadows*\" OR CommandLine=\"*wmic*shadowcopy*delete*\"\n OR CommandLine=\"*bcdedit*\u002Fset*recoveryenabled*no*\" OR CommandLine=\"*wbadmin*delete*catalog*\")\n| table _time, Computer, User, ParentImage, Image, CommandLine\n```\n\n**Ransomware Note File Creation:**\n```spl\nindex=sysmon EventCode=11\nTargetFilename IN (\"*README*.txt\", \"*DECRYPT*.txt\", \"*RANSOM*.txt\", \"*RECOVER*.html\", \"*HOW_TO*.txt\")\n| stats count by Computer, Image, TargetFilename\n| where count > 5\n```\n\n**Elastic Security EQL variant:**\n```eql\nsequence by host.name with maxspan=2m\n  [process where event.type == \"start\" and\n    process.args : (\"*vssadmin*\", \"*delete*\", \"*shadows*\")]\n  [file where event.type == \"creation\" and\n    file.name : (\"*README*DECRYPT*\", \"*RANSOM*\", \"*HOW_TO_RECOVER*\")]\n```\n\n### Step 2: Build Triage Decision Tree\n\n```\nRANSOMWARE ALERT TRIAGE\n│\n├── Is encryption actively occurring?\n│   ├── YES → IMMEDIATE: Isolate host from network (Step 3)\n│   │         Do NOT power off (preserve memory for forensics)\n│   └── NO → Is this a pre-encryption indicator?\n│       ├── Shadow copy deletion → HIGH PRIORITY: Isolate and investigate\n│       ├── Known ransomware hash → HIGH PRIORITY: Block hash, scan enterprise\n│       └── Suspicious process behavior → MEDIUM: Investigate, prepare isolation\n│\n├── How many hosts affected?\n│   ├── Single host → Contained incident, follow host isolation procedure\n│   ├── Multiple hosts (2-10) → Escalate to Tier 2, begin enterprise-wide scan\n│   └── Enterprise-wide (>10) → Activate full IR team, engage external retainer\n│\n└── Is data exfiltration confirmed?\n    ├── YES → Double extortion scenario, engage legal for breach notification\n    └── NO\u002FUNKNOWN → Check for Cobalt Strike\u002FC2 beacons, review outbound transfers\n```\n\n### Step 3: Containment Procedures\n\n**Network Isolation via EDR (CrowdStrike Falcon):**\n```bash\n# Isolate host using CrowdStrike Falcon API\ncurl -X POST \"https:\u002F\u002Fapi.crowdstrike.com\u002Fdevices\u002Fentities\u002Fdevices-actions\u002Fv2?action_name=contain\" \\\n  -H \"Authorization: Bearer $TOKEN\" \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"ids\": [\"device_id_here\"]}'\n```\n\n**Network Isolation via Microsoft Defender for Endpoint:**\n```powershell\n# Isolate machine via MDE API\n$headers = @{Authorization = \"Bearer $token\"}\n$body = @{Comment = \"Ransomware containment - IR-2024-0500\"; IsolationType = \"Full\"} | ConvertTo-Json\nInvoke-RestMethod -Uri \"https:\u002F\u002Fapi.securitycenter.microsoft.com\u002Fapi\u002Fmachines\u002F$machineId\u002Fisolate\" `\n    -Method Post -Headers $headers -Body $body -ContentType \"application\u002Fjson\"\n```\n\n**Firewall Emergency Rules:**\n```\n# Palo Alto — Block SMB lateral spread\nset rulebase security rules RansomwareContainment from Trust to Trust\nset rulebase security rules RansomwareContainment application ms-ds-smb\nset rulebase security rules RansomwareContainment action deny\nset rulebase security rules RansomwareContainment disabled no\ncommit\n```\n\n**Active Directory Emergency Actions:**\n```powershell\n# Disable compromised account\nDisable-ADAccount -Identity \"compromised_user\"\n\n# Reset Kerberos TGT (if domain admin compromised)\n# WARNING: This resets krbtgt and requires two resets 12+ hours apart\nReset-KrbtgtKeys -Server \"DC-PRIMARY\" -Force\n\n# Block lateral movement by disabling remote services\nSet-Service -Name \"RemoteRegistry\" -StartupType Disabled -Status Stopped\n```\n\n### Step 4: Evidence Collection and Preservation\n\nCollect forensic artifacts before remediation:\n\n```powershell\n# Capture running processes and network connections\nGet-Process | Export-Csv \"C:\\IR\\processes_$(hostname).csv\"\nGet-NetTCPConnection | Export-Csv \"C:\\IR\\netstat_$(hostname).csv\"\n\n# Capture memory dump (if host still running)\nwinpmem_mini_x64.exe C:\\IR\\memory_$(hostname).raw\n\n# Collect ransomware artifacts\nCopy-Item \"C:\\Users\\*\\Desktop\\*README*\" \"C:\\IR\\ransom_notes\\\" -Recurse\nCopy-Item \"C:\\Users\\*\\Desktop\\*.encrypted\" \"C:\\IR\\encrypted_samples\\\" -Force\n\n# Capture event logs\nwevtutil epl Security \"C:\\IR\\Security_$(hostname).evtx\"\nwevtutil epl System \"C:\\IR\\System_$(hostname).evtx\"\nwevtutil epl \"Microsoft-Windows-Sysmon\u002FOperational\" \"C:\\IR\\Sysmon_$(hostname).evtx\"\n```\n\n### Step 5: Eradication and Recovery\n\n**Identify ransomware variant:**\n- Upload encrypted sample and ransom note to ID Ransomware (https:\u002F\u002Fid-ransomware.malwarehunterteam.com\u002F)\n- Check No More Ransom Project (https:\u002F\u002Fwww.nomoreransom.org\u002F) for available decryptors\n- Search for ransomware family IOCs in MalwareBazaar\n\n**Enterprise-wide IOC scan in Splunk:**\n```spl\nindex=sysmon (EventCode=1 OR EventCode=11 OR EventCode=3)\n(TargetFilename=\"*ransomware_binary_name*\" OR sha256=\"KNOWN_HASH\"\n OR DestinationIp=\"C2_IP_ADDRESS\" OR CommandLine=\"*malicious_command*\")\n| stats count by Computer, EventCode, Image, CommandLine\n| sort - count\n```\n\n**Recovery from backups:**\n1. Verify backup integrity (offline\u002Fimmutable backups not affected)\n2. Rebuild affected systems from known-good images\n3. Restore data from last clean backup\n4. Validate restored systems before reconnecting to network\n5. Monitor restored systems for 72 hours for reinfection\n\n### Step 6: Post-Incident Documentation\n\nStructure the playbook conclusion with lessons learned:\n\n```\nPOST-INCIDENT REVIEW TEMPLATE\n1. Timeline of events (detection to full recovery)\n2. Initial access vector identification\n3. Dwell time analysis (time from initial compromise to encryption)\n4. Detection gaps identified\n5. Response effectiveness metrics (MTTD, MTTC, MTTR)\n6. Playbook improvements recommended\n7. New detection rules deployed\n8. Backup and recovery procedure updates\n```\n\n## Key Concepts\n\n| Term | Definition |\n|------|-----------|\n| **Double Extortion** | Ransomware tactic combining data encryption with data theft, threatening public release if ransom unpaid |\n| **Dwell Time** | Duration between initial compromise and detection — ransomware operators average 5-9 days before encryption |\n| **MTTC** | Mean Time to Contain — time from detection to successful isolation of affected systems |\n| **Kill Chain** | Ransomware progression: Initial Access -> Execution -> Persistence -> Privilege Escalation -> Lateral Movement -> Collection -> Exfiltration -> Impact |\n| **Immutable Backup** | Backup storage that cannot be modified or deleted for a defined retention period (WORM storage) |\n| **RTO\u002FRPO** | Recovery Time Objective \u002F Recovery Point Objective — maximum acceptable downtime and data loss thresholds |\n\n## Tools & Systems\n\n- **CrowdStrike Falcon \u002F SentinelOne**: EDR platforms with network isolation, process kill, and threat hunting capabilities\n- **Splunk ES \u002F Elastic Security**: SIEM platforms for detection rule deployment and enterprise-wide IOC scanning\n- **ID Ransomware**: Online service identifying ransomware variants from encrypted file samples and ransom notes\n- **No More Ransom Project**: Europol-backed initiative providing free decryption tools for known ransomware families\n- **Veeam \u002F Rubrik**: Enterprise backup solutions with immutable backup support and instant recovery capabilities\n\n## Common Scenarios\n\n- **LockBit Attack**: Detected via SMB lateral movement and mass file encryption — isolate, scan for Cobalt Strike beacons\n- **BlackCat\u002FALPHV**: Detected via ransomware note creation — check for data exfiltration via Rclone or Mega upload\n- **Conti\u002FRoyal**: Detected via shadow copy deletion — check for prior BazarLoader\u002FEmotet initial access\n- **RansomHub**: Detected via anomalous process execution — investigate for compromised VPN or RDP credentials\n- **Play Ransomware**: Detected via service account abuse — audit AD for newly created accounts and group membership changes\n\n## Output Format\n\n```\nRANSOMWARE PLAYBOOK EXECUTION — IR-2024-0500\n━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\nPhase 1 - Detection:\n  Alert:      Mass file encryption detected on FILESERVER-03\n  Variant:    LockBit 3.0 (confirmed via ID Ransomware)\n  MTTD:       12 minutes from first encryption to SOC alert\n\nPhase 2 - Containment:\n  [DONE] FILESERVER-03 isolated via CrowdStrike at 14:35 UTC\n  [DONE] SMB blocked enterprise-wide via firewall emergency rule\n  [DONE] Compromised service account disabled in AD\n  MTTC:       23 minutes\n\nPhase 3 - Eradication:\n  [DONE] 3 additional hosts with C2 beacon identified and isolated\n  [DONE] Cobalt Strike C2 domain (c2[.]evil[.]com) sinkholed\n  [DONE] Enterprise-wide IOC scan completed — no additional infections\n\nPhase 4 - Recovery:\n  [DONE] FILESERVER-03 rebuilt from gold image\n  [DONE] Data restored from immutable Veeam backup (RPO: 4 hours)\n  [DONE] Systems monitored 72 hours — no reinfection\n  MTTR:       18 hours\n\nTotal Affected: 1 server, 3 workstations\nData Loss:      4 hours of file modifications (backup RPO)\nExfiltration:   No evidence of data exfiltration confirmed\n```\n",{"name":5,"tags":49,"author":53,"domain":29,"license":15,"version":54,"nist_csf":55,"subdomain":60,"description":61,"mitre_attack":62,"d3fend_techniques":67},[24,25,50,26,51,40,52],"incident-response","nist","containment","mahipal","1.0",[56,57,58,59],"DE.CM-01","DE.AE-02","RS.MA-01","DE.AE-06","soc-operations","Builds a structured SOC incident response playbook for ransomware attacks covering detection, containment, eradication, and recovery phases with specific SIEM queries, isolation procedures, and decision trees. Use when SOC teams need formalized response procedures for ransomware incidents aligned to NIST SP 800-61 and MITRE ATT&CK ransomware techniques.\n",[63,64,65,66,39],"T1486","T1490","T1489","T1566",[68,69,70,71,72],"Platform Hardening","Restore Object","Restore Configuration","Restore Software","Software Update","main","7925716f065257435fdb12e97f7e52842147d5ad",".claude\u002Fskills\u002Fbuilding-soc-playbook-for-ransomware","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude","https:\u002F\u002Fclaude.com\u002Fclaude-code","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho","Software · Applied AI · Quantitative Modeling · Building with Claude.","2026-06-10 12:24:46",{"source":8,"skillName":5,"commands":82,"prompt":92,"zipAvailable":93},[83,86,89],{"tool":84,"command":85},"npx","npx skills add henriquescastilho\u002Fmy-claude --skill building-soc-playbook-for-ransomware",{"tool":87,"command":88},"bunx","bunx skills add henriquescastilho\u002Fmy-claude --skill building-soc-playbook-for-ransomware",{"tool":90,"command":91},"pnpm","pnpm dlx skills add henriquescastilho\u002Fmy-claude --skill building-soc-playbook-for-ransomware","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbuilding-soc-playbook-for-ransomware\u002FSKILL.md",true,[95,100,106],{"path":96,"resourceType":96,"resourceTypeDesc":97,"sizeBytes":98,"sourceHtmlUrl":99},"LICENSE","许可证",11255,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbuilding-soc-playbook-for-ransomware\u002FLICENSE",{"path":101,"resourceType":102,"resourceTypeDesc":103,"sizeBytes":104,"sourceHtmlUrl":105},"references\u002Fapi-reference.md","REFERENCE","参考文档",2219,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbuilding-soc-playbook-for-ransomware\u002Freferences\u002Fapi-reference.md",{"path":107,"resourceType":108,"resourceTypeDesc":109,"sizeBytes":110,"sourceHtmlUrl":111},"scripts\u002Fagent.py","SCRIPT","脚本",6001,"https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fbuilding-soc-playbook-for-ransomware\u002Fscripts\u002Fagent.py",[113,154,163,172,194,219],{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":117,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":134,"publishedAt":44},"01M6F0B6XPQ65AX2X0DWK8KT3E","markitdown","Convert files and office documents to Markdown. Supports PDF, DOCX, PPTX, XLSX, images (with OCR), audio (with transcription), HTML, CSV, JSON, XML, ZIP, YouTube URLs, EPubs and more.","MIT","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[120,123,126,129],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000003","演示文稿",{"categoryNo":127,"categoryName":128,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000004","电子表格",{"categoryNo":130,"categoryName":131,"taxonomyType":132,"taxonomyTypeDesc":133},"01JBSEEDCAT000000000000034","行政与办公人员","PROFESSION","适用职业",[115,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153],"docx","PDF","pptx","xlsx","documents","csv","ocr","Audio","Bash","markdown","convert","read","write","edit","html","images","files","youtube","with",{"skillNo":155,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":117,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":162,"publishedAt":44},"01M6F06SBHR9F0SDWE282Y8075","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002Fscientific_writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[158,159,160,161],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":127,"categoryName":128,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":130,"categoryName":131,"taxonomyType":132,"taxonomyTypeDesc":133},[115,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153],{"skillNo":164,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":117,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":171,"publishedAt":44},"01M6F02D4R14EJAPBWVDF9J9VQ","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-writer\u002F.claude\u002Fskills\u002Fmarkitdown\u002FSKILL.md",[167,168,169,170],{"categoryNo":121,"categoryName":122,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":124,"categoryName":125,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":127,"categoryName":128,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":130,"categoryName":131,"taxonomyType":132,"taxonomyTypeDesc":133},[115,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153],{"skillNo":173,"name":174,"nameZh":6,"description":175,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":117,"licenseFileUrl":6,"sourceHtmlUrl":176,"categories":177,"keywords":178,"publishedAt":44},"01M6F000KS6YB4MKS774G4R8ND","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fzarr-python\u002FSKILL.md",[],[179,180,181,182,183,184,185,186,187,188,189,190,191,192,193],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":195,"name":196,"nameZh":6,"description":197,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":117,"licenseFileUrl":6,"sourceHtmlUrl":198,"categories":199,"keywords":201,"publishedAt":44},"01M6EZZJWFXM1GR78KTW6J0DN8","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fwhat-if-oracle\u002FSKILL.md",[200],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},[202,203,204,205,206,207,208,209,34,210,211,146,147,212,213,214,215,216,217,218],"oracle","what if oracle","go","run","ux","futures","analysis","explore","branch","question","idea","exploration","options","stress-test","strategies","scenario","stress",{"skillNo":220,"name":221,"nameZh":6,"description":222,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":117,"licenseFileUrl":6,"sourceHtmlUrl":223,"categories":224,"keywords":235,"publishedAt":44},"01M6EZZCXAEB49RXGQCJX5E8GB","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Fhenriquescastilho\u002Fmy-claude\u002Fblob\u002Fmain\u002F.codex\u002Fvendor_imports\u002Fclaude\u002Fmarketplaces\u002Fclaude-scientific-skills\u002Fscientific-skills\u002Fvenue-templates\u002FSKILL.md",[225,228,231,232],{"categoryNo":226,"categoryName":227,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":229,"categoryName":230,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},{"categoryNo":233,"categoryName":234,"taxonomyType":132,"taxonomyTypeDesc":133},"01JBSEEDCAT000000000000036","内容创作者",[236,237,238,239,240,241,242,243,143,244,146,147,148,245,246,247,248,249,193,250],"templates","venue templates","research","guidelines","NeurIPS","ICML","LaTeX","science","access","proposals","Academic","requirements","formatting","journal","chi"]