Source profileQuality 86/100

martinholovsky/SOTA-skills/skills/sota-detection-engineering/SKILL.md

sota-detection-engineering

State-of-the-art detection engineering, SOC, threat hunting, and incident response (2026). Use when BUILDING detective controls or SOC capability — Sigma/YARA/Falco/Tetragon/Suricata rules, detection-as-code, MITRE ATT&CK coverage, SIEM detections, alert triage and SOAR, threat hunts, threat-intel, deception, IR playbooks, or adversary emulation — AND when AUDITING detection & IR posture (can we detect this? does this alert fire?). Owns DETECTIVE controls, SOC workflow, hunting, and IR (sota-obs

Source repository stars
10
Declared platforms
0
Static risk flags
0
Last source update
2026-08-05
Source checked
2026-08-05

Decision brief

What it does—and where it fits

State-of-the-art detection engineering, SOC, threat hunting, and incident response (2026). does this alert fire?

Best for

  • Assume prevention fails. This skill builds and audits the layer that notices: detective controls, the SOC that triages them, the hunts that find what alerts miss, and the IR process that contains what hunts surface. One…
  • When a real adversary acts inside your environment, does a high-fidelity signal fire, reach a human (or automation) with the context to act, and drive a bounded response — fast enough to matter?
  • Detection is engineering, not art. Detections are code: version-controlled, peer-reviewed, CI-tested, ATT&CK-mapped, FP-budgeted, and retired when stale. The dominant failure mode is not missing rules — it is alert fati…

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/martinholovsky/SOTA-skills --skill "skills/sota-detection-engineering"
Safe inspection promptEditorial

Inspect the Agent Skill "sota-detection-engineering" from https://github.com/martinholovsky/SOTA-skills/blob/7c8ae3e03ba5c8ec3292c581d92d458035240f4c/skills/sota-detection-engineering/SKILL.md at commit 7c8ae3e03ba5c8ec3292c581d92d458035240f4c. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Purpose

    Assume prevention fails. This skill builds and audits the layer that notices: detective controls, the SOC that triages them, the hunts that find what alerts miss, and the IR process that contains what hunts surface. One question defines success:

    Assume prevention fails. This skill builds and audits the layer that notices: detective controls, the SOC that triages them, the hunts that find what alerts miss, and the IR process that contains what hunts surface. One…When a real adversary acts inside your environment, does a high-fidelity signal fire, reach a human (or automation) with the context to act, and drive a bounded response — fast enough to matter?Detection is engineering, not art. Detections are code: version-controlled, peer-reviewed, CI-tested, ATT&CK-mapped, FP-budgeted, and retired when stale. The dominant failure mode is not missing rules — it is alert fati…
  2. 02

    BUILD mode

    Run the detection lifecycle as a loop, not a one-shot. Hypothesis → build → test → deploy → tune → retire. Workflow:

    Start from a threat hypothesis, not a tool. Name the ATT&CK technique orConfirm the log source exists first. You cannot detect what you do notDetect behavior over artifacts. Climb the Pyramid of Pain: prefer
  3. 03

    AUDIT mode

    Assess an existing detection/SOC/IR posture adversarially. Read rules/06 (IR & validation) and rules/04 (SOC/triage) first. Sample real detections, real alerts, and real incidents — do not trust a coverage dashboard or a wiki runbook that has never fired. The cardinal test: pick…

    Assess an existing detection/SOC/IR posture adversarially. Read rules/06 (IR & validation) and rules/04 (SOC/triage) first. Sample real detections, real alerts, and real incidents — do not trust a coverage dashboard or…Finding format (one per finding):Conclude with the verdict: for the top 3 techniques in scope, is detection PRESENT / PARTIAL / ABSENT end-to-end (signal → alert → human → response), and the shortest path to closing the worst gap.
  4. 04

    Rules index

    Review the “Rules index” section in the pinned source before continuing.

    Review and apply the “Rules index” source section.
  5. 05

    Top 10 non-negotiables

    1. You can't detect what you don't collect. The 1 gap is telemetry, not rules. Audit log-source coverage against your attack paths before writing a single detection. 2. Detections are code. Version-controlled, peer-reviewed, CI-tested, ATT&CK-mapped, with an owner and an ADS doc…

    You can't detect what you don't collect. The 1 gap is telemetry, notDetections are code. Version-controlled, peer-reviewed, CI-tested,Every detection is validated against the real technique. Atomic Red Team

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score86/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars10SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
martinholovsky/SOTA-skills
Skill path
skills/sota-detection-engineering/SKILL.md
Commit
7c8ae3e03ba5c8ec3292c581d92d458035240f4c
License
CC-BY-4.0
Collected
2026-08-05
Default branch
main
View the original SKILL.md

SOTA Detection Engineering, SOC & Incident Response

Purpose

Assume prevention fails. This skill builds and audits the layer that notices: detective controls, the SOC that triages them, the hunts that find what alerts miss, and the IR process that contains what hunts surface. One question defines success:

When a real adversary acts inside your environment, does a high-fidelity signal fire, reach a human (or automation) with the context to act, and drive a bounded response — fast enough to matter?

Detection is engineering, not art. Detections are code: version-controlled, peer-reviewed, CI-tested, ATT&CK-mapped, FP-budgeted, and retired when stale. The dominant failure mode is not missing rules — it is alert fatigue: noise that buries the one true positive. Optimize signal-to-noise relentlessly.

Ownership boundary. sota-observability owns the telemetry pipeline (logs, metrics, traces, SLOs, log shipping, retention plumbing). This skill owns turning that telemetry into security detections, the SOC workflow, hunting, and IR. sota-threat-modeling owns design-time threat enumeration (STRIDE/ ATT&CK/ATLAS catalogs); this skill owns catching those threats at runtime. If you find yourself designing the logging schema, that's observability rules/01; if you find yourself enumerating threats on a DFD, that's threat-modeling.

BUILD mode

Run the detection lifecycle as a loop, not a one-shot. Hypothesis → build → test → deploy → tune → retire. Workflow:

  1. Start from a threat hypothesis, not a tool. Name the ATT&CK technique or abuse case, the adversary behavior, and the telemetry that would witness it. Use the ADS framework (Palantir): goal, categorization (ATT&CK), strategy abstract, technical context, blind spots/assumptions, false positives, validation, priority. Write this before the rule.
  2. Confirm the log source exists first. You cannot detect what you do not collect. Map the hypothesis to a concrete data source (EDR, cloud audit, K8s audit, network/flow, identity, app). If it's missing, the deliverable is a logging gap, not a rule. See rules/02.
  3. Detect behavior over artifacts. Climb the Pyramid of Pain: prefer TTP/behavioral logic over brittle hashes/IPs/domains. IOC matches are cheap and disposable; TTP detections cost the adversary real money to evade.
  4. Pick the right engine (rules/03): Sigma for log detections (vendor- agnostic, compiled to your SIEM), YARA-X for file/memory/malware, Suricata for network, Falco/Tetragon for eBPF runtime/container/K8s, SIEM-native (KQL/SPL/EQL) for correlation the portable formats can't express.
  5. Engineer for low FP from the start (rules/04): scope tightly, add allowlist context, require corroboration for noisy signals, set a severity honestly. Every detection ships with a runbook (link to observability rules/04 alerting plumbing) and an owner.
  6. Test before deploy. Validate with adversary emulation — Atomic Red Team (endpoint), Stratus Red Team (cloud), Caldera (campaigns). Confirm the detection fires on the real technique and stays quiet on benign baselines. No detection merges without a passing test. See rules/06.
  7. Map coverage and find gaps. Track every detection against ATT&CK with the Navigator. Coverage heatmaps reveal blind spots — feed them back to step 1.
  8. Tune and retire. Review FP rates, suppress with expiry (never forever), delete detections nobody trusts. A muted alert is worse than none.

For hunting and deception, see rules/05; for IR, see rules/06.

AUDIT mode

Assess an existing detection/SOC/IR posture adversarially. Read rules/06 (IR & validation) and rules/04 (SOC/triage) first. Sample real detections, real alerts, and real incidents — do not trust a coverage dashboard or a wiki runbook that has never fired. The cardinal test: pick three ATT&CK techniques relevant to the environment and prove, end to end, that each would be caught.

Severity:

SeverityMeaningExamples
CriticalBlind to a primary attack path, or IR cannot executeNo log source for the crown-jewel system; no EDR/cloud-audit/K8s-audit collection; no IR plan or no one on call; detections exist but nothing routes alerts to a human
HighMajor coverage gap or SOC dysfunctionAlert fatigue (analysts mute/ignore); detections never tested against the technique; IOC-only coverage of behaviors that need TTP logic; runbooks absent or stale; no ATT&CK coverage map; retention too short for IR
MediumDegraded fidelity or process gapsDetections with no owner/ADS doc; suppressions with no expiry; no deduplication/correlation; severity inflation; no purple-team/regression testing; TI not operationalized into detections
LowHygieneDetections not in version control; inconsistent naming; no FP metrics; Navigator layer stale; no blameless PIR template
InfoObservation / hardening opportunityDeception not deployed where it'd be high-value; coverage maturity below target; SOAR automation candidates

Finding format (one per finding):

file:line | rule | severity | effort (trivial/small/medium/large) | fix

Example:

detections/aws/iam.yml:14 | ioc-only-detection-of-ttp-behavior | High | medium |
  GuardDuty-finding-name match is brittle; rewrite as CloudTrail behavioral
  Sigma rule on CreateAccessKey+AttachUserPolicy by non-admin principal,
  test with Stratus Red Team aws.persistence.iam-create-admin-access-key.

Conclude with the verdict: for the top 3 techniques in scope, is detection PRESENT / PARTIAL / ABSENT end-to-end (signal → alert → human → response), and the shortest path to closing the worst gap.

Rules index

FileRead this when...
rules/01-detection-engineering-discipline.mdRunning the detection lifecycle, writing ADS docs, doing detection-as-code (CI/peer review/regression), mapping coverage to ATT&CK + Navigator, applying the Pyramid of Pain, picking maturity targets and metrics (coverage/precision/MTTD)
rules/02-telemetry-siem-data-layer.mdDeciding what to collect (the #1 gap), choosing SIEM/data-lake, normalizing with OCSF/ECS, sizing retention for IR/hunting, controlling volume/cost, assessing data quality
rules/03-rule-languages-engines.mdChoosing and writing detections in Sigma, YARA/YARA-X, Suricata, Falco, Tetragon, or SIEM-native (KQL/SPL/EQL); rule quality, specificity, FP-resistance, performance; good/bad examples
rules/04-alerting-triage-soc-soar.mdFighting alert fatigue, tuning/suppression with expiry, severity assignment, enrichment, dedup/correlation, runbooks, SOAR + auto-containment guardrails, case management, FP lifecycle, SOC metrics
rules/05-hunting-intel-deception.mdHypothesis-driven hunting + the hunt loop, IOC vs IOA/TTP hunting, threat-intel lifecycle + TIP, STIX 2.1/TAXII 2.1, diamond model/kill chain, deception (honeypots/honeytokens/canaries)
rules/06-incident-response-validation.mdRunning IR (NIST SP 800-61r3 / CSF 2.0, PICERL), playbooks, severity classification, containment/eradication/recovery, forensic readiness + chain of custody, blameless PIR, tabletops; validating detections via Atomic Red Team/Caldera/Stratus, purple teaming, regression testing
rules/07-ad-attack-detection.mdDetecting on-prem Active Directory attacks: DC audit-policy telemetry and the events that matter (4768/4769/4770, 4662, 4624/4625, 5136, 8004, 4886/4887), Kerberoasting (RC4 TGS spikes), AS-REP roasting, DCSync (replication GUIDs on 4662), golden/silver tickets, DCShadow, ADCS abuse (ESC1), NTLM relay, password spraying, RBCD writes (5136); ATT&CK mapping (T1558.x, T1003.006, T1207, T1649) + AD deception (honeytoken SPNs, canary objects). Hardening lives in sota-identity-access rules/07

Top 10 non-negotiables

  1. You can't detect what you don't collect. The #1 gap is telemetry, not rules. Audit log-source coverage against your attack paths before writing a single detection.
  2. Detections are code. Version-controlled, peer-reviewed, CI-tested, ATT&CK-mapped, with an owner and an ADS doc. A detection that isn't tested isn't a detection — it's a hope.
  3. Every detection is validated against the real technique. Atomic Red Team / Stratus / Caldera proves it fires; a benign baseline proves it stays quiet. No merge without both.
  4. Climb the Pyramid of Pain. Prefer TTP/behavioral logic over hashes/IPs/ domains. IOCs are a supplement and an enrichment, never the strategy.
  5. Signal-to-noise is the product. Alert fatigue is the dominant SOC failure. Tune aggressively, suppress with expiry, and treat a chronically ignored alert as a Critical defect.
  6. Every alert has a runbook and an owner. No actionable signal reaches a human without next steps. Wire alerting plumbing via sota-observability rules/04; you own the security content.
  7. Map coverage to ATT&CK and stare at the gaps. A Navigator heatmap that nobody updates is theater. Coverage drives the next hypothesis.
  8. Behavior-detect, then enrich. Correlate, deduplicate, and decorate alerts with asset/identity/TI context so triage is seconds, not minutes.
  9. An IR plan that's never exercised is fiction. Tabletop it, keep contacts and authority-to-contain current, and run blameless post-incident reviews that feed new detections.
  10. Deception is the highest-fidelity signal you own. A touched honeytoken or honeypot has ~zero false positives. Deploy canaries in the paths attackers must traverse (see sota-secrets-management rules/04 honeytokens).

Alternatives

Compare before choosing

Computed 10023,835

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist

Computed 1004,944

dotnet/skills

migrate-vstest-to-mtp

Migrates .NET test projects from VSTest to Microsoft.Testing.Platform (MTP). Use when user asks to "migrate to MTP", "switch from VSTest", "enable Microsoft.Testing.Platform", "use MTP runner", set OutputType=Exe only for test projects in Directory.Build.props, or mentions EnableMSTestRunner, EnableNUnitRunner, or UseMicrosoftTestingPlatformRunner. USE FOR: MTP behavioral differences vs VSTest (exit code 8, zero tests discovered, --ignore-exit-code, TESTINGPLATFORM_EXITCODE_IGNORE); centralizing

Computed 9929,680

HKUDS/Vibe-Trading

strategy-generate

Create, modify, and optimize quantitative trading strategies, then backtest and evaluate them.

Computed 9832,671

K-Dense-AI/scientific-agent-skills

dask

Distributed computing for larger-than-RAM pandas/NumPy workflows. Use when you need to scale existing pandas/NumPy code beyond memory or across clusters. Best for parallel file processing, distributed ML, integration with existing pandas code. For out-of-core analytics on single machine use vaex; for in-memory speed use polars.