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★ 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:
- Phase 1: Incident Description - Retrieve metadata, alerts, assets, and evidences
- Phase 1.5: Alert Cohesion & Adjacent-Alert Sweep - Verify the incident's alerts belong together, and sweep for related alerts left outside it
- Phase 2: Incident Investigation Menu - Ask the user to select the incident assets and entities that should be investigated.
- Phase 2-A: User Investigation - Follow user-investigation skill workflow
- Phase 2-B: Device Investigation - Follow computer-investigation skill workflow
- Phase 2-C: IoC Investigation - Follow ioc-investigation skill workflow for IPs, URLs, Files, Domains, Hashes
- Phase 3: Post-Investigation Loop - Offer any remaining entities; skip straight to Phase 4 when nothing material remains
- Phase 4: Final Summary & Verdict Gates - Pass all four verdict gates before writing any classification
📑 TABLE OF CONTENTS
- Critical Workflow Rules - Start here!
- Phase 1: Incident Description - Metadata, Alerts, Assets, Evidences
- Phase 1.5: Alert Cohesion & Adjacent-Alert Sweep - Scope correction before investigating
- Phase 2: Incident Investigation Menu - Presenting the options
- Phase 2-A: User Investigation - Using user-investigation skill
- Phase 2-B: Device Investigation - Using computer-investigation skill
- Phase 2-C: IoC Investigation - Using ioc-investigation skill (IPs, URLs, Files, Domains, Hashes)
- Phase 3: Post-Investigation Loop - Offer remaining entities, or skip to Phase 4
- Phase 4: Final Summary & Verdict Gates - Baseline, alternatives, attribution, negative findings
- JSON Export Structure - Required fields
- Error Handling - Troubleshooting guide
⚠️ CRITICAL WORKFLOW RULES - READ FIRST ⚠️
Before starting ANY incident investigation:
- ALWAYS complete Phase 1 first - Retrieve full incident description before any deep investigation
- ALWAYS list Sentinel workspaces at the START of Phase 2 - Call
list_sentinel_workspacesMCP tool BEFORE presenting the investigation menu - ⛔ 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
- ALWAYS present extracted entities to user - After workspace selection, ask user which entities to investigate
- ALWAYS wait for user confirmation - Do not proceed with deep investigation until user selects entities
- 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
- Users → Follow
- ALWAYS track and report time after each major step
- 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.
- ALWAYS defang malicious/suspicious URLs and IPs - NEVER return them as clickable links. Use defang format:
hxxps://evil[.]com,203[.]0[.]113[.]42 - ⛔ 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
- **ALWAYS run the alert cohesion check before
Установить 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), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic