/s1-secops-skills:soc-investigatorfrom s1-secops-skills
Orchestrates autonomous DFIR investigations on SentinelOne alerts and raw logs. Runs triage, correlation, forensic timelines, or alert-agnostic sweeps for MITRE TTPs with threat-intel enrichment and strict verdict gates.
Ships in s1-secops-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Autonomous investigation orchestrator with user intake, three investigation modes (SHORT/MEDIUM/LONG) focused on SentinelOne alerts, then optional iterative deep-dive into third-party data sources for correlation and anomaly detection.
Compatibility: requires the powerquery, mgmt-console-api, sdl-api, sdl-log-parser, hyperautomation, and sdl-dashboard skills, and the s1-secops-mcp server (threat intel: its built-in ti_vt_* tools when VIRUSTOTAL_API_KEY is stored, optional ti_shodan_* when SHODAN_API_KEY is stored, or another provider the user has connected). Works with Claude Cowork.
Inherited from the Purple SOC Analyst operating standard and the SDL threat-hunt-and-correlation method, these apply to every mode and phase below. Full detail in references/evidence-and-verdict-discipline.md and references/correlation-and-hunt-methodology.md; the essentials:
ti_vt_lookup, pivoted with ti_vt_relationship; any provider the user has connected also qualifies) before any verdict, then pivoted for related infrastructure and actors. Because this sends indicators to a third-party service, it is opt-in: if the user asks for SentinelOne-only / local analysis, or no threat-intel tool is listed (the ti_vt_* tools are absent when no VirusTotal key is stored), skip external enrichment, say so, and cap the verdict at SUSPICIOUS - Pending Confirmation (per the verdict gate below). Internal, RFC1918, or no-external-indicator events are enrichment-N/A; state that, never fabricate a lookup.uam_get_alert; an MDR False Positive or Benign verdict takes precedence); or the same IOC or behaviour corroborated across 2+ independent sources. Otherwise the ceiling is SUSPICIOUS - Pending Confirmation.dataSource.name live and discover each source's schema before querying it; never assume a field namespace. Reuse the project schema cache if present.confidenceLevel can be INFORMATIONAL (S-26.2.6): detections from pre-production or suppressed logic that never auto-mitigate. They are hidden from unfiltered alert lists and | datasource alerts, so when correlating alerts around a host, user or storyline, run one extra query filtered to confidenceLevel = INFORMATIONAL and report what it returned (including zero). Treat them as leads, like any other alert.A case groups related alerts into one incident (case_* tools; reference:
mgmt-console-api/references/CASE_MANAGEMENT.md).
uam_get_alert, call case_for_alert. When the alert is in a
case, case_get (with includeAlerts: true) and treat every alert in alertIds as one
incident: extract entities, build the timeline and reach the verdict across all of them.case_get. An analyst verdict or closing note there takes precedence like an MDR
verdict on the alert; treat earlier AI-written notes as claims to verify, not as evidence.case_create instead of writing a note on each alert. An alert can
be in only one case: the result lists any that stayed in another case.case_add_note, cite the evidence, no secrets), the enriched IOCs (case_iocs), follow-up
actions as tasks (case_task), a one-line status in the collaboration space
(case_post_message), and the verdict and status (case_triage; CLOSED needs a closing
reason). The case is shared with other analysts and cannot be deleted.alsoAlerts: true to
case_triage.TRUE_POSITIVE_*,
FALSE_POSITIVE_*, UNDEFINED): map the investigation verdict to the closest one, for example
benign activity that fired a real detection to TRUE_POSITIVE_BENIGN, and a detection that was
wrong to a FALSE_POSITIVE_* value.Every report this skill produces (summary.md, report.md, full_report.md, sweep_report.md, third_party_report.md, and any exported .docx / .pdf) MUST end with an appendix that documents all PowerQueries used, with evidence. This is non-negotiable and applies to all modes (SHORT / MEDIUM / LONG / SWEEP) and to the third-party phase.
For each PowerQuery run during the investigation, in execution order, record:
Rules:
Before anything else, verify that the required skills and tools are available in this session. Check the available_skills list in your context for each of the following:
Required skills for full investigation capability:
Core (SentinelOne telemetry & console)
├── mgmt-console-api - alert fetch, IOC lookup, agent/threat queries,
│ asset context (asset_inventory_get: criticality, tags, alert counts)
├── powerquery - Deep Visibility / SDL PowerQuery execution
├── sdl-api - SDL file and log management
│ └── sdl-log-parser - log parser authoring/validation
├── sdl-dashboard - SDL dashboard creation
└── hyperautomation - workflow/SOAR automation
Threat Intelligence (s1-secops-mcp built-ins, listed only when the key is stored)
├── ti_vt_lookup / ti_vt_relationship - IOC enrichment and pivots (VIRUSTOTAL_API_KEY)
└── ti_shodan_host / ti_shodan_dns - optional exposure context (SHODAN_API_KEY)
Another connected threat-intel provider also counts.
For each skill, mark it as ✓ available or ✗ missing.
Display the result to the user before proceeding:
=== Tool Discovery ===
Core skills:
✓ mgmt-console-api
✓ powerquery
✗ sdl-api [MISSING - SDL correlation unavailable]
✗ sdl-log-parser [MISSING - depends on sdl-api]
✓ sdl-dashboard
✓ hyperautomation
Threat intelligence:
✓ ti_vt_lookup / ti_vt_relationship
✗ ti_shodan_host / ti_shodan_dns [no SHODAN_API_KEY - exposure context skipped]
Impact of missing skills:
- LONG mode SDL correlation will be skipped
- Log parser validation unavailable
Proceed with available tools? [YES | CANCEL]
If all required skills for the chosen mode are present, proceed automatically (no user confirmation needed unless approval gates are enabled). If critical skills are missing for the requested mode, warn the user and let them choose to continue or cancel.
After tool discovery, ask the user:
=== SOC Investigator Intake ===
1. ALERT SOURCE
What alerts do you want to investigate?
a) Alert ID(s): [comma-separated list, e.g., "alert_001, alert_002"]
b) Time range query: [e.g., "last 48 hours, threat level HIGH"]
c) SIEM/JSON paste: [paste alert JSON array]
d) No alerts - sweep a time window: [e.g. "last 7 days"] (SWEEP mode only)
→ Cowork fetches from SentinelOne console or accepts raw JSON
2. INVESTIGATION SCOPE (SentinelOne focus first)
Choose investigation depth:
🔍 SHORT (5 min, ~2k tokens)
- SentinelOne alert data only
- Entity extraction (users, endpoints, IPs, hashes)
- Draft timeline & MITRE
- Output: JSON + summary.md
🔎 MEDIUM (15 min, ~8k tokens)
- SentinelOne: Alert data + IOC enrichment
- One PowerQuery per endpoint (process tree + network)
- VirusTotal + S1 IOC API lookups
- Enriched timeline with threat intel context
- Output: JSON + report.md + timeline.csv
- Then: "Want to dig into third-party sources?"
🔬 LONG (45 min, ~30k tokens)
- SentinelOne: Everything in MEDIUM, plus:
- 4 deep PowerQueries per alert (process, files, network, registry)
- SDL threat intelligence correlation
- Full MITRE refinement with evidence
- Output: JSON + full_report.md + visualizations
- Then: "Deep-dive third-party interrogation?"
🗺️ SWEEP (30 min, ~15k tokens) [no alert ID required]
- Answers "what TTPs are in my logs over window X"
- Live source enumeration + per-source schema discovery
- ATT&CK extraction from the alert stream, corroborated against raw logs
- Simulation / scanner suppression pass (BAS agents, CSPM and CASB roles)
- Output: JSON + ttp_matrix.csv + sweep_report.md
→ Select: [SHORT | MEDIUM | LONG | SWEEP]
3. APPROVAL GATES (optional)
Do you want approval prompts at each phase?
[YES | NO (proceed automatically)]
4. OUTPUT LOCATION
Where to save results?
→ Default: ./investigation_<timestamp>/
Once intake is complete, generate and display the full investigation plan before executing a single query. This gives the user a clear map of what will happen.
The plan is derived from their intake answers (mode, alert source, approval gates). Show it as a numbered checklist. Example for MEDIUM mode with approval gates ON:
=== Investigation Plan ===
Mode: MEDIUM | Alerts: last 48h HIGH | Approval gates: ON
Output: ./investigation_2025-06-16T10-00-00/
PHASE 1 - Alert Ingest & Entity Extraction [~2 min]
1.1 Fetch alerts via mgmt-console-api
1.2 Extract entities (users, endpoints, IPs, hashes)
1.3 Build draft timeline (chronological alert order)
1.4 Infer MITRE tactics/techniques from alert types
→ Output: entities.json, timeline_draft.csv, mitre_draft.json, summary.md
→ APPROVAL GATE
PHASE 2 - IOC Enrichment [~5 min]
2.1 Batch IOC lookups: VirusTotal (ti_vt_lookup) + S1 IOC API
2.2 Sample top 20 IOCs by frequency if >20 total
→ Output: threat_intel.json
→ APPROVAL GATE
PHASE 3 - Endpoint Process Context [~5 min]
3.1 One PowerQuery per unique endpoint (process tree)
3.2 One PowerQuery per unique endpoint (network behavior)
→ Output: powerquery_results.jsonl
PHASE 4 - Enriched Analysis & Reporting [~3 min]
4.1 Merge alert + IOC + process context into enriched timeline
4.2 Refine MITRE with IOC evidence
→ Output: timeline_enriched.json, report.md, timeline.csv
→ APPROVAL GATE + THIRD-PARTY OPTION
[OPTIONAL] THIRD-PARTY INVESTIGATION
→ Triggered if user selects "dig into third-party sources"
→ Discover available data sources (M365, Entra, AWS, etc.)
→ Correlate entities, detect anomalies, user-driven deep-dive
Total estimated time: ~15 min (core) + 15 min if third-party selected
Proceed? [YES | MODIFY | CANCEL]
For LONG mode, include all 7 phases in the plan. For SHORT mode, show only Phase 1.
For SWEEP mode, show the six sweep phases from references/ttp-sweep.md instead; the third-party
block does not apply, because SWEEP already enumerates every source.
Always show the optional third-party block at the bottom so the user knows it's available.
If approval gates are OFF, omit the → APPROVAL GATE lines from the plan.
After the user confirms, begin Phase 1 immediately, following the phase-by-phase run instructions for the chosen mode in references/investigation-modes.md.
The skill runs one of three cumulative SentinelOne-focused modes, chosen at intake. The summary below sizes each mode; the full phase-by-phase run instructions (fetch steps, example JSON, and PowerQuery templates) live in references/investigation-modes.md. Read the chosen mode's phases there before executing, and follow them in order.
| Mode | Duration | Tokens | What it does |
|---|---|---|---|
| SHORT | ~5 min | ~2k | SentinelOne alert data only: fetch alerts, extract entities (users, endpoints, IPs, hashes), draft timeline, infer MITRE. Output: entities.json, timeline_draft.csv, mitre_draft.json, summary.md. |
| MEDIUM | ~15 min | ~8k | SHORT plus IOC enrichment (VirusTotal + S1 IOC API) and one PowerQuery per endpoint (process tree + network). Output: threat_intel.json, powerquery_results.jsonl, timeline_enriched.json, report.md, timeline.csv. |
| LONG | ~45 min | ~30k | MEDIUM plus four deep PowerQueries per endpoint (process, files, registry, network), SDL threat-intel correlation, and full MITRE refinement. Output: threat_intel_complete.json, full_report.md, timeline_forensic.csv. |
| SWEEP | ~30 min | ~15k | Alert-agnostic hunt across a time window. Enumerate sources, discover schemas, extract ATT&CK from the alert stream, corroborate each technique against raw logs, suppress simulation and authorised-scanner activity, report a tactic/technique matrix with coverage gaps. Output: ttp_matrix.csv, sweep_findings.json, sweep_report.md. |
SWEEP is a peer of the other three, not a cumulative step: it takes no alert ID and does not run
their phases. Its run instructions are in references/ttp-sweep.md.
After MEDIUM or LONG completes, the operator may expand into third-party sources. That optional, iterative playbook (source discovery, entity correlation, anomaly detection, deep interrogation) is documented in references/third-party-playbook.md; run it only when the operator selects the third-party option at a MEDIUM or LONG approval gate.
| Phase | Duration | Tokens | Content |
|---|---|---|---|
| SHORT | 5 min | ~2k | Alerts + entity extraction |
| MEDIUM | 15 min | ~8k | SHORT + IOC + 1 PQ per endpoint |
| LONG | 45 min | ~28k | MEDIUM + 4 PQ per endpoint + SDL |
| Third-Party (opt-in) | 15 min | ~10k | Source discovery + entity correlation + anomaly detection |
Key optimizations:
All phases write their artifacts into a single investigation_<timestamp>/ directory (INTAKE.txt, entities.json, the per-mode timelines, reports, IOC and PowerQuery outputs, and the third-party correlation files). The full annotated file tree is in references/output-structure.md.
/soc-investigatorreferences/investigation-modes.md, or SWEEP per references/ttp-sweep.mdreferences/third-party-playbook.md)investigation_<timestamp>/Read-only mode. From 1.5.5, s1-secops-mcp is read-only by default (S1_READ_ONLY unset or true). The investigation itself is read-only and unaffected: PowerQuery, schema discovery, uam_list_alerts, uam_get_alert, s1_api_get and local output files all run. Only optional write-back steps need write: uam_add_note, uam_set_verdict, uam_set_status, uam_assign_alert and the case writes (case_create, case_add_note, case_iocs, case_task, case_post_message, case_triage). Before offering a write-back, check mode.readOnly in the sentinelone://credentials-status resource or the server's initialize instructions.
s1_api_post to a different endpoint, a hand-built GraphQL mutation, another MCP server).s1-secops-mcp-launch.sh install --read-write (Windows -ReadWrite), then restart Claude Desktop; .mcpb extension: turn off "Read-only mode (recommended)"; Node install: "S1_READ_ONLY": "false" in the server's env block. Detail: docs/read-only.md in the source repo (not shipped).investigation_<timestamp>/ so the analyst can apply them in the console.evals/evals.json (opens in a new tab)evals/fixtures/correct-run/confirmed_case/report.md (opens in a new tab)evals/fixtures/correct-run/confirmed_case/verdict.json (opens in a new tab)evals/fixtures/correct-run/edr_triage/report.md (opens in a new tab)evals/fixtures/correct-run/edr_triage/verdict.json (opens in a new tab)evals/fixtures/correct-run/internal_scan/report.md (opens in a new tab)evals/fixtures/correct-run/internal_scan/threat_intel.json (opens in a new tab)evals/fixtures/correct-run/mdr_review/report.md (opens in a new tab)evals/fixtures/correct-run/mdr_review/verdict.json (opens in a new tab)evals/fixtures/correct-run/medium_run/queries/01_process_tree_ep1.pq (opens in a new tab)evals/fixtures/correct-run/medium_run/queries/02_network_ep1.pq (opens in a new tab)evals/fixtures/correct-run/medium_run/queries/03_registry_persistence_ep2.pq (opens in a new tab)evals/fixtures/correct-run/medium_run/report.md (opens in a new tab)evals/fixtures/correct-run/stdout.txt (opens in a new tab)evals/fixtures/refusal-run/README.md (opens in a new tab)evals/fixtures/refusal-run/confirmed_case/report.md (opens in a new tab)evals/fixtures/refusal-run/confirmed_case/verdict.json (opens in a new tab)evals/fixtures/refusal-run/stdout.txt (opens in a new tab)references/correlation-and-hunt-methodology.md (opens in a new tab)references/evidence-and-verdict-discipline.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sentinelone, dfir, incident-response, threat-hunting, mitre-attck
npx claudepluginhub sentinel-one/ai-siem --plugin s1-secops-skills8 skills in this plugin
/hyperautomationUse this skill whenever a user wants to create, design, build, generate, write, or export a SentinelOne Hyperautomation workflow in JSON format. Triggers: any mention of "Hyperautomation", "workflow", "automation", "SOAR", "playbook", "alert response", "trigger", "scheduled workflow", "webhook workflow", or any request to automate a SentinelOne-related security task, even phrased casually ("build me a thing that disables a user when an alert fires"). Also triggers when the user asks to import, export, test, validate, or submit a workflow to a SentinelOne console via API, and for autonomous / auto-response SOC requests: "autonomous SOC", "SOC in a box", "auto-triage", "investigate and respond automatically", "auto-isolate on a critical alert", "auto-close false positives and escalate real threats", or letting an LLM decide isolate vs quarantine vs close per alert (the canonical investigate-decide-respond shape lives in references/autonomous-soc-template.md). When in doubt, use it./mgmt-console-apiUse whenever the user wants to query, update, create, or act on a SentinelOne Management Console: threats, alerts, agents, sites, accounts, groups, exclusions, RemoteOps, Deep Visibility, Hyperautomation, Unified Alert Management (UAM), cases (Case Management), Purple AI, IOCs, or any other S1 Mgmt API resource. Trigger on "console", "query/update/create console", "SentinelOne", "S1", "Singularity", "UAM", "Purple AI", "/web/api/v2.1/...", S1 agent/threat/site IDs, or asks like "list endpoints", "triage alerts", "add note to alert", "open a case", "create an IOC", "isolate endpoint", "run RemoteOps", "pull DV results". For alerts the PRIMARY API is GraphQL UAM at /web/api/v2.1/unifiedalerts/graphql; REST /cloud-detection/alerts is SECONDARY (older, int64 IDs). Covers the S1 Mgmt REST API (781 ops, v2.1), UAM GraphQL and Purple AI GraphQL through the s1-secops-mcp tools (s1_api_*, uam_*, case_*, purple_ai_query, purple_ai_alert_summary), plus a host-only Python client, endpoint index, and reversible tests./powerqueryUse any time the user wants to author, debug, optimize, explain, or run a SentinelOne PowerQuery (PQ): Deep Visibility / Event Search queries, XDR/EDR threat hunting, investigations, STAR / Custom Detection rule bodies (including converted Sigma rules), PowerQuery Alerts, or Singularity Data Lake dashboard panels. Trigger on PowerQuery, PQ, pq, query, Event Search, Deep Visibility, S1QL, SDL, STAR rule, Custom Detection rule, PowerQuery Alert; on queries using fields like `event.type`, `src.process.*`, `tgt.file.*`, `indicator.*`, `agent.uuid`; on pipes like `| group`, `| filter`, `| let`, `| join`, `| parse`, `| columns`, `| compare`, `| top`, `| union`, `| lookup`, `| savelookup`, `| dataset`. Also trigger when asked to hunt a TTP, IOC, behaviour, or alert pattern on a SentinelOne tenant, even casually ("find powershell reaching out to the internet", "write a detection for lsass access"). Explicitly NOT Microsoft Power Query / M / Excel and NOT Splunk SPL; this is SentinelOne's pipeline query language./sdl-apiUse whenever the user wants to read data and manage configuration through the SentinelOne Singularity Data Lake (SDL) API: run queries or manage configuration files (parsers, dashboards, alerts, lookups, datatables) on a Scalyr/SDL/XDR tenant. Trigger on "SDL", "SDL API", "Singularity Data Lake", "Scalyr", "DataSet", or any "*.sentinelone.net/sdl/api/*" URL, and on the method names "query", "powerQuery", "facetQuery", "timeseriesQuery", "numericQuery", "configFiles", "configFile", "addConfigFile", "deleteConfigFile", "getFile", "putFile", "listFiles". Also trigger on "udoId", "config file", "/sdl/v2/graphql", or a console display string of the form "/dashboards/id/{number}/{name}". Also trigger on tasks like "run a powerQuery", "list configuration files", "edit my parser via API", "deploy a dashboard JSON", "compute the rate of failures over time", or anything involving SDL Bearer-token auth or the S1-Scope header. Uses the s1-secops-mcp sdl_* tools; host-only Python client./sdl-dashboardUse this skill any time the user wants to create, edit, design, generate, deploy, or debug a SentinelOne Singularity Data Lake (SDL) dashboard. Triggers include: "build me a dashboard", "create a dashboard panel", "write dashboard JSON", "add a panel to my dashboard", "deploy a dashboard to SDL", "I want a dashboard that shows...", "can you make a dashboard for...", "threat dashboard", "SOC dashboard", "network dashboard", "audit dashboard", "O365 dashboard", "hunting dashboard", or any request that involves SDL/Scalyr dashboard JSON. Also triggers when the user pastes dashboard JSON and wants help fixing, improving, or extending it. Use alongside sdl-api to deploy dashboards, and alongside powerquery to validate or compose the queries inside panels. Always use this skill when dashboards, dashboard panels, or SDL visualization is involved, even if the user just says "show me [metric] over time" in a security/SDL context.
/sdl-log-parserUse whenever the user wants to author, edit, debug, validate, or explain a SentinelOne Singularity Data Lake (SDL) log parser, the augmented-JSON files at /logParsers/ that extract fields from raw log text before ingestion. Trigger on "SDL parser", "Skylight parser", "log parser", "parser editor", "write a parser", "test parser", or any pasted raw log the user wants turned into structured fields. Also trigger on parser-DSL keywords like `formats:`, `patterns:`, `lineGroupers:`, `rewrites:`, `discardAttributes:`, `aliasTo:`, `{parse=...}`, `{regex=...}`. Especially trigger when the user pastes a raw log (CEF, syslog, JSON, key=value, multi-line, CSV) and asks to extract fields, normalize timestamps, or drop noise. If the project is SDL/Singularity/Scalyr and the user says "parse this log", use this skill. Always validates end-to-end via putFile → HEC ingest (parser applied) → query. NOT for PowerQuery (use powerquery), NOT for plain ingest without a parser (use sdl-api).Other plugins' skills for the same job