Skip to content
Security
Skill

/detection-rule-development

Develop or review a detection rule (Sigma, YARA, KQL/SPL/EQL) for a specific behavior or threat, mapped to MITRE ATT&CK, with test cases and false-positive tuning. Use when building, porting, or reviewing detections from a TTP, IOC, or incident finding.

From plugin
awesome-claude-security
11111 skills17 agents13 commands1 MCP

Claude Code

$ npx -y skills add jassics/awesome-claude-security --skill detection-rule-development --agent claude-code

SKILL.md

detection-rule-development.SKILL.md
name: detection-rule-development
description: >-
  Develop or review a detection rule (Sigma, YARA, KQL/SPL/EQL) for a specific
  behavior or threat, mapped to MITRE ATT&CK, with test cases and false-positive
  tuning. Use when building, porting, or reviewing detections from a TTP, IOC, or
  incident finding.

Goal

A robust, documented detection rule that catches the intended behavior, is mapped to ATT&CK, has known false positives addressed, and is testable.

Aim high on the Pyramid of Pain

Prefer detecting **TTPs/behaviors** over brittle atomic indicators (hashes, IPs). Behavior-based detections cost the adversary more to evade. Use IOC-based rules for fast wins, but pair them with behavioral coverage.

Steps

1. **Define what you're detecting** — the specific behavior/technique, the data source required (process creation, EDR telemetry, auth logs, DNS, etc.), and the ATT&CK technique ID(s). 2. **Confirm log/telemetry availability** — no rule works without the data; note the source and any onboarding gap. 3. **Write the rule** — in the target language (Sigma as portable source of truth; YARA for files/memory; KQL/SPL/EQL for the SIEM/EDR). Make the logic specific to the behavior, not incidental artifacts. 4. **Test** — true positives (does it fire on the behavior? use an emulation like Atomic Red Team) and false positives (what benign activity matches?). Tune to cut FPs without blinding the rule. 5. **Document** — ATT&CK mapping, data source, FP notes, severity, and response guidance for the analyst.

Output

The rule (in the requested format) plus a metadata block: ATT&CK technique · data source · test cases · known FPs · severity · triage steps. Add to the detection library; track coverage with `detection-coverage-review`.

Notes

A detection without a tuned false-positive story creates alert fatigue and gets muted — tuning is part of "done." Validate against real telemetry/emulation, not just by reading the logic. Map every rule to ATT&CK so coverage is measurable.

Read more
@jassics
Ships withawesome-claude-security

A Claude Code plugin marketplace for the full cybersecurity & GenAI-security lifecycle — from recon and threat modeling to detection engineering, GRC, and CISO-level strategy. A pentester knows which OWASP test bends a broken-access-control endpoint.

11111 skills17 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
11
Star history of jassics/awesome-claude-security on GitHub, a chart by star-history.com

Other skills on awesome-claude-security.

More skills from other plugins.

api-security

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…

@zhaoxuya520@zhaoxuya520Install Skill
nemoclaw-user-guide

nemoclaw-user-guide

Find official NemoClaw documentation for installation, configuration, operation, or troubleshooting. Also handles requested docs…

nemoclaw12d23k
@nvidia@nvidiaInstall Skill

Questions about detection-rule-development.

Which coding agents can use detection-rule-development?
detection-rule-development installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.