Skip to content
Back to skills

Detection Engineering

ASecurity

Detection engineering skill for writing, testing, and tuning Sigma, YARA, YARA-L, Suricata, Snort, Zeek, KQL, SPL, EQL, Chronicle, and Elastic detection rules. Covers ATT&CK coverage mapping, telemetry gap analysis, false-positive tuning, detection-as-code pipelines, and validation with Atomic Red Team and Caldera. Use to design durable detections backed by tests.

  • 19 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 11, 2026
ai-agentsgoshelltesting

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned October 11, 2026

npx -y skills add Garyson26/Trident-SecOps-Skills --skill detection-engineering --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Detection Engineering?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Detection Engineering
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/garyson26-detection-engineering/badge)](https://www.skillsdirectory.com/skills/garyson26-detection-engineering)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: detection-engineering
description: Detection engineering skill for writing, testing, and tuning Sigma, YARA, YARA-L, Suricata, Snort, Zeek, KQL, SPL, EQL, Chronicle, and Elastic detection rules. Covers ATT&CK coverage mapping, telemetry gap analysis, false-positive tuning, detection-as-code pipelines, and validation with Atomic Red Team and Caldera. Use to design durable detections backed by tests.
---

# Detection Engineering

## Operating Rules

- Start from a threat behavior, not a single IOC. Rules expire; behaviors persist.
- Every rule ships with: hypothesis, data source, ATT&CK mapping, false-positive notes, response action, and a test.
- Tune for analyst time, not raw event volume. A noisy critical is a broken critical.

## Authoring Workflow

1. State hypothesis: actor, technique, observable, data source, confidence.
2. Identify telemetry: process, file, registry, network, auth, cloud, email, identity, EDR fields.
3. Draft rule in the platform's native DSL; keep selectors readable; comment non-obvious filters.
4. Generate matched and unmatched test events; run in a dry-run pipeline.
5. Validate with Atomic Red Team / Caldera tests; record true positive evidence.
6. Tune: add allow-lists with reasons and review dates; never silently broaden.
7. Ship with a runbook: triage steps, expected next queries, containment.

## Coverage Strategy

- Maintain a matrix of ATT&CK techniques × data sources × rule IDs × last-tested date.
- Track gaps as backlog items with prerequisite telemetry (e.g., enable Sysmon 1/3/10/11).
- Score detections on durability, fidelity, and response cost.

## Output Contract

- `rules/<platform>/<id>.yml` with metadata block.
- `tests/<id>/` with positive and negative pcaps, EVTX, or JSON.
- `coverage.csv`: ATT&CK × rule × status × last_validated.
- `runbooks/<id>.md`: analyst playbook.
- `release-notes.md`: what changed, why, expected volume delta.

## Example: Sigma skeleton

```yaml
title: Suspicious encoded PowerShell
status: experimental
logsource:
  product: windows
  category: process_creation
detection:
  selection:
    Image|endswith: '\\powershell.exe'
    CommandLine|contains: ' -enc '
  condition: selection
falsepositives:
  - admin scripts, SCCM
level: medium
```

KQL equivalent (untested):

```kql
DeviceProcessEvents
| where FileName =~ "powershell.exe"
| where ProcessCommandLine has " -enc "
```

Files in this skill

  • SKILL.md2.3 KB
  • agents/openai.yaml243 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.