AGENT SKILL

threat-detection

Use when an org role acts as threat detection engineer and must build and tune SIEM rules, ATT&CK coverage mapping and threat hunts. Covers Sigma rules, behavioral over IOC detection and false-positive profiles. For mapping threats to controls see threat-mitigation-mapping.

License 许可
Apache-2.0
所属仓库
monoes/monomind
最近更新
2026-11-14
Stars
★ 23
Forks
2

01 前言 Front Matter

name
threat-detection
tags
[ "security", "observability", "incident" ]
tools
[ "monograph_query", "monograph_context", "monograph_impact" ]
source
https://github.com/monoes/monomind
license
Apache-2.0
description
Use when an org role acts as threat detection engineer and must build and tune SIEM rules, ATT&CK coverage mapping and threat hunts. Covers Sigma rules, behavioral over IOC detection and false-positive profiles. For mapping threats to controls see threat-mitigation-mapping.

03 SKILL.md 正文

Threat Detection — Best Practices

Focus

Builds and tunes the detection layer that catches attackers after they bypass preventive controls — SIEM rules, ATT&CK coverage mapping, and threat hunting that converts into automated detections.

Best practices

  • Map every detection rule to at least one MITRE ATT&CK technique — if you can't map it, you don't understand what it detects
  • Write rules in a vendor-agnostic format (Sigma) first, then compile to target SIEMs, so detection logic isn't locked to one platform
  • Prefer behavioral detections (process chains, anomalous sequences) over static IOC matching (IPs, hashes) — attackers rotate indicators daily
  • Document a false-positive profile for every rule before deployment — if you don't know what benign activity triggers it, it isn't tested
  • Prioritize coverage gaps by threat intelligence relevant to your actual environment/industry, not theoretical attacks from conference talks
  • Treat detection rules as code: version-controlled, peer-reviewed, tested against sample data, deployed via CI — never edited live in a console
  • Convert every successful threat hunt into an automated detection — manual discoveries that don't become rules will be missed next time

Common pitfalls

  • Deploying untested rules that either fire on everything or never fire at all
  • Chasing detection quantity over quality — a noisy SIEM trains analysts to ignore alerts, which is worse than no detection
  • Detecting only initial access and missing lateral movement, persistence, and exfiltration further down the kill chain
  • Assuming a log source is being collected without verifying it — a detection is worthless if its data source silently stopped ingesting
  • Never re-validating old rules — a detection that worked a year ago may not catch today's technique variant

Tools & techniques

  • MITRE ATT&CK matrix for coverage mapping and gap prioritization, tracked per platform (Windows/Linux/Cloud/Containers)
  • Sigma rule format for vendor-agnostic detection-as-code, compiled to Splunk SPL / Sentinel KQL / Elastic EQL
  • Atomic Red Team or purple-team exercises to validate that a detection actually fires on the targeted technique
  • Detection-as-code CI pipeline: syntax validation, required-field checks (ATT&CK tags, false-positive docs), automated compile-and-deploy
  • Efficacy metrics tracked over time: true/false positive rate, mean time to detect, alert-to-incident conversion rate

04 同仓库更多 Skills

monoes
monoes/monomind

zk-steward

Org role guidance for a ZK steward: engineer zero-knowledge proof systems with circuit design, SNARK vs STARK choice and security review. This is zero-knowledge cryptography, not Zettelkasten note-taking.

★ 23
monoes
monoes/monomind

writing-plans

Use when you have a spec or requirements for a multi-step coding task and must write an implementation plan before touching code. Produces bite-sized TDD tasks with exact file paths, code and commands for an engineer with zero context.

内容创作者写作与文案
★ 23
monoes
monoes/monomind

write-spec

Write a feature spec or PRD from a problem statement or feature idea. Use when turning a vague idea or user request into a structured document, scoping a feature with goals and non-goals, defining success metrics and acceptance criteria, or breaking a big ask into a phased spec.

产品经理
★ 23
monoes
monoes/monomind

write-query

Write optimized SQL for your dialect with best practices. Use when translating a natural-language data need into SQL, building a multi-CTE query with joins and aggregations, optimizing a query against a large partitioned table, or getting dialect-specific syntax for Snowflake, BigQuery, Postgres, etc.

数据分析师
★ 23
monoes
monoes/monomind

workflow-automation

Org role guidance for workflow automation: build and maintain CI/CD definitions in GitHub Actions or equivalent: triggers, jobs, matrices, caching. Covers path filters, dependency caching, parallel jobs, timeouts and fail-fast ordering.

运维与部署Skill与智能体开发
★ 23
monoes
monoes/monomind

workflow-architect

Org role guidance for a workflow architect: map full workflow trees for systems, user journeys and agents, covering every branch and failure. Covers discovering workflows from code, handoff contracts, timeouts, recovery paths and observable state.

Skill与智能体开发
★ 23