incident-triage — скилл для Claude Code: что делает и как установить
Помогает разобрать инцидент безопасности по стандарту NIST SP 800-61: локализовать угрозу, собрать цифровые улики и составить отчёт.
npx skills add briiirussell/cybersecurity-skills --skill incident-triage -a claude-codeЧто делает incident-triage
Скилл ведёт инженера через первичный разбор инцидента безопасности. Внутри зашит пошаговый процесс по руководству NIST SP 800-61r2: классификация типа атаки (от фишинга до программ-вымогателей), оценка критичности и изоляция. Для изоляции хоста агент предложит отключить сеть, но запретит выключать питание, потому что обесточивание стирает оперативную память.
Инструмент выдаёт точные консольные команды для Linux и Windows по порядку энергозависимости данных: процессы через ps auxf или tasklist, активные сокеты через ss или netstat, открытые файлы через lsof и свежие логи journalctl. Далее извлекаются индикаторы компрометации (IOC) — сетевые адреса, домены, хеши файлов и записи автозагрузки в cron или системных службах.
Итогом работы становится Markdown-отчёт со сводкой, таймлайном и чек-листом оповещения руководства. Правила скилла прямо запрещают ответные атаки («hack back») и фальсификацию логов, поэтому скрыть инцидент агент не поможет.
Какие задачи решает
- локализовать скомпрометированный узел без потери данных оперативной памяти
- собрать энергозависимые цифровые улики в Linux и Windows до перезагрузки
- извлечь сетевые и файловые индикаторы компрометации (IOC)
- оформить структурированный отчёт об инциденте по методологии NIST SP 800-61
Примеры запросов агенту
- Кажется, сервер скомпрометирован: в процессах висит подозрительный бинарник, помоги локализовать угрозу
- На рабочей станции обнаружен вымогатель, помоги собрать энергозависимые улики в Linux
- Зафиксирована утечка данных, извлеки индикаторы компрометации и составь первичный отчёт
Как установить incident-triage
1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill incident-triage -a claude-code2Вручную: положить файлы
~/.claude/skills/incident-triage/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/incident-triage/
1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill incident-triage -a codex2Вручную: положить файлы
.agents/skills/incident-triage/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill incident-triage -a cursor2Вручную: положить файлы
.cursor/skills/incident-triage/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install briiirussell/cybersecurity-skills incident-triage2Вручную: положить файлы
.github/skills/incident-triage/SKILL.md1Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill incident-triage -a gemini-cli2Командой платформы
gemini skills install https://github.com/briiirussell/cybersecurity-skills --path skills/incident-triageВручную: положить файлы
.devin/skills/incident-triage/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add briiirussell/cybersecurity-skills --skill incident-triage -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Из того же набора25
Похожие
Рядом в теме «Безопасность»
Всё по теме «Безопасность» →Вопросы о incident-triage
Как установить incident-triage в Claude Code?
Выполните команду npx skills add briiirussell/cybersecurity-skills --skill incident-triage -a claude-code. Файл навыка запишется в ~/.claude/skills/incident-triage/SKILL.md.
Что делает скилл incident-triage?
Ведёт расследование по стадиям NIST SP 800-61: определяет серьёзность атаки, помогает изолировать хосты без отключения питания, снимает дампы сетевой активности и собирает отчёт с IOC.
Почему скилл запрещает выключать скомпрометированную систему?
Выключение питания безвозвратно уничтожает оперативную память с активными процессами и сокетами. Скилл требует сначала собрать летучие артефакты командной строки и изолировать узел через фаервол или отключение сетевого кабеля.
Исходный текст
SKILL.md · MIT
--- name: incident-triage description: "Guide rapid triage and initial response to security incidents following NIST SP 800-61 methodology. Use when the user mentions 'incident response,' 'security incident,' 'triage,' 'we've been hacked,' 'breach,' 'compromised,' 'malware detected,' 'suspicious activity,' 'IOC,' 'indicators of compromise,' or needs help handling a security event." allowed-tools: Bash, Read, Write, Grep, Glob, WebSearch --- # Incident Triage — Security Incident Response Guide rapid triage and initial response to security incidents. Follow NIST SP 800-61 methodology. Cross-references: `siem-detection` for the rules that produced the alert this triage is responding to, `disk-forensics` for deeper disk and memory analysis once a host is contained, `breach-patterns` for the post-incident pattern extraction that hardens against recurrence, `soc-operations` for the operational layer above this skill (runbooks, escalation, handoff), `security-comms` for the stakeholder / customer notifications the response generates, `privacy-engineering` / `hipaa-audit` / `pci-audit` for the regulatory-clock determination when personal data, PHI, or cardholder data is involved, `ai-risk-management` for AI-specific incident classes (model failure, fairness drift, jailbreak exploitation in production). ## Priorities (in order) 1. Preserve human safety 2. Contain the incident to prevent further damage 3. Preserve evidence for investigation 4. Identify root cause and scope 5. Document everything ## Step 1: Classification Determine incident type: - **Malware:** ransomware, trojan, worm, cryptominer - **Unauthorized access:** compromised credentials, exploitation - **Data exfiltration:** data theft, insider threat - **Denial of service** - **Web compromise:** defacement, skimming, backdoor - **Phishing / social engineering** Determine severity: - **Critical:** active data exfiltration, ransomware spreading, critical system compromise - **High:** confirmed compromise, malware detected, unauthorized access - **Medium:** suspicious activity, potential indicators, failed attacks - **Low:** policy violation, reconnaissance detected, likely false positive ## Step 2: Initial Containment Based on type and severity: - **Network:** block suspicious IPs/domains at firewall - **Host:** isolate affected system (network disconnect, NOT power off — volatile memory is evidence) - **Account:** disable compromised accounts, force password resets - **Application:** disable affected service if safe to do so **Critical: Do NOT power off systems.** Volatile memory contains evidence. ## Step 3: Evidence Preservation Capture in order of volatility (most volatile first): ```bash # 1. Running processes ps auxf # Linux tasklist /v # Windows # 2. Network connections ss -tupn # Linux netstat -anob # Windows # 3. Logged-in users who -a # Linux query user # Windows # 4. Open files lsof -nP # Linux # 5. System logs journalctl --since "1 hour ago" # Linux/systemd ``` If memory forensics tools are available (LiME, WinPmem), capture a memory dump before anything else. ## Step 4: Initial Analysis For each suspicious indicator, document: - **What:** describe the artifact - **When:** timestamps in UTC - **Where:** affected system(s) - **How:** how it was detected Common analysis: - **Process tree:** look for unusual process names, paths, or parent-child relationships - **Network indicators:** unusual outbound connections, DNS queries to suspicious domains, beaconing patterns (regular intervals) - **File indicators:** recently modified files in unusual locations, hidden files, new executables - **Log analysis:** authentication failures, privilege escalation, service changes, cleared logs - **Persistence:** crontab, systemd units, registry Run keys, scheduled tasks, startup items ## Step 5: IOC Extraction Extract and document all indicators of compromise: | Type | Examples | |------|---------| | IP addresses | Source and destination IPs | | Domains | C2 domains, phishing domains | | File hashes | MD5 and SHA256 of suspicious files | | File paths | Malware locations, dropped files | | Email addresses | Phishing sender addresses | | URLs | Malicious URLs, C2 endpoints | | User agents | Unusual or known-malicious user agents | ## Output Format ```markdown # Incident Triage Report ## Incident ID: [ID] ## Date/Time: [UTC] ## Severity: [Critical/High/Medium/Low] ## Classification: [incident type] ## Status: [Triage/Contained/Analyzing/Resolved] ### Summary [2-3 sentence overview] ### Affected Systems | Hostname | IP | Role | Status | |----------|-----|------|--------| ### Timeline | Time (UTC) | Event | Source | Notes | |------------|-------|--------|-------| ### Indicators of Compromise | Type | Value | Context | Confidence | |------|-------|---------|------------| ### Containment Actions Taken - [ ] [Action and result] ### Evidence Preserved | Type | Location | Hash | Notes | |------|----------|------|-------| ### Recommended Next Steps 1. [Immediate priority] 2. [Short-term action] 3. [Follow-up investigation] ### Escalation Checklist - [ ] Management notified - [ ] Legal notified (if data breach) - [ ] Law enforcement (if applicable) - [ ] Affected parties notified (if data breach) ``` ## Boundaries - Focus on defense and containment, not counter-attack - Preserve evidence — never modify logs or timestamps - Recommend legal/management escalation for confirmed breaches - If unsure about a containment action's impact, advise caution and ask - Never recommend "hacking back" or retaliatory actions - Refuse requests to cover up incidents or tamper with evidence ## References - NIST SP 800-61r2: Computer Security Incident Handling Guide - SANS Incident Handler's Handbook - MITRE ATT&CK Framework
© briiirussell · MIT · briiirussell/cybersecurity-skills