New to Claude Skills? Learn how to install them →

mukul975 on GitHub

Performing Alert Triage with Elastic SIEM

Free

Streamline alert triage processes in Elastic Security.

Get this skill

Free · Opens the source repo

What Performing Alert Triage with Elastic SIEM does

The Performing Alert Triage with Elastic SIEM skill is designed to enhance the efficiency of security operations center (SOC) analysts by providing a structured approach to alert triage within Elastic Security. This skill facilitates the systematic review, classification, and prioritization of security alerts, allowing analysts to quickly identify genuine threats from a multitude of alerts generated by Elastic's detection rules. By leveraging Kibana and ES|QL queries, users can gather context and enrich their investigations, ultimately improving their incident response workflows.

This skill is particularly useful in scenarios where security assessments are required, such as during incident response procedures or scheduled security audits. It provides a clear workflow that guides analysts through the alert triage process, from initial assessment to documentation and escalation of alerts. The integration of Elastic's AI features, such as Attack Discovery, further enhances the skill by automatically grouping related alerts and providing insights based on machine learning models, thereby reducing the time spent on false positives.

Analysts will benefit from the detailed step-by-step guidance included in this skill, which covers essential tasks such as initial alert assessment, context gathering, threat intelligence enrichment, and classification decision-making. Each step is designed to be completed in a few minutes, ensuring that analysts can effectively manage their alert queues without being overwhelmed by the volume of incoming alerts. Additionally, the skill emphasizes the importance of documentation, ensuring that all triaged alerts are recorded with the necessary context and rationale for future reference.

Overall, this skill is a valuable resource for any SOC analyst looking to improve their alert triage capabilities in Elastic Security, making it easier to respond to potential threats in a timely and organized manner.

When to use it

Use this skill when triaging alerts in Elastic Security to streamline the investigation process and enhance incident response.

When not to use it

This skill may not be suitable for environments not using Elastic Security or for organizations without established detection rules and alerting mechanisms.

What you can build with it

Initial Alert Assessment

Quickly review alert details in Elastic Security to determine initial priority and risk.

Context Gathering for Investigation

Use ES|QL to query related events and gather context on suspicious user activity.

Documentation and Escalation

Document classification decisions and evidence for each triaged alert for future reference.

How to install Performing Alert Triage with Elastic SIEM

View source

1. Install with the skills CLI

npx skills add mukul975/anthropic-cybersecurity-skills/performing-alert-triage-with-elastic-siem --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by mukul975

Performing Alert Triage with Elastic SIEM

Overview

Alert triage in Elastic Security is the systematic process of reviewing, classifying, and prioritizing security alerts to determine which represent genuine threats. Elastic's AI-driven Attack Discovery feature can triage hundreds of alerts down to discrete attack chains, but skilled analyst triage remains essential. A structured triage workflow typically takes 5-10 minutes per alert cluster using Elastic's built-in tools.

When to Use

  • When conducting security assessments that involve performing alert triage with elastic siem
  • When following incident response procedures for related security events
  • When performing scheduled security testing or auditing activities
  • When validating security controls through hands-on testing

Prerequisites

  • Elastic Security deployed (version 8.x or later)
  • Elastic Agent or Beats configured for endpoint and network data collection
  • Detection rules enabled and generating alerts
  • Elastic Common Schema (ECS) compliance across data sources
  • Analyst access to Kibana Security app with appropriate privileges

Alert Triage Workflow

Step 1: Initial Alert Assessment (2 minutes)

When viewing an alert in Elastic Security, review the alert details panel:

Alert Details Panel:
- Rule Name and Description
- Severity and Risk Score
- MITRE ATT&CK Mapping
- Host and User Context
- Process Tree (for endpoint alerts)
- Timeline of related events

Key Fields to Examine First

FieldPurposeECS Field
Rule severityInitial priority assessmentkibana.alert.severity
Risk scoreQuantified threat levelkibana.alert.risk_score
Host nameAffected systemhost.name
User nameAffected identityuser.name
Process nameExecuting processprocess.name
Source IPOrigin of activitysource.ip
Destination IPTarget of activitydestination.ip
MITRE tacticAttack stagethreat.tactic.name

Step 2: Context Gathering (3 minutes)

Query Related Events with ES|QL

FROM logs-endpoint.events.*
| WHERE host.name == "affected-host" AND @timestamp > NOW() - 1 HOUR
| STATS count = COUNT(*) BY event.category, event.action
| SORT count DESC

