Command Palette

Search for a command to run...

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

siem-logging

БесплатноЗапускает вложенные скриптыНе проверен

Configure security information and event management (SIEM) systems for threat detection, log aggregation, and compliance. Use when implementing centralized…

ancolemanот ancoleman★ 535 звёзд на GitHub

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

SIEM Logging

Purpose

Configure comprehensive security logging infrastructure using SIEM platforms (Elastic SIEM, Microsoft Sentinel, Wazuh, Splunk) to detect threats, investigate incidents, and maintain compliance audit trails. This skill covers platform selection, log aggregation architecture, detection rule development (SIGMA format and platform-specific), alert tuning, and retention policies for regulatory compliance (GDPR, HIPAA, PCI DSS, SOC 2).

When to Use This Skill

Use this skill when:

  • Implementing centralized security event monitoring across infrastructure
  • Writing threat detection rules for authentication failures, privilege escalation, data exfiltration
  • Designing log aggregation for multi-cloud environments (AWS, Azure, GCP, Kubernetes)
  • Meeting compliance requirements for log retention and audit trails
  • Tuning security alerts to reduce false positives and alert fatigue
  • Calculating costs for high-volume security logging (TB/day scale)
  • Integrating security logging with incident response workflows

SIEM Platform Selection

Quick Decision Framework

Choose SIEM platform based on:

Budget Considerations:

  • Unlimited budget → Splunk Enterprise Security (enterprise features, proven scale)
  • Moderate budget ($50k-$500k/year) → Microsoft Sentinel or Elastic SIEM (cloud-native, flexible)
  • Tight budget (<$50k/year) → Wazuh (free, open-source XDR/SIEM)

Infrastructure Context:

  • Heavy Azure investment → Microsoft Sentinel (native integration, built-in SOAR)
  • Heavy AWS investment → AWS Security Lake + OpenSearch (AWS-native)
  • Multi-cloud or on-premise → Elastic SIEM or Wazuh (platform-agnostic)

Data Volume:

  • >1 TB/day → Splunk or Elastic Cloud (proven at scale)
  • 100 GB - 1 TB/day → Microsoft Sentinel or Elastic SIEM
  • <100 GB/day → Wazuh or Sentinel 50 GB tier

Team Expertise:

  • Elasticsearch experience → Elastic SIEM (familiar tooling)
  • Microsoft/Azure expertise → Microsoft Sentinel (Azure ecosystem)
  • Generalists or limited resources → Wazuh (easiest learning curve)

Platform Comparison Summary

Platform Cost Deployment Best For
Elastic SIEM $$$ Cloud/Self-Hosted Multi-cloud, customization needs, DevOps teams
Microsoft Sentinel $$$ Cloud (Azure) Azure-heavy orgs, built-in SOAR, cloud-first
Wazuh Free Self-Hosted Cost-conscious, SMBs, compliance requirements
Splunk ES $$$$$ Cloud/On-Prem Large enterprises, massive scale, unlimited budget

For detailed feature comparison, see references/platform-comparison.md.

Detection Rules

Universal Format: SIGMA Rules

SIGMA provides a universal detection rule format that compiles to any SIEM query language (Elastic EQL, Splunk SPL, Microsoft KQL).

SIGMA Rule Structure:

title: Multiple Failed Login Attempts from Single Source
id: 8a9e3c7f-4b2d-4e8a-9f1c-2d5e6f7a8b9c
status: stable
description: Detects potential brute force attacks (10+ failed logins in 10 minutes)
author: Security Team
date: 2025/12/03
references:
  - https://attack.mitre.org/techniques/T1110/
tags:
  - attack.credential_access
  - attack.t1110
logsource:
  category: authentication
  product: linux
detection:
  selection:
    event.type: authentication
    event.outcome: failure
  timeframe: 10m
  condition: selection | count() by source.ip > 10
level: high

Compile SIGMA to Platform-Specific:

# Install SIGMA compiler
pip install sigma-cli

# Compile to Elastic EQL
sigmac -t es-eql sigma_rule.yml

# Compile to Splunk SPL
sigmac -t splunk sigma_rule.yml

# Compile to Microsoft KQL
sigmac -t kusto sigma_rule.yml

Platform-Specific Detection Formats

Elastic EQL (Event Query Language):

sequence by user.name with maxspan=5m
  [process where process.name == "powershell.exe" and
   process.args : ("Invoke-WebRequest", "iwr", "wget")]
  [process where process.parent.name == "powershell.exe"]

Microsoft Sentinel KQL:

SigninLogs
| where TimeGenerated > ago(1h)
| where ResultType != 0  // Failed login
| summarize FailedAttempts=count() by UserPrincipalName, IPAddress
| where FailedAttempts >= 10

Splunk SPL:

index=web_logs sourcetype=access_combined
| rex field=uri "(?<sql_keywords>union|select|insert|update|delete)"
| where isnotnull(sql_keywords)
| stats count by src_ip, uri
| where count > 5

For comprehensive detection rule examples, see:

  • examples/sigma-rules/ - Universal SIGMA detection rules
  • examples/elastic-eql/ - Elastic-specific queries
  • examples/microsoft-kql/ - Microsoft Sentinel queries
  • examples/splunk-spl/ - Splunk searches
  • references/detection-rules-guide.md - Complete guide

Log Aggregation Architecture

Centralized Architecture

Single SIEM instance for all logs. Use when:

  • Single region deployment
  • Small to medium volumes (<1 TB/day)
  • Single cloud provider or o
Полный SKILL.md на GitHub

Установить siem-logging в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

examples/architectures/elk-stack-docker-compose.ymlexamples/architectures/fluentd-kubernetes-daemonset.yamlexamples/architectures/wazuh-docker-compose.ymlexamples/detection-rules/brute-force-detection.yamlexamples/detection-rules/privilege-escalation.yamlexamples/sigma-rules/brute-force-detection.ymlexamples/sigma-rules/data-exfiltration.ymlexamples/sigma-rules/lateral-movement.ymlexamples/sigma-rules/privilege-escalation.ymloutputs.yamlreferences/alert-tuning-strategies.mdreferences/cloud-native-logging.mdreferences/cost-optimization.mdreferences/detection-rules-guide.mdreferences/log-retention-policies.mdreferences/platform-comparison.mdscripts/cost-calculator.py

FAQ

Что делает скилл siem-logging?

Configure security information and event management (SIEM) systems for threat detection, log aggregation, and compliance. Use when implementing centralized security logging, writing detection rules, or meeting audit requirements across cloud and on-premise infrastructure.

Как установить скилл siem-logging?

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

Скилл siem-logging запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить siem-logging с