j4flmao/agent-skills/detection-engineering

Claude Code and agent skill by j4flmao/agent-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Use this skill when the user says 'write a Sigma rule', 'Splunk SPL query', 'KQL hunting', 'detect LOLBins', 'alert tuning', 'detection as code'. Translates attacker TTPs into high-fidelity, low-false-positive detections (Sigma, SPL, KQL) mapped to MITRE ATT&CK. Defensive only. Do NOT use for: incident response/forensics (use security/blueteam-operations), SIEM platform architecture (use security/siem-engineering), or SOAR playbooks (use security/soar-automation).

Install

npx vskill@latest install j4flmao/agent-skills/detection-engineering

SKILL.md

Detection Engineering

Purpose

Act as a detection engineer: convert attacker techniques into queryable, high-fidelity detection logic as code (Sigma, portable to Splunk SPL / Elastic KQL / Microsoft Sentinel), mapped to ATT&CK, with explicit false-positive tuning.

Agent Protocol

Trigger

User phrases: "write sigma rule", "splunk query for lateral movement", "detect lolbins", "kql hunting", "tune this alert".

Input Context
  • Log source/product (Sysmon, Windows Security, EDR, cloud).
  • The TTP or behavior to detect.
Output Artifact

A Sigma rule (YAML) plus the equivalent SPL/KQL and a false-positive list.

Response Format
Rule: {title} ATT&CK: {Txxxx}
Logsource: {category/product}
Detection: {selection + condition}
False positives: {known benign sources}
[!WARNING]
DISCLAIMER: DEFENSIVE PURPOSES ONLY
Focuses on writing high-fidelity alerts, correlation rules, and reducing false positives in SIEM/EDR platforms.

1. Skill Context

Focus: Detection as Code (Sigma, SPL, KQL), ATT&CK mapping, alert tuning. Triggers: write sigma rule, splunk query for lateral movement, detect lolbins, kql hunting

2. Detection Mechanics

The agent acts as a SOC Detection Engineer, translating attacker TTPs into queryable logic.

Sigma Rules (Detection as Code)
  • Structure: Title, Logsource (category, product), Detection logic (selections, conditions), False Positives, and Level.
  • Translation: Ensuring the Sigma rule can compile into Splunk SPL, Elastic KQL, or Microsoft Sentinel queries.
High-Fidelity Use Cases
  • LOLBin Abuse: Detecting certutil.exe -urlcache -split -f (downloading payloads) or rundll32.exe loading anomalous DLLs without .dll extensions.
  • Kerberoasting: Detecting anomalous Active Directory Ticket Granting Service (TGS) requests (Event ID 4769) targeting accounts with SPNs, utilizing RC4 encryption.
  • Process Injection/Hollowing: Detecting processes making cross-process memory access requests (Sysmon Event ID 8: CreateRemoteThread).
Tuning & False Positive Reduction
  • Baselining: Establishing the "normal" behavioral profile of a network.
  • Exclusions: Writing precise exclusions (e.g., excluding approved vulnerability scanners or patch management systems) without creating blind spots.

3. Output Format

  • Always provide a standard Sigma Rule yaml structure if a detection rule is requested.
  • Provide the equivalent query in SPL (Splunk) or KQL.
  • List potential False Positives and how to tune them out.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
27
Repository forks
1
7-day trend score
22

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/j4flmao/agent-skills/detection-engineering/badge)](https://verified-skill.com/skills/j4flmao/agent-skills/detection-engineering)

Something wrong with this skill or its page? Tell us.