Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

incident-investigation

БесплатноБез исполняемых скриптовНе проверен

Use this skill when asked to investigate a security incident by ID from Microsoft Defender XDR or Microsoft Sentinel. Triggers on keywords like "investigate…

SCStelzот SCStelz★ 256 звёзд на GitHub

Об этом скилле

Incident Investigation - Instructions

Purpose

This skill performs comprehensive security investigations on incidents from Microsoft Defender XDR and Microsoft Sentinel. It retrieves incident details, lists alerts, enumerates assets and evidences, and then performs deep investigation on user-selected entities using appropriate tools and specialized skills.

Investigation Flow:

  1. Phase 1: Incident Description - Retrieve metadata, alerts, assets, and evidences
  2. Phase 1.5: Alert Cohesion & Adjacent-Alert Sweep - Verify the incident's alerts belong together, and sweep for related alerts left outside it
  3. Phase 2: Incident Investigation Menu - Ask the user to select the incident assets and entities that should be investigated.
  4. Phase 2-A: User Investigation - Follow user-investigation skill workflow
  5. Phase 2-B: Device Investigation - Follow computer-investigation skill workflow
  6. Phase 2-C: IoC Investigation - Follow ioc-investigation skill workflow for IPs, URLs, Files, Domains, Hashes
  7. Phase 3: Post-Investigation Loop - Offer any remaining entities; skip straight to Phase 4 when nothing material remains
  8. Phase 4: Final Summary & Verdict Gates - Pass all four verdict gates before writing any classification

📑 TABLE OF CONTENTS

  1. Critical Workflow Rules - Start here!
  2. Phase 1: Incident Description - Metadata, Alerts, Assets, Evidences
  3. Phase 1.5: Alert Cohesion & Adjacent-Alert Sweep - Scope correction before investigating
  4. Phase 2: Incident Investigation Menu - Presenting the options
  5. Phase 2-A: User Investigation - Using user-investigation skill
  6. Phase 2-B: Device Investigation - Using computer-investigation skill
  7. Phase 2-C: IoC Investigation - Using ioc-investigation skill (IPs, URLs, Files, Domains, Hashes)
  8. Phase 3: Post-Investigation Loop - Offer remaining entities, or skip to Phase 4
  9. Phase 4: Final Summary & Verdict Gates - Baseline, alternatives, attribution, negative findings
  10. JSON Export Structure - Required fields
  11. Error Handling - Troubleshooting guide

⚠️ CRITICAL WORKFLOW RULES - READ FIRST ⚠️

Before starting ANY incident investigation:

  1. ALWAYS complete Phase 1 first - Retrieve full incident description before any deep investigation
  2. ALWAYS list Sentinel workspaces at the START of Phase 2 - Call list_sentinel_workspaces MCP tool BEFORE presenting the investigation menu
  3. ⛔ ALWAYS complete workspace selection BEFORE any investigation - This is a MANDATORY CHECKPOINT:
    • If 1 workspace: auto-select and display to user
    • If multiple workspaces: ASK USER to select and WAIT for response
    • DO NOT proceed to any entity investigation without a workspace selected
  4. ALWAYS present extracted entities to user - After workspace selection, ask user which entities to investigate
  5. ALWAYS wait for user confirmation - Do not proceed with deep investigation until user selects entities
  6. ALWAYS use the correct tools for each entity type:
    • Users → Follow .github/skills/user-investigation/SKILL.md
    • Devices → Follow .github/skills/computer-investigation/SKILL.md
    • IPs/URLs/Files/Domains/Hashes → Follow .github/skills/ioc-investigation/SKILL.md
  7. ALWAYS track and report time after each major step
  8. ALWAYS filter evidences - Remove internal IPs (RFC1918) and tenant domains from investigation scope. Also remove all public IPs from the devices listed as assets involved in the incident.
    • Validate infrastructure IPs empirically, not by rule. A CIDR range alone is a hypothesis; cross-account prevalence is evidence. Run the IP Prevalence Check before dismissing any IP as shared infrastructure, CGNAT, VPN egress, or a proxy — and state which method you used.
  9. ALWAYS defang malicious/suspicious URLs and IPs - NEVER return them as clickable links. Use defang format: hxxps://evil[.]com, 203[.]0[.]113[.]42
  10. ⛔ NEVER auto-select a Sentinel workspace when multiple exist - Workspace selection is MANDATORY:
    • ❌ DO NOT select a workspace on behalf of the user when multiple exist
    • ❌ DO NOT switch to another workspace if a query fails
    • ❌ DO NOT proceed with investigation without explicit user selection
    • ✅ If query fails: STOP, report error, ask user to select different workspace
    • ✅ If multiple workspaces: STOP, list all, WAIT for user selection
    • ✅ Only auto-select if exactly ONE workspace exists
  11. **ALWAYS run the alert cohesion check before
Полный SKILL.md на GitHub

Установить incident-investigation в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл incident-investigation?

Use this skill when asked to investigate a security incident by ID from Microsoft Defender XDR or Microsoft Sentinel. Triggers on keywords like "investigate incident", "incident ID", "incident investigation", "analyze incident", "triage incident", or when an incident number/ID is mentioned with investigation context. This skill provides comprehensive incident analysis including metadata retrieval, alert listing, asset enumeration, evidence filtering, and deep entity investigation using Sentinel MCP tools and specialized skills.

Как установить скилл incident-investigation?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл incident-investigation запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить incident-investigation с