siem-rules

Develop KQL or SPL SIEM detection rules mapped to MITRE ATT&CK v16 techniques.

44|128|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/UnitOneAI/SecuritySkills --skill siem-rules-unitoneai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: siem-rules
Source: https://github.com/UnitOneAI/SecuritySkills/tree/main/skills/secops/siem-rules
Command: npx skills add https://github.com/UnitOneAI/SecuritySkills --skill siem-rules-unitoneai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces noisy, fragile, or incorrect SIEM detections by providing structured, framework-mapped guidance to build and tune KQL/SPL detection rules that are suitable for production use.

Core Features & Use Cases

  • SIEM detection rule authoring: Produce KQL (Microsoft Sentinel) or SPL (Splunk) queries for common detection patterns such as thresholding, time windows, aggregation, and correlation.
  • ATT&CK mapping for auditability: Align rule logic to MITRE ATT&CK v16 techniques to support consistent coverage across a SOC workflow.
  • Threshold tuning and lifecycle management: Recommend baselining, suppression, scheduling, and ongoing maintenance steps so detections improve over time instead of staying static.

Quick Start

Ask the agent to write and tune a Sentinel (KQL) or Splunk (SPL) SIEM detection rule for a specific MITRE ATT&CK technique ID, using your available log table/index and expected false-positive constraints.

Frequently Asked Questions about siem-rules

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I write SIEM detection rules that map to MITRE ATT&CK techniques?

To write SIEM detection rules mapped to MITRE ATT&CK v16, specify the platform (KQL or SPL), the target technique ID, and your available log tables. The generated query aligns detection logic with the required technique for reliable security monitoring and auditability.

What's the best way to tune alert thresholds for noisy Splunk SPL detections?

Tune noisy Splunk SPL detections by applying baselining, suppression, and scheduling methodologies. Adjusting alert thresholds and aggregation logic refines detection patterns, reducing false positives and ensuring the rules remain effective over their lifecycle.

Can I convert Sigma rules into KQL queries for Microsoft Sentinel?

Yes, Sigma-to-platform review is supported. The process analyzes Sigma rule logic and translates it into production-ready KQL queries for Microsoft Sentinel, ensuring the detection pattern, entity mapping, and ATT&CK technique alignment are correctly preserved.

How does correlation rule design work for time window aggregation in SIEM?

Correlation rule design in SIEM uses time windows and aggregation to group related events across log tables. By defining specific detection patterns and entity relationships, the rule identifies sequential or concurrent suspicious activities that single-event alerts would miss.

Do I need specific log tables to generate production-ready KQL detection queries?

Yes, you must provide the specific log table names and expected false-positive constraints available in your environment. This ensures the generated KQL detection queries reference correct schema entities and include practical suppression logic for production use.

Why do my SIEM detection rules fail during prompt-injection-safe handling?

SIEM detection rules fail during prompt-injection-safe handling when untrusted log data contains malicious prompt sequences. The generation process applies safe handling methodologies to isolate external inputs, ensuring the produced query logic remains uncompromised and structurally valid.