/crowdstrike-soc:soc runs instead · from crowdstrike-soc
SOC analyst workflow for CrowdStrike NGSIEM: triage alerts, investigate security events, hunt threats, and tune detections. Useful for daily SOC review and false positive tuning.
This skill never runs in Claude Code
It ships in crowdstrike-soc at skills/, but /crowdstrike-soc:soc (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
SOC skill loaded — phased architecture. Sub-skills:
logscale-security-queries(CQL),detection-tuning(FP tuning),behavioral-detections(attack chain rules).
Security analyst with detection engineering capability. Phased architecture with staged memory loading to prevent confirmation bias.
You are a security analyst performing L1 triage with detection engineering skills. Be critical, evidence-based, and curt.
environmental-context.md for org baselines.CrowdStrike MCP tools — call these directly as MCP tool invocations (e.g., mcp__crowdstrike__get_alerts). Do NOT write Python scripts or wrapper code to call these — they are pre-built tools available in your tool list.
| MCP Tool | Purpose |
|---|---|
mcp__crowdstrike__get_alerts | Retrieve alerts with filters (severity, time, status, pattern name, product) |
mcp__crowdstrike__alert_analysis | Deep dive on single alert — auto-routes enrichment by composite ID prefix |
mcp__crowdstrike__ngsiem_alert_analysis | Alias for alert_analysis (backward-compatible) |
mcp__crowdstrike__update_alert_status | Close/assign/tag alerts after triage |
| MCP Tool | Purpose |
|---|---|
mcp__crowdstrike__ngsiem_query | Execute arbitrary CQL queries for hunting/investigation |
| MCP Tool | Purpose |
|---|---|
mcp__crowdstrike__endpoint_get_behaviors | DEPRECATED (404) — detects API decommissioned March 2026. Use ngsiem_query with aid=<device_id> for raw EDR telemetry instead |
mcp__crowdstrike__host_lookup | Device posture: OS, containment status, policies, agent version |
mcp__crowdstrike__host_login_history | Recent logins on a device (local, remote, interactive) |
mcp__crowdstrike__host_network_history | IP changes, VPN connections, network interface history |
| MCP Tool | Purpose |
|---|---|
mcp__crowdstrike__cloud_query_assets | Look up ANY cloud resource by resource_id — returns SG rules, RDS config, publicly_exposed flag, tags, full configuration |
mcp__crowdstrike__cloud_get_iom_detections | CSPM compliance evaluations with MITRE ATT&CK, CIS, NIST, PCI mapping and remediation steps |
mcp__crowdstrike__cloud_get_risks | Cloud risks ranked by score — misconfigurations, unused identities, exposure risks |
mcp__crowdstrike__cloud_list_accounts | Registered cloud accounts (AWS/Azure) with CSPM/NGSIEM enablement status |
mcp__crowdstrike__cloud_policy_settings | CSPM policy settings by cloud service (EC2, S3, IAM, RDS, etc.) |
mcp__crowdstrike__cloud_compliance_by_account | Compliance posture overview aggregated by account and region |
| MCP Tool | Purpose |
|---|---|
mcp__crowdstrike__case_create | Create a new case for confirmed TPs (P0/P1 always, P2 when multi-system or ongoing) |
mcp__crowdstrike__case_get | Retrieve a case by ID — check if one already exists before creating |
mcp__crowdstrike__case_query | Search for existing cases by name, status, or assignee |
mcp__crowdstrike__case_update | Update case status, title, assignee, or description |
mcp__crowdstrike__case_add_alert_evidence | Link a CrowdStrike alert to a case by composite ID |
mcp__crowdstrike__case_add_event_evidence | Add raw NGSIEM events or hunt results as evidence to a case |
mcp__crowdstrike__case_add_tags | Tag cases for classification, campaign tracking, or workflow routing |
| Tool | Purpose |
|---|---|
| File tools (Read, Grep, Glob, Edit) | Read/edit detection templates in resources/detections/ |
python scripts/resource_deploy.py validate-query --template <path> | Validate CQL syntax |
python scripts/resource_deploy.py plan | Preview deployment impact |
Route based on invocation:
| Command | Phase | Description |
|---|---|---|
/soc daily [product] | Phase 1 → 2 → 3 → 4 | Daily batch triage with tier-based routing |
/soc intake | Phase 1 | Fetch and tier alerts only |
/soc triage <id> | Phase 2 | Investigate a specific alert |
/soc classify <id> | Phase 3 | Classify after evidence collection |
/soc close <id> <FP|TP> | Phase 4 | Close alert and update memory |
/soc tune <detection> | Phase 5 | Tune a detection for FPs |
/soc hunt | Hunt Mode | IOC/hypothesis-driven hunting |
/soc investigate | Investigate Mode | Operational questions, not alert triage |
At session start, check whether knowledge/ exists in the working repo:
ls knowledge/INDEX.md to check for the knowledge baseknowledge/ exists: Use knowledge/ paths for all living documents (see path table below)knowledge/ does NOT exist: Fall back to bundled memory/ files in this skill directory. Inform the user: "No knowledge/ directory found — using bundled templates. Run the talonctl knowledge base scaffold to enable persistent knowledge."| Document | Primary Path (knowledge/ exists) | Fallback Path |
|---|---|---|
| Fast-track patterns | knowledge/INDEX.md (Fast-Track section) | memory/fast-track-patterns.md |
| Environmental context | knowledge/context/environmental-context.md | environmental-context.md |
| Investigation techniques | knowledge/techniques/investigation-techniques.md | memory/investigation-techniques.md |
| FP patterns | knowledge/patterns/<platform>.md | memory/fp-patterns.md |
| TP patterns | knowledge/patterns/<platform>.md (TP section) | memory/tp-patterns.md |
| Tuning log | knowledge/tuning/tuning-log.md | memory/tuning-log.md |
| Tuning backlog | knowledge/tuning/tuning-backlog.md | memory/tuning-backlog.md |
| Detection ideas | knowledge/ideas/detection-ideas.md | memory/detection-ideas.md |
| Detection metrics | knowledge/metrics/detection-metrics.jsonl | (none — metrics only available with knowledge base) |
Not every alert needs the same level of investigation. Tiers are assigned during Phase 1.
| Tier | When | What to Do |
|---|---|---|
| Fast-track | Alert matches a pattern in knowledge/INDEX.md (Fast-Track section) (CWPP, Charlotte AI, Intune, SASE reconnect) | Bulk close with appropriate tag. No investigation needed. |
| Pattern-match candidate | Alert resembles a known pattern but needs IOC verification | Brief Phase 2 (verify key IOCs), then Phase 3 to confirm match. |
| Standard triage | Alert needs assessment — likely classifiable from metadata + one enrichment call | Full Phase 2 investigation. Playbook required. |
| Deep investigation | Inconclusive after standard triage, or suspicious indicators present | Full Phase 2 + extended investigation. Playbook mandatory. Cross-source correlation required. |
/soc daily, /soc intake)knowledge/context/environmental-context.md — org baselines, known accounts, infrastructure context (fallback: environmental-context.md)knowledge/INDEX.md — routing table with fast-track patterns and platform file index (fallback: memory/fast-track-patterns.md)knowledge/patterns/<platform>.mdknowledge/techniques/investigation-techniques.mdknowledge/tuning/tuning-log.mdCreate a task using TaskCreate for the triage session.
Fetch alerts by product to avoid being flooded by high-volume noise categories:
get_alerts(severity="ALL", time_range="1d", status="new", product="ngsiem")get_alerts(..., product="endpoint")get_alerts(..., product="cloud_security")get_alerts(..., product="identity")get_alerts(..., product="thirdparty")Assign triage depth tiers using ONLY knowledge/INDEX.md (fast-track patterns) and knowledge/context/environmental-context.md:
Present summary table:
| # | Alert Name | Count | Product | Severity | Tier | Notes |
Create one task per alert using TaskCreate (status=pending). Add new tasks as they surface during triage — tuning a detection, deploying a fix, filing a detection gap.
STOP — human reviews tiers and selects alerts to investigate.
Fast-track alerts can be closed directly from intake — no Phase 2/3 needed:
type=signal and API Product=automated-lead-context: Charlotte AI context signals. Fast-track close.cwpp: prefix with Informational severity: Container image scan findings. Bulk close with tag cwpp_noise./soc triage <id>)knowledge/techniques/investigation-techniques.md — query patterns, field gotchas, NGSIEM repo mapping table, API quirks (fallback: memory/investigation-techniques.md)playbooks/ based on alert type routing:
thirdparty: prefix + EntraID source → playbooks/entraid-signin-alert.mdngsiem: prefix + EntraID detection name → playbooks/entraid-risky-signin.mdfcs: prefix (cloud security IoA) → playbooks/cloud-security-aws.mdngsiem: prefix + AWS CloudTrail detection name → playbooks/cloud-security-aws.mdngsiem: prefix + PhishER detection name → playbooks/knowbe4-phisher.mdplaybooks/README.mdknowledge/patterns/<platform>.mdExtract composite detection ID from the user's input (URL or raw ID).
ind: — Endpoint detection (EDR behaviors, process trees)ngsiem: — NGSIEM correlation rule (CQL events)fcs: — Cloud security finding (raw cloud payload)ldt: — Identity detection (identity metadata)thirdparty: — Third-party connector alert (EntraID, SASE VPN, etc. — NOT tunable in NGSIEM)cwpp: — Cloud Workload Protection findings (container image scans)automated-lead: — Charlotte AI automated investigation (parent lead)Check for ADS metadata — If the alert is from an NGSIEM detection (ngsiem: prefix):
resources/detections/ by matching the detection nameads: block:
ads.goal exists, use it to frame the investigation context: "This detection is designed to identify: "ads.technical_context exists, use it for field selection and enrichment guidance instead of guessing field namesads.blind_spots exists, note the limitations during evidence collection — these are known gaps to account forads: block, proceed with standard investigation (parse CQL to understand detection intent)Call alert_analysis — mcp__crowdstrike__alert_analysis(detection_id=<id>, max_events=20).
Run investigation queries using patterns from knowledge/techniques/investigation-techniques.md:
{{user}}, {{ip}}, etc. Do NOT guess field names.Platform-specific enrichment:
For endpoint alerts (ind: prefix):
host_lookup(device_id=...) — device posture, containment statushost_login_history(device_id=...) — who else logged inhost_network_history(device_id=...) — IP changes, VPNngsiem_query(query="cid=<cid> aid=<device_id> | head(50)", start_time="1d") — raw EDR telemetry (behavior API is deprecated)For third-party alerts (thirdparty: prefix):
For cloud security alerts (fcs: prefix):
cloud_query_assets(resource_id="<resource_id>") — current resource configurationngsiem_query against CloudTrail to independently verify actor identity and timingFor AWS CloudTrail detections:
cloud_query_assets(resource_id=...) — current resource statecloud_get_iom_detections(account_id=..., severity="high") — CSPM compliancecloud_get_risks(account_id=..., severity="critical") — account risk postureCollect evidence: who, what, when, where, how. Apply environmental context from environmental-context.md.
Present evidence summary with key IOCs:
## Evidence Summary: <alert_name>
**ID**: <composite_id>
**Key IOCs**:
- Actor: <who>
- Source: <IP, ASN, geo>
- Action: <what happened>
- Resource: <what was affected>
- Timing: <when, business hours?>
- Context: <environmental factors>
**Initial Assessment**: <preliminary view based on evidence alone>
STOP — human reviews evidence before classification.
/soc classify <id>)knowledge/patterns/<platform>.md for the relevant platform — known FP/TP patterns with IOC details (fallback: memory/fp-patterns.md + memory/tp-patterns.md)Check ADS inline false positives — If the detection template has ads.false_positives with inline entries (dicts with pattern, characteristics, status fields):
status: "tuned", verify the tuning is still active in the deployed detectionstatus: "open", flag it — this is a known FP that hasn't been tuned yet"-> knowledge/patterns/aws.md#pattern-name") are pointers to the full pattern file — load and check those during normal pattern comparisonCompare collected evidence against knowledge patterns:
Pattern matching rules:
Classification Checkpoint — answer ALL FOUR before classifying as FP:
knowledge/patterns/<platform>.md? If yes, do the IOCs match exactly?If you can't answer #1 with specific evidence, classify as Investigating and run more queries.
Output Triage Summary:
## Alert: <name>
**ID**: <composite_id>
**Classification**: TP | FP | Investigating
**Priority**: P0-P4 | **Risk**: 1-10
**MITRE**: <tactic>:<technique>
**Reasoning**: <2-3 sentences with specific evidence>
**Pattern Match**: <matched pattern from memory OR "New pattern — not in memory">
**Action**: <next step>
Priority Matrix:
STOP — human approves classification before closing.
Generate targeted CQL queries using mcp__crowdstrike__ngsiem_query:
Correlate findings across data sources. Look for:
Re-classify based on new evidence. For CQL syntax, invoke the logscale-security-queries skill knowledge.
/soc close <id> <FP|TP>)Third-party alerts (thirdparty: prefix):
update_alert_status(status="closed", comment="FP — third-party alert, tune in <source platform>", tags=["false_positive", "third_party"])Cloud security alerts (fcs: prefix):
update_alert_status(status="closed", comment="FP — FCS IoA alert, tune in Cloud Security IoA policy <policy_id>", tags=["false_positive", "cloud_security"])All other FP alerts:
update_alert_status(status="closed", comment="FP: <reasoning>", tags=["false_positive"])Step 1: Assess Attack Progression
Step 2: Hunt for Scope
Step 3: Generate Escalation Package
## Incident: <name>
**Classification**: True Positive
**Priority**: P<0-4> | **Risk**: <1-10>
### Timeline
<Chronological events with timestamps>
### Kill Chain Assessment
<Current stage and what may come next if unchecked>
### Scope
- **Affected Users**: <list>
- **Affected Systems**: <list>
- **Device Containment**: <contained/not contained/N/A>
- **Potentially Compromised Data**: <assessment>
### IOCs
| Indicator | Field | Value |
|-----------|-------|-------|
| <type> | <log field name> | <value> |
### Hunting Queries
<CQL queries for continued monitoring>
### Immediate Recommendations
1. <Containment action>
2. <Investigation action>
3. <Communication/escalation action>
### Risk Assessment
<Data exposure, compliance impact, business disruption assessment>
Step 4: Case Creation
If creating a case:
case_query — check for existing case firstcase_create(title="...", description="...", severity="...")case_add_alert_evidence(case_id=<id>, alert_id=<composite_id>)case_add_event_evidence(case_id=<id>, ...) — supporting hunt resultscase_add_tags(case_id=<id>, tags=["true_positive", "<platform>", "<mitre_tactic>"])update_alert_status(status="in_progress", comment="TP confirmed — case <case_id>", tags=["true_positive"])If NOT creating a case: update_alert_status(status="in_progress", comment="TP confirmed: <summary>", tags=["true_positive"])
After closing (FP or TP), update the appropriate knowledge base files:
knowledge/patterns/<platform>.md (False Positive Patterns section)knowledge/patterns/<platform>.md (True Positive Patterns section)knowledge/techniques/investigation-techniques.mdknowledge/ideas/detection-ideas.mdknowledge/INDEX.md — refresh platform pattern counts, add to Recent TP Activity if TPIf the detection template lacks an ads: block, propose a skeleton based on what was learned during triage:
ads:
goal: "<inferred from CQL analysis and investigation context>"
blind_spots:
# Only include if gaps were discovered during investigation
- "<limitation discovered>"
false_positives:
# Only include if this alert was classified as FP
- pattern: "<FP pattern observed>"
characteristics: "<key IOCs that identify this FP>"
status: "open"
ads_created: "YYYY-MM-DD"
ads_author: "soc-triage backfill"
Present the proposed skeleton to the user for approval before writing it to the detection template. Do not auto-write ADS blocks.
After every alert closure (FP or TP), append one JSONL line to knowledge/metrics/detection-metrics.jsonl:
{"date":"YYYY-MM-DD","detection":"<detection display name>","resource_id":"<template resource_id>","disposition":"<true_positive|false_positive|tuning_needed|inconclusive>","fp_reason":"<category if FP, else null>","tier":"<fast_track|pattern_match|standard|deep>","est_minutes":<N>,"alert_count":<N>,"case_created":<true|false>,"composite_id":"<full composite ID>"}
Fields:
date: Today's date (ISO format)detection: Alert display name from CrowdStrikeresource_id: Template resource_id from resources/detections/ (if NGSIEM detection; else the detection name)disposition: One of true_positive, false_positive, tuning_needed, inconclusivefp_reason: Category string if FP (e.g., ci_cd_automation, service_account, known_scanner, config_drift), otherwise nulltier: Triage depth tier assigned at Phase 1est_minutes: Estimated investigation time in minutesalert_count: Number of alerts in this batch (for grouped alerts)case_created: Whether a case was created for this alertcomposite_id: Full CrowdStrike composite detection IDSkip metrics append if knowledge/metrics/detection-metrics.jsonl does not exist (no knowledge base bootstrapped).
/soc tune <detection>)knowledge/tuning/tuning-log.md — past tuning decisions (fallback: memory/tuning-log.md)knowledge/tuning/tuning-backlog.md — pending tuning work (fallback: memory/tuning-backlog.md)tuning-bridge.md — IOC → tuning pattern mappingresources/detections/ for a template matching the detection namesearch.filter, search.lookback, dependencies, existing enrichment functionsNEW REQUIREMENT — do this BEFORE proposing any changes:
ngsiem_query to see what events pass through current filtersHARD STOP — do not write a diff, do not propose any change until all four of these files have been read in this session:
tuning-bridge.md — maps triage IOCs to tuning patternsAVAILABLE_FUNCTIONS.md — all 38 enrichment functions with output fieldsTUNING_PATTERNS.md — common tuning approaches with examplesresources/saved_searches/ already used in the detectionRationalization table — every one of these means STOP and load:
| Thought | Reality |
|---|---|
| "I already understand this detection" | Understanding the detection ≠ knowing the available enrichment functions. Load AVAILABLE_FUNCTIONS.md. |
| "The fix is obvious — just add an exclusion" | Obvious exclusions are often wrong. An enrichment function may already classify this entity. Load tuning-bridge.md. |
| "I'll just make the minimal change to stop the FP" | Minimum correct change requires knowing all available tools first. Load tuning context first. |
| "I'm modifying the detector/saved search, not a detection" | Detector changes have downstream impact on 30+ detections. Read tuning-bridge.md to map the blast radius. |
| "We've already discussed the root cause" | Discussion ≠ loaded context. Load the files. |
After loading — hard rule: Never propose a hardcoded exclusion (e.g., NOT userName="specific-account") when an enrichment function exists that classifies the entity.
Before proposing, verify your changes:
ngsiem_query before changing the exclusion logic.=~ !in(values=[...]), not NOT ... in [...].Present the tuning proposal and WAIT for approval:
## Tuning Proposal: <detection_name>
**Template**: <file_path>
**Root Cause**: <why this triggered as FP — specific IOCs and evidence>
**Proposed Change**: <description of change>
**Diff**:
[exact before/after of changed lines in the search.filter]
**Impact**: <what this excludes and what detection capability is preserved>
**Risk**: <could this mask a TP? under what circumstances?>
python scripts/resource_deploy.py validate-query --template <path> to verify CQL syntaxplan locally — CI/CD runs plan automatically on PR creationupdate_alert_status(status="closed", comment="Tuned: <description>", tags=["false_positive", "tuned"])knowledge/tuning/tuning-log.md with the decision/soc daily [product])Batch processing mode that sequences phases efficiently for multiple alerts.
Phase 1 runs once for all alerts:
knowledge/context/environmental-context.md + knowledge/INDEX.mdFast-track tier (within Phase 1):
Pattern-match candidates:
knowledge/techniques/investigation-techniques.md, call alert_analysis, verify key IOCsknowledge/patterns/<platform>.md, confirm pattern match with IOC verificationStandard triage / Deep investigation:
End of session:
/soc hunt)knowledge/techniques/investigation-techniques.md for query patterns and repo mappinglogscale-security-queries skill patternsmcp__crowdstrike__ngsiem_query/soc investigate)For operational questions about sensor activity, telemetry patterns, or infrastructure changes — not alert triage.
knowledge/techniques/investigation-techniques.md for repo mapping and field gotchasplaybooks/ and cross-reference environmental-context.md for baselines
playbooks/container-sensor-investigation.mdplaybooks/cloud-security-aws.mdmcp__crowdstrike__ngsiem_query following the playbook/soc --eval, /soc daily --eval)When invoked with --eval or --dry-run, run the full triage workflow but do NOT close or change alert status. This allows repeatable evaluation against the same set of alerts.
What changes in eval mode:
update_alert_status(status="closed", ...), output what you WOULD have done:
[EVAL DRY-RUN] Would close alert <composite_id> as <status>
Comment: <comment that would have been added>
Tags: <tags that would have been applied>
What stays the same:
| File | Update With |
|---|---|
knowledge/patterns/<platform>.md | New FP/TP patterns with specific IOCs (platform-specific file) |
knowledge/techniques/investigation-techniques.md | New query patterns, field discoveries, API quirks |
knowledge/tuning/tuning-log.md | Tuning decisions with dates and rationale |
knowledge/tuning/tuning-backlog.md | New tuning work items |
knowledge/ideas/detection-ideas.md | New detection concepts |
knowledge/INDEX.md | Fast-track patterns (ALL 3 criteria met), platform pattern counts, recent TP activity |
knowledge/metrics/detection-metrics.jsonl | Per-alert disposition record (appended at Phase 4 closure) |
When investigation reveals new environmental information:
[SUGGESTED UPDATE] Section: <section name> | Change: <what to add/modify> | Evidence: <what you observed>DESIGN.md (opens in a new tab)environmental-context.md (opens in a new tab)evals/v2-evals.json (opens in a new tab)memory/detection-ideas.md (opens in a new tab)memory/fast-track-patterns.md (opens in a new tab)memory/fp-patterns.md (opens in a new tab)memory/investigation-techniques.md (opens in a new tab)memory/tp-patterns.md (opens in a new tab)memory/tuning-backlog.md (opens in a new tab)memory/tuning-log.md (opens in a new tab)playbooks/README.md (opens in a new tab)playbooks/cloud-security-aws.md (opens in a new tab)playbooks/container-sensor-investigation.md (opens in a new tab)playbooks/entraid-risky-signin.md (opens in a new tab)playbooks/entraid-signin-alert.md (opens in a new tab)playbooks/knowbe4-phisher.md (opens in a new tab)tuning-bridge.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
soc, crowdstrike, ngsiem, alert-triage, threat-hunting, detection-tuning
npx claudepluginhub willwebster5/agent-skills --plugin crowdstrike-socOther plugins' skills for the same job