Source overview

elastic/detection-rules

Official Elastic SIEM detection rules — TOML wrapping EQL/KQL/Lucene queries, mapped to ATT&CK.

elastic-detection-rules · Elastic TOML · upstream repo ↗ · Elastic License 2.0

Rules indexed 1931 9 atomic-IOC hidden · include 121 deprecated hidden · include
ATT&CK techniques 444
Newest rule 2026-08-20 checked 2026-08-23

How detections work here

Elastic's own detection content, run as scheduled queries against Elasticsearch by the Detection Engine. This is the model most of this index assumes: a query, a lookback window, an interval.

Do not confuse it with elastic-protections-artifacts, which ships inside the Elastic Defend agent and runs on the endpoint.

How rules are written

TOML, with [metadata] and [rule] tables. The important field is language, because this source carries several query languageskuery, eql, esql — and the rule's type selects which engine runs it. That is why this is one of the few sources here with a meaningful content-type breakdown: query, eql, esql, threshold, new_terms, machine_learning and threat_match are genuinely different detection mechanisms, not labels.

index declares the indices searched and from the lookback (now-9m). risk_score is a 1–100 integer, which we preserve and also bucket into this site's five-level severity — both are shown on a rule's page.

Reading a rule on this site

Two prose fields map to distinct places, and the distinction is worth knowing: setup becomes the implementation guide (what you must configure before the rule works), while note becomes triage notes (what to do when it fires). Elastic's note fields are unusually thorough investigation guides, often longer than the rule itself.

ATT&CK comes from the [[rule.threat]] blocks and is generally complete.

Gotchas

  • type = "machine_learning" rules have no readable query — they reference a trained job by name. The rule tells you what it alerts on, not how it decides.
  • Every rule is scoped to specific index patterns and Elastic integrations. A rule is only deployable if you are shipping that integration's data in that shape.
  • Some investigation guides are noted upstream as generated with AI assistance and reviewed. Read them as a starting point.

Severity

Status


Platforms

endpoint 945 windows 450 sentinel_one_cloud_funnel 428 crowdstrike 318 m365_defender 256 system 252 aws 195 auditd_manager 145 +46 more

Content types

eql 952 query 424 new_terms 216 esql 206 machine_learning 106 threshold 27


Recently modified

all →
Suspicious Process Execution by Zoom 2026-08-20
File Downloaded by Curl/Wget and Piped to Interpreter 2026-08-19
Process Execution Followed by Self-Deletion 2026-08-19
Rare Connection to WebDAV Target 2026-08-18
Elastic Agent Service Terminated 2026-08-17

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.