01-recon-osint
Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security…
IR playbook execution, evidence collection, forensic timeline analysis, memory forensics, and post-incident reporting following NIST SP 800-61 and SANS PICERL methodology
$ npx -y skills add Masriyan/Claude-Code-CyberSecurity-Skill --skill 07-incident-response --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/07-incident-responseContext preview
The summary Claude sees to decide when to auto-load this skill.
IR playbook execution, evidence collection, forensic timeline analysis, memory forensics, and post-incident reporting following NIST SP 800-61 and SANS PICERL methodology
name: Incident Response & Digital Forensics description: IR playbook execution, evidence collection, forensic timeline analysis, memory forensics, and post-incident reporting following NIST SP 800-61 and SANS PICERL methodology version: 3.1.0 author: Masriyan tags: [cybersecurity, incident-response, forensics, dfir, evidence, timeline, picerl, nist]
Enable Claude to assist with structured incident response operations following NIST SP 800-61 and the SANS PICERL framework. Claude generates IR playbooks, guides evidence collection with chain of custody, constructs forensic timelines, interprets memory forensics output, and produces post-incident reports.
---
This skill activates when the user asks about:
---
pip install pyyaml jinja2 pandas python-dateutil
**Recommended DFIR tools:**
---
Every IR engagement follows the PICERL lifecycle:
| Phase | Key Actions | Skill Outputs | |-------|------------|---------------| | **P**reparation | Verify tools, comms, access | Readiness checklist | | **I**dentification | Confirm incident, scope, severity | Incident classification | | **C**ontainment | Isolate systems, stop spread | Containment actions list | | **E**radication | Remove threat, close access | Eradication checklist | | **R**ecovery | Restore systems, verify integrity | Recovery runbook | | **L**essons Learned | Post-incident review | IR report + improvements |
---
**When the user asks to create a playbook for a specific incident type:**
Claude generates detailed, role-assigned playbooks in this structure:
**Ransomware Response Playbook (Example):**
# IR Playbook: Ransomware Attack Version: 2.0 | Owner: SOC Manager | Review: Quarterly ## Trigger Conditions - Multiple encrypted files discovered (ransom extension detected) - Ransom note found on file shares or desktop - EDR alert for mass file modification activity - User reports files inaccessible with unfamiliar extensions ## Severity Classification - CRITICAL: Domain controller / backup infrastructure affected - HIGH: Production servers / business-critical data affected - MEDIUM: Isolated workstation, contained environment --- ## Phase 1: Identification (Target: 15 minutes) **IR Lead:** - [ ] Confirm incident is ransomware (verify encrypted files + ransom note) - [ ] Determine initial infection vector (phishing? RDP? Supply chain?) - [ ] Identify Patient Zero — first encrypted system - [ ] Assess scope: How many systems? Which business units? - [ ] Declare incident severity and notify stakeholders - [ ] Open incident ticket and begin documentation **Forensics:** - [ ] DO NOT REBOOT infected systems (preserve volatile evidence) - [ ] Capture memory dump: `winpmem_mini_x64_rc2.exe output.raw` - [ ] Collect running processes: `tasklist /v > processes.txt` - [ ] Collect network connections: `netstat -ano > netstat.txt` ## Phase 2: Containment (Target: 30 minutes) **Network Team:** - [ ] Isolate affected systems (pull network cable or quarantine in VLAN) - [ ] Block identified C2 IPs/domains at perimeter firewall - [ ] Disable RDP externally if RDP was the initial vector - [ ] Preserve network capture if encryption is still occurring **Active Directory:** - [ ] Identify all accounts used by the ransomware (service accounts, domain accounts) - [ ] Reset passwords for all potentially compromised accounts - [ ] Revoke active sessions for affected accounts - [ ] Check for newly created privileged accounts ## Phase 3: Eradication - [ ] Identify all persistence mechanisms (registry, services, scheduled tasks) - [ ] Remove all malicious artifacts - [ ] Verify no backdoors remain (check with Autoruns, process scanning) - [ ] Patch the exploited vulnerability if one was used ## Phase 4: Recovery - [ ] Restore from clean backup (verified pre-infection) - [ ] Validate backup integrity before restoration - [ ] Rebuild from gold image if backup compromised - [ ] Verify data integrity after restoration - [ ] Phased return to production ## Phase 5: Lessons Learned (Within 2 weeks) - [ ] Full incident timeline documented - [ ] Root cause identified and remediated - [ ] Detection gaps addressed - [ ] CSOC playbook updated - [ ] Management report delivered
**Other supported playbook types:**
**When the user asks to collect forensic evidence:**
**Order of Volatility (most volatile → least volatile):**
1. CPU registers and cache 2. Routing tables, ARP cache, process table 3. Memory (RAM) — ALWAYS capture first 4. Temporary file systems, swap space 5. Running processes and open files 6. Network connections and open ports 7. Disk images 8. Log files (local + remote SIEM) 9. Physical media
**Evidence Collection Commands:**
# Windows — Live acquisition winpmem_mini_x64_rc2.exe
22 production-quality Claude Code Skills for cybersecurity professionals — covering offensive security, defensive operations, reverse engineering, threat hunting, threat intelligence, purple team / adversary emulation, CSOC automation, AI/LLM security,
Repo: Masriyan/Claude-Code-CyberSecurity-Skill
Passive and active reconnaissance, subdomain enumeration, DNS analysis, technology fingerprinting, and OSINT data correlation for authorized security…
Dependency auditing, CVE detection, configuration security review, CVSS scoring, and prioritized vulnerability reporting
Proof-of-concept development, payload crafting, shellcode analysis, and exploitation technique research for authorized security testing
Binary analysis, assembly interpretation, disassembly, decompilation, firmware RE, and protocol reverse engineering
Static and dynamic malware analysis, YARA rule generation, sandbox configuration, behavioral profiling, and malware family classification
IOC extraction, threat intelligence correlation, MITRE ATT&CK mapping, hunt hypothesis generation, and detection rule creation