Find All Activity from Suspicious User

FROM logs-*
| WHERE user.name == "suspicious-user" AND @timestamp > NOW() - 24 HOURS
| STATS count = COUNT(*), unique_hosts = COUNT_DISTINCT(host.name) BY event.category
| SORT count DESC

Check for Related Alerts from Same Source

FROM .alerts-security.alerts-default
| WHERE source.ip == "10.0.0.50" AND @timestamp > NOW() - 24 HOURS
| STATS alert_count = COUNT(*) BY kibana.alert.rule.name, kibana.alert.severity
| SORT alert_count DESC

Investigate Lateral Movement from Same IP

FROM logs-system.auth-*
| WHERE source.ip == "10.0.0.50" AND event.outcome == "success"
| STATS login_count = COUNT(*), hosts = COUNT_DISTINCT(host.name) BY user.name
| WHERE hosts > 3

Step 3: Threat Intelligence Enrichment (2 minutes)

Check indicators against threat intelligence:

FROM logs-ti_*
| WHERE threat.indicator.ip == "203.0.113.50"
| KEEP threat.indicator.type, threat.indicator.provider, threat.indicator.confidence, threat.feed.name

Check File Hash Against Known Threats

FROM logs-endpoint.events.file-*
| WHERE file.hash.sha256 == "abc123..."
| STATS occurrences = COUNT(*) BY host.name, file.path, user.name

Step 4: Classification Decision (2 minutes)

ClassificationCriteriaAction
True PositiveConfirmed malicious activityEscalate to incident, begin containment
Benign True PositiveExpected behavior matching ruleDocument in alert notes, acknowledge
False PositiveRule triggered on benign activityMark as false positive, create tuning task
Needs InvestigationInsufficient data for determinationAssign for deeper investigation

Step 5: Documentation and Escalation (1 minute)

For each triaged alert, document:

  • Classification decision with rationale
  • Evidence artifacts examined
  • Related alerts or investigations
  • Recommended next steps

Detection Rules for Triage

Pre-Built Detection Rules

Elastic Security includes 1000+ pre-built detection rules organized by:

  • MITRE ATT&CK Tactic: Initial Access, Execution, Persistence, etc.
  • Platform: Windows, Linux, macOS, Cloud
  • Data Source: Endpoint, Network, Cloud, Identity

Custom Alert Correlation Rule

{
  "name": "Multiple Failed Logins Followed by Success",
  "type": "threshold",
  "query": "event.category:authentication AND event.outcome:failure",
  "threshold": {
    "field": ["source.ip", "user.name"],
    "value": 5,
    "cardinality": [
      {
        "field": "user.name",
        "value": 3
      }
    ]
  },
  "severity": "high",
  "risk_score": 73,
  "threat": [
    {
      "framework": "MITRE ATT&CK",
      "tactic": {
        "id": "TA0006",
        "name": "Credential Access"
      },
      "technique": [
        {
          "id": "T1110",
          "name": "Brute Force"
        }
      ]
    }
  ]
}

AI-Assisted Triage

Elastic AI Assistant Integration

  1. Open alert in Elastic Security
  2. Click AI Assistant panel
  3. Use quick prompts:
    • "Summarize this alert" - Get initial assessment
    • "Generate ES|QL query to find related activity" - Expand investigation
    • "What are the recommended response actions?" - Get playbook guidance
    • "Is this likely a false positive?" - Get AI confidence assessment

Attack Discovery

Elastic's Attack Discovery automatically:

  • Groups related alerts into attack chains
  • Maps alerts to MITRE ATT&CK kill chain stages
  • Filters false positives using ML models
  • Prioritizes based on business impact
  • Provides narrative summary of the attack

Triage Prioritization Matrix

Risk ScoreSeverityAsset CriticalityResponse SLA
90-100CriticalHigh15 minutes
70-89HighHigh30 minutes
70-89HighMedium1 hour
50-69MediumAny4 hours
21-49LowAny8 hours
1-20InformationalAny24 hours

Triage Metrics and KPIs

MetricTargetMeasurement
Mean Time to Triage (MTTT)< 10 minutesTime from alert creation to classification
False Positive Rate< 30%False positives / total alerts
Escalation Rate10-20%Escalated alerts / total alerts
Alert Coverage> 80%Triaged alerts / generated alerts per shift
Reclassification Rate< 5%Changed classifications / total classified

References

Frequently asked questions about Performing Alert Triage with Elastic SIEM

Similar skills