Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.
Python agentic-aiai-securityalert-triageblue-teamcybersecuritydetection-engineeringincident-responselanggraphllm-agentsmcpmitre-attackmodel-context-protocolpurple-teamsecurity-operationsself-hostedsiemsoarsocthreat-detectionthreat-intelligence
depth 3.1: translate the windowed det-* family into rules that can fire (#1222)
Beenu Arora38240806ef6b
diff --git a/.github/workflows/validate-detections.yml b/.github/workflows/validate-detections.ymlindex 7f459c9cf..5f18ccced 100644--- a/.github/workflows/validate-detections.yml+++ b/.github/workflows/validate-detections.yml@@ -94,6 +94,23 @@ jobs:- name: Verify exported windowed ruleset is currentrun: python3 scripts/export_windowed_ruleset.py --check+ # 74 rules named a sliding-window counter no source emits, so each read+ # None on its first clause and could never fire while still counting+ # toward the published executable total. Every one is now either+ # translated into a `wd-*` rule — threshold and window derived from the+ # original's own clauses, not re-chosen — or refused with a reason. This+ # re-derives each translation and compares it with what is committed, so+ # a rounder threshold or a dropped selector clause fails here rather+ # than shipping as a different detection under the original's name.+ - name: Verify every windowed det-* rule is translated or refused+ run: python3 scripts/check_windowed_translation.py --check++ # The gate above is only worth the violations it can catch. This injects+ # one per rule it enforces and requires each to be caught, and requires+ # a refusal over a tree with no rules in it.+ - name: Prove the windowed-translation gate is not vacuous+ run: python3 scripts/check_windowed_translation.py --self-test+# Recompiles every imported Sigma rule AND re-proves it: each shipped# rule is replayed, as a vendor-shaped event, through its connector's# real normalize() and the real engine. A rule that stops firing — becausediff --git a/CHANGELOG.md b/CHANGELOG.mdindex d90385114..4698d422f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -44,6 +44,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0### Added+- **The 74 detection rules that needed a sliding window now have one, or a+ recorded reason why they cannot.** Each named a counter no source emits —+ `fail_count`, `events_per_minute`, `distinct_secrets_per_minute` — so the+ stateless matcher read `None` on its first clause and the rule could never+ fire, while being loaded by the engine and counted toward the published+ executable total. Fixture replay could not catch it: the fixtures are+ synthesized from the rule they test. 50 are now `wd-*` rules whose+ threshold, window and selector are **derived from the original's own+ clauses** rather than re-chosen, so a translation cannot quietly become a+ different detection under the old rule's name and severity; 24 could not be+ expressed as a count over a window and are refused, each with a reason that+ travels into its `quarantine_reason` and onto its marketplace entry.+ Refusals group into five kinds — `aggregate` (a sum, mean or variance the+ engine does not compute), `not-windowed` (a per-event property the family+ pattern misreads), `operand-not-emitted`, `multi-distinct` and `rarity`.+ `scripts/windowed_translation.py` holds the decisions,+ `scripts/check_windowed_translation.py` enforces that nothing is simply+ dropped and re-derives every translation against its spec, and+ `services/fusion/tests/test_windowed_translation_replay.py` drives each rule+ through the real engine: it fires at its threshold, does not at one short,+ never counts an event its selector rejects, and counts per entity.+ Measured: unreachable native rules 119 → 45, windowed corpus 18 → 68.+ The published executable figure falls 2,603 → 2,529 because 74 rules that+ could not fire stopped being counted as executable; the windowed corpus is+ now published as its own figure beside it rather than going uncounted.- **Attribute conditions, time-boxed elevation and workload identities, allinside the one permission path.** The placement is the item, not a detail:conditions are applied by `CurrentUser.require_permission` after whicheverdiff --git a/DEPTH_PROGRESS.md b/DEPTH_PROGRESS.mdindex aba45793b..045e2125e 100644--- a/DEPTH_PROGRESS.md+++ b/DEPTH_PROGRESS.md@@ -194,6 +194,44 @@ publish `0.000` where it means "not measured". Phase 1.4 adds local 7--8Bcandidates, which need no key and *can* be measured here; the hosted rows stay`[!]` until the maintainer funds a key.+### D4 -- Not all 74 "windowed" rules need a window++The reachability gate attributes a rule to the windowed family by matching+its field names against `_count$|^count_|_per_|time_window|_window_|_5min|_ratio$`.+Eight of the 74 are per-event properties the pattern misreads: `row_count` is+the size of one export record, `answer_count` the number of records in one DNS+response, `insecure_registries_count` the length of a list in one daemon+config event, `subdomain_hex_ratio` a property of one query name, and+`active_keys_per_account` the state of an account at one moment. They are+refused under the `not-windowed` kind rather than translated, and the family+label in `check_detection_fields.py` is left as it is: changing the classifier+would move the published family counts that Phase 0.2 recorded, for no gain+now that each rule carries an individual reason.++### D5 -- Five windowed rules that predate this work group by a field nothing emits++`wd-secret-enumeration` (`distinct_by=secret_name`), `wd-windows-password-spray`,+`wd-sysmon-remote-thread-fanout`, `wd-sysmon-dns-query-fanout` and+`wd-sysmon-process-spawn-burst` name entity fields outside the statically+recovered namespace. Four of the five are Windows `EventData` keys the+`windows_event` connector lifts wholesale, so the namespace under-approximates+and the rules are probably fine; `secret_name` has no such explanation. The+new gate **reports** these rather than failing on them, because failing would+be a false alarm about working rules, and the entity question is answered by+replay rather than by a name lookup. Not fixed here: changing a shipped+rule's `group_by` is a content decision with its own blast radius.++### D6 -- The windowed engine ran a narrower field namespace than the stateless one++`WindowedDetectionEngine._fields` carried a docstring saying it matched the+stateless engine's namespace "exactly". It did not: the stateless engine then+applies `derived_fields.enrich()` and the per-tenant allowlist overlay, and+the windowed engine applied neither. Two of the rules translated here carry an+`<x>_in_allowlist` clause, so without fixing this they would have moved from+one engine that could not fire them to another. Both passes are now applied in+`evaluate()`, which takes the overlay the consumer had already resolved for+the stateless engine.+## Phase 1: Verdict quality you can publish- [x] **1.1** Balanced, labelled verdict corpus@@ -217,7 +255,8 @@ candidates, which need no key and *can* be measured here; the hosted rows stay## Phase 3: Detection depth for cloud, identity and SaaS-- [ ] **3.1** Translate the 74 windowed `det-*` rules+- [x] **3.1** Translate the 74 windowed `det-*` rules — 50 translated, 24+ refused with a reason. `MAX_UNREACHABLE` 119 → 45.- [ ] **3.2** Ordered sequences and Sigma correlations- [ ] **3.3** Enrichment inputs (parity 5.5)- [ ] **3.4** Behavioural baselines in CORE@@ -284,3 +323,4 @@ candidates, which need no key and *can* be measured here; the hosted rows stay| 2026-10-07 | 0.1 | This file created at base commit `1b8bc2d4`. || 2026-10-07 | 0.2 | Every figure re-derived. Two matched exactly (detections, unreachable families); executor arms measured 74 against a captured 73; the cloud/identity/SaaS/code figure measured 395 against a captured 461 on a grouping the plan does not pin, recorded above. Two measurement caveats found: executable and quarantined overlap by 1,724 rules, and the "69% Windows" figure does not reproduce from the index. || 2026-10-07 | 0.3 | `make up` and `make smoke` (10/10) pass. Injection suite and load-harness baselines committed. `make up-full` deferred (D2) and hosted model rows blocked (D3). Fixing D1 was a precondition for the load-harness baseline. |+| 2026-10-09 | 3.1 | All 74 decided. 50 translated into `wd-*` rules derived from each original's own clauses and replayed through the real engine (162 assertions); 24 refused with a reason across five kinds. `MAX_UNREACHABLE` 119 → 45, published executable 2,603 → 2,529, windowed 18 → 68. Three findings recorded as D4–D6 below. |diff --git a/README.md b/README.mdindex 00cd0d061..d38ec3982 100644--- a/README.md+++ b/README.md@@ -17,7 +17,7 @@## What AiSOC does-Telemetry arrives from your security tools. AiSOC normalizes it, runs the 2603 executable rules of+Telemetry arrives from your security tools. AiSOC normalizes it, runs the 2529 executable rules ofits 6991-rule library, groups what fires into incidents, investigates each one with an AI agent whoseevery prompt and tool call is recorded, and proposes an action. New threat intelligence re-sweeps thehistory you already collected, and a human approves before anything reaches a vendor.@@ -111,7 +111,7 @@ of those are partial: field matches carried, thresholds did not## How it worksIngest normalizes to a common shape and Kafka carries it, then-fusion runs 2603 executable detection rules, of 6991 on disk, applies **your tenant's own tuning**+fusion runs 2529 executable detection rules, of 6991 on disk, plus 68 sliding-window rules that count across events, applies **your tenant's own tuning**on top — the disables, floors and suppressions the console writes, so a rule you turned off actually stops firing — and decides whatbecomes an alert. Correlation groups related alerts, an agent investigates and writes its reasoningto the Investigation Ledger, and a playbook may start from the result. Separately, new threat@@ -195,7 +195,7 @@ Agents triage alerts and investigate incidents. What they can and cannot do:| Capability | Status | Tested | Production ready ||---|---|---|---|| Ingest → detect → correlate → alert | Stable | E2E + unit | Yes |-| Detection engine (2603 executable rules) of 6991 | Stable | Replay proof | Yes |+| Detection engine (2529 executable rules) of 6991 | Stable | Replay proof | Yes || Alert correlation into incidents | Stable | Unit | Yes || REST API + web console | Stable | Unit + integration | Yes || AI triage + Investigation Ledger | Stable | Live Postgres ledger + a PR-gated local-model agent run. No hosted provider has been exercised | Yes, copilot mode |diff --git a/ROADMAP.md b/ROADMAP.mdindex d59f7d58c..9581c52ac 100644--- a/ROADMAP.md+++ b/ROADMAP.md@@ -38,7 +38,7 @@ A proof-first, security-first program to make every README claim gate-backed, cl**Program status:** all 13 hardening phases (0–12) are landed. Building on them, the **Fully-Operational AI-SOC roadmap** (Phases A1–E1) is now complete — it wired the three end-to-end paths the reality audit found unwired and pushed the platform to competitive parity + beyond:-- **Phase A (SIEM foundation):** A1 ClickHouse lake writer · A2 live detection-evaluation worker (2603 executable rules on the stream) · A3 default-on one-command deploy (connectors + graph on) · A4 UEBA behavioral-model fusion.+- **Phase A (SIEM foundation):** A1 ClickHouse lake writer · A2 live detection-evaluation worker (2529 executable rules on the stream) · A3 default-on one-command deploy (connectors + graph on) · A4 UEBA behavioral-model fusion.- **Phase B (SOAR foundation):** B1 auto-triage worker (copilot default) · B2 credential resolver + `decide()`-governed live dispatch + 10 vendor adapters · B3 real rollback + post-action verification + durable approval-SLA timers · B4 Business Context Rules in the hot path.- **Phase C (parity differentiators):** C1 Advanced Data Explorer · C2 Effective-Permissions live posture loader · C3 autopilot/copilot posture scorecard · C4 fuse-time attack-chain auto-grouping.- **Phase D (breadth):** D1 eight connectors (QRadar/Exabeam/Securonix/Devo/Netskope/Windows-Sysmon/Zeek-Suricata/syslog-CEF) · D2 AI/LLM-usage audit connector + `llm-*` detections + hot/cold lake tiering · D3 live-vendor mock-server smoke.diff --git a/apps/docs/docs/detections/coverage.md b/apps/docs/docs/detections/coverage.mdindex 4868da0eb..afb0d5146 100644--- a/apps/docs/docs/detections/coverage.md+++ b/apps/docs/docs/detections/coverage.md@@ -10,7 +10,7 @@ sidebar_position: 2# Detection Coverage-Generated: `2026-09-28T06:03:48Z`+Generated: `2026-10-09T01:31:46Z`This page is a **curated selection**, not the size of the corpus.It picks the highest-scoring rules per threat family from the set@@ -27,45 +27,45 @@ Sigma compiler began translating rules where they sat: rules under## Headline numbers-- **Curated detections**: `509` (target: ≥ 300)-- **Executable rules considered**: `2603` (quality floor: 0.55)-- **Unique MITRE techniques covered**: `140`+- **Curated detections**: `490` (target: ≥ 300)+- **Executable rules considered**: `2529` (quality floor: 0.55)+- **Unique MITRE techniques covered**: `136`## Coverage by buyer family| Family | Count | Target | Covered ||---|---|---|---|-| **Ransomware** | 70 | ≥ 25 | ✅ |+| **Ransomware** | 64 | ≥ 25 | ✅ || **Credential Access** | 100 | ≥ 25 | ✅ |-| **Lateral Movement** | 68 | ≥ 25 | ✅ |-| **Data Exfiltration** | 52 | ≥ 25 | ✅ |+| **Lateral Movement** | 67 | ≥ 25 | ✅ |+| **Data Exfiltration** | 44 | ≥ 25 | ✅ || **Cloud** | 100 | ≥ 25 | ✅ || **Identity** | 100 | ≥ 25 | ✅ |-| **Supply Chain** | 44 | ≥ 25 | ✅ |-| **Kubernetes / Containers** | 71 | ≥ 25 | ✅ |+| **Supply Chain** | 41 | ≥ 25 | ✅ |+| **Kubernetes / Containers** | 69 | ≥ 25 | ✅ |## Distribution### By tier-- `imported`: 148-- `native`: 361+- `imported`: 160+- `native`: 330### By severity-- `critical`: 105-- `high`: 273-- `low`: 17-- `medium`: 114+- `critical`: 100+- `high`: 266+- `low`: 16+- `medium`: 108### By category-- `application`: 36-- `cloud`: 155-- `data-exfil`: 20-- `endpoint`: 210-- `identity`: 77-- `network`: 11+- `application`: 31+- `cloud`: 150+- `data-exfil`: 13+- `endpoint`: 218+- `identity`: 69+- `network`: 9## How to auditdiff --git a/apps/docs/static/llms-full.txt b/apps/docs/static/llms-full.txtindex cad8c0e92..c96b26487 100644--- a/apps/docs/static/llms-full.txt+++ b/apps/docs/static/llms-full.txt@@ -77,7 +77,7 @@ Read more: https://beenuar.github.io/AiSOC/docs/connectors## Detection content-- **Executable rules: 2603.** These are the rules the detection engine+- **Executable rules: 2529.** These are the rules the detection engineloads from its compiled ruleset. Only these can fire.- **Rule files on disk: 6991.** The remainder is imported andprovenance-only content — community and vendor corpora kept for coveragediff --git a/apps/docs/static/llms.txt b/apps/docs/static/llms.txtindex 23ffddcfb..da81e9371 100644--- a/apps/docs/static/llms.txt+++ b/apps/docs/static/llms.txt@@ -21,10 +21,10 @@ Key facts a summary should get right:generates its own secrets, creates an administrator, ships a real CISA KnownExploited Vulnerabilities feed, and runs a local model, so a first run showsreal data and AI triage without signing up for anything.-- **Detection corpus:** 2603 rules are executable — the detection engine+- **Detection corpus:** 2529 rules are executable — the detection engineloads them from a compiled ruleset. 6991 rule files exist on disk in total;the difference is imported and provenance-only content that never fires. Cite- 2603, not 6991. "Executable" means each rule was replayed through+ 2529, not 6991. "Executable" means each rule was replayed througha real connector and the real engine and watched to fire; it does not mean therule detects an attack.- **Agent evaluation:** the published benchmark distinguishes metrics thatdiff --git a/apps/web/public/marketplace/curated.json b/apps/web/public/marketplace/curated.jsonindex 1d76ecc82..cbb585bb3 100644--- a/apps/web/public/marketplace/curated.json+++ b/apps/web/public/marketplace/curated.json@@ -1,65 +1,59 @@{"$schema": "https://aisoc.example.com/schemas/curated/v1.json","version": "1.0.0",- "generated": "2026-09-28T06:03:48Z",+ "generated": "2026-10-09T01:31:46Z","stats": {- "considered": 2603,- "eligible": 2592,- "selected": 509,+ "considered": 2529,+ "eligible": 2518,+ "selected": 490,"min_per_family": 25,"min_total": 300,"quality_floor": 0.55,- "unique_techniques": 140,+ "unique_techniques": 136,"selected_by_tier": {- "imported": 148,- "native": 361+ "imported": 160,+ "native": 330},"selected_by_severity": {- "critical": 105,- "high": 273,- "low": 17,- "medium": 114+ "critical": 100,+ "high": 266,+ "low": 16,+ "medium": 108},"selected_by_category": {- "application": 36,- "cloud": 155,- "data-exfil": 20,- "endpoint": 210,- "identity": 77,- "network": 11+ "application": 31,+ "cloud": 150,+ "data-exfil": 13,+ "endpoint": 218,+ "identity": 69,+ "network": 9}},"families": {"ransomware": {"label": "Ransomware",- "count": 70,+ "count": 64,"rule_ids": ["det-application-050","det-application-078","det-cloud-004","det-cloud-008","det-cloud-019",- "det-cloud-025","det-cloud-030","det-cloud-060",- "det-cloud-061","det-cloud-066","det-cloud-076","det-cloud-088",- "det-cloud-116",- "det-cloud-118","det-cloud-119","det-cloud-124","det-cloud-125","det-cloud-126","det-cloud-135",- "det-cloud-148","det-cloud-149","det-cloud-150","det-cloud-160","det-cloud-161","det-cloud-179",- "det-endpoint-003","det-endpoint-012","det-endpoint-074","det-endpoint-075",@@ -113,9 +107,7 @@"count": 100,"rule_ids": ["det-application-004",- "det-application-008","det-application-020",- "det-application-040","det-application-075","det-application-085","det-cloud-047",@@ -133,31 +125,22 @@"det-cloud-176","det-cloud-183","det-cloud-189",- "det-data-exfil-020","det-endpoint-093","det-endpoint-096","det-endpoint-141","det-endpoint-267","det-endpoint-272",- "det-identity-001",- "det-identity-003","det-identity-010","det-identity-022","det-identity-038",- "det-identity-041",- "det-identity-042",- "det-identity-043","det-identity-044",- "det-identity-050","det-identity-056","det-identity-057","det-identity-058","det-identity-059","det-identity-061",- "det-identity-065","det-identity-075","det-identity-088",- "det-identity-096","det-identity-101","det-identity-105","det-identity-107",@@ -177,7 +160,6 @@"det-identity-157","det-identity-158","det-identity-160",- "det-network-004","det-network-026","det-network-076","sigmahq-sigma-0adc67e0-a68f-4ffd-9c43-28905aad5d6a",@@ -189,14 +171,18 @@"sigmahq-sigma-24c77512-782b-448a-8950-eddb0785fc71","sigmahq-sigma-24e3e58a-646b-4b50-adef-02ef935b9fc8","sigmahq-sigma-25cde13e-8e20-4c29-b949-4e795b76f16f",+ "sigmahq-sigma-2b7d6fc0-71ac-4cf7-8ed1-b5788ee5257a","sigmahq-sigma-2d3cdeec-c0db-45b4-aa86-082f7eb75701","sigmahq-sigma-3245cd30-e015-40ff-a31d-5cadd5f377ec",+ "sigmahq-sigma-34275eb8-fa19-436b-b959-3d9ecd53fa1f","sigmahq-sigma-37c1333a-a0db-48be-b64b-7393b2386e3b","sigmahq-sigma-39b31e81-5f5f-4898-9c0e-2160cfc0f9bf","sigmahq-sigma-416bc4a2-7217-4519-8dc7-c3271817f1d5","sigmahq-sigma-42a993dd-bb3e-48c8-b372-4d6684c4106c",+ "sigmahq-sigma-42b1a5b8-353f-4f10-b256-39de4467faff","sigmahq-sigma-4833155a-4053-4c9c-a997-777fcea0baa7","sigmahq-sigma-48d91a3a-2363-43ba-a456-ca71ac3da5c2",+ "sigmahq-sigma-4d78a000-ab52-4564-88a5-7ab5242b20c7","sigmahq-sigma-53bb4f7f-48a8-4475-ac30-5a82ddfdf6fc","sigmahq-sigma-58f4ea09-0fc2-4520-ba18-b85c540b0eaf","sigmahq-sigma-5a44727c-3b85-4713-8c44-4401d5499629",@@ -211,14 +197,22 @@"sigmahq-sigma-aaafa146-074c-11eb-adc1-0242ac120002","sigmahq-sigma-b4a6d707-9430-4f5f-af68-0337f52d5c42","sigmahq-sigma-baef1ec6-2ca9-47a3-97cc-4cf2bda10b77",- "sigmahq-sigma-c8da0dfd-4ed0-4b68-962d-13c9c884384e"+ "sigmahq-sigma-bb76d96b-821c-47cf-944b-7ce377864492",+ "sigmahq-sigma-c8da0dfd-4ed0-4b68-962d-13c9c884384e",+ "sigmahq-sigma-cd185561-4760-45d6-a63e-a51325112cae",+ "sigmahq-sigma-d3adb3ef-b7e7-4003-9092-1924c797db35",+ "sigmahq-sigma-d557dc06-62e8-4468-a8e8-7984124908ce",+ "sigmahq-sigma-e4d22291-f3d5-4b78-9a0c-a1fbaf32a6a4",+ "sigmahq-sigma-e7a21b5f-d8c4-4ae5-b8d9-93c5d3f28e1c",+ "sigmahq-sigma-f598ea0c-c25a-4f72-a219-50c44411c791",+ "sigmahq-sigma-f7644214-0eb0-4ace-9455-331ec4c09253"],"min_target": 25,"covered": true},"lateral": {"label": "Lateral Movement",- "count": 68,+ "count": 67,"rule_ids": ["det-endpoint-010","det-endpoint-111",@@ -229,7 +223,6 @@"det-identity-102","det-identity-103","det-identity-104",- "det-network-005","det-network-022","det-network-030","det-network-064",@@ -294,7 +287,7 @@},"exfil": {"label": "Data Exfiltration",- "count": 52,+ "count": 44,"rule_ids": ["det-application-081","det-cloud-058",@@ -302,27 +295,19 @@"det-cloud-063","det-cloud-073","det-cloud-184",- "det-cloud-186",- "det-data-exfil-001",- "det-data-exfil-002","det-data-exfil-003","det-data-exfil-004","det-data-exfil-005",- "det-data-exfil-006","det-data-exfil-007",- "det-data-exfil-008","det-data-exfil-009","det-data-exfil-010","det-data-exfil-011","det-data-exfil-012",- "det-data-exfil-013","det-data-exfil-014","det-data-exfil-015","det-data-exfil-016","det-data-exfil-017",- "det-data-exfil-018","det-data-exfil-019",- "det-data-exfil-020","det-endpoint-174","det-endpoint-175","det-endpoint-270",@@ -357,13 +342,10 @@"count": 100,"rule_ids": ["det-application-017",- "det-application-024",- "det-application-058","det-application-063","det-application-069","det-application-073","det-cloud-001",- "det-cloud-002","det-cloud-003","det-cloud-004","det-cloud-006",@@ -374,7 +356,6 @@"det-cloud-012","det-cloud-013","det-cloud-014",- "det-cloud-015","det-cloud-016","det-cloud-017","det-cloud-018",@@ -384,7 +365,6 @@"det-cloud-022","det-cloud-023","det-cloud-024",- "det-cloud-025","det-cloud-026","det-cloud-027","det-cloud-028",@@ -393,7 +373,6 @@"det-cloud-031","det-cloud-032","det-cloud-033",- "det-cloud-034","det-cloud-035","det-cloud-036","det-cloud-038",@@ -413,14 +392,21 @@"det-cloud-057","det-cloud-058","det-cloud-060",- "det-cloud-061","det-cloud-062","det-cloud-063","det-cloud-067","det-cloud-068",+ "det-cloud-069",+ "det-cloud-070",+ "det-cloud-071","det-cloud-072",+ "det-cloud-073",+ "det-cloud-075","det-cloud-077",+ "det-cloud-078",+ "det-cloud-079","det-cloud-081",+ "det-cloud-083","det-cloud-087","det-cloud-091","det-cloud-092",@@ -434,7 +420,6 @@"det-cloud-128","det-cloud-136","det-cloud-146",- "det-cloud-148","det-cloud-152","det-cloud-157","det-cloud-166",@@ -505,8 +490,6 @@"det-cloud-138","det-cloud-139","det-cloud-140",- "det-cloud-142",- "det-cloud-144","det-cloud-166","det-cloud-170","det-cloud-171",@@ -531,19 +514,21 @@"det-endpoint-263","det-endpoint-264","det-endpoint-265",- "det-identity-001","det-identity-002",- "det-identity-003","det-identity-004","det-identity-006",- "det-identity-008","det-identity-009","det-identity-011","det-identity-012","det-identity-013","det-identity-016",+ "det-identity-018",+ "det-identity-019","det-identity-020","det-identity-021",+ "det-identity-022",+ "det-identity-023",+ "det-identity-024","det-identity-027","det-identity-031","det-identity-034",@@ -570,7 +555,7 @@},"supply-chain": {"label": "Supply Chain",- "count": 44,+ "count": 41,"rule_ids": ["det-application-006","det-application-014",@@ -584,7 +569,6 @@"det-application-052","det-application-053","det-application-054",- "det-application-055","det-application-057","det-application-059","det-cloud-014",@@ -602,8 +586,6 @@"det-identity-114","det-identity-153","det-identity-154",- "det-identity-155",- "det-identity-156","sigmahq-sigma-0ee4d8a5-4e67-4faf-acfa-62a78457d1f2","sigmahq-sigma-1f0489be-b496-4ddf-b3a9-5900f2044e9c","sigmahq-sigma-401e5d00-b944-11ea-8f9a-00163ecd60ae",@@ -622,12 +604,11 @@},"k8s": {"label": "Kubernetes / Containers",- "count": 71,+ "count": 69,"rule_ids": ["det-application-018","det-application-023","det-application-049",- "det-application-055","det-application-056","det-cloud-037","det-cloud-080",@@ -639,7 +620,6 @@"det-cloud-156","det-cloud-165","det-cloud-166",- "det-cloud-167","det-cloud-168","det-cloud-169","det-cloud-170",@@ -701,7 +681,7 @@}},"mitre_techniques": {- "T1003": 14,+ "T1003": 17,"T1003.001": 2,"T1003.002": 1,"T1003.004": 1,@@ -712,7 +692,7 @@"T1020": 3,"T1021": 3,"T1021.001": 9,- "T1021.002": 23,+ "T1021.002": 22,"T1021.003": 8,"T1021.004": 4,"T1021.005": 1,@@ -721,12 +701,11 @@"T1027.010": 1,"T1033": 1,"T1039": 1,- "T1040": 2,- "T1041": 8,- "T1046": 1,+ "T1040": 3,+ "T1041": 7,+ "T1046": 2,"T1047": 5,"T1048": 7,- "T1052": 1,"T1053": 1,"T1059.001": 6,"T1059.003": 3,@@ -735,86 +714,84 @@"T1059.006": 3,"T1059.007": 2,"T1068": 1,- "T1069.003": 1,"T1070": 2,"T1070.004": 1,"T1071.001": 1,"T1078": 14,"T1078.001": 3,- "T1078.004": 25,- "T1082": 1,+ "T1078.004": 24,+ "T1082": 2,"T1087": 1,- "T1087.004": 1,"T1090": 2,"T1090.002": 1,- "T1098": 16,- "T1098.001": 13,+ "T1098": 17,+ "T1098.001": 12,"T1098.003": 5,"T1098.004": 4,"T1098.007": 1,"T1102": 2,"T1105": 1,- "T1106": 1,- "T1110": 12,- "T1110.001": 4,+ "T1106": 2,+ "T1110": 8,+ "T1110.001": 2,"T1110.002": 1,- "T1110.003": 3,- "T1110.004": 2,+ "T1110.004": 1,"T1114.002": 1,"T1114.003": 1,- "T1133": 4,+ "T1133": 6,"T1134.001": 1,"T1136.001": 3,"T1136.002": 1,- "T1187": 2,- "T1190": 10,+ "T1187": 3,+ "T1190": 11,"T1195": 1,"T1195.001": 1,- "T1195.002": 8,+ "T1195.002": 7,"T1199": 11,"T1201": 1,"T1203": 1,"T1204.002": 1,"T1210": 4,"T1211": 1,- "T1212": 3,+ "T1212": 5,"T1218": 4,"T1219": 2,+ "T1484.001": 1,"T1484.002": 1,- "T1485": 34,- "T1486": 8,+ "T1485": 29,+ "T1486": 7,"T1489": 10,"T1490": 19,"T1496": 4,"T1499.004": 1,"T1505.003": 8,- "T1518": 1,+ "T1518": 2,"T1525": 8,"T1528": 6,- "T1530": 24,- "T1531": 2,+ "T1530": 17,+ "T1531": 1,"T1537": 7,"T1539": 4,"T1543.003": 2,"T1548": 1,- "T1548.002": 1,+ "T1548.002": 2,+ "T1548.003": 1,"T1550": 5,"T1550.001": 1,"T1550.003": 2,"T1552": 3,- "T1552.001": 6,+ "T1552.001": 7,"T1552.004": 1,"T1552.007": 1,"T1553.002": 1,"T1554": 3,"T1555": 5,- "T1555.003": 2,- "T1555.005": 1,- "T1556": 38,+ "T1555.003": 3,+ "T1556": 41,"T1556.001": 1,"T1556.006": 5,"T1556.007": 1,- "T1557.001": 1,+ "T1557.001": 2,"T1558": 2,"T1558.001": 2,"T1558.002": 1,@@ -825,8 +802,8 @@"T1562.008": 7,"T1563.002": 1,"T1565": 1,- "T1567": 15,- "T1567.002": 3,+ "T1567": 13,+ "T1567.002": 2,"T1568.002": 1,"T1569": 1,"T1569.002": 4,@@ -839,7 +816,6 @@"T1610": 11,"T1611": 24,"T1612": 1,- "T1621": 1,"T1685": 2},"items": [@@ -894,31 +870,6 @@"log_source_product": "waf","has_executable_body": true},- {- "id": "det-application-008",- "name": "Rate Limit Burst on Authentication Endpoint",- "path": "detections/application/rate-limit-burst.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "waf",- "has_executable_body": true- },{"id": "det-application-012","name": "JWT With alg=none in Authorization Header",@@ -1096,56 +1047,6 @@"log_source_product": "gitlab","has_executable_body": true},- {- "id": "det-application-024",- "name": "SaaS File Mass Public-Share by Single User",- "path": "detections/application/saas-mass-share-public.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "google-workspace",- "has_executable_body": true- },- {- "id": "det-application-040",- "name": "High Volume Of Password Reset Requests From Single IP",- "path": "detections/application/app-account-enum-reset.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "application",- "has_executable_body": true- },{"id": "det-application-046","name": "CI Workflow Modified By Account Without CODEOWNER Approval",@@ -1373,32 +1274,6 @@"log_source_product": "pypi","has_executable_body": true},- {- "id": "det-application-055",- "name": "Docker Daemon Started With --insecure-registry Flag",- "path": "detections/application/app-docker-insecure-registry-flag.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "medium",- "mitre_techniques": [- "T1195.002"- ],- "mitre_tactics": [],- "families": [- "supply-chain",- "k8s"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "docker",- "has_executable_body": true- },{"id": "det-application-056","name": "Container Image With Critical CVE Pushed To Prod Registry",@@ -1450,31 +1325,6 @@"log_source_product": "github","has_executable_body": true},- {- "id": "det-application-058",- "name": "Salesforce Mass Data Export Initiated",- "path": "detections/application/app-salesforce-mass-export.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "salesforce",- "has_executable_body": true- },{"id": "det-application-059","name": "Salesforce Sandbox Refreshed Outside Change Window",@@ -1779,32 +1629,6 @@"log_source_product": "aws","has_executable_body": true},- {- "id": "det-cloud-002",- "name": "AWS IAM Enumeration Burst",- "path": "detections/cloud/aws-iam-enumeration.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1087.004",- "T1069.003"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "aws",- "has_executable_body": true- },{"id": "det-cloud-003","name": "AWS S3 Bucket Made Public",@@ -2065,31 +1889,6 @@"log_source_product": "aws","has_executable_body": true},- {- "id": "det-cloud-015",- "name": "AWS S3 GetObject Volume Anomaly per Principal",- "path": "detections/cloud/aws-s3-mass-getobject.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "aws",- "has_executable_body": true- },{"id": "det-cloud-016","name": "Azure AD Owner/Global-Admin Role Assignment",@@ -2320,32 +2119,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-cloud-025",- "name": "Azure Resource Mass Deletion",- "path": "detections/cloud/azure-resource-mass-delete.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "azure",- "has_executable_body": true- },{"id": "det-cloud-026","name": "GCP IAM Primitive Role (Owner/Editor) Granted",@@ -2550,32 +2323,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-034",- "name": "GCP Secret Manager Mass AccessSecretVersion",- "path": "detections/cloud/gcp-secret-manager-mass-export.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1555.005",- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-035","name": "GCP BigQuery Dataset Made Public",@@ -3094,32 +2841,6 @@"log_source_product": "aws","has_executable_body": true},- {- "id": "det-cloud-061",- "name": "AWS S3 Mass DeleteObject Burst",- "path": "detections/cloud/aws-s3-mass-deleteobject.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "aws",- "has_executable_body": true- },{"id": "det-cloud-062","name": "AWS EBS Snapshot Shared With Foreign Account",@@ -3250,20 +2971,19 @@"has_executable_body": true},{- "id": "det-cloud-071",- "name": "AWS VPC Peering Connection Across Organizations",- "path": "detections/cloud/aws-vpc-peering-cross-org.yaml",+ "id": "det-cloud-069",+ "name": "AWS SG Rule Allows SSH From 0.0.0.0/0",+ "path": "detections/cloud/aws-security-group-rule-add-22-from-anywhere.yaml","tier": "native","source": "core","category": "cloud","severity": "high","mitre_techniques": [- "T1199"+ "T1133"],"mitre_tactics": [],"families": [- "cloud",- "supply-chain"+ "cloud"],"quality_score": 0.977,"quality_notes": [@@ -3276,40 +2996,91 @@"has_executable_body": true},{- "id": "det-cloud-072",- "name": "AWS RDS Instance Modified To Publicly Accessible",- "path": "detections/cloud/aws-rds-publicly-accessible-true.yaml",+ "id": "det-cloud-070",+ "name": "AWS SG Rule Allows RDP From 0.0.0.0/0",+ "path": "detections/cloud/aws-security-group-rule-add-3389-from-anywhere.yaml","tier": "native","source": "core","category": "cloud",- "severity": "critical",+ "severity": "high","mitre_techniques": [- "T1530"+ "T1133"],"mitre_tactics": [],"families": ["cloud"],- "quality_score": 1.0,+ "quality_score": 0.977,"quality_notes": ["tier:native(+0.5)","mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",+ "severity:high(+0.128)","executable(+0.15)"],"log_source_product": "aws","has_executable_body": true},{- "id": "det-cloud-073",- "name": "AWS RDS Snapshot Shared With Other Account",- "path": "detections/cloud/aws-rds-snapshot-shared.yaml",+ "id": "det-cloud-071",+ "name": "AWS VPC Peering Connection Across Organizations",+ "path": "detections/cloud/aws-vpc-peering-cross-org.yaml","tier": "native","source": "core","category": "cloud","severity": "high","mitre_techniques": [- "T1537"+ "T1199"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud",+ "supply-chain"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "det-cloud-072",+ "name": "AWS RDS Instance Modified To Publicly Accessible",+ "path": "detections/cloud/aws-rds-publicly-accessible-true.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "critical",+ "mitre_techniques": [+ "T1530"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud"+ ],+ "quality_score": 1.0,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:critical(+0.150)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "det-cloud-073",+ "name": "AWS RDS Snapshot Shared With Other Account",+ "path": "detections/cloud/aws-rds-snapshot-shared.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1537"],"mitre_tactics": [],"families": [@@ -3430,6 +3201,56 @@"log_source_product": "aws","has_executable_body": true},+ {+ "id": "det-cloud-078",+ "name": "AWS Lambda Env Var Contains Secret Pattern",+ "path": "detections/cloud/aws-lambda-env-var-secret-pattern.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1552.001"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "det-cloud-079",+ "name": "AWS Lambda Function URL With AuthType=NONE",+ "path": "detections/cloud/aws-lambda-create-url-public.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1190"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },{"id": "det-cloud-080","name": "AWS Lambda Function Uses Deprecated Runtime",@@ -4027,32 +3848,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-cloud-116",- "name": "Azure ResourceGroup Locks Removed In Bulk",- "path": "detections/cloud/azure-arm-locks-removed-bulk.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "azure",- "has_executable_body": true- },{"id": "det-cloud-117","name": "Azure Diagnostic Settings Deleted",@@ -4078,32 +3873,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-cloud-118",- "name": "Azure Mass Resource Modify Burst",- "path": "detections/cloud/azure-arm-mass-resource-modify.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "medium",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "azure",- "has_executable_body": true- },{"id": "det-cloud-119","name": "Azure Management Group Removed",@@ -4467,32 +4236,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-142",- "name": "GCP Service Account Key Burst",- "path": "detections/cloud/gcp-iam-service-account-key-mass-create.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1098.001"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-143","name": "GCP IAM Binding To External Domain",@@ -4519,32 +4262,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-144",- "name": "GCP Service Account Impersonation Burst",- "path": "detections/cloud/gcp-iam-impersonation-burst.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1078.004"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-145","name": "GCP IAM Conditional Binding Removed",@@ -4597,32 +4314,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-148",- "name": "GCS Mass Object Delete Burst",- "path": "detections/cloud/gcp-gcs-mass-delete.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-149","name": "GCS Bucket Retention Policy Removed",@@ -4909,32 +4600,6 @@"log_source_product": "kubernetes","has_executable_body": true},- {- "id": "det-cloud-167",- "name": "Kubernetes Secret Mass Get",- "path": "detections/cloud/k8s-secret-mass-get.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1552.001"- ],- "mitre_tactics": [],- "families": [- "cloud",- "k8s"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "kubernetes",- "has_executable_body": true- },{"id": "det-cloud-168","name": "Kubernetes pods/exec In Production Namespace",@@ -5359,32 +5024,6 @@"log_source_product": "oci","has_executable_body": true},- {- "id": "det-cloud-186",- "name": "Multi-Cloud Cross-Cloud Mass Egress Burst",- "path": "detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1567"- ],- "mitre_tactics": [],- "families": [- "exfil",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "multi-cloud",- "has_executable_body": true- },{"id": "det-cloud-187","name": "Infra-As-Code Drift Bypassed With Manual Override",@@ -5464,56 +5103,6 @@"log_source_product": "multi-cloud","has_executable_body": true},- {- "id": "det-data-exfil-001",- "name": "Large Outbound Transfer to Personal Cloud Storage",- "path": "detections/data-exfil/large-egress-personal-cloud.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1567.002"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "proxy",- "has_executable_body": true- },- {- "id": "det-data-exfil-002",- "name": "Outbound Bytes Spike Above Baseline (Anomaly)",- "path": "detections/data-exfil/egress-spike-baseline.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1041"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "ndr",- "has_executable_body": true- },{"id": "det-data-exfil-003","name": "rclone or megacmd Process Spawned on Host",@@ -5558,98 +5147,46 @@"quality_score": 0.977,"quality_notes": ["tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "edr",- "has_executable_body": true- },- {- "id": "det-data-exfil-005",- "name": "SaaS File Shared to External Domain",- "path": "detections/data-exfil/data-share-external-domain.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "medium",- "mitre_techniques": [- "T1567"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "google-workspace",- "has_executable_body": true- },- {- "id": "det-data-exfil-006",- "name": "Salesforce Bulk Data Export by Non-Allowlisted User",- "path": "detections/data-exfil/salesforce-bulk-export.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "exfil",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",+ "mitre_techniques:2(+0.2)","severity:high(+0.128)","executable(+0.15)"],- "log_source_product": "salesforce",+ "log_source_product": "edr","has_executable_body": true},{- "id": "det-data-exfil-007",- "name": "Snowflake Large Result-Set Download by Non-Service Account",- "path": "detections/data-exfil/snowflake-mass-export.yaml",+ "id": "det-data-exfil-005",+ "name": "SaaS File Shared to External Domain",+ "path": "detections/data-exfil/data-share-external-domain.yaml","tier": "native","source": "core","category": "data-exfil",- "severity": "high",+ "severity": "medium","mitre_techniques": [- "T1530"+ "T1567"],"mitre_tactics": [],"families": [- "exfil",- "cloud"+ "exfil"],- "quality_score": 0.977,+ "quality_score": 0.955,"quality_notes": ["tier:native(+0.5)","mitre_techniques:1(+0.2)",- "severity:high(+0.128)",+ "severity:medium(+0.105)","executable(+0.15)"],- "log_source_product": "snowflake",+ "log_source_product": "google-workspace","has_executable_body": true},{- "id": "det-data-exfil-008",- "name": "Database Application Reads Anomalously High Row Count",- "path": "detections/data-exfil/db-mass-row-read.yaml",+ "id": "det-data-exfil-007",+ "name": "Snowflake Large Result-Set Download by Non-Service Account",+ "path": "detections/data-exfil/snowflake-mass-export.yaml","tier": "native","source": "core","category": "data-exfil",- "severity": "medium",+ "severity": "high","mitre_techniques": ["T1530"],@@ -5658,14 +5195,14 @@"exfil","cloud"],- "quality_score": 0.955,+ "quality_score": 0.977,"quality_notes": ["tier:native(+0.5)","mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",+ "severity:high(+0.128)","executable(+0.15)"],- "log_source_product": "db",+ "log_source_product": "snowflake","has_executable_body": true},{@@ -5770,31 +5307,6 @@"log_source_product": "email","has_executable_body": true},- {- "id": "det-data-exfil-013",- "name": "Mass Print Job From Confidential Document Repository",- "path": "detections/data-exfil/printer-mass-print-confidential.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "medium",- "mitre_techniques": [- "T1052"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "windows",- "has_executable_body": true- },{"id": "det-data-exfil-014","name": "Bulk Zip Creation on File Server",@@ -5897,31 +5409,6 @@"log_source_product": "cloud","has_executable_body": true},- {- "id": "det-data-exfil-018",- "name": "Container Image Mass Export to External Registry",- "path": "detections/data-exfil/container-mass-image-export.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1567"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "cloud",- "has_executable_body": true- },{"id": "det-data-exfil-019","name": "VPN Tunnel Large Download from Foreign Country",@@ -5947,59 +5434,6 @@"log_source_product": "vpn","has_executable_body": true},- {- "id": "det-data-exfil-020",- "name": "Secrets Manager Bulk Fetch by Human Principal",- "path": "detections/data-exfil/secrets-mass-fetch.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1555",- "T1530"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "exfil",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "cloud",- "has_executable_body": true- },- {- "id": "det-endpoint-003",- "name": "Mass File Extension Rename Indicative of Ransomware",- "path": "detections/endpoint/ransomware-file-extension-change.yaml",- "tier": "native",- "source": "core",- "category": "endpoint",- "severity": "critical",- "mitre_techniques": [- "T1486"- ],- "mitre_tactics": [],- "families": [- "ransomware"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "edr",- "has_executable_body": true- },{"id": "det-endpoint-010","name": "Binary Written to ADMIN$ via SMB",@@ -7840,33 +7274,6 @@"log_source_product": "linux","has_executable_body": true},- {- "id": "det-identity-001",- "name": "Authentication Brute-Force Burst",- "path": "detections/identity/brute-force-login.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.001"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "okta",- "has_executable_body": true- },{"id": "det-identity-002","name": "Impossible Travel Between Two Authentications",@@ -7893,33 +7300,6 @@"log_source_product": "okta","has_executable_body": true},- {- "id": "det-identity-003",- "name": "Password Spray Across Many Users from Single IP",- "path": "detections/identity/password-spray.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.003"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "okta",- "has_executable_body": true- },{"id": "det-identity-004","name": "Login from Tor / Anonymous Proxy",@@ -7972,32 +7352,6 @@"log_source_product": "okta","has_executable_body": true},- {- "id": "det-identity-008",- "name": "MFA Push Bombing (MFA Fatigue)",- "path": "detections/identity/mfa-fatigue.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1621"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "okta",- "has_executable_body": true- },{"id": "det-identity-009","name": "MFA Requirement Removed from User Policy",@@ -8153,6 +7507,56 @@"log_source_product": "okta","has_executable_body": true},+ {+ "id": "det-identity-018",+ "name": "Sudo Used Without MFA",+ "path": "detections/identity/sudo-no-mfa.yaml",+ "tier": "native",+ "source": "core",+ "category": "identity",+ "severity": "high",+ "mitre_techniques": [+ "T1548.003"+ ],+ "mitre_tactics": [],+ "families": [+ "identity"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "linux",+ "has_executable_body": true+ },+ {+ "id": "det-identity-019",+ "name": "Active Directory Group Policy Modified",+ "path": "detections/identity/group-policy-modification.yaml",+ "tier": "native",+ "source": "core",+ "category": "identity",+ "severity": "high",+ "mitre_techniques": [+ "T1484.001"+ ],+ "mitre_tactics": [],+ "families": [+ "identity"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "det-identity-020","name": "Kubernetes ClusterRoleBinding to cluster-admin",@@ -8215,11 +7619,37 @@"category": "identity","severity": "high","mitre_techniques": [- "T1556"+ "T1556"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "identity"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },+ {+ "id": "det-identity-023",+ "name": "OAuth App Granted Broad Scopes by User",+ "path": "detections/identity/oauth-broad-scope-grant.yaml",+ "tier": "native",+ "source": "core",+ "category": "identity",+ "severity": "high",+ "mitre_techniques": [+ "T1098.001"],"mitre_tactics": [],"families": [- "credential-access",+ "cloud","identity"],"quality_score": 0.977,@@ -8229,7 +7659,7 @@"severity:high(+0.128)","executable(+0.15)"],- "log_source_product": "windows",+ "log_source_product": "google-workspace","has_executable_body": true},{@@ -8466,84 +7896,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-identity-041",- "name": "Password Spray: Single IP, Many Targets, Few Tries Each",- "path": "detections/identity/ident-password-spray-many-targets.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.003"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },- {- "id": "det-identity-042",- "name": "Distributed Password Spray From Many IPs",- "path": "detections/identity/ident-password-spray-distributed.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.003"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },- {- "id": "det-identity-043",- "name": "Credential Stuffing Pattern Against Login Endpoint",- "path": "detections/identity/ident-credstuffing-known-breached-list.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.004"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },{"id": "det-identity-044","name": "Successful Login After 50+ Recent Failures",@@ -8570,32 +7922,6 @@"log_source_product": "identity","has_executable_body": true},- {- "id": "det-identity-050",- "name": "Account Locked Out 3+ Times In 1 Hour",- "path": "detections/identity/ident-account-locked-many-times.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },{"id": "det-identity-052","name": "Authentication Success For Recently Deleted User",@@ -8751,32 +8077,6 @@"log_source_product": "identity","has_executable_body": true},- {- "id": "det-identity-065",- "name": "TOTP Verification Repeatedly Skews Clock",- "path": "detections/identity/ident-totp-skewed-clock.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "low",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.932,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:low(+0.083)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },{"id": "det-identity-067","name": "User Granted Privileged Role To Themselves",@@ -8979,32 +8279,6 @@"log_source_product": "active-directory","has_executable_body": true},- {- "id": "det-identity-096",- "name": "Kerberos Pre-Auth Failure Spike From Host",- "path": "detections/identity/ident-kerberos-failure-spike-from-host.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "active-directory",- "has_executable_body": true- },{"id": "det-identity-101","name": "Session Cookie Replayed From New Geo Within 1h",@@ -9710,59 +8984,6 @@"log_source_product": "github","has_executable_body": true},- {- "id": "det-identity-155",- "name": "GitHub Org Bulk Member Removed",- "path": "detections/identity/ident-github-org-collaborator-removed-bulk.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1531"- ],- "mitre_tactics": [],- "families": [- "identity",- "supply-chain"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "github",- "has_executable_body": true- },- {- "id": "det-identity-156",- "name": "GitHub Deploy Key Added Across Many Repos",- "path": "detections/identity/ident-github-deploy-key-added-org-wide.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1098.001"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity",- "supply-chain"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "github",- "has_executable_body": true- },{"id": "det-identity-157","name": "Zoom Account Policy Disables Meeting Passcode",@@ -9841,56 +9062,6 @@"log_source_product": "mdm","has_executable_body": true},- {- "id": "det-network-004",- "name": "SSH Brute-Force From Internet",- "path": "detections/network/ssh-failed-from-internet.yaml",- "tier": "native",- "source": "core",- "category": "network",- "severity": "high",- "mitre_techniques": [- "T1110.001"- ],- "mitre_tactics": [],- "families": [- "credential-access"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "linux",- "has_executable_body": true- },- {- "id": "det-network-005",- "name": "SMB Lateral Movement (Many ADMIN$ Connections)",- "path": "detections/network/smb-lateral-movement.yaml",- "tier": "native",- "source": "core",- "category": "network",- "severity": "high",- "mitre_techniques": [- "T1021.002"- ],- "mitre_tactics": [],- "families": [- "lateral"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "windows",- "has_executable_body": true- },{"id": "det-network-022","name": "RDP Logon Session With Concurrent Active Console Session",@@ -10761,6 +9932,32 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-2b7d6fc0-71ac-4cf7-8ed1-b5788ee5257a",+ "name": "Account Lockout",+ "path": "detections/sigma-imports/_quarantine/account-lockout.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "cloud",+ "severity": "medium",+ "mitre_techniques": [+ "T1110"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "cloud"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "azure",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-2d3cdeec-c0db-45b4-aa86-082f7eb75701","name": "Microsoft IIS Service Account Password Dumped",@@ -10945,6 +10142,31 @@"log_source_product": "aws","has_executable_body": true},+ {+ "id": "sigmahq-sigma-34275eb8-fa19-436b-b959-3d9ecd53fa1f",+ "name": "Loaded Module Enumeration Via Tasklist.EXE",+ "path": "detections/sigma-imports/_quarantine/loaded-module-enumeration-via-tasklist-exe.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "medium",+ "mitre_techniques": [+ "T1003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-37c1333a-a0db-48be-b64b-7393b2386e3b","name": "Hacktool Execution - PE Metadata",@@ -11135,6 +10357,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-42b1a5b8-353f-4f10-b256-39de4467faff",+ "name": "Harvesting Of Wifi Credentials Via Netsh.EXE",+ "path": "detections/sigma-imports/_quarantine/harvesting-of-wifi-credentials-via-netsh-exe.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "medium",+ "mitre_techniques": [+ "T1040"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-45545954-4016-43c6-855e-eae8f1c369dc","name": "Protected Storage Service Access",@@ -11346,6 +10593,34 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-4d78a000-ab52-4564-88a5-7ab5242b20c7",+ "name": "Change to Authentication Method",+ "path": "detections/sigma-imports/_quarantine/change-to-authentication-method.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "cloud",+ "severity": "medium",+ "mitre_techniques": [+ "T1556",+ "T1098"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "cloud",+ "identity"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:2(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "azure",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-50a0aa3d-ab16-4594-a8aa-5145a6e6792b","name": "Python One-Liners with Base64 Decoding",@@ -13256,6 +12531,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-bb76d96b-821c-47cf-944b-7ce377864492",+ "name": "Suspicious NTLM Authentication on the Printer Spooler Service",+ "path": "detections/sigma-imports/_quarantine/suspicious-ntlm-authentication-on-the-printer-spooler-service.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1212"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-bcfece3d-56fe-4545-9931-3b8e92927db1","name": "Winrs Local Command Execution",@@ -13434,6 +12734,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-cd185561-4760-45d6-a63e-a51325112cae",+ "name": "Live Memory Dump Using Powershell",+ "path": "detections/sigma-imports/_quarantine/live-memory-dump-using-powershell.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-ce72ef99-22f1-43d4-8695-419dcb5d9330","name": "Suspicious Windows Service Tampering",@@ -13536,6 +12861,65 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-d3adb3ef-b7e7-4003-9092-1924c797db35",+ "name": "AWS Identity Center Identity Provider Change",+ "path": "detections/sigma-imports/_quarantine/aws-identity-center-identity-provider-change.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1556"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "cloud",+ "identity"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "sigmahq-sigma-d557dc06-62e8-4468-a8e8-7984124908ce",+ "name": "HackTool - WinPwn Execution",+ "path": "detections/sigma-imports/_quarantine/hacktool-winpwn-execution.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1046",+ "T1082",+ "T1106",+ "T1518",+ "T1548.002",+ "T1552.001",+ "T1555",+ "T1555.003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:8(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-d59d7842-9a21-4bc6-ba98-64bfe0091355","name": "Powershell DNSExfiltration",@@ -13661,6 +13045,57 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-e4d22291-f3d5-4b78-9a0c-a1fbaf32a6a4",+ "name": "Potentially Suspicious ODBC Driver Registered",+ "path": "detections/sigma-imports/_quarantine/potentially-suspicious-odbc-driver-registered.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },+ {+ "id": "sigmahq-sigma-e7a21b5f-d8c4-4ae5-b8d9-93c5d3f28e1c",+ "name": "Suspicious DNS Query Indicating Kerberos Coercion via DNS Object SPN Spoofing",+ "path": "detections/sigma-imports/_quarantine/suspicious-dns-query-indicating-kerberos-coercion-via-dns-object-spn-spoofing.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1557.001",+ "T1187"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:2(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-efc21479-9e83-41da-8cf1-122e06ba8db3","name": "HackTool - NetExec File Indicators",@@ -13819,6 +13254,32 @@"log_source_product": "aws","has_executable_body": true},+ {+ "id": "sigmahq-sigma-f598ea0c-c25a-4f72-a219-50c44411c791",+ "name": "Possible Shadow Credentials Added",+ "path": "detections/sigma-imports/_quarantine/possible-shadow-credentials-added.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1556"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "identity"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-f72aa3e8-49f9-4c7d-bd74-f8ab84ff9bbb","name": "Suspicious RDP Redirect Using TSCON",@@ -13845,6 +13306,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-f7644214-0eb0-4ace-9455-331ec4c09253",+ "name": "Kerberos Manipulation",+ "path": "detections/sigma-imports/_quarantine/kerberos-manipulation.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1212"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-fa3c117a-bc0d-416e-a31b-0c0e80653efb","name": "Chopper Webshell Process Pattern",diff --git a/apps/web/public/marketplace/index.json b/apps/web/public/marketplace/index.jsonindex 747fe4c41..f033f6b1d 100644--- a/apps/web/public/marketplace/index.json+++ b/apps/web/public/marketplace/index.json@@ -1,7 +1,7 @@{"$schema": "https://example.com/schemas/marketplace/v1.json","version": "1.0.0",- "generated": "2026-10-04T15:38:08Z",+ "generated": "2026-10-09T00:36:36Z","categories": [{"id": "playbooks",@@ -38,14 +38,14 @@"imported": 6113,"stable": 877},- "executable": 2767,- "quarantined": 4388,- "executable_detections": 2603,- "reference_only_detections": 4388,+ "executable": 2693,+ "quarantined": 4462,+ "executable_detections": 2529,+ "reference_only_detections": 4462,"not_a_detection": 164},"mitre_coverage": {- "unique_techniques": 391,+ "unique_techniques": 389,"techniques": {"T1001.003": 1,"T1003": 21,@@ -62,11 +62,11 @@"T1011": 1,"T1012": 8,"T1016": 3,- "T1018": 15,+ "T1018": 14,"T1020": 3,"T1021": 4,"T1021.001": 10,- "T1021.002": 24,+ "T1021.002": 23,"T1021.003": 8,"T1021.004": 4,"T1021.005": 1,@@ -92,14 +92,14 @@"T1037.004": 2,"T1039": 2,"T1040": 8,- "T1041": 9,- "T1046": 11,+ "T1041": 8,+ "T1046": 10,"T1047": 34,"T1048": 8,"T1048.001": 1,- "T1048.003": 5,+ "T1048.003": 4,"T1049": 4,- "T1052": 2,+ "T1052": 1,"T1052.001": 1,"T1053": 4,"T1053.001": 1,@@ -129,7 +129,6 @@"T1069": 3,"T1069.001": 12,"T1069.002": 11,- "T1069.003": 1,"T1070": 17,"T1070.001": 3,"T1070.002": 1,@@ -138,29 +137,29 @@"T1070.005": 4,"T1070.006": 1,"T1071": 7,- "T1071.001": 16,- "T1071.004": 12,+ "T1071.001": 14,+ "T1071.004": 11,"T1072": 4,"T1074.001": 4,- "T1078": 51,+ "T1078": 50,"T1078.001": 5,"T1078.002": 7,"T1078.003": 2,- "T1078.004": 49,+ "T1078.004": 47,"T1082": 13,"T1083": 9,"T1087": 10,"T1087.001": 10,- "T1087.002": 19,- "T1087.004": 5,+ "T1087.002": 18,+ "T1087.004": 2,"T1090": 16,"T1090.001": 4,"T1090.002": 1,"T1090.003": 9,"T1091": 1,- "T1095": 5,- "T1098": 47,- "T1098.001": 22,+ "T1095": 4,+ "T1098": 44,+ "T1098.001": 19,"T1098.003": 6,"T1098.004": 6,"T1098.007": 1,@@ -168,11 +167,11 @@"T1102.002": 1,"T1105": 49,"T1106": 6,- "T1110": 23,- "T1110.001": 7,+ "T1110": 18,+ "T1110.001": 5,"T1110.002": 1,- "T1110.003": 4,- "T1110.004": 4,+ "T1110.003": 1,+ "T1110.004": 3,"T1112": 58,"T1113": 7,"T1114": 1,@@ -195,10 +194,10 @@"T1134.003": 3,"T1134.004": 1,"T1135": 7,- "T1136": 3,- "T1136.001": 12,+ "T1136": 2,+ "T1136.001": 11,"T1136.002": 3,- "T1136.003": 4,+ "T1136.003": 2,"T1137": 4,"T1137.002": 1,"T1137.003": 1,@@ -211,7 +210,7 @@"T1190": 39,"T1195": 3,"T1195.001": 1,- "T1195.002": 9,+ "T1195.002": 8,"T1197": 13,"T1199": 12,"T1200": 3,@@ -252,15 +251,15 @@"T1484": 1,"T1484.001": 8,"T1484.002": 2,- "T1485": 34,- "T1486": 12,+ "T1485": 29,+ "T1486": 11,"T1489": 10,"T1490": 20,"T1491.001": 2,"T1496": 4,"T1497.001": 1,- "T1498": 4,- "T1498.001": 2,+ "T1498": 3,+ "T1498.001": 1,"T1498.002": 2,"T1499": 1,"T1499.001": 1,@@ -274,8 +273,8 @@"T1526": 2,"T1528": 9,"T1529": 3,- "T1530": 35,- "T1531": 10,+ "T1530": 27,+ "T1531": 7,"T1535": 1,"T1537": 7,"T1539": 6,@@ -319,7 +318,7 @@"T1550.003": 4,"T1550.004": 1,"T1552": 3,- "T1552.001": 20,+ "T1552.001": 17,"T1552.002": 3,"T1552.004": 7,"T1552.005": 1,@@ -331,11 +330,11 @@"T1553.004": 9,"T1553.005": 5,"T1554": 3,- "T1555": 9,+ "T1555": 8,"T1555.001": 5,"T1555.003": 9,"T1555.004": 3,- "T1555.005": 2,+ "T1555.005": 1,"T1556": 43,"T1556.001": 1,"T1556.003": 1,@@ -349,7 +348,7 @@"T1558": 3,"T1558.001": 2,"T1558.002": 2,- "T1558.003": 16,+ "T1558.003": 15,"T1558.004": 4,"T1559.001": 3,"T1559.002": 1,@@ -373,14 +372,13 @@"T1565": 2,"T1565.001": 3,"T1565.002": 1,- "T1566": 6,+ "T1566": 5,"T1566.001": 15,"T1566.002": 2,- "T1567": 18,+ "T1567": 16,"T1567.001": 1,- "T1567.002": 18,- "T1568.001": 2,- "T1568.002": 3,+ "T1567.002": 15,+ "T1568.002": 2,"T1569": 1,"T1569.002": 29,"T1570": 5,@@ -408,7 +406,7 @@"T1589.002": 1,"T1590.001": 1,"T1590.002": 1,- "T1592": 2,+ "T1592": 1,"T1593.003": 1,"T1595": 1,"T1595.002": 1,@@ -425,7 +423,7 @@"T1614.001": 2,"T1615": 4,"T1620": 4,- "T1621": 7,+ "T1621": 5,"T1622": 1,"T1647": 1,"T1649": 4,@@ -439,7 +437,7 @@"T1686.003": 10,"T1689": 1},- "total_with_mitre": 2472,+ "total_with_mitre": 2398,"unique_techniques_all_rules": 493,"techniques_all_rules": {"T1001.003": 2,@@ -30812,10 +30810,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/rate-limit-burst.yaml",- "sha256": "81da163e5d78188214229399302fcf050e86b64f5e683d9856d1521542f054ee"+ "quarantine_reason": "superseded by the windowed rule wd-rate-limit-burst; this stateless form named a counter no source emits",+ "sha256": "d6cd2f5fe9f5881e7d785db49aad9cda0afa45e3c6b727de11cccbc849468c36"},{"id": "det-application-009",@@ -31087,10 +31086,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/api-mass-enumeration-ids.yaml",- "sha256": "35cd0f0eb9a093eb0a790efc8b52ff0246cd79f9bbe60d58b0c4cfa624f56517"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct object ids per source, and no WAF or application source in this tree surfaces the requested object id as a field \u2014 the engine would count nothing. Revisit when the activity projection lands a `resource` field (depth plan 2.2).",+ "sha256": "a341f99d9353fb8aa7b55cca497b9e2ce7888177a1ce1d343cf1687df2e588a3"},{"id": "det-application-020",@@ -31212,10 +31212,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/saas-mass-share-public.yaml",- "sha256": "72c83cfff9ac33fb3bf97c094febe1dc2a9b01798bc1f71d7f50002130ef03df"+ "quarantine_reason": "superseded by the windowed rule wd-saas-mass-share-public; this stateless form named a counter no source emits",+ "sha256": "dd371b2dfe0e4a36598eb67bf72ea7f8fbec2036c78a36e0629e3b7fd0f14e75"},{"id": "det-application-025",@@ -31612,10 +31613,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-account-enum-reset.yaml",- "sha256": "39b35d2bbe7c42ad8dddd06f321ad83ff342598554734c19a70bad6a0076c82f"+ "quarantine_reason": "superseded by the windowed rule wd-app-account-enum-reset; this stateless form named a counter no source emits",+ "sha256": "ca784d9be605f1a34bf0fae00af57d67a84189c411f13a6f75c985a11036884d"},{"id": "det-application-041",@@ -31987,10 +31989,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-docker-insecure-registry-flag.yaml",- "sha256": "571654c2fd02fccb3b3146be9f4420959e01127cce20a9d06a68998b645fd5a8"+ "quarantine_reason": "not executable (not-windowed): `insecure_registries_count` is the length of a list inside one daemon config event, not a count over a window. The reachability gate reads it as windowed because the name ends in `_count`.",+ "sha256": "08232f1c7b5b3490b6aa4e79de04213f0e8350d90f30e1b02ea4f98216cceb6f"},{"id": "det-application-056",@@ -32062,10 +32065,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-salesforce-mass-export.yaml",- "sha256": "72bbff628f51b8b4e7aa61f7a8b6f0dd301ae906580a56c43d977859b41a604d"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ "sha256": "18d46ceb2934492bba36d21de5a7138a64de2bc973c57a089ecf4a0e14e25908"},{"id": "det-application-059",@@ -32162,10 +32166,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-box-public-link-mass-create.yaml",- "sha256": "cf92c561eb1991d82444053a99d2a9d2231a0daae9b8e8729fea68426a6e82d6"+ "quarantine_reason": "superseded by the windowed rule wd-app-box-public-link-mass-create; this stateless form named a counter no source emits",+ "sha256": "7a2750d91a204fcd59a160aa07d9b2e7ece603e8c4766a4016ec410a6f171ef3"},{"id": "det-application-063",@@ -32237,10 +32242,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-servicenow-record-export-bulk.yaml",- "sha256": "40ec8c992135e5af7b5f053a3ceec3f03b3c7bcbc4a3b4c55a9ec008cc0856bc"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The ServiceNow connector does not surface it.",+ "sha256": "2d88e18502daf69b2c75b66c63dccef87c25687a8c39a493059822be4e4de26c"},{"id": "det-application-066",@@ -32813,10 +32819,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-enumeration.yaml",- "sha256": "304e0557b80a04aad978cdb4b860342fb080f14fd834d5795449d4c4f1af9c6a"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-enumeration; this stateless form named a counter no source emits",+ "sha256": "a1f60811c87292b8cab480f0aad935d6734dd2ab1e891da535526d7783edc0a2"},{"id": "det-cloud-003",@@ -33143,10 +33150,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-s3-mass-getobject.yaml",- "sha256": "6ccc6f122f905dff87f6a00123999f9ac198926b24c74f10b804ab61bb2b8abe"+ "quarantine_reason": "superseded by the windowed rule wd-aws-s3-mass-getobject; this stateless form named a counter no source emits",+ "sha256": "0fde5d59050ccdabe54aabd82c23b67ed39ce794213d75c68858a086a4a6cb11"},{"id": "det-cloud-016",@@ -33393,10 +33401,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-resource-mass-delete.yaml",- "sha256": "16261b9181ef8238dc0880480d3abfb810e6c8df9cf2d35bf65df47a33b1f21e"+ "quarantine_reason": "superseded by the windowed rule wd-azure-resource-mass-delete; this stateless form named a counter no source emits",+ "sha256": "fed6ffde1508e24b474184bbc3cbcc350b23ab067cd2fccda9eaa0c94f5f1887"},{"id": "det-cloud-026",@@ -33619,10 +33628,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-secret-manager-mass-export.yaml",- "sha256": "0771f6f2575981a558e4f0cf7d6d4a83cf51472c9a18f19d7c86a19ec1c2f5c1"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-secret-manager-mass-export; this stateless form named a counter no source emits",+ "sha256": "d96938e05b66df327ee77acc83880315e9ac3aa81087f4cff4640d1add05267a"},{"id": "det-cloud-035",@@ -34022,10 +34032,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-create-user-burst.yaml",- "sha256": "76c6fbdd88f82ad2be5f24de4e9ad8317dcd57680bf3eb5ee21fa0100e4b7780"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-create-user-burst; this stateless form named a counter no source emits",+ "sha256": "2a2edcbcde6c466b8374fde6de22dba3d9c96fa8b4e56bd1e9e15a36d72b3293"},{"id": "det-cloud-051",@@ -34047,10 +34058,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-account-summary-recon.yaml",- "sha256": "9d007c619fae1bc3d815423530ea868e1cf21bfb5e45b13386281f750c5cbba2"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-account-summary-recon; this stateless form named a counter no source emits",+ "sha256": "12818092ce2aae207ba18e4cedb9a9867bce748862756d1439d0ee41e24c0ec6"},{"id": "det-cloud-052",@@ -34072,10 +34084,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-list-keys-recon.yaml",- "sha256": "17cac93a054bc8c701a5fd9748c29c8216cb45ef7603cd547ad828bea580e551"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct *target* users of ListAccessKeys. CloudTrail carries that in `requestParameters.UserName`, and the matcher has no dotted-path traversal, so the connector's `user_name` is the caller rather than the target. Counting the caller would be a different detection.",+ "sha256": "6f9a181b45fac60c7cf2f961275de26811a1412ba1535bbd25aa03874cf795cf"},{"id": "det-cloud-053",@@ -34297,10 +34310,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-s3-mass-deleteobject.yaml",- "sha256": "08fbcb7ac1876e6d5c42a0670e802cd56a5738ff7fb28b52674b71504e7376e0"+ "quarantine_reason": "superseded by the windowed rule wd-aws-s3-mass-deleteobject; this stateless form named a counter no source emits",+ "sha256": "ea48892082f49a53720b5c75e4e39328603cb561bb00e06d806c58cb94d65d24"},{"id": "det-cloud-062",@@ -34998,10 +35012,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-secretsmanager-mass-getsecret.yaml",- "sha256": "d593df7dfed0a9f0034f85f8a069a36762e1e339ae7c9839100d2731ae172723"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct secrets, which CloudTrail carries in `requestParameters.SecretId`; the connector surfaces no secret identifier, so the engine has nothing to be distinct about.",+ "sha256": "c9e262d368b95d81a0069cebfc598519f6ab43fab01b8978729b0d15ff82b070"},{"id": "det-cloud-090",@@ -35448,10 +35463,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-ad-bulk-user-creation.yaml",- "sha256": "16dc2a330e26f0ed98d3a6cf2839e57a509220a46a338004a3626e2a9fb666ed"+ "quarantine_reason": "superseded by the windowed rule wd-azure-ad-bulk-user-creation; this stateless form named a counter no source emits",+ "sha256": "c2c6029621942ade6d66bde78cd9c762ce12a9327ac5a84178c2b239fca0298e"},{"id": "det-cloud-108",@@ -35523,10 +35539,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-ad-bulk-license-assignment.yaml",- "sha256": "a29bf20b144444553ae995cfb0eaad9c47366b505816b078c9e6096830c0d609"+ "quarantine_reason": "superseded by the windowed rule wd-azure-ad-bulk-license-assignment; this stateless form named a counter no source emits",+ "sha256": "92abc9bcfb427f0b836e1d1656694b48122997e1cb55100a49659a7a9477c259"},{"id": "det-cloud-111",@@ -35673,10 +35690,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-arm-locks-removed-bulk.yaml",- "sha256": "ca1c950a12eb928473ff08c28eaf27ca5083a7039ad9090f06f9761c2fee26eb"+ "quarantine_reason": "superseded by the windowed rule wd-azure-arm-locks-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "05e36370354d762c3f3798c54d3889701aceb57a52995b0b6bd9346844a6a7c7"},{"id": "det-cloud-117",@@ -35723,10 +35741,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-arm-mass-resource-modify.yaml",- "sha256": "404127a1704077d786feaa87417441b3929a19ba53673de55bc0e29b7f82d38f"+ "quarantine_reason": "superseded by the windowed rule wd-azure-arm-mass-resource-modify; this stateless form named a counter no source emits",+ "sha256": "888fd3d543b31409c54d7e8c8b154f203269df1b39875cf9b56b5594f33d02f5"},{"id": "det-cloud-119",@@ -35948,10 +35967,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-keyvault-secret-mass-get.yaml",- "sha256": "c483e02bd23bd1953a3e5892f1ea013bddc3cf4af220f8f362b68b552f2b38f7"+ "quarantine_reason": "superseded by the windowed rule wd-azure-keyvault-secret-mass-get; this stateless form named a counter no source emits",+ "sha256": "ca2c5f00de963f8414877676769ea18bb8410bf30038168dcf910f4915a87fee"},{"id": "det-cloud-128",@@ -36323,10 +36343,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-iam-service-account-key-mass-create.yaml",- "sha256": "0f5df424efe9297df53063710f3a8ab61328e5aa7653e068ce3d700076c4f722"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-iam-service-account-key-mass-create; this stateless form named a counter no source emits",+ "sha256": "e2d2790bd174aa1d27e7d3bafd2a75f97029a7fec2eebe8e9d03ff7950a32a19"},{"id": "det-cloud-143",@@ -36373,10 +36394,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-iam-impersonation-burst.yaml",- "sha256": "8cba5a7357d029e627bcd5e78a6350112ed3c1fe2a327f064f0c30f6bd770931"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct impersonation *targets*. The GCP audit connector emits the caller (`actor`) and no target service account, so nothing identifies what is being impersonated.",+ "sha256": "8dd757d9c09438e477aad23848dc5754fb44632ddc799255528bad8511854a61"},{"id": "det-cloud-145",@@ -36473,10 +36495,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-gcs-mass-delete.yaml",- "sha256": "7a22d5ed005cead7804483558975d97cdf6d3b4aed48dd34c734e3b8ebdb5559"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-gcs-mass-delete; this stateless form named a counter no source emits",+ "sha256": "874b3c7d54d1d714100224ab0b818d3c9550d7978dfef1e700e3ba6132706f1c"},{"id": "det-cloud-149",@@ -36723,10 +36746,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-bq-mass-export.yaml",- "sha256": "08c476fdd42babeee5f382082770a96d0d2111b00486969183defeaf14655e96"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-bq-mass-export; this stateless form named a counter no source emits",+ "sha256": "adf82d71c1bfaaa32e329584e0f50ce226e56e451267273646b2a830bb48f1d9"},{"id": "det-cloud-159",@@ -36948,10 +36972,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/k8s-secret-mass-get.yaml",- "sha256": "37cf655ac9ed8cb06bdd5ffd5aba4b056119941a564654bcb450efa73e45c42e"+ "quarantine_reason": "superseded by the windowed rule wd-k8s-secret-mass-get; this stateless form named a counter no source emits",+ "sha256": "9787f5e532cf8778168a2ca3609e820bdd50b27361849c294ed0c40eb1337457"},{"id": "det-cloud-168",@@ -37423,10 +37448,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml",- "sha256": "b6f761129d162c02e4940e863a6fd257529e17501fbb628381e21d7571abb260"+ "quarantine_reason": "not executable (aggregate): `bytes_out_per_minute` is a sum of a numeric field over the window. The engine counts occurrences and distinct values; it adds nothing up, so a gigabyte in one transfer and a gigabyte in a thousand are the same count to it.",+ "sha256": "7b5413b7a942507984c4cf1202929c11ffb34a2f70147b52065a69ea4d11e06b"},{"id": "det-cloud-187",@@ -38505,10 +38531,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/large-egress-personal-cloud.yaml",- "sha256": "eb8402dc3f1e0cc3ca5aa0803383e6f25bc1721df0155785d50ed937b41c1a9e"+ "quarantine_reason": "not executable (not-windowed): carries a `time_window_minutes_lt` clause and no counter at all, so there is nothing to accumulate. `bytes_out` is a per-event proxy field; the window clause is vestigial and is what makes the rule unreachable. Deleting that one clause is a content decision, not a translation.",+ "sha256": "cff7d6e248fcd64de67fd19a88a672379a7216813217fe519b8355545d124999"},{"id": "det-data-exfil-002",@@ -38530,10 +38557,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/egress-spike-baseline.yaml",- "sha256": "653475a9aa55dc00d90200d659dfca6c9c8cb34a840f7cd47e4d3729aa87dcfe"+ "quarantine_reason": "not executable (aggregate): needs a sum of `bytes_out` per source and a z-score against a learned baseline. Both are out of scope for a counting engine (the baseline arrives with depth plan 3.4).",+ "sha256": "424872b43d159017f5a8620d1ab24619df423f8b4433e4a45f57fa57f7a41a78"},{"id": "det-data-exfil-003",@@ -38631,10 +38659,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/salesforce-bulk-export.yaml",- "sha256": "2f35ea6879cab1f19d7ec673a65f6a22bd4b18cea70fd36edd39e728940c178d"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ "sha256": "26883bcf44dab64327a579056543fa85cee37b2a7f9ebd7cec2ac51a996a8d68"},{"id": "det-data-exfil-007",@@ -38681,10 +38710,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/db-mass-row-read.yaml",- "sha256": "7de65520911f07c3588c176cad44b065325961ca3b6c0fd136ec66920a4595a0"+ "quarantine_reason": "not executable (aggregate): needs a sum of rows read per session and a z-score against a learned baseline; the engine computes neither.",+ "sha256": "ea09b41263ee91c7e16c585b8b9546f545bbc1405c5e8be0a9cc182a5c2cfd67"},{"id": "det-data-exfil-009",@@ -38807,10 +38837,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/printer-mass-print-confidential.yaml",- "sha256": "9e0aefacacd2b8815f8ebb820c8342c27de284bd870f133868633f11c854a0c5"+ "quarantine_reason": "not executable (aggregate): `page_count_per_user` sums pages across print jobs. Counting jobs instead would fire on 500 one-page prints and miss one 1,500-page print, which inverts what the rule is for.",+ "sha256": "6b57f770030cdb02c6a28727d254e1d7f2687826960cd1d96cdc95d2e0c5e05e"},{"id": "det-data-exfil-014",@@ -38932,10 +38963,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/container-mass-image-export.yaml",- "sha256": "48c18e0a641c00a7d0ef2c936a5d6dc6b92b0a66849c7512e7be697587ed59ee"+ "quarantine_reason": "superseded by the windowed rule wd-container-mass-image-export; this stateless form named a counter no source emits",+ "sha256": "7e8fbc532b3a248700664237f61c4fde2d55f8767f9d732551124d35747a8fa8"},{"id": "det-data-exfil-019",@@ -38983,10 +39015,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/secrets-mass-fetch.yaml",- "sha256": "be1c3076bfa548b3c9a7c01be00da2987359b81cac27f574715abea4718399f1"+ "quarantine_reason": "superseded by the windowed rule wd-secrets-mass-fetch; this stateless form named a counter no source emits",+ "sha256": "e2f3de8ee0b6bdd78836cf9dc35490c76c5d9f5e0f158087e355207386012328"},{"id": "det-endpoint-001",@@ -39058,10 +39091,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/endpoint/ransomware-file-extension-change.yaml",- "sha256": "022552298877ee4430201bd15b408efca222b1fcb8574b366955f648d149f55c"+ "quarantine_reason": "superseded by the windowed rule wd-ransomware-file-extension-change; this stateless form named a counter no source emits",+ "sha256": "53820bc0d41024bd4b63288619edad669938d2695c92c74e8c741a26f228ace3"},{"id": "det-endpoint-004",@@ -46646,10 +46680,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/brute-force-login.yaml",- "sha256": "d3a12403d8301306827a11de1bf4d3f06124a699c4647fafcc36628895fdc4ed"+ "quarantine_reason": "superseded by the windowed rule wd-brute-force-login; this stateless form named a counter no source emits",+ "sha256": "655b3071468f624b3e43b8612244f12a5ecd0df1afa1672efdf8447d8c78625b"},{"id": "det-identity-002",@@ -46696,10 +46731,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/password-spray.yaml",- "sha256": "5d5000a11b71725bfdacd6b6cd0ffb1e55fddd22f99dd5289ef53dc5af629925"+ "quarantine_reason": "superseded by the windowed rule wd-okta-password-spray; this stateless form named a counter no source emits",+ "sha256": "8a95c7a3821eb6bb005c3c30a9c00609e591f70ff51ef99472417e372684bae4"},{"id": "det-identity-004",@@ -46821,10 +46857,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/mfa-fatigue.yaml",- "sha256": "9e7fa58685ace079a1d5aabc25eb0f87f8a2cfd26449a02602f1aea5a39481ad"+ "quarantine_reason": "superseded by the windowed rule wd-okta-mfa-push-bombing; this stateless form named a counter no source emits",+ "sha256": "9e0540d3832709679cf31b87867c546bc9b2c5e437109b18a405994ae8bc6e88"},{"id": "det-identity-009",@@ -46971,10 +47008,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/shared-account-login-spike.yaml",- "sha256": "49d0fd4644419aadd6c524d97109d98f1bdbb03c53a57faa836277c9743d58dc"+ "quarantine_reason": "superseded by the windowed rule wd-shared-account-login-spike; this stateless form named a counter no source emits",+ "sha256": "a3cc6c9769d04a19a2cdb128019456c164802a7c5c23352a001f5c7fdf7c8427"},{"id": "det-identity-015",@@ -47421,10 +47459,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/kerberoasting.yaml",- "sha256": "e47442963dfbe3d8b196da4ccec625e365151c427779b19218b66274d45ce4f9"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct service principal names requested per account. Windows 4769 carries the SPN in `ServiceName`, which no source in this tree lifts, so there is nothing to be distinct about.",+ "sha256": "ad722793a720b7f38cacace4b71f6739ef370541a4b641bc73ad3a259699b0a2"},{"id": "det-identity-033",@@ -47646,10 +47685,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-password-spray-many-targets.yaml",- "sha256": "acbcc9071211e2b449a6d7ddafad985df383a545e2113ad490da2d31f6cf547d"+ "quarantine_reason": "not executable (aggregate): pairs a distinct-user count with a `tries_per_user` ceiling, which is a mean inside the window. Keeping only the distinct half would widen the rule into a brute-force detection `wd-bruteforce-auth` already covers.",+ "sha256": "117f5c21f5682968e9ca5d728e45673d2113b51d3fbc7e37c1789b24eb808354"},{"id": "det-identity-042",@@ -47671,10 +47711,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-password-spray-distributed.yaml",- "sha256": "ba7ee636198c0507154f0d0de95cd3829c0314f4758fe3ac0d564e90d8f9b698"+ "quarantine_reason": "superseded by the windowed rule wd-ident-password-spray-distributed; this stateless form named a counter no source emits",+ "sha256": "ab535d70302fff58a428a79364c86a77b1a4c59d8bb7b9e48947a94d6e299f8d"},{"id": "det-identity-043",@@ -47696,10 +47737,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-credstuffing-known-breached-list.yaml",- "sha256": "5edff83321b0a0cebcefe359fa65905a02735486b1c3ce976b09da0a47095329"+ "quarantine_reason": "superseded by the windowed rule wd-ident-credstuffing-known-breached-list; this stateless form named a counter no source emits",+ "sha256": "0e86726aaafb9c4c19070e80935dcf3cde8c65ac3ece3a501096347dd71a1595"},{"id": "det-identity-044",@@ -47821,10 +47863,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-mfa-fatigue-burst.yaml",- "sha256": "bdb3f4000a44dff44649c7500fbf80d282792e3fd8f6af18f270f3699571b459"+ "quarantine_reason": "superseded by the windowed rule wd-ident-mfa-fatigue-burst; this stateless form named a counter no source emits",+ "sha256": "2f0612bddeba2a522dc88750b20309bec3b108909189f7690e17a19c44ebf394"},{"id": "det-identity-049",@@ -47871,10 +47914,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-account-locked-many-times.yaml",- "sha256": "3a10550d0bcb6de79e8f2dc9521ae1b0af6cf1f602b4824f950cfa56796d308c"+ "quarantine_reason": "superseded by the windowed rule wd-ident-account-locked-many-times; this stateless form named a counter no source emits",+ "sha256": "30b2d58e606fe709df81cf981f675e945fef3a0ee274541f2274e38b13e758e9"},{"id": "det-identity-051",@@ -48246,10 +48290,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-totp-skewed-clock.yaml",- "sha256": "2a68b98b0374d54a545c0847ebbcbda6fd8f9892468fc0741a2a6c85f7cef69a"+ "quarantine_reason": "superseded by the windowed rule wd-ident-totp-skewed-clock; this stateless form named a counter no source emits",+ "sha256": "febfc2edf78212322d700a9c1d33d0ad3a3001245f55f58e379860233f489b49"},{"id": "det-identity-066",@@ -48396,10 +48441,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-priv-role-burst-granted.yaml",- "sha256": "0436e7689b478465ae07b5b5f51c577a189a6dd717197f8dcb917080c584eba1"+ "quarantine_reason": "superseded by the windowed rule wd-ident-priv-role-burst-granted; this stateless form named a counter no source emits",+ "sha256": "b275110b06293cd9df693f3ae1472d0f1ae7af97894935a4f3ab4d9ada08c5d6"},{"id": "det-identity-072",@@ -48521,10 +48567,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-priv-role-removed-bulk.yaml",- "sha256": "dcaf7a842e5921193d608c309314de78998127c11a5ef0a87528ab548c0a0a35"+ "quarantine_reason": "superseded by the windowed rule wd-ident-priv-role-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "3d5cfe4d3bf16641024b8a7338a5dd6ee8b5c5e62b24237a852aab4b0a19e0eb"},{"id": "det-identity-077",@@ -48546,10 +48593,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-orphan-svc-acct-many-keys.yaml",- "sha256": "933ade67ee315007fccaab232b78e1f2618e05f3a1e70a8cfc0126b298fea62d"+ "quarantine_reason": "not executable (not-windowed): `active_keys_per_account` is the state of an account at one moment, reported by an inventory event. A window counts what happened, not what is true; this needs the posture snapshot (depth plan 2.5).",+ "sha256": "9be9d853f159833edcf0afd6b1cf9f702526ec7911cc5ff501aaf0f600f9c036"},{"id": "det-identity-078",@@ -48796,10 +48844,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-ad-machine-account-quota-abuse.yaml",- "sha256": "62c0a6fe579a8b95fa47a5f5483f37992df331cae9fe1d3b9eac42220db6a57c"+ "quarantine_reason": "superseded by the windowed rule wd-ident-ad-machine-account-quota-abuse; this stateless form named a counter no source emits",+ "sha256": "19209213b458f51b88058c4464eeed6b2d80f8729225e1d7886bce02709ca37a"},{"id": "det-identity-088",@@ -49021,10 +49070,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-kerberos-failure-spike-from-host.yaml",- "sha256": "ee42e0daee55690e475fcdf7426f0ee52f28dec2325ee71919c94fc3e6acabd4"+ "quarantine_reason": "superseded by the windowed rule wd-ident-kerberos-failure-spike-from-host; this stateless form named a counter no source emits",+ "sha256": "11d56dd7cfe89b12cd755af82120ac7645d667087924fcc4e5d667ed7a88b2e5"},{"id": "det-identity-097",@@ -49271,10 +49321,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-okta-admin-app-assigned-many-users.yaml",- "sha256": "43f08f14eeb9a97ad953a6078e60bfb7b8a2cc92c13803a1dbb8dd1669a70446"+ "quarantine_reason": "superseded by the windowed rule wd-ident-okta-admin-app-assigned-many-users; this stateless form named a counter no source emits",+ "sha256": "f223dd4c655d4926345b9de6c1b1dff3efc70fc6d09dd4d83fd6455c6ee78e74"},{"id": "det-identity-107",@@ -49546,10 +49597,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-okta-mass-deactivate-users.yaml",- "sha256": "c7632b4a6f4a7294d11cc8672e838cafaa3ef443be5867fa519fb4e4bd5c59ad"+ "quarantine_reason": "superseded by the windowed rule wd-ident-okta-mass-deactivate-users; this stateless form named a counter no source emits",+ "sha256": "e31587a149d39b590dca9e9ddc8d7ef9a4f5b748f765930918372e30ee85d624"},{"id": "det-identity-118",@@ -49846,10 +49898,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-ping-admin-role-burst.yaml",- "sha256": "3747c320c44b54a32f4b9a7a4f47ad7b4447611cb127c26f0fed66976c25ea69"+ "quarantine_reason": "superseded by the windowed rule wd-ident-ping-admin-role-burst; this stateless form named a counter no source emits",+ "sha256": "747a1f844378e90c56961797e6dd17843a50f845c3abae6341e70c9a36522bfe"},{"id": "det-identity-130",@@ -50071,10 +50124,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-oidc-many-clients-from-single-actor.yaml",- "sha256": "f9a5b7754bf16d90d6161c7727d96677443728aea32c8d3c35a7cfc945fe65db"+ "quarantine_reason": "superseded by the windowed rule wd-ident-oidc-many-clients-from-single-actor; this stateless form named a counter no source emits",+ "sha256": "4b158fca1d6ccdeab39ad515551592e631e3b4b9a6fd2396c440da6b0e5350d7"},{"id": "det-identity-139",@@ -50496,10 +50550,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-github-org-collaborator-removed-bulk.yaml",- "sha256": "2b5695b8a9f752d5fd161e8e90f322821dc00b616616448a071ad0f4dd1c8763"+ "quarantine_reason": "superseded by the windowed rule wd-ident-github-org-collaborator-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "279068b5a71ddf9125aa7b1cf1b6f0e83cdcaa761e2a194a3618f7b1eb760942"},{"id": "det-identity-156",@@ -50521,10 +50576,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-github-deploy-key-added-org-wide.yaml",- "sha256": "31597897bb8b0a6af8a852689610f456ccebd525c97ee435bba1e07fdc289a12"+ "quarantine_reason": "superseded by the windowed rule wd-ident-github-deploy-key-added-org-wide; this stateless form named a counter no source emits",+ "sha256": "77f95373794530900f68dcf340bbf424c147c44bfc9baea79fb08f8c066bc851"},{"id": "det-identity-157",@@ -50646,10 +50702,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/c2-beacon-high-frequency.yaml",- "sha256": "8cc24269f77c5f8c66b7383f42835fcbab6352988ee17560ee7522b60499e42b"+ "quarantine_reason": "not executable (aggregate): `interval_consistency` is the regularity of inter-arrival times across the window \u2014 a variance, not a count. Keeping only the connection count turns a beacon detection into a chatty-host detection.",+ "sha256": "961a20687e2ecdfcf3133d99897c429b37b084f2352efd6efa9e5dcdf369f6ad"},{"id": "det-network-002",@@ -50671,10 +50728,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/dns-data-exfiltration.yaml",- "sha256": "82874ea6ea82a9359a779e8a4d249a4e88fa66ee1bad029f885029755174973a"+ "quarantine_reason": "not executable (aggregate): `avg_subdomain_len` is a mean over the window. Dropping it leaves '100 DNS queries in 30 minutes', which every workstation clears.",+ "sha256": "208f9b32ecc07c73bd5713f396451b1831164e60b3f78b5fa0855200a57c6b3e"},{"id": "det-network-003",@@ -50696,10 +50754,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/port-scan-internal.yaml",- "sha256": "361f061dbbd69153aa26b257c4aee729e550b2e639a091f9c8617e6ffc49bf89"+ "quarantine_reason": "not executable (multi-distinct): requires distinct destination ports *and* distinct destinations per source. The engine holds one distinct operand per rule; splitting this into two rules would fire twice on one scan and once on neither half.",+ "sha256": "3fc069ed9663908f6521a6c6a7d41611ce905a581e817e1ba3c1a26166ebe9c0"},{"id": "det-network-004",@@ -50721,10 +50780,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ssh-failed-from-internet.yaml",- "sha256": "4540ebc8ca659bb3414ae514f09c19181be020d0857824c71642052d38bfce6c"+ "quarantine_reason": "superseded by the windowed rule wd-ssh-failed-from-internet; this stateless form named a counter no source emits",+ "sha256": "b6d4eaa64be49f609b6b0896f072f1417d14847583a179cc7a68d6c60a95c57e"},{"id": "det-network-005",@@ -50746,10 +50806,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/smb-lateral-movement.yaml",- "sha256": "3090822a773fa366d2d1bcbafa1678f3bc40a42da8b4f694260713135564b80a"+ "quarantine_reason": "superseded by the windowed rule wd-smb-lateral-movement; this stateless form named a counter no source emits",+ "sha256": "31c010bd53fe21f3398318c77c3de1e62b2e4613d15f82b260896e598b2d5434"},{"id": "det-network-006",@@ -50846,10 +50907,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/dns-fast-flux.yaml",- "sha256": "41f30b5415bdefa3d094bc86bd0dffa1bd0d257479b653297faa99027d381924"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct A records, which live as a list inside a single DNS response rather than one per event. The engine counts distinct values of one field per event, so it cannot see inside the answer set.",+ "sha256": "3b0c3eaf3c48bc3302fe1096f0279ef796ec9015e744381d420ce260a0bb3cd0"},{"id": "det-network-010",@@ -50921,10 +50983,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/icmp-tunnel.yaml",- "sha256": "fbbcf5c80e17db102f7dacb6eed86d1f9610cdf2dfbd0699af2c71d5405b4941"+ "quarantine_reason": "not executable (aggregate): `avg_payload_bytes` is a mean over the window, and `packet_count` is a per-flow sum. Counting flow records measures neither.",+ "sha256": "5b9d79468fd9119dd6c2b109bdc38c828094f354440351c84f4b6cc245aa7030"},{"id": "det-network-013",@@ -50996,10 +51059,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/egress-to-rare-asn.yaml",- "sha256": "64bee3753107cb428e95f179cdef7fd4aa964e62e986bad9171417b8eb7ac99e"+ "quarantine_reason": "not executable (rarity): fires when a destination ASN has been seen *fewer* than five times in thirty days. The engine fires when a count is high; a rarity signal needs the first-seen store (depth plan 3.3) and the baseline module (3.4).",+ "sha256": "e0ac3673e46f8aa467f5416ed59d1d8ba24b849e89c9e43258a76e81594c917f"},{"id": "det-network-016",@@ -51046,10 +51110,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ldap-bind-anomaly.yaml",- "sha256": "310bc5b1f556040d90b7d71a431b03537890b7fe72efee90912134a448c8dd71"+ "quarantine_reason": "superseded by the windowed rule wd-ldap-bind-anomaly; this stateless form named a counter no source emits",+ "sha256": "59344b7af75eee79c90402ef34d4bbc5dfb14ca0c4569feb15782ea9abad2476"},{"id": "det-network-018",@@ -51096,10 +51161,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ddos-syn-flood.yaml",- "sha256": "516820591074cbd2e139e7c6f8d637d773b5b5b32896e06e46e06feed17010d9"+ "quarantine_reason": "superseded by the windowed rule wd-ddos-syn-flood; this stateless form named a counter no source emits",+ "sha256": "337707d7dbec4e4607b0580235a1686fb4ca8bdc32640fde4ce93c1fb3178318"},{"id": "det-network-020",@@ -51146,10 +51212,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/internal-host-spamming-mail.yaml",- "sha256": "ba9caeed6a84b0a816ebb07efd616414689750a856ba5b6e67ba01cdb32d245f"+ "quarantine_reason": "superseded by the windowed rule wd-internal-host-spamming-mail; this stateless form named a counter no source emits",+ "sha256": "c5e750fd0be94d0b6a3bd01174f4070097d74c9609e815f10e01cdd3e5f5f9df"},{"id": "det-network-022",@@ -51447,10 +51514,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-nxdomain-spike.yaml",- "sha256": "00f3597377ca2805f7e24b3a01085723edb4ed2ac35d17468a880970ca69acb6"+ "quarantine_reason": "superseded by the windowed rule wd-net-dns-nxdomain-spike; this stateless form named a counter no source emits",+ "sha256": "1e63d5700b0a5986e3763082c934f06528f185722cc4f6c2b03460e2f86e74bc"},{"id": "det-network-034",@@ -51472,10 +51540,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-any-query-spike.yaml",- "sha256": "51b8dc0b30dce8338ac562d4e896311f56ac54eea3cb6982f9d1c83530d0ce29"+ "quarantine_reason": "superseded by the windowed rule wd-net-dns-any-query-spike; this stateless form named a counter no source emits",+ "sha256": "16264987165bc049c5aefae955df21e5e02cd3e72425d638d900e5973cbd3bda"},{"id": "det-network-035",@@ -51573,10 +51642,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-tunnel-pattern-len.yaml",- "sha256": "e3886c10249496ebc76861df49d919804a13c776280b9c651366be055cf8514c"+ "quarantine_reason": "not executable (not-windowed): `subdomain_hex_ratio` is a property of one query name, not a count over a window; the reachability gate reads it as windowed because the name ends in `_ratio`. It is cheap to derive from the query name and belongs with the derived fields, not here.",+ "sha256": "2fb9ca1247d28bcfa6f1c69770c1228dee25e10a4c3abb862b99d5202f0ad64d"},{"id": "det-network-039",@@ -51673,10 +51743,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-fast-flux.yaml",- "sha256": "f81dcbd3ddc763c67e15779a42e97baa5281ef834a90e2b7c5a52fb0d3668996"+ "quarantine_reason": "not executable (not-windowed): `answer_count` is the number of records in one DNS response, a per-event field, not a count over a window.",+ "sha256": "cf707dd8d385769c244ed8e0fb9cd1c2d92349b8ce8456909cf50a36c01ccd51"},{"id": "det-network-043",@@ -52623,10 +52694,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dhcp-starvation.yaml",- "sha256": "3a70653c3dc37de36157c56d349353a4a4a8d1c30377e757fb7e2e2e7bec8ea0"+ "quarantine_reason": "superseded by the windowed rule wd-net-dhcp-starvation; this stateless form named a counter no source emits",+ "sha256": "37f59330c3c08915c50a50b80206362455c4b45e87db7a6b2eba07f41c1a0c82"},{"id": "det-network-081",diff --git a/apps/web/src/data/corpus-stats.json b/apps/web/src/data/corpus-stats.jsonindex e215cd716..0891e9413 100644--- a/apps/web/src/data/corpus-stats.json+++ b/apps/web/src/data/corpus-stats.json@@ -1,21 +1,23 @@{- "executable": 2603,+ "executable": 2529,+ "windowed": 68,"onDisk": 6991,- "quarantined": 4388,+ "quarantined": 4462,"plugins": 77,"playbookPacks": 62,"playbooks": 87,"marketplaceItems": 7155,"categories": {- "application": 86,- "cloud": 257,- "data-exfil": 20,- "endpoint": 1983,- "identity": 176,- "network": 81+ "application": 78,+ "cloud": 237,+ "data-exfil": 13,+ "endpoint": 1982,+ "identity": 154,+ "network": 65},"generatedFrom": ["services/fusion/app/data/detection_ruleset.json",+ "services/fusion/app/data/windowed_ruleset.json","marketplace/index.json","docs/detections/truth-table.md"],diff --git a/apps/web/src/data/corpusStats.ts b/apps/web/src/data/corpusStats.tsindex 9a79e6828..1cd0542e7 100644--- a/apps/web/src/data/corpusStats.ts+++ b/apps/web/src/data/corpusStats.ts@@ -13,6 +13,13 @@ import data from './corpus-stats.json';/** Rules the fusion engine loads and evaluates. */export const EXECUTABLE_DETECTION_COUNT: number = data.executable;+/** Sliding-window rules, loaded by a second engine in the same worker.+ * Separate from EXECUTABLE_DETECTION_COUNT on purpose: a windowed rule+ * counts events for one entity over a window and has no YAML, so the two+ * figures come from different artefacts and must not be summed into one+ * 'detections' number. */+export const WINDOWED_DETECTION_COUNT: number = data.windowed;+/** Detection YAML indexed in the marketplace, quarantined rules included. */export const DETECTIONS_ON_DISK: number = data.onDisk;diff --git a/detections/application/api-mass-enumeration-ids.yaml b/detections/application/api-mass-enumeration-ids.yamlindex a6f98cc6f..b0f5c64f7 100644--- a/detections/application/api-mass-enumeration-ids.yaml+++ b/detections/application/api-mass-enumeration-ids.yaml@@ -18,7 +18,10 @@ detection:false_positives:- Bulk-export job (src must be in allowlist)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: 'not executable (operand-not-emitted): counts distinct object ids per source, and no+ WAF or application source in this tree surfaces the requested object id as a field — the engine would+ count nothing. Revisit when the activity projection lands a `resource` field (depth plan 2.2).'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/application/app-account-enum-reset.yaml b/detections/application/app-account-enum-reset.yamlindex e9b5fa27a..b65cc3989 100644--- a/detections/application/app-account-enum-reset.yaml+++ b/detections/application/app-account-enum-reset.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Internal load testplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-app-account-enum-reset; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/application/app-box-public-link-mass-create.yaml b/detections/application/app-box-public-link-mass-create.yamlindex ab55a543e..a1cfa6ccd 100644--- a/detections/application/app-box-public-link-mass-create.yaml+++ b/detections/application/app-box-public-link-mass-create.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Marketing campaign content dropplaybook: tpl-exfiltration-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-app-box-public-link-mass-create; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/application/app-docker-insecure-registry-flag.yaml b/detections/application/app-docker-insecure-registry-flag.yamlindex aa3e5fccf..6d79306a3 100644--- a/detections/application/app-docker-insecure-registry-flag.yaml+++ b/detections/application/app-docker-insecure-registry-flag.yaml@@ -18,7 +18,10 @@ detection:false_positives:- Internal mirror without TLS (deprecated, must be ticketed)playbook: tpl-supply-chain-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): `insecure_registries_count` is the length of a list+ inside one daemon config event, not a count over a window. The reachability gate reads it as windowed+ because the name ends in `_count`.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/application/app-salesforce-mass-export.yaml b/detections/application/app-salesforce-mass-export.yamlindex ddf77cfa9..dd6d8a988 100644--- a/detections/application/app-salesforce-mass-export.yaml+++ b/detections/application/app-salesforce-mass-export.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Approved data migrationplaybook: tpl-exfiltration-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): `row_count` is a per-event field of one export record,+ not a count over a window. The Salesforce connector does not surface it.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/application/app-servicenow-record-export-bulk.yaml b/detections/application/app-servicenow-record-export-bulk.yamlindex e39124639..604d462ed 100644--- a/detections/application/app-servicenow-record-export-bulk.yaml+++ b/detections/application/app-servicenow-record-export-bulk.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Approved reporting workflowplaybook: tpl-exfiltration-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): `row_count` is a per-event field of one export record,+ not a count over a window. The ServiceNow connector does not surface it.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/application/rate-limit-burst.yaml b/detections/application/rate-limit-burst.yamlindex e366f9666..39b6ad159 100644--- a/detections/application/rate-limit-burst.yaml+++ b/detections/application/rate-limit-burst.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Load testing against staging (src allowlist)playbook: tpl-account-compromise-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-rate-limit-burst; this stateless form named a counter+ no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/application/saas-mass-share-public.yaml b/detections/application/saas-mass-share-public.yamlindex e39731c74..712303f11 100644--- a/detections/application/saas-mass-share-public.yaml+++ b/detections/application/saas-mass-share-public.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Approved customer-share workflows (allowlist user)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-saas-mass-share-public; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/aws-iam-account-summary-recon.yaml b/detections/cloud/aws-iam-account-summary-recon.yamlindex 66ce03959..5c87a8792 100644--- a/detections/cloud/aws-iam-account-summary-recon.yaml+++ b/detections/cloud/aws-iam-account-summary-recon.yaml@@ -18,7 +18,9 @@ detection:false_positives:- IAM Access Analyzer routineplaybook: tpl-discovery-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-aws-iam-account-summary-recon; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/aws-iam-create-user-burst.yaml b/detections/cloud/aws-iam-create-user-burst.yamlindex 30caa53fa..e10c4d6e1 100644--- a/detections/cloud/aws-iam-create-user-burst.yaml+++ b/detections/cloud/aws-iam-create-user-burst.yaml@@ -19,7 +19,9 @@ false_positives:- Bulk onboarding window- Sanctioned automation/IaC pipelineplaybook: tpl-persistence-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-aws-iam-create-user-burst; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/aws-iam-enumeration.yaml b/detections/cloud/aws-iam-enumeration.yamlindex 5059967d7..6c35dfb10 100644--- a/detections/cloud/aws-iam-enumeration.yaml+++ b/detections/cloud/aws-iam-enumeration.yaml@@ -21,7 +21,9 @@ false_positives:- Compliance scanners (AWS Config, Prowler, CloudCustodian)- IaC tools running plan/applyplaybook: tpl-cloud-recon-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-aws-iam-enumeration; this stateless form named a+ counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/aws-iam-list-keys-recon.yaml b/detections/cloud/aws-iam-list-keys-recon.yamlindex 643d4e88b..4ad192afb 100644--- a/detections/cloud/aws-iam-list-keys-recon.yaml+++ b/detections/cloud/aws-iam-list-keys-recon.yaml@@ -18,7 +18,11 @@ detection:false_positives:- Compliance audit jobplaybook: tpl-discovery-enabled: true+enabled: false+quarantine_reason: 'not executable (operand-not-emitted): counts distinct *target* users of ListAccessKeys.+ CloudTrail carries that in `requestParameters.UserName`, and the matcher has no dotted-path traversal,+ so the connector''s `user_name` is the caller rather than the target. Counting the caller would be a+ different detection.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/aws-s3-mass-deleteobject.yaml b/detections/cloud/aws-s3-mass-deleteobject.yamlindex 1540ceaf5..12dfe8105 100644--- a/detections/cloud/aws-s3-mass-deleteobject.yaml+++ b/detections/cloud/aws-s3-mass-deleteobject.yaml@@ -19,7 +19,9 @@ false_positives:- Lifecycle policy run- Routine backup/disaster-recovery exerciseplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-aws-s3-mass-deleteobject; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/aws-s3-mass-getobject.yaml b/detections/cloud/aws-s3-mass-getobject.yamlindex 82b43f8c3..c2b4cdce3 100644--- a/detections/cloud/aws-s3-mass-getobject.yaml+++ b/detections/cloud/aws-s3-mass-getobject.yaml@@ -20,7 +20,9 @@ false_positives:- Bulk-export jobs (must use tagged batch role)- Backup toolingplaybook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-aws-s3-mass-getobject; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/aws-secretsmanager-mass-getsecret.yaml b/detections/cloud/aws-secretsmanager-mass-getsecret.yamlindex 25401ebbb..04668859e 100644--- a/detections/cloud/aws-secretsmanager-mass-getsecret.yaml+++ b/detections/cloud/aws-secretsmanager-mass-getsecret.yaml@@ -18,7 +18,10 @@ detection:false_positives:- Bootstrap of new microserviceplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: 'not executable (operand-not-emitted): counts distinct secrets, which CloudTrail carries+ in `requestParameters.SecretId`; the connector surfaces no secret identifier, so the engine has nothing+ to be distinct about.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/azure-ad-bulk-license-assignment.yaml b/detections/cloud/azure-ad-bulk-license-assignment.yamlindex f139c39e8..6eadc1c88 100644--- a/detections/cloud/azure-ad-bulk-license-assignment.yaml+++ b/detections/cloud/azure-ad-bulk-license-assignment.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Bulk onboardingplaybook: tpl-discovery-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-azure-ad-bulk-license-assignment; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/azure-ad-bulk-user-creation.yaml b/detections/cloud/azure-ad-bulk-user-creation.yamlindex 261cace37..5b0f64742 100644--- a/detections/cloud/azure-ad-bulk-user-creation.yaml+++ b/detections/cloud/azure-ad-bulk-user-creation.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Bulk onboardingplaybook: tpl-persistence-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-azure-ad-bulk-user-creation; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/azure-arm-locks-removed-bulk.yaml b/detections/cloud/azure-arm-locks-removed-bulk.yamlindex a22870f0d..b6ea5e798 100644--- a/detections/cloud/azure-arm-locks-removed-bulk.yaml+++ b/detections/cloud/azure-arm-locks-removed-bulk.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Decommission projectplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-azure-arm-locks-removed-bulk; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/azure-arm-mass-resource-modify.yaml b/detections/cloud/azure-arm-mass-resource-modify.yamlindex 54018210c..f2b4670bd 100644--- a/detections/cloud/azure-arm-mass-resource-modify.yaml+++ b/detections/cloud/azure-arm-mass-resource-modify.yaml@@ -18,7 +18,9 @@ detection:false_positives:- IaC pipeline runplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-azure-arm-mass-resource-modify; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/azure-keyvault-secret-mass-get.yaml b/detections/cloud/azure-keyvault-secret-mass-get.yamlindex 0bd803bd8..8a604fad2 100644--- a/detections/cloud/azure-keyvault-secret-mass-get.yaml+++ b/detections/cloud/azure-keyvault-secret-mass-get.yaml@@ -18,7 +18,9 @@ detection:false_positives:- App bootplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-azure-keyvault-secret-mass-get; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/azure-resource-mass-delete.yaml b/detections/cloud/azure-resource-mass-delete.yamlindex 22dbd49a6..5801f4a44 100644--- a/detections/cloud/azure-resource-mass-delete.yaml+++ b/detections/cloud/azure-resource-mass-delete.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Sandbox cleanup (must originate from automation principal)playbook: tpl-data-destruction-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-azure-resource-mass-delete; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml b/detections/cloud/cloud-multi-cross-cloud-mass-egress.yamlindex 925295ba7..c6ac4293c 100644--- a/detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml+++ b/detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml@@ -20,7 +20,10 @@ detection:false_positives:- Approved cross-cloud replication pipelineplaybook: tpl-exfiltration-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): `bytes_out_per_minute` is a sum of a numeric field over+ the window. The engine counts occurrences and distinct values; it adds nothing up, so a gigabyte in+ one transfer and a gigabyte in a thousand are the same count to it.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/gcp-bq-mass-export.yaml b/detections/cloud/gcp-bq-mass-export.yamlindex 4f5f6e4f9..d22afd9b1 100644--- a/detections/cloud/gcp-bq-mass-export.yaml+++ b/detections/cloud/gcp-bq-mass-export.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Scheduled BI exportplaybook: tpl-exfiltration-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-gcp-bq-mass-export; this stateless form named a+ counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/gcp-gcs-mass-delete.yaml b/detections/cloud/gcp-gcs-mass-delete.yamlindex 81ea299a3..a648481fd 100644--- a/detections/cloud/gcp-gcs-mass-delete.yaml+++ b/detections/cloud/gcp-gcs-mass-delete.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Lifecycle ruleplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-gcp-gcs-mass-delete; this stateless form named a+ counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/gcp-iam-impersonation-burst.yaml b/detections/cloud/gcp-iam-impersonation-burst.yamlindex 8c7fb7202..afe1f0e91 100644--- a/detections/cloud/gcp-iam-impersonation-burst.yaml+++ b/detections/cloud/gcp-iam-impersonation-burst.yaml@@ -18,7 +18,10 @@ detection:false_positives:- Sanctioned automation/IaC pipelineplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: 'not executable (operand-not-emitted): counts distinct impersonation *targets*. The+ GCP audit connector emits the caller (`actor`) and no target service account, so nothing identifies+ what is being impersonated.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/gcp-iam-service-account-key-mass-create.yaml b/detections/cloud/gcp-iam-service-account-key-mass-create.yamlindex 729b72a2f..f05925d16 100644--- a/detections/cloud/gcp-iam-service-account-key-mass-create.yaml+++ b/detections/cloud/gcp-iam-service-account-key-mass-create.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Sanctioned automation/IaC pipelineplaybook: tpl-persistence-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-gcp-iam-service-account-key-mass-create; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/gcp-secret-manager-mass-export.yaml b/detections/cloud/gcp-secret-manager-mass-export.yamlindex 4e26aed3c..5234d57cf 100644--- a/detections/cloud/gcp-secret-manager-mass-export.yaml+++ b/detections/cloud/gcp-secret-manager-mass-export.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Boot of large microservice fleet (must be a known service principal in allowlist)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-gcp-secret-manager-mass-export; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/cloud/k8s-secret-mass-get.yaml b/detections/cloud/k8s-secret-mass-get.yamlindex b75c98774..37c0e1fdb 100644--- a/detections/cloud/k8s-secret-mass-get.yaml+++ b/detections/cloud/k8s-secret-mass-get.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Operator bootplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-k8s-secret-mass-get; this stateless form named a+ counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/data-exfil/container-mass-image-export.yaml b/detections/data-exfil/container-mass-image-export.yamlindex 46d9247eb..0ad7a15f0 100644--- a/detections/data-exfil/container-mass-image-export.yaml+++ b/detections/data-exfil/container-mass-image-export.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Approved OSS image releases (allowlist destination)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-container-mass-image-export; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/data-exfil/db-mass-row-read.yaml b/detections/data-exfil/db-mass-row-read.yamlindex 3331240a2..84437aea0 100644--- a/detections/data-exfil/db-mass-row-read.yaml+++ b/detections/data-exfil/db-mass-row-read.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Reporting jobs (allowlist principal)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): needs a sum of rows read per session and a z-score against+ a learned baseline; the engine computes neither.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/data-exfil/egress-spike-baseline.yaml b/detections/data-exfil/egress-spike-baseline.yamlindex 34b711345..a6fb57c46 100644--- a/detections/data-exfil/egress-spike-baseline.yaml+++ b/detections/data-exfil/egress-spike-baseline.yaml@@ -18,7 +18,10 @@ detection:false_positives:- Approved bulk syncs (allowlist src)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): needs a sum of `bytes_out` per source and a z-score against+ a learned baseline. Both are out of scope for a counting engine (the baseline arrives with depth plan+ 3.4).'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/data-exfil/large-egress-personal-cloud.yaml b/detections/data-exfil/large-egress-personal-cloud.yamlindex 4db099326..c9bf17669 100644--- a/detections/data-exfil/large-egress-personal-cloud.yaml+++ b/detections/data-exfil/large-egress-personal-cloud.yaml@@ -19,7 +19,11 @@ detection:false_positives:- Allowlisted business cloud-storage backups (rare)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): carries a `time_window_minutes_lt` clause and no counter+ at all, so there is nothing to accumulate. `bytes_out` is a per-event proxy field; the window clause+ is vestigial and is what makes the rule unreachable. Deleting that one clause is a content decision,+ not a translation.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/data-exfil/printer-mass-print-confidential.yaml b/detections/data-exfil/printer-mass-print-confidential.yamlindex 76b9fd881..bcbc083ea 100644--- a/detections/data-exfil/printer-mass-print-confidential.yaml+++ b/detections/data-exfil/printer-mass-print-confidential.yaml@@ -20,7 +20,10 @@ detection:false_positives:- Approved bulk-print operations (must be ticketed)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): `page_count_per_user` sums pages across print jobs. Counting+ jobs instead would fire on 500 one-page prints and miss one 1,500-page print, which inverts what the+ rule is for.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/data-exfil/salesforce-bulk-export.yaml b/detections/data-exfil/salesforce-bulk-export.yamlindex 4a9dff4c2..a8632746a 100644--- a/detections/data-exfil/salesforce-bulk-export.yaml+++ b/detections/data-exfil/salesforce-bulk-export.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Allowlisted analytics roles (must be in allowlist)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): `row_count` is a per-event field of one export record,+ not a count over a window. The Salesforce connector does not surface it.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/data-exfil/secrets-mass-fetch.yaml b/detections/data-exfil/secrets-mass-fetch.yamlindex 6c12d8128..9edabe12a 100644--- a/detections/data-exfil/secrets-mass-fetch.yaml+++ b/detections/data-exfil/secrets-mass-fetch.yaml@@ -21,7 +21,9 @@ detection:false_positives:- Allowlisted ops break-glass (must be on-call)playbook: tpl-credential-theft-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-secrets-mass-fetch; this stateless form named a+ counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/endpoint/ransomware-file-extension-change.yaml b/detections/endpoint/ransomware-file-extension-change.yamlindex 970f942cf..b8463c0c6 100644--- a/detections/endpoint/ransomware-file-extension-change.yaml+++ b/detections/endpoint/ransomware-file-extension-change.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Bulk archive operations (must be in allowlisted backup tools)playbook: tpl-ransomware-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ransomware-file-extension-change; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/brute-force-login.yaml b/detections/identity/brute-force-login.yamlindex 172964172..f3784ddf9 100644--- a/detections/identity/brute-force-login.yaml+++ b/detections/identity/brute-force-login.yaml@@ -21,7 +21,9 @@ detection:false_positives:- Misconfigured client looping forever (rare; tag known cases)playbook: tpl-account-compromise-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-brute-force-login; this stateless form named a counter+ no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-account-locked-many-times.yaml b/detections/identity/ident-account-locked-many-times.yamlindex 1afff0d8c..6c42daecf 100644--- a/detections/identity/ident-account-locked-many-times.yaml+++ b/detections/identity/ident-account-locked-many-times.yaml@@ -19,7 +19,9 @@ false_positives:- Stuck mobile credential- Confirmed test/tuning activityplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-account-locked-many-times; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-ad-machine-account-quota-abuse.yaml b/detections/identity/ident-ad-machine-account-quota-abuse.yamlindex dd602559d..1f2a676ae 100644--- a/detections/identity/ident-ad-machine-account-quota-abuse.yaml+++ b/detections/identity/ident-ad-machine-account-quota-abuse.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Approved imaging pipelineplaybook: tpl-persistence-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-ad-machine-account-quota-abuse; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-credstuffing-known-breached-list.yaml b/detections/identity/ident-credstuffing-known-breached-list.yamlindex c68af7594..95db8c46d 100644--- a/detections/identity/ident-credstuffing-known-breached-list.yaml+++ b/detections/identity/ident-credstuffing-known-breached-list.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Load test (must be ticketed)playbook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-credstuffing-known-breached-list; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-github-deploy-key-added-org-wide.yaml b/detections/identity/ident-github-deploy-key-added-org-wide.yamlindex 56c5cc05d..fefd77528 100644--- a/detections/identity/ident-github-deploy-key-added-org-wide.yaml+++ b/detections/identity/ident-github-deploy-key-added-org-wide.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Sanctioned automation/IaC pipelineplaybook: tpl-persistence-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-github-deploy-key-added-org-wide; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-github-org-collaborator-removed-bulk.yaml b/detections/identity/ident-github-org-collaborator-removed-bulk.yamlindex 5160afe37..295c67a88 100644--- a/detections/identity/ident-github-org-collaborator-removed-bulk.yaml+++ b/detections/identity/ident-github-org-collaborator-removed-bulk.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Approved bulk offboardingplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-github-org-collaborator-removed-bulk; this+ stateless form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-kerberos-failure-spike-from-host.yaml b/detections/identity/ident-kerberos-failure-spike-from-host.yamlindex 7e02175d2..03c35bca0 100644--- a/detections/identity/ident-kerberos-failure-spike-from-host.yaml+++ b/detections/identity/ident-kerberos-failure-spike-from-host.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Misconfigured appplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-kerberos-failure-spike-from-host; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-mfa-fatigue-burst.yaml b/detections/identity/ident-mfa-fatigue-burst.yamlindex 6337145b4..db931a425 100644--- a/detections/identity/ident-mfa-fatigue-burst.yaml+++ b/detections/identity/ident-mfa-fatigue-burst.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Genuine push-loop after device swapplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-mfa-fatigue-burst; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-oidc-many-clients-from-single-actor.yaml b/detections/identity/ident-oidc-many-clients-from-single-actor.yamlindex c27d566d1..b87840703 100644--- a/detections/identity/ident-oidc-many-clients-from-single-actor.yaml+++ b/detections/identity/ident-oidc-many-clients-from-single-actor.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Sanctioned automation/IaC pipelineplaybook: tpl-persistence-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-oidc-many-clients-from-single-actor; this+ stateless form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-okta-admin-app-assigned-many-users.yaml b/detections/identity/ident-okta-admin-app-assigned-many-users.yamlindex 849d34808..d42747e83 100644--- a/detections/identity/ident-okta-admin-app-assigned-many-users.yaml+++ b/detections/identity/ident-okta-admin-app-assigned-many-users.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Bulk app rolloutplaybook: tpl-discovery-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-okta-admin-app-assigned-many-users; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-okta-mass-deactivate-users.yaml b/detections/identity/ident-okta-mass-deactivate-users.yamlindex 0f83c9365..337b9093e 100644--- a/detections/identity/ident-okta-mass-deactivate-users.yaml+++ b/detections/identity/ident-okta-mass-deactivate-users.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Bulk offboardingplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-okta-mass-deactivate-users; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-orphan-svc-acct-many-keys.yaml b/detections/identity/ident-orphan-svc-acct-many-keys.yamlindex 493578570..bc792b78e 100644--- a/detections/identity/ident-orphan-svc-acct-many-keys.yaml+++ b/detections/identity/ident-orphan-svc-acct-many-keys.yaml@@ -18,7 +18,10 @@ detection:false_positives:- Sanctioned automation/IaC pipelineplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): `active_keys_per_account` is the state of an account+ at one moment, reported by an inventory event. A window counts what happened, not what is true; this+ needs the posture snapshot (depth plan 2.5).'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-password-spray-distributed.yaml b/detections/identity/ident-password-spray-distributed.yamlindex 5aa83f5d2..f056dded5 100644--- a/detections/identity/ident-password-spray-distributed.yaml+++ b/detections/identity/ident-password-spray-distributed.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Mobile-app users with rotating cellular IPsplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-password-spray-distributed; this stateless+ form named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-password-spray-many-targets.yaml b/detections/identity/ident-password-spray-many-targets.yamlindex 7247e8191..5aa13e337 100644--- a/detections/identity/ident-password-spray-many-targets.yaml+++ b/detections/identity/ident-password-spray-many-targets.yaml@@ -19,7 +19,10 @@ detection:false_positives:- VPN concentrator with shared egressplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): pairs a distinct-user count with a `tries_per_user` ceiling,+ which is a mean inside the window. Keeping only the distinct half would widen the rule into a brute-force+ detection `wd-bruteforce-auth` already covers.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-ping-admin-role-burst.yaml b/detections/identity/ident-ping-admin-role-burst.yamlindex ff3add954..27f9d6abe 100644--- a/detections/identity/ident-ping-admin-role-burst.yaml+++ b/detections/identity/ident-ping-admin-role-burst.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Bulk admin onboardingplaybook: tpl-privilege-escalation-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-ping-admin-role-burst; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-priv-role-burst-granted.yaml b/detections/identity/ident-priv-role-burst-granted.yamlindex 9ba120f6a..631ab3a53 100644--- a/detections/identity/ident-priv-role-burst-granted.yaml+++ b/detections/identity/ident-priv-role-burst-granted.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Bulk reorg (must be ticketed)playbook: tpl-privilege-escalation-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-priv-role-burst-granted; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-priv-role-removed-bulk.yaml b/detections/identity/ident-priv-role-removed-bulk.yamlindex 55971ea58..9c70d5818 100644--- a/detections/identity/ident-priv-role-removed-bulk.yaml+++ b/detections/identity/ident-priv-role-removed-bulk.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Approved cleanup projectplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-priv-role-removed-bulk; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/ident-totp-skewed-clock.yaml b/detections/identity/ident-totp-skewed-clock.yamlindex c63f48779..d788cb82e 100644--- a/detections/identity/ident-totp-skewed-clock.yaml+++ b/detections/identity/ident-totp-skewed-clock.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Phone clock driftplaybook: tpl-credential-access-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ident-totp-skewed-clock; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/kerberoasting.yaml b/detections/identity/kerberoasting.yamlindex 72cfc08ed..7cccd493e 100644--- a/detections/identity/kerberoasting.yaml+++ b/detections/identity/kerberoasting.yaml@@ -20,7 +20,10 @@ detection:false_positives:- Legacy services that still issue RC4 tickets (host_role=legacy tag)playbook: tpl-credential-theft-enabled: true+enabled: false+quarantine_reason: 'not executable (operand-not-emitted): counts distinct service principal names requested+ per account. Windows 4769 carries the SPN in `ServiceName`, which no source in this tree lifts, so there+ is nothing to be distinct about.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/mfa-fatigue.yaml b/detections/identity/mfa-fatigue.yamlindex a9abd18f2..fbaf45a69 100644--- a/detections/identity/mfa-fatigue.yaml+++ b/detections/identity/mfa-fatigue.yaml@@ -19,7 +19,9 @@ detection:false_positives:- User retrying after a missed prompt (typically 2-3 retries)playbook: tpl-account-compromise-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-okta-mfa-push-bombing; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/password-spray.yaml b/detections/identity/password-spray.yamlindex e94230aa5..46b11d20d 100644--- a/detections/identity/password-spray.yaml+++ b/detections/identity/password-spray.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Penetration tests (must be ticketed)playbook: tpl-account-compromise-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-okta-password-spray; this stateless form named a+ counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/identity/shared-account-login-spike.yaml b/detections/identity/shared-account-login-spike.yamlindex 21cb94de2..61f7c2bc3 100644--- a/detections/identity/shared-account-login-spike.yaml+++ b/detections/identity/shared-account-login-spike.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Shared corporate workstation (multi-user)playbook: tpl-account-anomaly-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-shared-account-login-spike; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/c2-beacon-high-frequency.yaml b/detections/network/c2-beacon-high-frequency.yamlindex 00e572464..21cd33e7e 100644--- a/detections/network/c2-beacon-high-frequency.yaml+++ b/detections/network/c2-beacon-high-frequency.yaml@@ -20,7 +20,10 @@ detection:false_positives:- Telemetry / heartbeat agents to known endpoints (allowlist destination)playbook: tpl-c2-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): `interval_consistency` is the regularity of inter-arrival+ times across the window — a variance, not a count. Keeping only the connection count turns a beacon+ detection into a chatty-host detection.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/ddos-syn-flood.yaml b/detections/network/ddos-syn-flood.yamlindex e2f4d1b53..ad152c938 100644--- a/detections/network/ddos-syn-flood.yaml+++ b/detections/network/ddos-syn-flood.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Legitimate burst (e.g., product launch)playbook: tpl-ddos-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ddos-syn-flood; this stateless form named a counter+ no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/dns-data-exfiltration.yaml b/detections/network/dns-data-exfiltration.yamlindex 0530b47c9..6ba7dd1ee 100644--- a/detections/network/dns-data-exfiltration.yaml+++ b/detections/network/dns-data-exfiltration.yaml@@ -20,7 +20,9 @@ detection:false_positives:- DNSSEC and large CDN providers (allowlist parent domain)playbook: tpl-data-exfil-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): `avg_subdomain_len` is a mean over the window. Dropping+ it leaves ''100 DNS queries in 30 minutes'', which every workstation clears.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/dns-fast-flux.yaml b/detections/network/dns-fast-flux.yamlindex 670a4b4dd..a2ed3ef83 100644--- a/detections/network/dns-fast-flux.yaml+++ b/detections/network/dns-fast-flux.yaml@@ -19,7 +19,10 @@ detection:false_positives:- Large CDNs (allowlist parent zone)playbook: tpl-c2-enabled: true+enabled: false+quarantine_reason: 'not executable (operand-not-emitted): counts distinct A records, which live as a list+ inside a single DNS response rather than one per event. The engine counts distinct values of one field+ per event, so it cannot see inside the answer set.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/egress-to-rare-asn.yaml b/detections/network/egress-to-rare-asn.yamlindex 579477748..6fb571caa 100644--- a/detections/network/egress-to-rare-asn.yaml+++ b/detections/network/egress-to-rare-asn.yaml@@ -18,7 +18,10 @@ detection:false_positives:- First-time use of legitimate hosting providers (must investigate)playbook: tpl-c2-enabled: true+enabled: false+quarantine_reason: 'not executable (rarity): fires when a destination ASN has been seen *fewer* than five+ times in thirty days. The engine fires when a count is high; a rarity signal needs the first-seen store+ (depth plan 3.3) and the baseline module (3.4).'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/icmp-tunnel.yaml b/detections/network/icmp-tunnel.yamlindex 7a0b9ecd7..496573bd4 100644--- a/detections/network/icmp-tunnel.yaml+++ b/detections/network/icmp-tunnel.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Network monitoring with large MTU echo (rare; allowlist)playbook: tpl-c2-enabled: true+enabled: false+quarantine_reason: 'not executable (aggregate): `avg_payload_bytes` is a mean over the window, and `packet_count`+ is a per-flow sum. Counting flow records measures neither.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/internal-host-spamming-mail.yaml b/detections/network/internal-host-spamming-mail.yamlindex 15133c06b..de59654cc 100644--- a/detections/network/internal-host-spamming-mail.yaml+++ b/detections/network/internal-host-spamming-mail.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Approved bulk mailers (allowlisted source)playbook: tpl-malware-execution-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-internal-host-spamming-mail; this stateless form+ named a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/ldap-bind-anomaly.yaml b/detections/network/ldap-bind-anomaly.yamlindex f235ec0e4..5694e2f8e 100644--- a/detections/network/ldap-bind-anomaly.yaml+++ b/detections/network/ldap-bind-anomaly.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Legitimate identity-management tooling (allowlist principal)playbook: tpl-recon-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ldap-bind-anomaly; this stateless form named a counter+ no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/net-dhcp-starvation.yaml b/detections/network/net-dhcp-starvation.yamlindex 252ad8110..43b348d6d 100644--- a/detections/network/net-dhcp-starvation.yaml+++ b/detections/network/net-dhcp-starvation.yaml@@ -18,7 +18,9 @@ detection:false_positives:- Conference / event Wi-Fiplaybook: tpl-impact-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-net-dhcp-starvation; this stateless form named a+ counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/net-dns-any-query-spike.yaml b/detections/network/net-dns-any-query-spike.yamlindex 0c3c1bddb..76d8af880 100644--- a/detections/network/net-dns-any-query-spike.yaml+++ b/detections/network/net-dns-any-query-spike.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Approved DNS audit runplaybook: tpl-discovery-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-net-dns-any-query-spike; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/net-dns-fast-flux.yaml b/detections/network/net-dns-fast-flux.yamlindex da4c0efe7..f91d9548d 100644--- a/detections/network/net-dns-fast-flux.yaml+++ b/detections/network/net-dns-fast-flux.yaml@@ -19,7 +19,9 @@ detection:false_positives:- Major CDN edgeplaybook: tpl-command-and-control-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): `answer_count` is the number of records in one DNS+ response, a per-event field, not a count over a window.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/net-dns-nxdomain-spike.yaml b/detections/network/net-dns-nxdomain-spike.yamlindex a481cf45d..50d94f12a 100644--- a/detections/network/net-dns-nxdomain-spike.yaml+++ b/detections/network/net-dns-nxdomain-spike.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Malformed in-house tooling (educate)playbook: tpl-command-and-control-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-net-dns-nxdomain-spike; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/net-dns-tunnel-pattern-len.yaml b/detections/network/net-dns-tunnel-pattern-len.yamlindex 18c48f131..94236a80e 100644--- a/detections/network/net-dns-tunnel-pattern-len.yaml+++ b/detections/network/net-dns-tunnel-pattern-len.yaml@@ -19,7 +19,10 @@ detection:false_positives:- DNSSEC validation lookupsplaybook: tpl-command-and-control-enabled: true+enabled: false+quarantine_reason: 'not executable (not-windowed): `subdomain_hex_ratio` is a property of one query name,+ not a count over a window; the reachability gate reads it as windowed because the name ends in `_ratio`.+ It is cheap to derive from the query name and belongs with the derived fields, not here.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/port-scan-internal.yaml b/detections/network/port-scan-internal.yamlindex f910fc946..8de239f54 100644--- a/detections/network/port-scan-internal.yaml+++ b/detections/network/port-scan-internal.yaml@@ -19,7 +19,10 @@ detection:false_positives:- Vulnerability scanners (must be allowlisted)playbook: tpl-recon-enabled: true+enabled: false+quarantine_reason: 'not executable (multi-distinct): requires distinct destination ports *and* distinct+ destinations per source. The engine holds one distinct operand per rule; splitting this into two rules+ would fire twice on one scan and once on neither half.'author: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/smb-lateral-movement.yaml b/detections/network/smb-lateral-movement.yamlindex f60094693..352a91612 100644--- a/detections/network/smb-lateral-movement.yaml+++ b/detections/network/smb-lateral-movement.yaml@@ -20,7 +20,9 @@ detection:false_positives:- Vulnerability scanners (must be allowlisted)playbook: tpl-lateral-movement-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-smb-lateral-movement; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/detections/network/ssh-failed-from-internet.yaml b/detections/network/ssh-failed-from-internet.yamlindex 7b2ba8645..553467e2c 100644--- a/detections/network/ssh-failed-from-internet.yaml+++ b/detections/network/ssh-failed-from-internet.yaml@@ -21,7 +21,9 @@ detection:false_positives:- Misconfigured monitoring agent looping (rare)playbook: tpl-account-compromise-enabled: true+enabled: false+quarantine_reason: superseded by the windowed rule wd-ssh-failed-from-internet; this stateless form named+ a counter no source emitsauthor: AiSOCcreated: '2026-05-03'modified: '2026-05-03'diff --git a/docs/detections/truth-table.md b/docs/detections/truth-table.mdindex 86cc78941..b1e8e3a4c 100644--- a/docs/detections/truth-table.md+++ b/docs/detections/truth-table.md@@ -20,9 +20,27 @@ lever that reaches the engine is adding a spec and re-running| metric | count ||--------|------:|| rules on disk (total) | 6991 |-| **executable (loaded by the engine)** | **2603** |-| non-executable (provenance/coverage only) | 4388 |+| **executable (loaded by the engine)** | **2529** |+| non-executable (provenance/coverage only) | 4462 || — of which: enabled, but no compiled spec | 0 |+| windowed rules in `windowed_ruleset.json` | 68 |++The windowed figure is its own row rather than part of the headline because+a windowed rule is a different kind of thing: it counts events or distinct+values for one entity over a sliding window and fires on a threshold, so it+has no YAML under `detections/` and no entry in the marketplace index. Adding+it to the executable total would make two incomparable numbers into one. The+engine carries three further built-in rules declared in+`services/fusion/app/services/windowed_detection.py`, which are not in the+JSON and so are not in the figure above.++50 of those rules were translated out of the stateless corpus by depth plan+3.1: they named a counter no source emits, so they were loaded, counted as+executable and could never fire. Each one's threshold and window are derived+from the original's own clauses and replayed through the real engine+(`services/fusion/tests/test_windowed_translation_replay.py`). The other 24 of+that family could not be expressed as a count over a window and are refused+with a reason that travels into each rule's `quarantine_reason`.## By tier@@ -31,7 +49,7 @@ lever that reaches the engine is adding a spec and re-running| car (imported) | 99 | 0 | 0 || chronicle (imported) | 877 | 0 | 0 || community | 1 | 0 | 0 |-| native | 877 | 833 | 0 |+| native | 877 | 759 | 0 || sigma (imported) | 3132 | 1770 | 0 || splunk (imported) | 2005 | 0 | 0 |@@ -39,14 +57,14 @@ lever that reaches the engine is adding a spec and re-running| reason | count ||--------|------:|-| `enabled: false` | 175 |+| `enabled: false` | 249 || under `_quarantine/` (untranslated on import) | 4213 |## How to read the README claimThe imported corpus is large (6991 rules on disk) and valuable as aprovenance-tracked ATT&CK-mapped library, but the number that matters-operationally is **2603 executable rules** — the ones the engine+operationally is **2529 executable rules** — the ones the engineloads and fires against live telemetry. The README and marketplace must citethe executable figure when describing detection *coverage*, and may cite theon-disk figure only when explicitly describing the imported *library*.diff --git a/marketplace/curated.json b/marketplace/curated.jsonindex 1d76ecc82..cbb585bb3 100644--- a/marketplace/curated.json+++ b/marketplace/curated.json@@ -1,65 +1,59 @@{"$schema": "https://aisoc.example.com/schemas/curated/v1.json","version": "1.0.0",- "generated": "2026-09-28T06:03:48Z",+ "generated": "2026-10-09T01:31:46Z","stats": {- "considered": 2603,- "eligible": 2592,- "selected": 509,+ "considered": 2529,+ "eligible": 2518,+ "selected": 490,"min_per_family": 25,"min_total": 300,"quality_floor": 0.55,- "unique_techniques": 140,+ "unique_techniques": 136,"selected_by_tier": {- "imported": 148,- "native": 361+ "imported": 160,+ "native": 330},"selected_by_severity": {- "critical": 105,- "high": 273,- "low": 17,- "medium": 114+ "critical": 100,+ "high": 266,+ "low": 16,+ "medium": 108},"selected_by_category": {- "application": 36,- "cloud": 155,- "data-exfil": 20,- "endpoint": 210,- "identity": 77,- "network": 11+ "application": 31,+ "cloud": 150,+ "data-exfil": 13,+ "endpoint": 218,+ "identity": 69,+ "network": 9}},"families": {"ransomware": {"label": "Ransomware",- "count": 70,+ "count": 64,"rule_ids": ["det-application-050","det-application-078","det-cloud-004","det-cloud-008","det-cloud-019",- "det-cloud-025","det-cloud-030","det-cloud-060",- "det-cloud-061","det-cloud-066","det-cloud-076","det-cloud-088",- "det-cloud-116",- "det-cloud-118","det-cloud-119","det-cloud-124","det-cloud-125","det-cloud-126","det-cloud-135",- "det-cloud-148","det-cloud-149","det-cloud-150","det-cloud-160","det-cloud-161","det-cloud-179",- "det-endpoint-003","det-endpoint-012","det-endpoint-074","det-endpoint-075",@@ -113,9 +107,7 @@"count": 100,"rule_ids": ["det-application-004",- "det-application-008","det-application-020",- "det-application-040","det-application-075","det-application-085","det-cloud-047",@@ -133,31 +125,22 @@"det-cloud-176","det-cloud-183","det-cloud-189",- "det-data-exfil-020","det-endpoint-093","det-endpoint-096","det-endpoint-141","det-endpoint-267","det-endpoint-272",- "det-identity-001",- "det-identity-003","det-identity-010","det-identity-022","det-identity-038",- "det-identity-041",- "det-identity-042",- "det-identity-043","det-identity-044",- "det-identity-050","det-identity-056","det-identity-057","det-identity-058","det-identity-059","det-identity-061",- "det-identity-065","det-identity-075","det-identity-088",- "det-identity-096","det-identity-101","det-identity-105","det-identity-107",@@ -177,7 +160,6 @@"det-identity-157","det-identity-158","det-identity-160",- "det-network-004","det-network-026","det-network-076","sigmahq-sigma-0adc67e0-a68f-4ffd-9c43-28905aad5d6a",@@ -189,14 +171,18 @@"sigmahq-sigma-24c77512-782b-448a-8950-eddb0785fc71","sigmahq-sigma-24e3e58a-646b-4b50-adef-02ef935b9fc8","sigmahq-sigma-25cde13e-8e20-4c29-b949-4e795b76f16f",+ "sigmahq-sigma-2b7d6fc0-71ac-4cf7-8ed1-b5788ee5257a","sigmahq-sigma-2d3cdeec-c0db-45b4-aa86-082f7eb75701","sigmahq-sigma-3245cd30-e015-40ff-a31d-5cadd5f377ec",+ "sigmahq-sigma-34275eb8-fa19-436b-b959-3d9ecd53fa1f","sigmahq-sigma-37c1333a-a0db-48be-b64b-7393b2386e3b","sigmahq-sigma-39b31e81-5f5f-4898-9c0e-2160cfc0f9bf","sigmahq-sigma-416bc4a2-7217-4519-8dc7-c3271817f1d5","sigmahq-sigma-42a993dd-bb3e-48c8-b372-4d6684c4106c",+ "sigmahq-sigma-42b1a5b8-353f-4f10-b256-39de4467faff","sigmahq-sigma-4833155a-4053-4c9c-a997-777fcea0baa7","sigmahq-sigma-48d91a3a-2363-43ba-a456-ca71ac3da5c2",+ "sigmahq-sigma-4d78a000-ab52-4564-88a5-7ab5242b20c7","sigmahq-sigma-53bb4f7f-48a8-4475-ac30-5a82ddfdf6fc","sigmahq-sigma-58f4ea09-0fc2-4520-ba18-b85c540b0eaf","sigmahq-sigma-5a44727c-3b85-4713-8c44-4401d5499629",@@ -211,14 +197,22 @@"sigmahq-sigma-aaafa146-074c-11eb-adc1-0242ac120002","sigmahq-sigma-b4a6d707-9430-4f5f-af68-0337f52d5c42","sigmahq-sigma-baef1ec6-2ca9-47a3-97cc-4cf2bda10b77",- "sigmahq-sigma-c8da0dfd-4ed0-4b68-962d-13c9c884384e"+ "sigmahq-sigma-bb76d96b-821c-47cf-944b-7ce377864492",+ "sigmahq-sigma-c8da0dfd-4ed0-4b68-962d-13c9c884384e",+ "sigmahq-sigma-cd185561-4760-45d6-a63e-a51325112cae",+ "sigmahq-sigma-d3adb3ef-b7e7-4003-9092-1924c797db35",+ "sigmahq-sigma-d557dc06-62e8-4468-a8e8-7984124908ce",+ "sigmahq-sigma-e4d22291-f3d5-4b78-9a0c-a1fbaf32a6a4",+ "sigmahq-sigma-e7a21b5f-d8c4-4ae5-b8d9-93c5d3f28e1c",+ "sigmahq-sigma-f598ea0c-c25a-4f72-a219-50c44411c791",+ "sigmahq-sigma-f7644214-0eb0-4ace-9455-331ec4c09253"],"min_target": 25,"covered": true},"lateral": {"label": "Lateral Movement",- "count": 68,+ "count": 67,"rule_ids": ["det-endpoint-010","det-endpoint-111",@@ -229,7 +223,6 @@"det-identity-102","det-identity-103","det-identity-104",- "det-network-005","det-network-022","det-network-030","det-network-064",@@ -294,7 +287,7 @@},"exfil": {"label": "Data Exfiltration",- "count": 52,+ "count": 44,"rule_ids": ["det-application-081","det-cloud-058",@@ -302,27 +295,19 @@"det-cloud-063","det-cloud-073","det-cloud-184",- "det-cloud-186",- "det-data-exfil-001",- "det-data-exfil-002","det-data-exfil-003","det-data-exfil-004","det-data-exfil-005",- "det-data-exfil-006","det-data-exfil-007",- "det-data-exfil-008","det-data-exfil-009","det-data-exfil-010","det-data-exfil-011","det-data-exfil-012",- "det-data-exfil-013","det-data-exfil-014","det-data-exfil-015","det-data-exfil-016","det-data-exfil-017",- "det-data-exfil-018","det-data-exfil-019",- "det-data-exfil-020","det-endpoint-174","det-endpoint-175","det-endpoint-270",@@ -357,13 +342,10 @@"count": 100,"rule_ids": ["det-application-017",- "det-application-024",- "det-application-058","det-application-063","det-application-069","det-application-073","det-cloud-001",- "det-cloud-002","det-cloud-003","det-cloud-004","det-cloud-006",@@ -374,7 +356,6 @@"det-cloud-012","det-cloud-013","det-cloud-014",- "det-cloud-015","det-cloud-016","det-cloud-017","det-cloud-018",@@ -384,7 +365,6 @@"det-cloud-022","det-cloud-023","det-cloud-024",- "det-cloud-025","det-cloud-026","det-cloud-027","det-cloud-028",@@ -393,7 +373,6 @@"det-cloud-031","det-cloud-032","det-cloud-033",- "det-cloud-034","det-cloud-035","det-cloud-036","det-cloud-038",@@ -413,14 +392,21 @@"det-cloud-057","det-cloud-058","det-cloud-060",- "det-cloud-061","det-cloud-062","det-cloud-063","det-cloud-067","det-cloud-068",+ "det-cloud-069",+ "det-cloud-070",+ "det-cloud-071","det-cloud-072",+ "det-cloud-073",+ "det-cloud-075","det-cloud-077",+ "det-cloud-078",+ "det-cloud-079","det-cloud-081",+ "det-cloud-083","det-cloud-087","det-cloud-091","det-cloud-092",@@ -434,7 +420,6 @@"det-cloud-128","det-cloud-136","det-cloud-146",- "det-cloud-148","det-cloud-152","det-cloud-157","det-cloud-166",@@ -505,8 +490,6 @@"det-cloud-138","det-cloud-139","det-cloud-140",- "det-cloud-142",- "det-cloud-144","det-cloud-166","det-cloud-170","det-cloud-171",@@ -531,19 +514,21 @@"det-endpoint-263","det-endpoint-264","det-endpoint-265",- "det-identity-001","det-identity-002",- "det-identity-003","det-identity-004","det-identity-006",- "det-identity-008","det-identity-009","det-identity-011","det-identity-012","det-identity-013","det-identity-016",+ "det-identity-018",+ "det-identity-019","det-identity-020","det-identity-021",+ "det-identity-022",+ "det-identity-023",+ "det-identity-024","det-identity-027","det-identity-031","det-identity-034",@@ -570,7 +555,7 @@},"supply-chain": {"label": "Supply Chain",- "count": 44,+ "count": 41,"rule_ids": ["det-application-006","det-application-014",@@ -584,7 +569,6 @@"det-application-052","det-application-053","det-application-054",- "det-application-055","det-application-057","det-application-059","det-cloud-014",@@ -602,8 +586,6 @@"det-identity-114","det-identity-153","det-identity-154",- "det-identity-155",- "det-identity-156","sigmahq-sigma-0ee4d8a5-4e67-4faf-acfa-62a78457d1f2","sigmahq-sigma-1f0489be-b496-4ddf-b3a9-5900f2044e9c","sigmahq-sigma-401e5d00-b944-11ea-8f9a-00163ecd60ae",@@ -622,12 +604,11 @@},"k8s": {"label": "Kubernetes / Containers",- "count": 71,+ "count": 69,"rule_ids": ["det-application-018","det-application-023","det-application-049",- "det-application-055","det-application-056","det-cloud-037","det-cloud-080",@@ -639,7 +620,6 @@"det-cloud-156","det-cloud-165","det-cloud-166",- "det-cloud-167","det-cloud-168","det-cloud-169","det-cloud-170",@@ -701,7 +681,7 @@}},"mitre_techniques": {- "T1003": 14,+ "T1003": 17,"T1003.001": 2,"T1003.002": 1,"T1003.004": 1,@@ -712,7 +692,7 @@"T1020": 3,"T1021": 3,"T1021.001": 9,- "T1021.002": 23,+ "T1021.002": 22,"T1021.003": 8,"T1021.004": 4,"T1021.005": 1,@@ -721,12 +701,11 @@"T1027.010": 1,"T1033": 1,"T1039": 1,- "T1040": 2,- "T1041": 8,- "T1046": 1,+ "T1040": 3,+ "T1041": 7,+ "T1046": 2,"T1047": 5,"T1048": 7,- "T1052": 1,"T1053": 1,"T1059.001": 6,"T1059.003": 3,@@ -735,86 +714,84 @@"T1059.006": 3,"T1059.007": 2,"T1068": 1,- "T1069.003": 1,"T1070": 2,"T1070.004": 1,"T1071.001": 1,"T1078": 14,"T1078.001": 3,- "T1078.004": 25,- "T1082": 1,+ "T1078.004": 24,+ "T1082": 2,"T1087": 1,- "T1087.004": 1,"T1090": 2,"T1090.002": 1,- "T1098": 16,- "T1098.001": 13,+ "T1098": 17,+ "T1098.001": 12,"T1098.003": 5,"T1098.004": 4,"T1098.007": 1,"T1102": 2,"T1105": 1,- "T1106": 1,- "T1110": 12,- "T1110.001": 4,+ "T1106": 2,+ "T1110": 8,+ "T1110.001": 2,"T1110.002": 1,- "T1110.003": 3,- "T1110.004": 2,+ "T1110.004": 1,"T1114.002": 1,"T1114.003": 1,- "T1133": 4,+ "T1133": 6,"T1134.001": 1,"T1136.001": 3,"T1136.002": 1,- "T1187": 2,- "T1190": 10,+ "T1187": 3,+ "T1190": 11,"T1195": 1,"T1195.001": 1,- "T1195.002": 8,+ "T1195.002": 7,"T1199": 11,"T1201": 1,"T1203": 1,"T1204.002": 1,"T1210": 4,"T1211": 1,- "T1212": 3,+ "T1212": 5,"T1218": 4,"T1219": 2,+ "T1484.001": 1,"T1484.002": 1,- "T1485": 34,- "T1486": 8,+ "T1485": 29,+ "T1486": 7,"T1489": 10,"T1490": 19,"T1496": 4,"T1499.004": 1,"T1505.003": 8,- "T1518": 1,+ "T1518": 2,"T1525": 8,"T1528": 6,- "T1530": 24,- "T1531": 2,+ "T1530": 17,+ "T1531": 1,"T1537": 7,"T1539": 4,"T1543.003": 2,"T1548": 1,- "T1548.002": 1,+ "T1548.002": 2,+ "T1548.003": 1,"T1550": 5,"T1550.001": 1,"T1550.003": 2,"T1552": 3,- "T1552.001": 6,+ "T1552.001": 7,"T1552.004": 1,"T1552.007": 1,"T1553.002": 1,"T1554": 3,"T1555": 5,- "T1555.003": 2,- "T1555.005": 1,- "T1556": 38,+ "T1555.003": 3,+ "T1556": 41,"T1556.001": 1,"T1556.006": 5,"T1556.007": 1,- "T1557.001": 1,+ "T1557.001": 2,"T1558": 2,"T1558.001": 2,"T1558.002": 1,@@ -825,8 +802,8 @@"T1562.008": 7,"T1563.002": 1,"T1565": 1,- "T1567": 15,- "T1567.002": 3,+ "T1567": 13,+ "T1567.002": 2,"T1568.002": 1,"T1569": 1,"T1569.002": 4,@@ -839,7 +816,6 @@"T1610": 11,"T1611": 24,"T1612": 1,- "T1621": 1,"T1685": 2},"items": [@@ -894,31 +870,6 @@"log_source_product": "waf","has_executable_body": true},- {- "id": "det-application-008",- "name": "Rate Limit Burst on Authentication Endpoint",- "path": "detections/application/rate-limit-burst.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "waf",- "has_executable_body": true- },{"id": "det-application-012","name": "JWT With alg=none in Authorization Header",@@ -1096,56 +1047,6 @@"log_source_product": "gitlab","has_executable_body": true},- {- "id": "det-application-024",- "name": "SaaS File Mass Public-Share by Single User",- "path": "detections/application/saas-mass-share-public.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "google-workspace",- "has_executable_body": true- },- {- "id": "det-application-040",- "name": "High Volume Of Password Reset Requests From Single IP",- "path": "detections/application/app-account-enum-reset.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "application",- "has_executable_body": true- },{"id": "det-application-046","name": "CI Workflow Modified By Account Without CODEOWNER Approval",@@ -1373,32 +1274,6 @@"log_source_product": "pypi","has_executable_body": true},- {- "id": "det-application-055",- "name": "Docker Daemon Started With --insecure-registry Flag",- "path": "detections/application/app-docker-insecure-registry-flag.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "medium",- "mitre_techniques": [- "T1195.002"- ],- "mitre_tactics": [],- "families": [- "supply-chain",- "k8s"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "docker",- "has_executable_body": true- },{"id": "det-application-056","name": "Container Image With Critical CVE Pushed To Prod Registry",@@ -1450,31 +1325,6 @@"log_source_product": "github","has_executable_body": true},- {- "id": "det-application-058",- "name": "Salesforce Mass Data Export Initiated",- "path": "detections/application/app-salesforce-mass-export.yaml",- "tier": "native",- "source": "core",- "category": "application",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "salesforce",- "has_executable_body": true- },{"id": "det-application-059","name": "Salesforce Sandbox Refreshed Outside Change Window",@@ -1779,32 +1629,6 @@"log_source_product": "aws","has_executable_body": true},- {- "id": "det-cloud-002",- "name": "AWS IAM Enumeration Burst",- "path": "detections/cloud/aws-iam-enumeration.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1087.004",- "T1069.003"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "aws",- "has_executable_body": true- },{"id": "det-cloud-003","name": "AWS S3 Bucket Made Public",@@ -2065,31 +1889,6 @@"log_source_product": "aws","has_executable_body": true},- {- "id": "det-cloud-015",- "name": "AWS S3 GetObject Volume Anomaly per Principal",- "path": "detections/cloud/aws-s3-mass-getobject.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "aws",- "has_executable_body": true- },{"id": "det-cloud-016","name": "Azure AD Owner/Global-Admin Role Assignment",@@ -2320,32 +2119,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-cloud-025",- "name": "Azure Resource Mass Deletion",- "path": "detections/cloud/azure-resource-mass-delete.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "azure",- "has_executable_body": true- },{"id": "det-cloud-026","name": "GCP IAM Primitive Role (Owner/Editor) Granted",@@ -2550,32 +2323,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-034",- "name": "GCP Secret Manager Mass AccessSecretVersion",- "path": "detections/cloud/gcp-secret-manager-mass-export.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1555.005",- "T1530"- ],- "mitre_tactics": [],- "families": [- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-035","name": "GCP BigQuery Dataset Made Public",@@ -3094,32 +2841,6 @@"log_source_product": "aws","has_executable_body": true},- {- "id": "det-cloud-061",- "name": "AWS S3 Mass DeleteObject Burst",- "path": "detections/cloud/aws-s3-mass-deleteobject.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "aws",- "has_executable_body": true- },{"id": "det-cloud-062","name": "AWS EBS Snapshot Shared With Foreign Account",@@ -3250,20 +2971,19 @@"has_executable_body": true},{- "id": "det-cloud-071",- "name": "AWS VPC Peering Connection Across Organizations",- "path": "detections/cloud/aws-vpc-peering-cross-org.yaml",+ "id": "det-cloud-069",+ "name": "AWS SG Rule Allows SSH From 0.0.0.0/0",+ "path": "detections/cloud/aws-security-group-rule-add-22-from-anywhere.yaml","tier": "native","source": "core","category": "cloud","severity": "high","mitre_techniques": [- "T1199"+ "T1133"],"mitre_tactics": [],"families": [- "cloud",- "supply-chain"+ "cloud"],"quality_score": 0.977,"quality_notes": [@@ -3276,40 +2996,91 @@"has_executable_body": true},{- "id": "det-cloud-072",- "name": "AWS RDS Instance Modified To Publicly Accessible",- "path": "detections/cloud/aws-rds-publicly-accessible-true.yaml",+ "id": "det-cloud-070",+ "name": "AWS SG Rule Allows RDP From 0.0.0.0/0",+ "path": "detections/cloud/aws-security-group-rule-add-3389-from-anywhere.yaml","tier": "native","source": "core","category": "cloud",- "severity": "critical",+ "severity": "high","mitre_techniques": [- "T1530"+ "T1133"],"mitre_tactics": [],"families": ["cloud"],- "quality_score": 1.0,+ "quality_score": 0.977,"quality_notes": ["tier:native(+0.5)","mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",+ "severity:high(+0.128)","executable(+0.15)"],"log_source_product": "aws","has_executable_body": true},{- "id": "det-cloud-073",- "name": "AWS RDS Snapshot Shared With Other Account",- "path": "detections/cloud/aws-rds-snapshot-shared.yaml",+ "id": "det-cloud-071",+ "name": "AWS VPC Peering Connection Across Organizations",+ "path": "detections/cloud/aws-vpc-peering-cross-org.yaml","tier": "native","source": "core","category": "cloud","severity": "high","mitre_techniques": [- "T1537"+ "T1199"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud",+ "supply-chain"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "det-cloud-072",+ "name": "AWS RDS Instance Modified To Publicly Accessible",+ "path": "detections/cloud/aws-rds-publicly-accessible-true.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "critical",+ "mitre_techniques": [+ "T1530"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud"+ ],+ "quality_score": 1.0,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:critical(+0.150)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "det-cloud-073",+ "name": "AWS RDS Snapshot Shared With Other Account",+ "path": "detections/cloud/aws-rds-snapshot-shared.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1537"],"mitre_tactics": [],"families": [@@ -3430,6 +3201,56 @@"log_source_product": "aws","has_executable_body": true},+ {+ "id": "det-cloud-078",+ "name": "AWS Lambda Env Var Contains Secret Pattern",+ "path": "detections/cloud/aws-lambda-env-var-secret-pattern.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1552.001"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "det-cloud-079",+ "name": "AWS Lambda Function URL With AuthType=NONE",+ "path": "detections/cloud/aws-lambda-create-url-public.yaml",+ "tier": "native",+ "source": "core",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1190"+ ],+ "mitre_tactics": [],+ "families": [+ "cloud"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },{"id": "det-cloud-080","name": "AWS Lambda Function Uses Deprecated Runtime",@@ -4027,32 +3848,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-cloud-116",- "name": "Azure ResourceGroup Locks Removed In Bulk",- "path": "detections/cloud/azure-arm-locks-removed-bulk.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "azure",- "has_executable_body": true- },{"id": "det-cloud-117","name": "Azure Diagnostic Settings Deleted",@@ -4078,32 +3873,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-cloud-118",- "name": "Azure Mass Resource Modify Burst",- "path": "detections/cloud/azure-arm-mass-resource-modify.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "medium",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "azure",- "has_executable_body": true- },{"id": "det-cloud-119","name": "Azure Management Group Removed",@@ -4467,32 +4236,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-142",- "name": "GCP Service Account Key Burst",- "path": "detections/cloud/gcp-iam-service-account-key-mass-create.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1098.001"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-143","name": "GCP IAM Binding To External Domain",@@ -4519,32 +4262,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-144",- "name": "GCP Service Account Impersonation Burst",- "path": "detections/cloud/gcp-iam-impersonation-burst.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1078.004"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-145","name": "GCP IAM Conditional Binding Removed",@@ -4597,32 +4314,6 @@"log_source_product": "gcp","has_executable_body": true},- {- "id": "det-cloud-148",- "name": "GCS Mass Object Delete Burst",- "path": "detections/cloud/gcp-gcs-mass-delete.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "critical",- "mitre_techniques": [- "T1485"- ],- "mitre_tactics": [],- "families": [- "ransomware",- "cloud"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "gcp",- "has_executable_body": true- },{"id": "det-cloud-149","name": "GCS Bucket Retention Policy Removed",@@ -4909,32 +4600,6 @@"log_source_product": "kubernetes","has_executable_body": true},- {- "id": "det-cloud-167",- "name": "Kubernetes Secret Mass Get",- "path": "detections/cloud/k8s-secret-mass-get.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1552.001"- ],- "mitre_tactics": [],- "families": [- "cloud",- "k8s"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "kubernetes",- "has_executable_body": true- },{"id": "det-cloud-168","name": "Kubernetes pods/exec In Production Namespace",@@ -5359,32 +5024,6 @@"log_source_product": "oci","has_executable_body": true},- {- "id": "det-cloud-186",- "name": "Multi-Cloud Cross-Cloud Mass Egress Burst",- "path": "detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml",- "tier": "native",- "source": "core",- "category": "cloud",- "severity": "high",- "mitre_techniques": [- "T1567"- ],- "mitre_tactics": [],- "families": [- "exfil",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "multi-cloud",- "has_executable_body": true- },{"id": "det-cloud-187","name": "Infra-As-Code Drift Bypassed With Manual Override",@@ -5464,56 +5103,6 @@"log_source_product": "multi-cloud","has_executable_body": true},- {- "id": "det-data-exfil-001",- "name": "Large Outbound Transfer to Personal Cloud Storage",- "path": "detections/data-exfil/large-egress-personal-cloud.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1567.002"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "proxy",- "has_executable_body": true- },- {- "id": "det-data-exfil-002",- "name": "Outbound Bytes Spike Above Baseline (Anomaly)",- "path": "detections/data-exfil/egress-spike-baseline.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1041"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "ndr",- "has_executable_body": true- },{"id": "det-data-exfil-003","name": "rclone or megacmd Process Spawned on Host",@@ -5558,98 +5147,46 @@"quality_score": 0.977,"quality_notes": ["tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "edr",- "has_executable_body": true- },- {- "id": "det-data-exfil-005",- "name": "SaaS File Shared to External Domain",- "path": "detections/data-exfil/data-share-external-domain.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "medium",- "mitre_techniques": [- "T1567"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "google-workspace",- "has_executable_body": true- },- {- "id": "det-data-exfil-006",- "name": "Salesforce Bulk Data Export by Non-Allowlisted User",- "path": "detections/data-exfil/salesforce-bulk-export.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1530"- ],- "mitre_tactics": [],- "families": [- "exfil",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",+ "mitre_techniques:2(+0.2)","severity:high(+0.128)","executable(+0.15)"],- "log_source_product": "salesforce",+ "log_source_product": "edr","has_executable_body": true},{- "id": "det-data-exfil-007",- "name": "Snowflake Large Result-Set Download by Non-Service Account",- "path": "detections/data-exfil/snowflake-mass-export.yaml",+ "id": "det-data-exfil-005",+ "name": "SaaS File Shared to External Domain",+ "path": "detections/data-exfil/data-share-external-domain.yaml","tier": "native","source": "core","category": "data-exfil",- "severity": "high",+ "severity": "medium","mitre_techniques": [- "T1530"+ "T1567"],"mitre_tactics": [],"families": [- "exfil",- "cloud"+ "exfil"],- "quality_score": 0.977,+ "quality_score": 0.955,"quality_notes": ["tier:native(+0.5)","mitre_techniques:1(+0.2)",- "severity:high(+0.128)",+ "severity:medium(+0.105)","executable(+0.15)"],- "log_source_product": "snowflake",+ "log_source_product": "google-workspace","has_executable_body": true},{- "id": "det-data-exfil-008",- "name": "Database Application Reads Anomalously High Row Count",- "path": "detections/data-exfil/db-mass-row-read.yaml",+ "id": "det-data-exfil-007",+ "name": "Snowflake Large Result-Set Download by Non-Service Account",+ "path": "detections/data-exfil/snowflake-mass-export.yaml","tier": "native","source": "core","category": "data-exfil",- "severity": "medium",+ "severity": "high","mitre_techniques": ["T1530"],@@ -5658,14 +5195,14 @@"exfil","cloud"],- "quality_score": 0.955,+ "quality_score": 0.977,"quality_notes": ["tier:native(+0.5)","mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",+ "severity:high(+0.128)","executable(+0.15)"],- "log_source_product": "db",+ "log_source_product": "snowflake","has_executable_body": true},{@@ -5770,31 +5307,6 @@"log_source_product": "email","has_executable_body": true},- {- "id": "det-data-exfil-013",- "name": "Mass Print Job From Confidential Document Repository",- "path": "detections/data-exfil/printer-mass-print-confidential.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "medium",- "mitre_techniques": [- "T1052"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "windows",- "has_executable_body": true- },{"id": "det-data-exfil-014","name": "Bulk Zip Creation on File Server",@@ -5897,31 +5409,6 @@"log_source_product": "cloud","has_executable_body": true},- {- "id": "det-data-exfil-018",- "name": "Container Image Mass Export to External Registry",- "path": "detections/data-exfil/container-mass-image-export.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1567"- ],- "mitre_tactics": [],- "families": [- "exfil"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "cloud",- "has_executable_body": true- },{"id": "det-data-exfil-019","name": "VPN Tunnel Large Download from Foreign Country",@@ -5947,59 +5434,6 @@"log_source_product": "vpn","has_executable_body": true},- {- "id": "det-data-exfil-020",- "name": "Secrets Manager Bulk Fetch by Human Principal",- "path": "detections/data-exfil/secrets-mass-fetch.yaml",- "tier": "native",- "source": "core",- "category": "data-exfil",- "severity": "high",- "mitre_techniques": [- "T1555",- "T1530"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "exfil",- "cloud"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:2(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "cloud",- "has_executable_body": true- },- {- "id": "det-endpoint-003",- "name": "Mass File Extension Rename Indicative of Ransomware",- "path": "detections/endpoint/ransomware-file-extension-change.yaml",- "tier": "native",- "source": "core",- "category": "endpoint",- "severity": "critical",- "mitre_techniques": [- "T1486"- ],- "mitre_tactics": [],- "families": [- "ransomware"- ],- "quality_score": 1.0,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:critical(+0.150)",- "executable(+0.15)"- ],- "log_source_product": "edr",- "has_executable_body": true- },{"id": "det-endpoint-010","name": "Binary Written to ADMIN$ via SMB",@@ -7840,33 +7274,6 @@"log_source_product": "linux","has_executable_body": true},- {- "id": "det-identity-001",- "name": "Authentication Brute-Force Burst",- "path": "detections/identity/brute-force-login.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.001"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "okta",- "has_executable_body": true- },{"id": "det-identity-002","name": "Impossible Travel Between Two Authentications",@@ -7893,33 +7300,6 @@"log_source_product": "okta","has_executable_body": true},- {- "id": "det-identity-003",- "name": "Password Spray Across Many Users from Single IP",- "path": "detections/identity/password-spray.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.003"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "okta",- "has_executable_body": true- },{"id": "det-identity-004","name": "Login from Tor / Anonymous Proxy",@@ -7972,32 +7352,6 @@"log_source_product": "okta","has_executable_body": true},- {- "id": "det-identity-008",- "name": "MFA Push Bombing (MFA Fatigue)",- "path": "detections/identity/mfa-fatigue.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1621"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "okta",- "has_executable_body": true- },{"id": "det-identity-009","name": "MFA Requirement Removed from User Policy",@@ -8153,6 +7507,56 @@"log_source_product": "okta","has_executable_body": true},+ {+ "id": "det-identity-018",+ "name": "Sudo Used Without MFA",+ "path": "detections/identity/sudo-no-mfa.yaml",+ "tier": "native",+ "source": "core",+ "category": "identity",+ "severity": "high",+ "mitre_techniques": [+ "T1548.003"+ ],+ "mitre_tactics": [],+ "families": [+ "identity"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "linux",+ "has_executable_body": true+ },+ {+ "id": "det-identity-019",+ "name": "Active Directory Group Policy Modified",+ "path": "detections/identity/group-policy-modification.yaml",+ "tier": "native",+ "source": "core",+ "category": "identity",+ "severity": "high",+ "mitre_techniques": [+ "T1484.001"+ ],+ "mitre_tactics": [],+ "families": [+ "identity"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "det-identity-020","name": "Kubernetes ClusterRoleBinding to cluster-admin",@@ -8215,11 +7619,37 @@"category": "identity","severity": "high","mitre_techniques": [- "T1556"+ "T1556"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "identity"+ ],+ "quality_score": 0.977,+ "quality_notes": [+ "tier:native(+0.5)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },+ {+ "id": "det-identity-023",+ "name": "OAuth App Granted Broad Scopes by User",+ "path": "detections/identity/oauth-broad-scope-grant.yaml",+ "tier": "native",+ "source": "core",+ "category": "identity",+ "severity": "high",+ "mitre_techniques": [+ "T1098.001"],"mitre_tactics": [],"families": [- "credential-access",+ "cloud","identity"],"quality_score": 0.977,@@ -8229,7 +7659,7 @@"severity:high(+0.128)","executable(+0.15)"],- "log_source_product": "windows",+ "log_source_product": "google-workspace","has_executable_body": true},{@@ -8466,84 +7896,6 @@"log_source_product": "azure","has_executable_body": true},- {- "id": "det-identity-041",- "name": "Password Spray: Single IP, Many Targets, Few Tries Each",- "path": "detections/identity/ident-password-spray-many-targets.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.003"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },- {- "id": "det-identity-042",- "name": "Distributed Password Spray From Many IPs",- "path": "detections/identity/ident-password-spray-distributed.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.003"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },- {- "id": "det-identity-043",- "name": "Credential Stuffing Pattern Against Login Endpoint",- "path": "detections/identity/ident-credstuffing-known-breached-list.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "high",- "mitre_techniques": [- "T1110.004"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },{"id": "det-identity-044","name": "Successful Login After 50+ Recent Failures",@@ -8570,32 +7922,6 @@"log_source_product": "identity","has_executable_body": true},- {- "id": "det-identity-050",- "name": "Account Locked Out 3+ Times In 1 Hour",- "path": "detections/identity/ident-account-locked-many-times.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },{"id": "det-identity-052","name": "Authentication Success For Recently Deleted User",@@ -8751,32 +8077,6 @@"log_source_product": "identity","has_executable_body": true},- {- "id": "det-identity-065",- "name": "TOTP Verification Repeatedly Skews Clock",- "path": "detections/identity/ident-totp-skewed-clock.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "low",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.932,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:low(+0.083)",- "executable(+0.15)"- ],- "log_source_product": "identity",- "has_executable_body": true- },{"id": "det-identity-067","name": "User Granted Privileged Role To Themselves",@@ -8979,32 +8279,6 @@"log_source_product": "active-directory","has_executable_body": true},- {- "id": "det-identity-096",- "name": "Kerberos Pre-Auth Failure Spike From Host",- "path": "detections/identity/ident-kerberos-failure-spike-from-host.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1110"- ],- "mitre_tactics": [],- "families": [- "credential-access",- "identity"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "active-directory",- "has_executable_body": true- },{"id": "det-identity-101","name": "Session Cookie Replayed From New Geo Within 1h",@@ -9710,59 +8984,6 @@"log_source_product": "github","has_executable_body": true},- {- "id": "det-identity-155",- "name": "GitHub Org Bulk Member Removed",- "path": "detections/identity/ident-github-org-collaborator-removed-bulk.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1531"- ],- "mitre_tactics": [],- "families": [- "identity",- "supply-chain"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "github",- "has_executable_body": true- },- {- "id": "det-identity-156",- "name": "GitHub Deploy Key Added Across Many Repos",- "path": "detections/identity/ident-github-deploy-key-added-org-wide.yaml",- "tier": "native",- "source": "core",- "category": "identity",- "severity": "medium",- "mitre_techniques": [- "T1098.001"- ],- "mitre_tactics": [],- "families": [- "cloud",- "identity",- "supply-chain"- ],- "quality_score": 0.955,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:medium(+0.105)",- "executable(+0.15)"- ],- "log_source_product": "github",- "has_executable_body": true- },{"id": "det-identity-157","name": "Zoom Account Policy Disables Meeting Passcode",@@ -9841,56 +9062,6 @@"log_source_product": "mdm","has_executable_body": true},- {- "id": "det-network-004",- "name": "SSH Brute-Force From Internet",- "path": "detections/network/ssh-failed-from-internet.yaml",- "tier": "native",- "source": "core",- "category": "network",- "severity": "high",- "mitre_techniques": [- "T1110.001"- ],- "mitre_tactics": [],- "families": [- "credential-access"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "linux",- "has_executable_body": true- },- {- "id": "det-network-005",- "name": "SMB Lateral Movement (Many ADMIN$ Connections)",- "path": "detections/network/smb-lateral-movement.yaml",- "tier": "native",- "source": "core",- "category": "network",- "severity": "high",- "mitre_techniques": [- "T1021.002"- ],- "mitre_tactics": [],- "families": [- "lateral"- ],- "quality_score": 0.977,- "quality_notes": [- "tier:native(+0.5)",- "mitre_techniques:1(+0.2)",- "severity:high(+0.128)",- "executable(+0.15)"- ],- "log_source_product": "windows",- "has_executable_body": true- },{"id": "det-network-022","name": "RDP Logon Session With Concurrent Active Console Session",@@ -10761,6 +9932,32 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-2b7d6fc0-71ac-4cf7-8ed1-b5788ee5257a",+ "name": "Account Lockout",+ "path": "detections/sigma-imports/_quarantine/account-lockout.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "cloud",+ "severity": "medium",+ "mitre_techniques": [+ "T1110"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "cloud"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "azure",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-2d3cdeec-c0db-45b4-aa86-082f7eb75701","name": "Microsoft IIS Service Account Password Dumped",@@ -10945,6 +10142,31 @@"log_source_product": "aws","has_executable_body": true},+ {+ "id": "sigmahq-sigma-34275eb8-fa19-436b-b959-3d9ecd53fa1f",+ "name": "Loaded Module Enumeration Via Tasklist.EXE",+ "path": "detections/sigma-imports/_quarantine/loaded-module-enumeration-via-tasklist-exe.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "medium",+ "mitre_techniques": [+ "T1003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-37c1333a-a0db-48be-b64b-7393b2386e3b","name": "Hacktool Execution - PE Metadata",@@ -11135,6 +10357,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-42b1a5b8-353f-4f10-b256-39de4467faff",+ "name": "Harvesting Of Wifi Credentials Via Netsh.EXE",+ "path": "detections/sigma-imports/_quarantine/harvesting-of-wifi-credentials-via-netsh-exe.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "medium",+ "mitre_techniques": [+ "T1040"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-45545954-4016-43c6-855e-eae8f1c369dc","name": "Protected Storage Service Access",@@ -11346,6 +10593,34 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-4d78a000-ab52-4564-88a5-7ab5242b20c7",+ "name": "Change to Authentication Method",+ "path": "detections/sigma-imports/_quarantine/change-to-authentication-method.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "cloud",+ "severity": "medium",+ "mitre_techniques": [+ "T1556",+ "T1098"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "cloud",+ "identity"+ ],+ "quality_score": 0.755,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:2(+0.2)",+ "severity:medium(+0.105)",+ "executable(+0.15)"+ ],+ "log_source_product": "azure",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-50a0aa3d-ab16-4594-a8aa-5145a6e6792b","name": "Python One-Liners with Base64 Decoding",@@ -13256,6 +12531,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-bb76d96b-821c-47cf-944b-7ce377864492",+ "name": "Suspicious NTLM Authentication on the Printer Spooler Service",+ "path": "detections/sigma-imports/_quarantine/suspicious-ntlm-authentication-on-the-printer-spooler-service.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1212"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-bcfece3d-56fe-4545-9931-3b8e92927db1","name": "Winrs Local Command Execution",@@ -13434,6 +12734,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-cd185561-4760-45d6-a63e-a51325112cae",+ "name": "Live Memory Dump Using Powershell",+ "path": "detections/sigma-imports/_quarantine/live-memory-dump-using-powershell.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-ce72ef99-22f1-43d4-8695-419dcb5d9330","name": "Suspicious Windows Service Tampering",@@ -13536,6 +12861,65 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-d3adb3ef-b7e7-4003-9092-1924c797db35",+ "name": "AWS Identity Center Identity Provider Change",+ "path": "detections/sigma-imports/_quarantine/aws-identity-center-identity-provider-change.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "cloud",+ "severity": "high",+ "mitre_techniques": [+ "T1556"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "cloud",+ "identity"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "aws",+ "has_executable_body": true+ },+ {+ "id": "sigmahq-sigma-d557dc06-62e8-4468-a8e8-7984124908ce",+ "name": "HackTool - WinPwn Execution",+ "path": "detections/sigma-imports/_quarantine/hacktool-winpwn-execution.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1046",+ "T1082",+ "T1106",+ "T1518",+ "T1548.002",+ "T1552.001",+ "T1555",+ "T1555.003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:8(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-d59d7842-9a21-4bc6-ba98-64bfe0091355","name": "Powershell DNSExfiltration",@@ -13661,6 +13045,57 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-e4d22291-f3d5-4b78-9a0c-a1fbaf32a6a4",+ "name": "Potentially Suspicious ODBC Driver Registered",+ "path": "detections/sigma-imports/_quarantine/potentially-suspicious-odbc-driver-registered.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1003"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },+ {+ "id": "sigmahq-sigma-e7a21b5f-d8c4-4ae5-b8d9-93c5d3f28e1c",+ "name": "Suspicious DNS Query Indicating Kerberos Coercion via DNS Object SPN Spoofing",+ "path": "detections/sigma-imports/_quarantine/suspicious-dns-query-indicating-kerberos-coercion-via-dns-object-spn-spoofing.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1557.001",+ "T1187"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:2(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-efc21479-9e83-41da-8cf1-122e06ba8db3","name": "HackTool - NetExec File Indicators",@@ -13819,6 +13254,32 @@"log_source_product": "aws","has_executable_body": true},+ {+ "id": "sigmahq-sigma-f598ea0c-c25a-4f72-a219-50c44411c791",+ "name": "Possible Shadow Credentials Added",+ "path": "detections/sigma-imports/_quarantine/possible-shadow-credentials-added.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1556"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access",+ "identity"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-f72aa3e8-49f9-4c7d-bd74-f8ab84ff9bbb","name": "Suspicious RDP Redirect Using TSCON",@@ -13845,6 +13306,31 @@"log_source_product": "windows","has_executable_body": true},+ {+ "id": "sigmahq-sigma-f7644214-0eb0-4ace-9455-331ec4c09253",+ "name": "Kerberos Manipulation",+ "path": "detections/sigma-imports/_quarantine/kerberos-manipulation.yaml",+ "tier": "imported",+ "source": "sigmahq",+ "category": "endpoint",+ "severity": "high",+ "mitre_techniques": [+ "T1212"+ ],+ "mitre_tactics": [],+ "families": [+ "credential-access"+ ],+ "quality_score": 0.777,+ "quality_notes": [+ "tier:imported(+0.3)",+ "mitre_techniques:1(+0.2)",+ "severity:high(+0.128)",+ "executable(+0.15)"+ ],+ "log_source_product": "windows",+ "has_executable_body": true+ },{"id": "sigmahq-sigma-fa3c117a-bc0d-416e-a31b-0c0e80653efb","name": "Chopper Webshell Process Pattern",diff --git a/marketplace/index.json b/marketplace/index.jsonindex 747fe4c41..f033f6b1d 100644--- a/marketplace/index.json+++ b/marketplace/index.json@@ -1,7 +1,7 @@{"$schema": "https://example.com/schemas/marketplace/v1.json","version": "1.0.0",- "generated": "2026-10-04T15:38:08Z",+ "generated": "2026-10-09T00:36:36Z","categories": [{"id": "playbooks",@@ -38,14 +38,14 @@"imported": 6113,"stable": 877},- "executable": 2767,- "quarantined": 4388,- "executable_detections": 2603,- "reference_only_detections": 4388,+ "executable": 2693,+ "quarantined": 4462,+ "executable_detections": 2529,+ "reference_only_detections": 4462,"not_a_detection": 164},"mitre_coverage": {- "unique_techniques": 391,+ "unique_techniques": 389,"techniques": {"T1001.003": 1,"T1003": 21,@@ -62,11 +62,11 @@"T1011": 1,"T1012": 8,"T1016": 3,- "T1018": 15,+ "T1018": 14,"T1020": 3,"T1021": 4,"T1021.001": 10,- "T1021.002": 24,+ "T1021.002": 23,"T1021.003": 8,"T1021.004": 4,"T1021.005": 1,@@ -92,14 +92,14 @@"T1037.004": 2,"T1039": 2,"T1040": 8,- "T1041": 9,- "T1046": 11,+ "T1041": 8,+ "T1046": 10,"T1047": 34,"T1048": 8,"T1048.001": 1,- "T1048.003": 5,+ "T1048.003": 4,"T1049": 4,- "T1052": 2,+ "T1052": 1,"T1052.001": 1,"T1053": 4,"T1053.001": 1,@@ -129,7 +129,6 @@"T1069": 3,"T1069.001": 12,"T1069.002": 11,- "T1069.003": 1,"T1070": 17,"T1070.001": 3,"T1070.002": 1,@@ -138,29 +137,29 @@"T1070.005": 4,"T1070.006": 1,"T1071": 7,- "T1071.001": 16,- "T1071.004": 12,+ "T1071.001": 14,+ "T1071.004": 11,"T1072": 4,"T1074.001": 4,- "T1078": 51,+ "T1078": 50,"T1078.001": 5,"T1078.002": 7,"T1078.003": 2,- "T1078.004": 49,+ "T1078.004": 47,"T1082": 13,"T1083": 9,"T1087": 10,"T1087.001": 10,- "T1087.002": 19,- "T1087.004": 5,+ "T1087.002": 18,+ "T1087.004": 2,"T1090": 16,"T1090.001": 4,"T1090.002": 1,"T1090.003": 9,"T1091": 1,- "T1095": 5,- "T1098": 47,- "T1098.001": 22,+ "T1095": 4,+ "T1098": 44,+ "T1098.001": 19,"T1098.003": 6,"T1098.004": 6,"T1098.007": 1,@@ -168,11 +167,11 @@"T1102.002": 1,"T1105": 49,"T1106": 6,- "T1110": 23,- "T1110.001": 7,+ "T1110": 18,+ "T1110.001": 5,"T1110.002": 1,- "T1110.003": 4,- "T1110.004": 4,+ "T1110.003": 1,+ "T1110.004": 3,"T1112": 58,"T1113": 7,"T1114": 1,@@ -195,10 +194,10 @@"T1134.003": 3,"T1134.004": 1,"T1135": 7,- "T1136": 3,- "T1136.001": 12,+ "T1136": 2,+ "T1136.001": 11,"T1136.002": 3,- "T1136.003": 4,+ "T1136.003": 2,"T1137": 4,"T1137.002": 1,"T1137.003": 1,@@ -211,7 +210,7 @@"T1190": 39,"T1195": 3,"T1195.001": 1,- "T1195.002": 9,+ "T1195.002": 8,"T1197": 13,"T1199": 12,"T1200": 3,@@ -252,15 +251,15 @@"T1484": 1,"T1484.001": 8,"T1484.002": 2,- "T1485": 34,- "T1486": 12,+ "T1485": 29,+ "T1486": 11,"T1489": 10,"T1490": 20,"T1491.001": 2,"T1496": 4,"T1497.001": 1,- "T1498": 4,- "T1498.001": 2,+ "T1498": 3,+ "T1498.001": 1,"T1498.002": 2,"T1499": 1,"T1499.001": 1,@@ -274,8 +273,8 @@"T1526": 2,"T1528": 9,"T1529": 3,- "T1530": 35,- "T1531": 10,+ "T1530": 27,+ "T1531": 7,"T1535": 1,"T1537": 7,"T1539": 6,@@ -319,7 +318,7 @@"T1550.003": 4,"T1550.004": 1,"T1552": 3,- "T1552.001": 20,+ "T1552.001": 17,"T1552.002": 3,"T1552.004": 7,"T1552.005": 1,@@ -331,11 +330,11 @@"T1553.004": 9,"T1553.005": 5,"T1554": 3,- "T1555": 9,+ "T1555": 8,"T1555.001": 5,"T1555.003": 9,"T1555.004": 3,- "T1555.005": 2,+ "T1555.005": 1,"T1556": 43,"T1556.001": 1,"T1556.003": 1,@@ -349,7 +348,7 @@"T1558": 3,"T1558.001": 2,"T1558.002": 2,- "T1558.003": 16,+ "T1558.003": 15,"T1558.004": 4,"T1559.001": 3,"T1559.002": 1,@@ -373,14 +372,13 @@"T1565": 2,"T1565.001": 3,"T1565.002": 1,- "T1566": 6,+ "T1566": 5,"T1566.001": 15,"T1566.002": 2,- "T1567": 18,+ "T1567": 16,"T1567.001": 1,- "T1567.002": 18,- "T1568.001": 2,- "T1568.002": 3,+ "T1567.002": 15,+ "T1568.002": 2,"T1569": 1,"T1569.002": 29,"T1570": 5,@@ -408,7 +406,7 @@"T1589.002": 1,"T1590.001": 1,"T1590.002": 1,- "T1592": 2,+ "T1592": 1,"T1593.003": 1,"T1595": 1,"T1595.002": 1,@@ -425,7 +423,7 @@"T1614.001": 2,"T1615": 4,"T1620": 4,- "T1621": 7,+ "T1621": 5,"T1622": 1,"T1647": 1,"T1649": 4,@@ -439,7 +437,7 @@"T1686.003": 10,"T1689": 1},- "total_with_mitre": 2472,+ "total_with_mitre": 2398,"unique_techniques_all_rules": 493,"techniques_all_rules": {"T1001.003": 2,@@ -30812,10 +30810,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/rate-limit-burst.yaml",- "sha256": "81da163e5d78188214229399302fcf050e86b64f5e683d9856d1521542f054ee"+ "quarantine_reason": "superseded by the windowed rule wd-rate-limit-burst; this stateless form named a counter no source emits",+ "sha256": "d6cd2f5fe9f5881e7d785db49aad9cda0afa45e3c6b727de11cccbc849468c36"},{"id": "det-application-009",@@ -31087,10 +31086,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/api-mass-enumeration-ids.yaml",- "sha256": "35cd0f0eb9a093eb0a790efc8b52ff0246cd79f9bbe60d58b0c4cfa624f56517"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct object ids per source, and no WAF or application source in this tree surfaces the requested object id as a field \u2014 the engine would count nothing. Revisit when the activity projection lands a `resource` field (depth plan 2.2).",+ "sha256": "a341f99d9353fb8aa7b55cca497b9e2ce7888177a1ce1d343cf1687df2e588a3"},{"id": "det-application-020",@@ -31212,10 +31212,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/saas-mass-share-public.yaml",- "sha256": "72c83cfff9ac33fb3bf97c094febe1dc2a9b01798bc1f71d7f50002130ef03df"+ "quarantine_reason": "superseded by the windowed rule wd-saas-mass-share-public; this stateless form named a counter no source emits",+ "sha256": "dd371b2dfe0e4a36598eb67bf72ea7f8fbec2036c78a36e0629e3b7fd0f14e75"},{"id": "det-application-025",@@ -31612,10 +31613,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-account-enum-reset.yaml",- "sha256": "39b35d2bbe7c42ad8dddd06f321ad83ff342598554734c19a70bad6a0076c82f"+ "quarantine_reason": "superseded by the windowed rule wd-app-account-enum-reset; this stateless form named a counter no source emits",+ "sha256": "ca784d9be605f1a34bf0fae00af57d67a84189c411f13a6f75c985a11036884d"},{"id": "det-application-041",@@ -31987,10 +31989,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-docker-insecure-registry-flag.yaml",- "sha256": "571654c2fd02fccb3b3146be9f4420959e01127cce20a9d06a68998b645fd5a8"+ "quarantine_reason": "not executable (not-windowed): `insecure_registries_count` is the length of a list inside one daemon config event, not a count over a window. The reachability gate reads it as windowed because the name ends in `_count`.",+ "sha256": "08232f1c7b5b3490b6aa4e79de04213f0e8350d90f30e1b02ea4f98216cceb6f"},{"id": "det-application-056",@@ -32062,10 +32065,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-salesforce-mass-export.yaml",- "sha256": "72bbff628f51b8b4e7aa61f7a8b6f0dd301ae906580a56c43d977859b41a604d"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ "sha256": "18d46ceb2934492bba36d21de5a7138a64de2bc973c57a089ecf4a0e14e25908"},{"id": "det-application-059",@@ -32162,10 +32166,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-box-public-link-mass-create.yaml",- "sha256": "cf92c561eb1991d82444053a99d2a9d2231a0daae9b8e8729fea68426a6e82d6"+ "quarantine_reason": "superseded by the windowed rule wd-app-box-public-link-mass-create; this stateless form named a counter no source emits",+ "sha256": "7a2750d91a204fcd59a160aa07d9b2e7ece603e8c4766a4016ec410a6f171ef3"},{"id": "det-application-063",@@ -32237,10 +32242,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-servicenow-record-export-bulk.yaml",- "sha256": "40ec8c992135e5af7b5f053a3ceec3f03b3c7bcbc4a3b4c55a9ec008cc0856bc"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The ServiceNow connector does not surface it.",+ "sha256": "2d88e18502daf69b2c75b66c63dccef87c25687a8c39a493059822be4e4de26c"},{"id": "det-application-066",@@ -32813,10 +32819,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-enumeration.yaml",- "sha256": "304e0557b80a04aad978cdb4b860342fb080f14fd834d5795449d4c4f1af9c6a"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-enumeration; this stateless form named a counter no source emits",+ "sha256": "a1f60811c87292b8cab480f0aad935d6734dd2ab1e891da535526d7783edc0a2"},{"id": "det-cloud-003",@@ -33143,10 +33150,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-s3-mass-getobject.yaml",- "sha256": "6ccc6f122f905dff87f6a00123999f9ac198926b24c74f10b804ab61bb2b8abe"+ "quarantine_reason": "superseded by the windowed rule wd-aws-s3-mass-getobject; this stateless form named a counter no source emits",+ "sha256": "0fde5d59050ccdabe54aabd82c23b67ed39ce794213d75c68858a086a4a6cb11"},{"id": "det-cloud-016",@@ -33393,10 +33401,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-resource-mass-delete.yaml",- "sha256": "16261b9181ef8238dc0880480d3abfb810e6c8df9cf2d35bf65df47a33b1f21e"+ "quarantine_reason": "superseded by the windowed rule wd-azure-resource-mass-delete; this stateless form named a counter no source emits",+ "sha256": "fed6ffde1508e24b474184bbc3cbcc350b23ab067cd2fccda9eaa0c94f5f1887"},{"id": "det-cloud-026",@@ -33619,10 +33628,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-secret-manager-mass-export.yaml",- "sha256": "0771f6f2575981a558e4f0cf7d6d4a83cf51472c9a18f19d7c86a19ec1c2f5c1"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-secret-manager-mass-export; this stateless form named a counter no source emits",+ "sha256": "d96938e05b66df327ee77acc83880315e9ac3aa81087f4cff4640d1add05267a"},{"id": "det-cloud-035",@@ -34022,10 +34032,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-create-user-burst.yaml",- "sha256": "76c6fbdd88f82ad2be5f24de4e9ad8317dcd57680bf3eb5ee21fa0100e4b7780"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-create-user-burst; this stateless form named a counter no source emits",+ "sha256": "2a2edcbcde6c466b8374fde6de22dba3d9c96fa8b4e56bd1e9e15a36d72b3293"},{"id": "det-cloud-051",@@ -34047,10 +34058,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-account-summary-recon.yaml",- "sha256": "9d007c619fae1bc3d815423530ea868e1cf21bfb5e45b13386281f750c5cbba2"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-account-summary-recon; this stateless form named a counter no source emits",+ "sha256": "12818092ce2aae207ba18e4cedb9a9867bce748862756d1439d0ee41e24c0ec6"},{"id": "det-cloud-052",@@ -34072,10 +34084,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-list-keys-recon.yaml",- "sha256": "17cac93a054bc8c701a5fd9748c29c8216cb45ef7603cd547ad828bea580e551"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct *target* users of ListAccessKeys. CloudTrail carries that in `requestParameters.UserName`, and the matcher has no dotted-path traversal, so the connector's `user_name` is the caller rather than the target. Counting the caller would be a different detection.",+ "sha256": "6f9a181b45fac60c7cf2f961275de26811a1412ba1535bbd25aa03874cf795cf"},{"id": "det-cloud-053",@@ -34297,10 +34310,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-s3-mass-deleteobject.yaml",- "sha256": "08fbcb7ac1876e6d5c42a0670e802cd56a5738ff7fb28b52674b71504e7376e0"+ "quarantine_reason": "superseded by the windowed rule wd-aws-s3-mass-deleteobject; this stateless form named a counter no source emits",+ "sha256": "ea48892082f49a53720b5c75e4e39328603cb561bb00e06d806c58cb94d65d24"},{"id": "det-cloud-062",@@ -34998,10 +35012,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-secretsmanager-mass-getsecret.yaml",- "sha256": "d593df7dfed0a9f0034f85f8a069a36762e1e339ae7c9839100d2731ae172723"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct secrets, which CloudTrail carries in `requestParameters.SecretId`; the connector surfaces no secret identifier, so the engine has nothing to be distinct about.",+ "sha256": "c9e262d368b95d81a0069cebfc598519f6ab43fab01b8978729b0d15ff82b070"},{"id": "det-cloud-090",@@ -35448,10 +35463,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-ad-bulk-user-creation.yaml",- "sha256": "16dc2a330e26f0ed98d3a6cf2839e57a509220a46a338004a3626e2a9fb666ed"+ "quarantine_reason": "superseded by the windowed rule wd-azure-ad-bulk-user-creation; this stateless form named a counter no source emits",+ "sha256": "c2c6029621942ade6d66bde78cd9c762ce12a9327ac5a84178c2b239fca0298e"},{"id": "det-cloud-108",@@ -35523,10 +35539,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-ad-bulk-license-assignment.yaml",- "sha256": "a29bf20b144444553ae995cfb0eaad9c47366b505816b078c9e6096830c0d609"+ "quarantine_reason": "superseded by the windowed rule wd-azure-ad-bulk-license-assignment; this stateless form named a counter no source emits",+ "sha256": "92abc9bcfb427f0b836e1d1656694b48122997e1cb55100a49659a7a9477c259"},{"id": "det-cloud-111",@@ -35673,10 +35690,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-arm-locks-removed-bulk.yaml",- "sha256": "ca1c950a12eb928473ff08c28eaf27ca5083a7039ad9090f06f9761c2fee26eb"+ "quarantine_reason": "superseded by the windowed rule wd-azure-arm-locks-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "05e36370354d762c3f3798c54d3889701aceb57a52995b0b6bd9346844a6a7c7"},{"id": "det-cloud-117",@@ -35723,10 +35741,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-arm-mass-resource-modify.yaml",- "sha256": "404127a1704077d786feaa87417441b3929a19ba53673de55bc0e29b7f82d38f"+ "quarantine_reason": "superseded by the windowed rule wd-azure-arm-mass-resource-modify; this stateless form named a counter no source emits",+ "sha256": "888fd3d543b31409c54d7e8c8b154f203269df1b39875cf9b56b5594f33d02f5"},{"id": "det-cloud-119",@@ -35948,10 +35967,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-keyvault-secret-mass-get.yaml",- "sha256": "c483e02bd23bd1953a3e5892f1ea013bddc3cf4af220f8f362b68b552f2b38f7"+ "quarantine_reason": "superseded by the windowed rule wd-azure-keyvault-secret-mass-get; this stateless form named a counter no source emits",+ "sha256": "ca2c5f00de963f8414877676769ea18bb8410bf30038168dcf910f4915a87fee"},{"id": "det-cloud-128",@@ -36323,10 +36343,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-iam-service-account-key-mass-create.yaml",- "sha256": "0f5df424efe9297df53063710f3a8ab61328e5aa7653e068ce3d700076c4f722"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-iam-service-account-key-mass-create; this stateless form named a counter no source emits",+ "sha256": "e2d2790bd174aa1d27e7d3bafd2a75f97029a7fec2eebe8e9d03ff7950a32a19"},{"id": "det-cloud-143",@@ -36373,10 +36394,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-iam-impersonation-burst.yaml",- "sha256": "8cba5a7357d029e627bcd5e78a6350112ed3c1fe2a327f064f0c30f6bd770931"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct impersonation *targets*. The GCP audit connector emits the caller (`actor`) and no target service account, so nothing identifies what is being impersonated.",+ "sha256": "8dd757d9c09438e477aad23848dc5754fb44632ddc799255528bad8511854a61"},{"id": "det-cloud-145",@@ -36473,10 +36495,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-gcs-mass-delete.yaml",- "sha256": "7a22d5ed005cead7804483558975d97cdf6d3b4aed48dd34c734e3b8ebdb5559"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-gcs-mass-delete; this stateless form named a counter no source emits",+ "sha256": "874b3c7d54d1d714100224ab0b818d3c9550d7978dfef1e700e3ba6132706f1c"},{"id": "det-cloud-149",@@ -36723,10 +36746,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-bq-mass-export.yaml",- "sha256": "08c476fdd42babeee5f382082770a96d0d2111b00486969183defeaf14655e96"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-bq-mass-export; this stateless form named a counter no source emits",+ "sha256": "adf82d71c1bfaaa32e329584e0f50ce226e56e451267273646b2a830bb48f1d9"},{"id": "det-cloud-159",@@ -36948,10 +36972,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/k8s-secret-mass-get.yaml",- "sha256": "37cf655ac9ed8cb06bdd5ffd5aba4b056119941a564654bcb450efa73e45c42e"+ "quarantine_reason": "superseded by the windowed rule wd-k8s-secret-mass-get; this stateless form named a counter no source emits",+ "sha256": "9787f5e532cf8778168a2ca3609e820bdd50b27361849c294ed0c40eb1337457"},{"id": "det-cloud-168",@@ -37423,10 +37448,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml",- "sha256": "b6f761129d162c02e4940e863a6fd257529e17501fbb628381e21d7571abb260"+ "quarantine_reason": "not executable (aggregate): `bytes_out_per_minute` is a sum of a numeric field over the window. The engine counts occurrences and distinct values; it adds nothing up, so a gigabyte in one transfer and a gigabyte in a thousand are the same count to it.",+ "sha256": "7b5413b7a942507984c4cf1202929c11ffb34a2f70147b52065a69ea4d11e06b"},{"id": "det-cloud-187",@@ -38505,10 +38531,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/large-egress-personal-cloud.yaml",- "sha256": "eb8402dc3f1e0cc3ca5aa0803383e6f25bc1721df0155785d50ed937b41c1a9e"+ "quarantine_reason": "not executable (not-windowed): carries a `time_window_minutes_lt` clause and no counter at all, so there is nothing to accumulate. `bytes_out` is a per-event proxy field; the window clause is vestigial and is what makes the rule unreachable. Deleting that one clause is a content decision, not a translation.",+ "sha256": "cff7d6e248fcd64de67fd19a88a672379a7216813217fe519b8355545d124999"},{"id": "det-data-exfil-002",@@ -38530,10 +38557,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/egress-spike-baseline.yaml",- "sha256": "653475a9aa55dc00d90200d659dfca6c9c8cb34a840f7cd47e4d3729aa87dcfe"+ "quarantine_reason": "not executable (aggregate): needs a sum of `bytes_out` per source and a z-score against a learned baseline. Both are out of scope for a counting engine (the baseline arrives with depth plan 3.4).",+ "sha256": "424872b43d159017f5a8620d1ab24619df423f8b4433e4a45f57fa57f7a41a78"},{"id": "det-data-exfil-003",@@ -38631,10 +38659,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/salesforce-bulk-export.yaml",- "sha256": "2f35ea6879cab1f19d7ec673a65f6a22bd4b18cea70fd36edd39e728940c178d"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ "sha256": "26883bcf44dab64327a579056543fa85cee37b2a7f9ebd7cec2ac51a996a8d68"},{"id": "det-data-exfil-007",@@ -38681,10 +38710,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/db-mass-row-read.yaml",- "sha256": "7de65520911f07c3588c176cad44b065325961ca3b6c0fd136ec66920a4595a0"+ "quarantine_reason": "not executable (aggregate): needs a sum of rows read per session and a z-score against a learned baseline; the engine computes neither.",+ "sha256": "ea09b41263ee91c7e16c585b8b9546f545bbc1405c5e8be0a9cc182a5c2cfd67"},{"id": "det-data-exfil-009",@@ -38807,10 +38837,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/printer-mass-print-confidential.yaml",- "sha256": "9e0aefacacd2b8815f8ebb820c8342c27de284bd870f133868633f11c854a0c5"+ "quarantine_reason": "not executable (aggregate): `page_count_per_user` sums pages across print jobs. Counting jobs instead would fire on 500 one-page prints and miss one 1,500-page print, which inverts what the rule is for.",+ "sha256": "6b57f770030cdb02c6a28727d254e1d7f2687826960cd1d96cdc95d2e0c5e05e"},{"id": "det-data-exfil-014",@@ -38932,10 +38963,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/container-mass-image-export.yaml",- "sha256": "48c18e0a641c00a7d0ef2c936a5d6dc6b92b0a66849c7512e7be697587ed59ee"+ "quarantine_reason": "superseded by the windowed rule wd-container-mass-image-export; this stateless form named a counter no source emits",+ "sha256": "7e8fbc532b3a248700664237f61c4fde2d55f8767f9d732551124d35747a8fa8"},{"id": "det-data-exfil-019",@@ -38983,10 +39015,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/secrets-mass-fetch.yaml",- "sha256": "be1c3076bfa548b3c9a7c01be00da2987359b81cac27f574715abea4718399f1"+ "quarantine_reason": "superseded by the windowed rule wd-secrets-mass-fetch; this stateless form named a counter no source emits",+ "sha256": "e2f3de8ee0b6bdd78836cf9dc35490c76c5d9f5e0f158087e355207386012328"},{"id": "det-endpoint-001",@@ -39058,10 +39091,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/endpoint/ransomware-file-extension-change.yaml",- "sha256": "022552298877ee4430201bd15b408efca222b1fcb8574b366955f648d149f55c"+ "quarantine_reason": "superseded by the windowed rule wd-ransomware-file-extension-change; this stateless form named a counter no source emits",+ "sha256": "53820bc0d41024bd4b63288619edad669938d2695c92c74e8c741a26f228ace3"},{"id": "det-endpoint-004",@@ -46646,10 +46680,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/brute-force-login.yaml",- "sha256": "d3a12403d8301306827a11de1bf4d3f06124a699c4647fafcc36628895fdc4ed"+ "quarantine_reason": "superseded by the windowed rule wd-brute-force-login; this stateless form named a counter no source emits",+ "sha256": "655b3071468f624b3e43b8612244f12a5ecd0df1afa1672efdf8447d8c78625b"},{"id": "det-identity-002",@@ -46696,10 +46731,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/password-spray.yaml",- "sha256": "5d5000a11b71725bfdacd6b6cd0ffb1e55fddd22f99dd5289ef53dc5af629925"+ "quarantine_reason": "superseded by the windowed rule wd-okta-password-spray; this stateless form named a counter no source emits",+ "sha256": "8a95c7a3821eb6bb005c3c30a9c00609e591f70ff51ef99472417e372684bae4"},{"id": "det-identity-004",@@ -46821,10 +46857,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/mfa-fatigue.yaml",- "sha256": "9e7fa58685ace079a1d5aabc25eb0f87f8a2cfd26449a02602f1aea5a39481ad"+ "quarantine_reason": "superseded by the windowed rule wd-okta-mfa-push-bombing; this stateless form named a counter no source emits",+ "sha256": "9e0540d3832709679cf31b87867c546bc9b2c5e437109b18a405994ae8bc6e88"},{"id": "det-identity-009",@@ -46971,10 +47008,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/shared-account-login-spike.yaml",- "sha256": "49d0fd4644419aadd6c524d97109d98f1bdbb03c53a57faa836277c9743d58dc"+ "quarantine_reason": "superseded by the windowed rule wd-shared-account-login-spike; this stateless form named a counter no source emits",+ "sha256": "a3cc6c9769d04a19a2cdb128019456c164802a7c5c23352a001f5c7fdf7c8427"},{"id": "det-identity-015",@@ -47421,10 +47459,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/kerberoasting.yaml",- "sha256": "e47442963dfbe3d8b196da4ccec625e365151c427779b19218b66274d45ce4f9"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct service principal names requested per account. Windows 4769 carries the SPN in `ServiceName`, which no source in this tree lifts, so there is nothing to be distinct about.",+ "sha256": "ad722793a720b7f38cacace4b71f6739ef370541a4b641bc73ad3a259699b0a2"},{"id": "det-identity-033",@@ -47646,10 +47685,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-password-spray-many-targets.yaml",- "sha256": "acbcc9071211e2b449a6d7ddafad985df383a545e2113ad490da2d31f6cf547d"+ "quarantine_reason": "not executable (aggregate): pairs a distinct-user count with a `tries_per_user` ceiling, which is a mean inside the window. Keeping only the distinct half would widen the rule into a brute-force detection `wd-bruteforce-auth` already covers.",+ "sha256": "117f5c21f5682968e9ca5d728e45673d2113b51d3fbc7e37c1789b24eb808354"},{"id": "det-identity-042",@@ -47671,10 +47711,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-password-spray-distributed.yaml",- "sha256": "ba7ee636198c0507154f0d0de95cd3829c0314f4758fe3ac0d564e90d8f9b698"+ "quarantine_reason": "superseded by the windowed rule wd-ident-password-spray-distributed; this stateless form named a counter no source emits",+ "sha256": "ab535d70302fff58a428a79364c86a77b1a4c59d8bb7b9e48947a94d6e299f8d"},{"id": "det-identity-043",@@ -47696,10 +47737,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-credstuffing-known-breached-list.yaml",- "sha256": "5edff83321b0a0cebcefe359fa65905a02735486b1c3ce976b09da0a47095329"+ "quarantine_reason": "superseded by the windowed rule wd-ident-credstuffing-known-breached-list; this stateless form named a counter no source emits",+ "sha256": "0e86726aaafb9c4c19070e80935dcf3cde8c65ac3ece3a501096347dd71a1595"},{"id": "det-identity-044",@@ -47821,10 +47863,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-mfa-fatigue-burst.yaml",- "sha256": "bdb3f4000a44dff44649c7500fbf80d282792e3fd8f6af18f270f3699571b459"+ "quarantine_reason": "superseded by the windowed rule wd-ident-mfa-fatigue-burst; this stateless form named a counter no source emits",+ "sha256": "2f0612bddeba2a522dc88750b20309bec3b108909189f7690e17a19c44ebf394"},{"id": "det-identity-049",@@ -47871,10 +47914,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-account-locked-many-times.yaml",- "sha256": "3a10550d0bcb6de79e8f2dc9521ae1b0af6cf1f602b4824f950cfa56796d308c"+ "quarantine_reason": "superseded by the windowed rule wd-ident-account-locked-many-times; this stateless form named a counter no source emits",+ "sha256": "30b2d58e606fe709df81cf981f675e945fef3a0ee274541f2274e38b13e758e9"},{"id": "det-identity-051",@@ -48246,10 +48290,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-totp-skewed-clock.yaml",- "sha256": "2a68b98b0374d54a545c0847ebbcbda6fd8f9892468fc0741a2a6c85f7cef69a"+ "quarantine_reason": "superseded by the windowed rule wd-ident-totp-skewed-clock; this stateless form named a counter no source emits",+ "sha256": "febfc2edf78212322d700a9c1d33d0ad3a3001245f55f58e379860233f489b49"},{"id": "det-identity-066",@@ -48396,10 +48441,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-priv-role-burst-granted.yaml",- "sha256": "0436e7689b478465ae07b5b5f51c577a189a6dd717197f8dcb917080c584eba1"+ "quarantine_reason": "superseded by the windowed rule wd-ident-priv-role-burst-granted; this stateless form named a counter no source emits",+ "sha256": "b275110b06293cd9df693f3ae1472d0f1ae7af97894935a4f3ab4d9ada08c5d6"},{"id": "det-identity-072",@@ -48521,10 +48567,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-priv-role-removed-bulk.yaml",- "sha256": "dcaf7a842e5921193d608c309314de78998127c11a5ef0a87528ab548c0a0a35"+ "quarantine_reason": "superseded by the windowed rule wd-ident-priv-role-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "3d5cfe4d3bf16641024b8a7338a5dd6ee8b5c5e62b24237a852aab4b0a19e0eb"},{"id": "det-identity-077",@@ -48546,10 +48593,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-orphan-svc-acct-many-keys.yaml",- "sha256": "933ade67ee315007fccaab232b78e1f2618e05f3a1e70a8cfc0126b298fea62d"+ "quarantine_reason": "not executable (not-windowed): `active_keys_per_account` is the state of an account at one moment, reported by an inventory event. A window counts what happened, not what is true; this needs the posture snapshot (depth plan 2.5).",+ "sha256": "9be9d853f159833edcf0afd6b1cf9f702526ec7911cc5ff501aaf0f600f9c036"},{"id": "det-identity-078",@@ -48796,10 +48844,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-ad-machine-account-quota-abuse.yaml",- "sha256": "62c0a6fe579a8b95fa47a5f5483f37992df331cae9fe1d3b9eac42220db6a57c"+ "quarantine_reason": "superseded by the windowed rule wd-ident-ad-machine-account-quota-abuse; this stateless form named a counter no source emits",+ "sha256": "19209213b458f51b88058c4464eeed6b2d80f8729225e1d7886bce02709ca37a"},{"id": "det-identity-088",@@ -49021,10 +49070,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-kerberos-failure-spike-from-host.yaml",- "sha256": "ee42e0daee55690e475fcdf7426f0ee52f28dec2325ee71919c94fc3e6acabd4"+ "quarantine_reason": "superseded by the windowed rule wd-ident-kerberos-failure-spike-from-host; this stateless form named a counter no source emits",+ "sha256": "11d56dd7cfe89b12cd755af82120ac7645d667087924fcc4e5d667ed7a88b2e5"},{"id": "det-identity-097",@@ -49271,10 +49321,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-okta-admin-app-assigned-many-users.yaml",- "sha256": "43f08f14eeb9a97ad953a6078e60bfb7b8a2cc92c13803a1dbb8dd1669a70446"+ "quarantine_reason": "superseded by the windowed rule wd-ident-okta-admin-app-assigned-many-users; this stateless form named a counter no source emits",+ "sha256": "f223dd4c655d4926345b9de6c1b1dff3efc70fc6d09dd4d83fd6455c6ee78e74"},{"id": "det-identity-107",@@ -49546,10 +49597,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-okta-mass-deactivate-users.yaml",- "sha256": "c7632b4a6f4a7294d11cc8672e838cafaa3ef443be5867fa519fb4e4bd5c59ad"+ "quarantine_reason": "superseded by the windowed rule wd-ident-okta-mass-deactivate-users; this stateless form named a counter no source emits",+ "sha256": "e31587a149d39b590dca9e9ddc8d7ef9a4f5b748f765930918372e30ee85d624"},{"id": "det-identity-118",@@ -49846,10 +49898,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-ping-admin-role-burst.yaml",- "sha256": "3747c320c44b54a32f4b9a7a4f47ad7b4447611cb127c26f0fed66976c25ea69"+ "quarantine_reason": "superseded by the windowed rule wd-ident-ping-admin-role-burst; this stateless form named a counter no source emits",+ "sha256": "747a1f844378e90c56961797e6dd17843a50f845c3abae6341e70c9a36522bfe"},{"id": "det-identity-130",@@ -50071,10 +50124,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-oidc-many-clients-from-single-actor.yaml",- "sha256": "f9a5b7754bf16d90d6161c7727d96677443728aea32c8d3c35a7cfc945fe65db"+ "quarantine_reason": "superseded by the windowed rule wd-ident-oidc-many-clients-from-single-actor; this stateless form named a counter no source emits",+ "sha256": "4b158fca1d6ccdeab39ad515551592e631e3b4b9a6fd2396c440da6b0e5350d7"},{"id": "det-identity-139",@@ -50496,10 +50550,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-github-org-collaborator-removed-bulk.yaml",- "sha256": "2b5695b8a9f752d5fd161e8e90f322821dc00b616616448a071ad0f4dd1c8763"+ "quarantine_reason": "superseded by the windowed rule wd-ident-github-org-collaborator-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "279068b5a71ddf9125aa7b1cf1b6f0e83cdcaa761e2a194a3618f7b1eb760942"},{"id": "det-identity-156",@@ -50521,10 +50576,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-github-deploy-key-added-org-wide.yaml",- "sha256": "31597897bb8b0a6af8a852689610f456ccebd525c97ee435bba1e07fdc289a12"+ "quarantine_reason": "superseded by the windowed rule wd-ident-github-deploy-key-added-org-wide; this stateless form named a counter no source emits",+ "sha256": "77f95373794530900f68dcf340bbf424c147c44bfc9baea79fb08f8c066bc851"},{"id": "det-identity-157",@@ -50646,10 +50702,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/c2-beacon-high-frequency.yaml",- "sha256": "8cc24269f77c5f8c66b7383f42835fcbab6352988ee17560ee7522b60499e42b"+ "quarantine_reason": "not executable (aggregate): `interval_consistency` is the regularity of inter-arrival times across the window \u2014 a variance, not a count. Keeping only the connection count turns a beacon detection into a chatty-host detection.",+ "sha256": "961a20687e2ecdfcf3133d99897c429b37b084f2352efd6efa9e5dcdf369f6ad"},{"id": "det-network-002",@@ -50671,10 +50728,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/dns-data-exfiltration.yaml",- "sha256": "82874ea6ea82a9359a779e8a4d249a4e88fa66ee1bad029f885029755174973a"+ "quarantine_reason": "not executable (aggregate): `avg_subdomain_len` is a mean over the window. Dropping it leaves '100 DNS queries in 30 minutes', which every workstation clears.",+ "sha256": "208f9b32ecc07c73bd5713f396451b1831164e60b3f78b5fa0855200a57c6b3e"},{"id": "det-network-003",@@ -50696,10 +50754,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/port-scan-internal.yaml",- "sha256": "361f061dbbd69153aa26b257c4aee729e550b2e639a091f9c8617e6ffc49bf89"+ "quarantine_reason": "not executable (multi-distinct): requires distinct destination ports *and* distinct destinations per source. The engine holds one distinct operand per rule; splitting this into two rules would fire twice on one scan and once on neither half.",+ "sha256": "3fc069ed9663908f6521a6c6a7d41611ce905a581e817e1ba3c1a26166ebe9c0"},{"id": "det-network-004",@@ -50721,10 +50780,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ssh-failed-from-internet.yaml",- "sha256": "4540ebc8ca659bb3414ae514f09c19181be020d0857824c71642052d38bfce6c"+ "quarantine_reason": "superseded by the windowed rule wd-ssh-failed-from-internet; this stateless form named a counter no source emits",+ "sha256": "b6d4eaa64be49f609b6b0896f072f1417d14847583a179cc7a68d6c60a95c57e"},{"id": "det-network-005",@@ -50746,10 +50806,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/smb-lateral-movement.yaml",- "sha256": "3090822a773fa366d2d1bcbafa1678f3bc40a42da8b4f694260713135564b80a"+ "quarantine_reason": "superseded by the windowed rule wd-smb-lateral-movement; this stateless form named a counter no source emits",+ "sha256": "31c010bd53fe21f3398318c77c3de1e62b2e4613d15f82b260896e598b2d5434"},{"id": "det-network-006",@@ -50846,10 +50907,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/dns-fast-flux.yaml",- "sha256": "41f30b5415bdefa3d094bc86bd0dffa1bd0d257479b653297faa99027d381924"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct A records, which live as a list inside a single DNS response rather than one per event. The engine counts distinct values of one field per event, so it cannot see inside the answer set.",+ "sha256": "3b0c3eaf3c48bc3302fe1096f0279ef796ec9015e744381d420ce260a0bb3cd0"},{"id": "det-network-010",@@ -50921,10 +50983,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/icmp-tunnel.yaml",- "sha256": "fbbcf5c80e17db102f7dacb6eed86d1f9610cdf2dfbd0699af2c71d5405b4941"+ "quarantine_reason": "not executable (aggregate): `avg_payload_bytes` is a mean over the window, and `packet_count` is a per-flow sum. Counting flow records measures neither.",+ "sha256": "5b9d79468fd9119dd6c2b109bdc38c828094f354440351c84f4b6cc245aa7030"},{"id": "det-network-013",@@ -50996,10 +51059,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/egress-to-rare-asn.yaml",- "sha256": "64bee3753107cb428e95f179cdef7fd4aa964e62e986bad9171417b8eb7ac99e"+ "quarantine_reason": "not executable (rarity): fires when a destination ASN has been seen *fewer* than five times in thirty days. The engine fires when a count is high; a rarity signal needs the first-seen store (depth plan 3.3) and the baseline module (3.4).",+ "sha256": "e0ac3673e46f8aa467f5416ed59d1d8ba24b849e89c9e43258a76e81594c917f"},{"id": "det-network-016",@@ -51046,10 +51110,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ldap-bind-anomaly.yaml",- "sha256": "310bc5b1f556040d90b7d71a431b03537890b7fe72efee90912134a448c8dd71"+ "quarantine_reason": "superseded by the windowed rule wd-ldap-bind-anomaly; this stateless form named a counter no source emits",+ "sha256": "59344b7af75eee79c90402ef34d4bbc5dfb14ca0c4569feb15782ea9abad2476"},{"id": "det-network-018",@@ -51096,10 +51161,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ddos-syn-flood.yaml",- "sha256": "516820591074cbd2e139e7c6f8d637d773b5b5b32896e06e46e06feed17010d9"+ "quarantine_reason": "superseded by the windowed rule wd-ddos-syn-flood; this stateless form named a counter no source emits",+ "sha256": "337707d7dbec4e4607b0580235a1686fb4ca8bdc32640fde4ce93c1fb3178318"},{"id": "det-network-020",@@ -51146,10 +51212,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/internal-host-spamming-mail.yaml",- "sha256": "ba9caeed6a84b0a816ebb07efd616414689750a856ba5b6e67ba01cdb32d245f"+ "quarantine_reason": "superseded by the windowed rule wd-internal-host-spamming-mail; this stateless form named a counter no source emits",+ "sha256": "c5e750fd0be94d0b6a3bd01174f4070097d74c9609e815f10e01cdd3e5f5f9df"},{"id": "det-network-022",@@ -51447,10 +51514,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-nxdomain-spike.yaml",- "sha256": "00f3597377ca2805f7e24b3a01085723edb4ed2ac35d17468a880970ca69acb6"+ "quarantine_reason": "superseded by the windowed rule wd-net-dns-nxdomain-spike; this stateless form named a counter no source emits",+ "sha256": "1e63d5700b0a5986e3763082c934f06528f185722cc4f6c2b03460e2f86e74bc"},{"id": "det-network-034",@@ -51472,10 +51540,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-any-query-spike.yaml",- "sha256": "51b8dc0b30dce8338ac562d4e896311f56ac54eea3cb6982f9d1c83530d0ce29"+ "quarantine_reason": "superseded by the windowed rule wd-net-dns-any-query-spike; this stateless form named a counter no source emits",+ "sha256": "16264987165bc049c5aefae955df21e5e02cd3e72425d638d900e5973cbd3bda"},{"id": "det-network-035",@@ -51573,10 +51642,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-tunnel-pattern-len.yaml",- "sha256": "e3886c10249496ebc76861df49d919804a13c776280b9c651366be055cf8514c"+ "quarantine_reason": "not executable (not-windowed): `subdomain_hex_ratio` is a property of one query name, not a count over a window; the reachability gate reads it as windowed because the name ends in `_ratio`. It is cheap to derive from the query name and belongs with the derived fields, not here.",+ "sha256": "2fb9ca1247d28bcfa6f1c69770c1228dee25e10a4c3abb862b99d5202f0ad64d"},{"id": "det-network-039",@@ -51673,10 +51743,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-fast-flux.yaml",- "sha256": "f81dcbd3ddc763c67e15779a42e97baa5281ef834a90e2b7c5a52fb0d3668996"+ "quarantine_reason": "not executable (not-windowed): `answer_count` is the number of records in one DNS response, a per-event field, not a count over a window.",+ "sha256": "cf707dd8d385769c244ed8e0fb9cd1c2d92349b8ce8456909cf50a36c01ccd51"},{"id": "det-network-043",@@ -52623,10 +52694,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dhcp-starvation.yaml",- "sha256": "3a70653c3dc37de36157c56d349353a4a4a8d1c30377e757fb7e2e2e7bec8ea0"+ "quarantine_reason": "superseded by the windowed rule wd-net-dhcp-starvation; this stateless form named a counter no source emits",+ "sha256": "37f59330c3c08915c50a50b80206362455c4b45e87db7a6b2eba07f41c1a0c82"},{"id": "det-network-081",diff --git a/packages/aisoc-packs/packs/ransomware.json b/packages/aisoc-packs/packs/ransomware.jsonindex 4233139a6..4301785e9 100644--- a/packages/aisoc-packs/packs/ransomware.json+++ b/packages/aisoc-packs/packs/ransomware.json@@ -12,7 +12,7 @@"T1489"],"detections": [- "det-endpoint-003",+ "wd-ransomware-file-extension-change","det-endpoint-123","det-endpoint-182"],@@ -77,11 +77,11 @@],"validation": [{- "action": "Replay the positive fixture for det-endpoint-003 through the live engine.",+ "action": "Replay 200 rename events for one process within five minutes through the live windowed engine.","expect": "Exactly one alert, severity critical, technique T1486."},{- "action": "Replay the negative fixture for det-endpoint-003.",+ "action": "Replay 199 of the same rename events \u2014 one short of the threshold.","expect": "No alert. A pack whose detections fire on benign activity is worse than no pack."},{diff --git a/scripts/check_content_packs.py b/scripts/check_content_packs.pyindex 25b6a59ce..9b1f0ef40 100644--- a/scripts/check_content_packs.py+++ b/scripts/check_content_packs.py@@ -34,19 +34,32 @@ from pack_schema import ContentPack, validate_pack # noqa: E402ROOT = repo_root()PACKS_DIR = ROOT / "packages" / "aisoc-packs" / "packs"RULESET = ROOT / "services" / "fusion" / "app" / "data" / "detection_ruleset.json"+#: The sliding-window corpus, loaded by the second engine in the same worker.+WINDOWED_RULESET = ROOT / "services" / "fusion" / "app" / "data" / "windowed_ruleset.json"PLAYBOOKS = ROOT / "detections" / "playbooks"def _executable_rule_ids() -> frozenset[str]:- """Ids the engine actually loads.+ """Ids the engines actually load.Not the YAML on disk: that is a projection carrying thousands ofrules the engine never compiles, so a pack validated against itcould reference a detection that cannot fire.++ Both engines, because the fusion worker runs both. Reading only the+ stateless corpus made a pack naming a windowed rule unreferenceable —+ and when a rule was translated into windowed form, the pack that had+ always named it started failing for a rule that had become *more*+ able to fire, not less."""- raw = json.loads(RULESET.read_text(encoding="utf-8"))- rules = raw if isinstance(raw, list) else raw.get("rules", [])- return frozenset(str(rule.get("id")) for rule in rules if rule.get("id"))+ ids: set[str] = set()+ for path in (RULESET, WINDOWED_RULESET):+ if not path.is_file():+ continue+ raw = json.loads(path.read_text(encoding="utf-8"))+ rules = raw if isinstance(raw, list) else raw.get("rules", [])+ ids |= {str(rule.get("id")) for rule in rules if rule.get("id")}+ return frozenset(ids)def main() -> int:diff --git a/scripts/check_detection_fields.py b/scripts/check_detection_fields.pyindex c05d79341..1c03a10ff 100644--- a/scripts/check_detection_fields.py+++ b/scripts/check_detection_fields.py@@ -76,7 +76,15 @@ NORMALIZER = ROOT / "services" / "ingest" / "internal" / "normalizer" / "normali# family by deriving the booleans from the tenant overlay. 14 rules moved# (one rule carried two clauses), leaving the four families that genuinely# need engine or enrichment work.-MAX_UNREACHABLE = 119+#+# 119 before depth plan 3.1, which decided all 74 rules of the windowed+# family: 50 became `wd-*` rules replayed through the real engine, and 24+# were refused with a reason and stopped being published as executable+# (`scripts/windowed_translation.py`, gated by+# `scripts/check_windowed_translation.py`). Two of the 74 carried a second+# clause as well, which is why the identity-enrichment family moved from 24+# to 22 and the comparison family from 8 to 7.+MAX_UNREACHABLE = 45#: Fields that no telemetry carries because they are computed, not observed:#: sliding-window counters, allowlist membership, privilege flags, anddiff --git a/scripts/check_windowed_translation.py b/scripts/check_windowed_translation.pynew file mode 100644index 000000000..2d303ec9a--- /dev/null+++ b/scripts/check_windowed_translation.py@@ -0,0 +1,430 @@+#!/usr/bin/env python3+"""CI gate: a `det-*` rule that needs a window is translated or refused, never dropped.++The hole this closes+--------------------+74 engine-loaded rules name a counter no source emits — ``fail_count``,+``events_per_minute``, ``distinct_secrets_per_minute`` — so each one reads+``None`` on its first clause and can never fire, while still being loaded and+still counted toward the published executable total.+``scripts/windowed_translation.py`` decides what happens to each.++Without this gate the decision table is a suggestion. Two cheap ways to make+the unreachable ratchet go down without detecting anything more exist, and+both look like progress in a diff:++* delete the ``det-*`` spec, and the rule leaves the corpus with no+ replacement;+* write a ``wd-*`` rule with a rounder threshold or a wider window than the+ original, so the translation is a new detection wearing the old one's name+ and severity.++So this re-derives every translation from the ``det-*`` spec it came from and+compares it with what is committed, checks that the clauses the translation+did not consume survived verbatim into the windowed rule, and refuses a+decision that is neither a translation nor a reason.++What it deliberately does not do+--------------------------------+It does not require ``group_by`` to be in the statically-recovered emitted+namespace. That namespace is an under-approximation for payloads a connector+lifts wholesale rather than naming key by key — five windowed rules that+predate this gate group by Windows ``EventData`` keys the ``windows_event``+connector lifts generically, and failing them would be a false alarm about+rules that work. Those are **reported**, the same way+``check_detection_fields.py`` reports its vendor-payload class, and the+evidence that a translated rule fires is replay through the real engine+(``services/fusion/tests/test_windowed_translation_replay.py``) rather than a+name lookup.++Usage:+ python3 scripts/check_windowed_translation.py # enforce+ python3 scripts/check_windowed_translation.py --check # same, for CI+ python3 scripts/check_windowed_translation.py --list # every decision+ python3 scripts/check_windowed_translation.py --self-test # prove the gate works+"""++from __future__ import annotations++import argparse+import importlib.util+import json+import sys+from pathlib import Path+from typing import Any++# `scripts/` is on sys.path when this file is run as a program, but not when a+# test loads it by path with importlib. gate_toolkit sits beside it either way.+sys.path.insert(0, str(Path(__file__).resolve().parent))++from gate_toolkit import SKELETON, refuses_an_empty_tree, repo_root, self_test_main++ROOT = repo_root()+RULESET = ROOT / "services" / "fusion" / "app" / "data" / "detection_ruleset.json"+WINDOWED = ROOT / "services" / "fusion" / "app" / "data" / "windowed_ruleset.json"++#: Reasons shorter than this are not reasons. A refusal is the only record a+#: reader of the catalogue gets of why a shipped rule does not run.+_MIN_REASON_CHARS = 60++#: Windowed rules whose *selector* names a computed field, which no source+#: emits, so the rule cannot fire however correct its window is. This is the+#: reachability ratchet the windowed corpus never had: `check_detection_fields`+#: reads the stateless ruleset only, so until now a windowed rule could name+#: anything.+#:+#: The two standing entries both read `role_priv`, which arrives with the+#: identity enrichment of depth plan 3.3. Lower this in the PR that builds it;+#: never raise it to make a red build green.+MAX_UNREACHABLE_WINDOWED = 2+++def _load_sibling(name: str) -> Any:+ """Import a script beside this one by path, not by package.++ `scripts/` is not a package and several of these files are run directly,+ so an ordinary import works only when the process happened to start in+ the right directory.+ """+ spec = importlib.util.spec_from_file_location(name, ROOT / "scripts" / f"{name}.py")+ if spec is None or spec.loader is None: # pragma: no cover - unreachable with a real tree+ raise SystemExit(f"{Path(sys.argv[0]).name}: cannot load scripts/{name}.py")+ module = importlib.util.module_from_spec(spec)+ sys.modules[name] = module+ spec.loader.exec_module(module)+ return module+++def windowed_family(fields_gate: Any) -> dict[str, str]:+ """`det-*` rules the reachability gate attributes to the windowed family.++ Keyed by rule id, valued by the `<category>/<slug>` the decision table+ uses. Derived from that gate's own classifier rather than from a second+ copy of the pattern, so the two cannot drift into disagreeing about which+ rules this one is responsible for.+ """+ sys.path.insert(0, str(ROOT / "scripts"))+ from detection_specs_index import all_specs # noqa: PLC0415+ from generate_detections import load_id_lock # noqa: PLC0415++ lock = load_id_lock()+ key_by_id = {lock.get(f"{category}/{spec['slug']}"): f"{category}/{spec['slug']}" for category, spec in all_specs()}++ derived, _vendor, _namespace, _total = fields_gate.scan()+ out: dict[str, str] = {}+ for rule_id, missing in derived:+ if any(fields_gate._family(name) == "windowed evaluator" for name in missing):+ key = key_by_id.get(rule_id)+ if key:+ out[rule_id] = key+ return out+++def _read_rules(path: Path, label: str) -> list[dict[str, Any]]:+ if not path.is_file():+ raise SystemExit(f"{Path(sys.argv[0]).name}: {label} missing at {path} — nothing to check")+ payload = json.loads(path.read_text(encoding="utf-8"))+ rules = payload.get("rules")+ if not isinstance(rules, list) or not rules:+ raise SystemExit(f"{Path(sys.argv[0]).name}: {path} declares no rules — refusing to report a clean tree")+ return rules+++def check(+ translation: Any,+ specs: dict[str, tuple[str, dict[str, Any]]],+ windowed: list[dict[str, Any]],+ engine_ids: set[str],+ family: dict[str, str],+) -> list[str]:+ """Every rule this gate enforces, in one pass. Returns the failures."""+ problems: list[str] = []+ committed = {rule["id"]: rule for rule in windowed if isinstance(rule, dict) and rule.get("id")}++ # R1 — nothing in the family may be undecided.+ for rule_id, key in sorted(family.items()):+ if key not in translation.DECISIONS:+ problems.append(+ f"{rule_id} ({key}) needs a window and has no decision — add a Translation or a Refusal to scripts/windowed_translation.py"+ )++ for key, decision in translation.DECISIONS.items():+ if key not in specs:+ problems.append(f"{key} is decided but no spec declares it; a slug was renamed or removed")+ continue+ category, spec = specs[key]+ rule_id = key++ if isinstance(decision, translation.Refusal):+ # R5 — a refusal is only worth anything if it says why.+ if decision.kind not in translation.REFUSAL_KINDS:+ problems.append(f"{key} is refused with an unknown kind {decision.kind!r}")+ if len(decision.reason.strip()) < _MIN_REASON_CHARS:+ problems.append(f"{key} is refused with a reason too short to act on ({len(decision.reason.strip())} chars)")+ continue++ if isinstance(decision, translation.Covered):+ if decision.by not in committed:+ problems.append(f"{key} claims {decision.by} already covers it, but no such windowed rule is committed")+ continue++ # R2 — the committed windowed rule must be what the spec derives to.+ try:+ expected = translation.derive(category, spec, decision)+ except translation.ShapeError as exc:+ problems.append(f"{key} is translated but its clauses do not form a window: {exc}")+ continue+ actual = committed.get(expected["id"])+ if actual is None:+ problems.append(+ f"{key} translates to {expected['id']}, which is not in {WINDOWED.name} — re-run scripts/export_windowed_ruleset.py"+ )+ continue+ for attribute in ("threshold", "window_seconds", "severity", "category", "match_when", "group_by"):+ if actual.get(attribute) != expected[attribute]:+ problems.append(+ f"{expected['id']} {attribute} is {actual.get(attribute)!r} in {WINDOWED.name} but the "+ f"{rule_id} spec derives {expected[attribute]!r} — a translation may not restate its original's numbers"+ )+ if actual.get("distinct_by", "") != expected.get("distinct_by", ""):+ problems.append(f"{expected['id']} distinct_by disagrees with the decision table")++ # R3 — a clause the translation did not consume must survive verbatim.+ shape = translation.parse_shape(spec["match_when"])+ survivors = {k: v for k, v in spec["match_when"].items() if k not in shape.consumed}+ if survivors != expected["match_when"]:+ problems.append(+ f"{expected['id']} dropped or rewrote a clause of {rule_id}: expected {survivors!r}, got {expected['match_when']!r}"+ )++ # R4 — a decision has to take effect, or the rule still ships unreachable.+ sys.path.insert(0, str(ROOT / "scripts"))+ from generate_detections import load_id_lock # noqa: PLC0415++ lock = load_id_lock()+ for key in translation.DECISIONS:+ locked_id = lock.get(key)+ if locked_id and locked_id in engine_ids:+ problems.append(+ f"{key} ({locked_id}) is decided but still in {RULESET.name} — scripts/export_detection_ruleset.py must drop a decided rule"+ )+ return problems+++def _unemitted_entities(fields_gate: Any, windowed: list[dict[str, Any]]) -> list[tuple[str, list[str]]]:+ """Windowed rules whose entity fields are outside the static namespace."""+ namespace = fields_gate._connector_namespace() | fields_gate._template_namespace() | fields_gate._go_normalizer_namespace()+ out: list[tuple[str, list[str]]] = []+ for rule in windowed:+ missing = [f"{k}={rule[k]}" for k in ("group_by", "distinct_by") if rule.get(k) and rule[k] not in namespace]+ if missing:+ out.append((str(rule.get("id")), missing))+ return out+++def unreachable_windowed(fields_gate: Any, windowed: list[dict[str, Any]]) -> list[tuple[str, list[str]]]:+ """Windowed rules selecting on a field that is computed, not observed.++ The same question ``check_detection_fields.py`` asks of the stateless+ corpus, asked of the windowed one, which nothing asked before. Entity+ fields are excluded on purpose and reported separately: the static+ namespace under-approximates payloads a connector lifts wholesale, so a+ missing entity name is weak evidence, while a *computed* field name is+ conclusive — nothing anywhere produces it.+ """+ namespace = fields_gate._connector_namespace() | fields_gate._template_namespace() | fields_gate._go_normalizer_namespace()+ out: list[tuple[str, list[str]]] = []+ for rule in windowed:+ computed = sorted(+ name+ for name in fields_gate._rule_fields(rule.get("match_when") or {})+ if name not in namespace and not fields_gate._is_derivable(name, namespace) and fields_gate._DERIVED_FIELD_PATTERN.search(name)+ )+ if computed:+ out.append((str(rule.get("id")), computed))+ return out+++# --------------------------------------------------------------------------+# Self-test+# --------------------------------------------------------------------------+++def _self_test_injections(+ translation: Any,+ specs: dict[str, tuple[str, dict[str, Any]]],+ windowed: list[dict[str, Any]],+ engine_ids: set[str],+ family: dict[str, str],+) -> list[tuple[str, bool]]:+ """One injected violation per rule, each proved to be caught.++ Injected into copies of the gate's inputs rather than into the tree: the+ rules are properties of the decision table against the corpus, and a+ scratch checkout would have to carry the whole corpus to express them.+ """+ results: list[tuple[str, bool]] = []+ baseline = check(translation, specs, windowed, engine_ids, family)+ results.append(("the tree as committed has no findings to begin with", not baseline))++ first_translated = next(k for k, d in translation.DECISIONS.items() if isinstance(d, translation.Translation))+ first_refused = next(k for k, d in translation.DECISIONS.items() if isinstance(d, translation.Refusal))++ # R1 — an undecided family member. Injected rather than produced by+ # removing a decision, because once every decided rule has left the+ # stateless corpus the family is empty, so there is nothing to un-decide.+ # R1 guards the *next* rule somebody writes with a counter in its clauses,+ # and a self-test that cannot express that is a self-test for a rule+ # nobody is checking.+ newcomer = dict(family)+ newcomer["det-cloud-999"] = "cloud/a-rule-nobody-decided"+ results.append(("R1 catches a windowed rule with no decision", bool(check(translation, specs, windowed, engine_ids, newcomer))))++ # R2 — a committed rule whose threshold was nudged.+ nudged = []+ target = translation.DECISIONS[first_translated]+ target_id = target.wd_id or f"wd-{first_translated.split('/', 1)[1]}"+ for rule in windowed:+ clone = dict(rule)+ if clone.get("id") == target_id:+ clone["threshold"] = int(clone.get("threshold", 1)) + 5+ nudged.append(clone)+ results.append(+ ("R2 catches a translated threshold that drifted from its original", bool(check(translation, specs, nudged, engine_ids, family)))+ )++ # R3 — a selector clause silently dropped from the committed rule.+ pruned = []+ for rule in windowed:+ clone = dict(rule)+ if clone.get("id") == target_id and clone.get("match_when"):+ clone["match_when"] = {}+ pruned.append(clone)+ results.append(("R3 catches a selector clause dropped in translation", bool(check(translation, specs, pruned, engine_ids, family))))++ # R4 — a decided rule still shipped in the stateless corpus.+ sys.path.insert(0, str(ROOT / "scripts"))+ from generate_detections import load_id_lock # noqa: PLC0415++ still_there = set(engine_ids) | {load_id_lock().get(first_translated, "")}+ results.append(+ ("R4 catches a decided rule the stateless exporter still ships", bool(check(translation, specs, windowed, still_there, family)))+ )++ # R5 — a refusal with no usable reason.+ blunt = dict(translation.DECISIONS)+ blunt[first_refused] = translation.Refusal(translation.AGGREGATE, "too hard")+ results.append(+ ("R5 catches a refusal with no usable reason", bool(_with_decisions(translation, blunt, specs, windowed, engine_ids, family)))+ )++ # An unknown refusal kind, which is how a typo would silently create a+ # family nothing reports on.+ typo = dict(translation.DECISIONS)+ typo[first_refused] = translation.Refusal("aggregates", translation.DECISIONS[first_refused].reason)+ results.append(+ (+ "R5 catches a refusal kind that is not one of the declared families",+ bool(_with_decisions(translation, typo, specs, windowed, engine_ids, family)),+ )+ )++ # The shape that actually recurs: the directories exist and the corpus is+ # gone. `self_test_main` probes the bare tree; this probes the skeleton,+ # because "the tree is not there" and "the rules are not there" are+ # different questions and a gate can answer them differently.+ skeleton_refused, detail = refuses_an_empty_tree(Path(__file__).name, ["--check"], shape=SKELETON)+ results.append((f"refuses a tree whose directories exist and hold no rules ({detail.splitlines()[0]})", skeleton_refused))+ return results+++def _with_decisions(translation: Any, decisions: dict[str, Any], specs: Any, windowed: Any, engine_ids: Any, family: Any) -> list[str]:+ original = translation.DECISIONS+ try:+ translation.DECISIONS = decisions+ return check(translation, specs, windowed, engine_ids, family)+ finally:+ translation.DECISIONS = original+++def main() -> int:+ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument("--check", action="store_true", help="enforce (the default; accepted so CI can be explicit)")+ parser.add_argument("--list", action="store_true", help="print every decision")+ parser.add_argument("--self-test", action="store_true", help="prove the gate catches each violation it claims to")+ args = parser.parse_args()++ fields_gate = _load_sibling("check_detection_fields")+ translation = _load_sibling("windowed_translation")+ sys.path.insert(0, str(ROOT / "scripts"))+ from detection_specs_index import all_specs # noqa: PLC0415++ specs = {f"{category}/{spec['slug']}": (category, spec) for category, spec in all_specs()}+ windowed = _read_rules(WINDOWED, "windowed ruleset")+ engine_ids = {str(rule.get("id")) for rule in _read_rules(RULESET, "detection ruleset")}+ family = windowed_family(fields_gate)++ if args.self_test:+ return self_test_main(+ Path(__file__).name,+ ["--check"],+ extra=_self_test_injections(translation, specs, windowed, engine_ids, family),+ )++ if args.list:+ for key, decision in translation.DECISIONS.items():+ if isinstance(decision, translation.Translation):+ wd_id = decision.wd_id or f"wd-{key.split('/', 1)[1]}"+ print(f"TRANSLATED {key} -> {wd_id}")+ elif isinstance(decision, translation.Covered):+ print(f"COVERED {key} -> {decision.by}")+ else:+ print(f"REFUSED {key} [{decision.kind}] {decision.reason.splitlines()[0]}")+ return 0++ problems = check(translation, specs, windowed, engine_ids, family)++ translated = sum(1 for d in translation.DECISIONS.values() if isinstance(d, translation.Translation))+ refused = sum(1 for d in translation.DECISIONS.values() if isinstance(d, translation.Refusal))+ covered = sum(1 for d in translation.DECISIONS.values() if isinstance(d, translation.Covered))+ # Zero undecided is the state this gate exists to hold, not a sign it+ # found nothing: every rule of the family has left the stateless corpus+ # for a windowed rule or a refusal, so the only way the first figure moves+ # is somebody writing a new rule with a counter in its clauses.+ print(f"windowed translation: {len(family)} undecided det-* rules need a window, {len(translation.DECISIONS)} decided")+ print(f" {translated} translated into wd-* rules")+ print(f" {covered} covered by a windowed rule that already ships")+ print(f" {refused} refused with a reason")+ kinds: dict[str, int] = {}+ for decision in translation.DECISIONS.values():+ if isinstance(decision, translation.Refusal):+ kinds[decision.kind] = kinds.get(decision.kind, 0) + 1+ for kind, count in sorted(kinds.items(), key=lambda kv: -kv[1]):+ print(f" {count:4d} {kind}")++ unemitted = _unemitted_entities(fields_gate, windowed)+ print(f" {len(unemitted)} of {len(windowed)} windowed rules group by a field outside the static namespace (reported, not gated)")+ for rule_id, missing in unemitted:+ print(f" {rule_id}: {', '.join(missing)}")++ unreachable = unreachable_windowed(fields_gate, windowed)+ print(f" {len(unreachable)} windowed rules select on a computed field — cannot fire (ceiling {MAX_UNREACHABLE_WINDOWED})")+ for rule_id, computed in unreachable:+ print(f" {rule_id}: {', '.join(computed)}")+ if len(unreachable) > MAX_UNREACHABLE_WINDOWED:+ problems.append(+ f"{len(unreachable)} windowed rules select on a computed field, over the ceiling of "+ f"{MAX_UNREACHABLE_WINDOWED}. Build the enrichment or refuse the rule; never raise the ceiling."+ )++ if problems:+ print(f"\nERROR: {len(problems)} problem(s):", file=sys.stderr)+ for problem in problems:+ print(f" - {problem}", file=sys.stderr)+ return 1+ print("\nOK: every det-* rule that needs a window is translated or refused with a reason")+ return 0+++if __name__ == "__main__":+ raise SystemExit(main())diff --git a/scripts/detection_truth_table.py b/scripts/detection_truth_table.pyindex 85a08e2a9..2024045a6 100644--- a/scripts/detection_truth_table.py+++ b/scripts/detection_truth_table.py@@ -77,6 +77,24 @@ RULESET = ROOT / "services" / "fusion" / "app" / "data" / "detection_ruleset.jso#: Imported rules the compiler translated and proved fireable. The engine#: loads this beside the native ruleset, so it is equally a source of truth.IMPORTED_RULESET = ROOT / "services" / "fusion" / "app" / "data" / "detection_ruleset_imported.json"+#: The sliding-window corpus, loaded by a second engine in the same worker.+#: Counted and published separately — see the note under the headline.+WINDOWED_RULESET = ROOT / "services" / "fusion" / "app" / "data" / "windowed_ruleset.json"+++def _windowed_count() -> int:+ """Windowed rules declared in the committed artefact.++ Read rather than imported: this script runs on a bare interpreter in CI+ and must not need the fusion package installed to publish a number.+ """+ if not WINDOWED_RULESET.is_file():+ raise SystemExit(f"{Path(sys.argv[0]).name}: windowed ruleset missing at {WINDOWED_RULESET} — refusing to publish a count of zero")+ rules = json.loads(WINDOWED_RULESET.read_text(encoding="utf-8")).get("rules")+ if not isinstance(rules, list) or not rules:+ raise SystemExit(f"{Path(sys.argv[0]).name}: {WINDOWED_RULESET} declares no rules — refusing to publish a count of zero")+ return len(rules)+# Directories under detections/ that are not rules.SKIP_DIRS = {"fixtures", "playbooks"}@@ -273,6 +291,24 @@ def render_markdown(c: Counts) -> str:lines.append(f"| **executable (loaded by the engine)** | **{c.executable}** |")lines.append(f"| non-executable (provenance/coverage only) | {c.non_executable} |")lines.append(f"| — of which: enabled, but no compiled spec | {c.counted_but_not_loaded} |")+ lines.append(f"| windowed rules in `windowed_ruleset.json` | {_windowed_count()} |")+ lines.append("")+ lines.append("The windowed figure is its own row rather than part of the headline because")+ lines.append("a windowed rule is a different kind of thing: it counts events or distinct")+ lines.append("values for one entity over a sliding window and fires on a threshold, so it")+ lines.append("has no YAML under `detections/` and no entry in the marketplace index. Adding")+ lines.append("it to the executable total would make two incomparable numbers into one. The")+ lines.append("engine carries three further built-in rules declared in")+ lines.append("`services/fusion/app/services/windowed_detection.py`, which are not in the")+ lines.append("JSON and so are not in the figure above.")+ lines.append("")+ lines.append("50 of those rules were translated out of the stateless corpus by depth plan")+ lines.append("3.1: they named a counter no source emits, so they were loaded, counted as")+ lines.append("executable and could never fire. Each one's threshold and window are derived")+ lines.append("from the original's own clauses and replayed through the real engine")+ lines.append("(`services/fusion/tests/test_windowed_translation_replay.py`). The other 24 of")+ lines.append("that family could not be expressed as a count over a window and are refused")+ lines.append("with a reason that travels into each rule's `quarantine_reason`.")lines.append("")if c.counted_but_not_loaded:lines.append(f"Those {c.counted_but_not_loaded} rules are the ones an earlier version of this")diff --git a/scripts/export_detection_ruleset.py b/scripts/export_detection_ruleset.pyindex 266dfae62..2455717aa 100644--- a/scripts/export_detection_ruleset.py+++ b/scripts/export_detection_ruleset.py@@ -41,6 +41,7 @@ OUT = ROOT / "services" / "fusion" / "app" / "data" / "detection_ruleset.json"def _build() -> list[dict]:from detection_specs_index import all_specs # noqa: PLC0415from generate_detections import load_id_lock # noqa: PLC0415+ from windowed_translation import DECISIONS # noqa: PLC0415# The id comes from detections/rule-ids.lock.json, the same lookup# generate_detections.py uses for the YAML projection. This used to be@@ -61,6 +62,16 @@ def _build() -> list[dict]:if not match_when:continueslug = spec["slug"]+ # A rule whose clauses name a sliding-window counter cannot fire here:+ # the stateless matcher sees one event, so `fail_count` and+ # `events_per_minute` read None on the first clause. Shipping it in+ # this artefact counted it as executable and it never was.+ # `scripts/windowed_translation.py` records, per rule, whether it+ # became a `wd-*` rule or was refused with a reason;+ # `check_windowed_translation.py` enforces that nothing is simply+ # dropped.+ if f"{category}/{slug}" in DECISIONS:+ continuerule_id = id_lock.get(f"{category}/{slug}")if rule_id is None:raise SystemExit(diff --git a/scripts/export_windowed_ruleset.py b/scripts/export_windowed_ruleset.pyindex 918d2d004..a2cf06c0b 100644--- a/scripts/export_windowed_ruleset.py+++ b/scripts/export_windowed_ruleset.py@@ -27,6 +27,14 @@ count, threshold, window. It is not a general aggregation language. Anythingneeding joins, subsearches or multi-field grouping is out of scope here andshould stay quarantined with an honest reason rather than be half-translated.+Two sources feed the artefact. The list in this file is authored here, for the+reason above. The second source is `scripts/windowed_translation.py`, which+derives a windowed rule from each `det-*` spec that named a counter no source+emits — threshold, window and selector all read off the original's own+clauses, so a translated rule cannot drift from the number its author chose.+Rules that cannot be expressed as a count over a window are refused there with+a reason rather than half-translated into this file.+Usage:python3 scripts/export_windowed_ruleset.py # write the JSONpython3 scripts/export_windowed_ruleset.py --check # fail on drift@@ -325,8 +333,20 @@ WINDOWED_RULES: list[dict] = []+def all_rules() -> list[dict]:+ """Rules authored here, then rules translated from the `det-*` corpus.++ Order matters only for the diff: keeping the translations in their own+ block means a change to one never renumbers the other.+ """+ from windowed_translation import translated_rules # noqa: PLC0415++ return [*WINDOWED_RULES, *translated_rules()]++def build() -> dict:- return {"count": len(WINDOWED_RULES), "rules": WINDOWED_RULES}+ rules = all_rules()+ return {"count": len(rules), "rules": rules}def _strip_count(payload: dict) -> list:@@ -339,9 +359,10 @@ def main() -> int:args = parser.parse_args()payload = build()+ rules = payload["rules"]rendered = json.dumps(payload, indent=2, sort_keys=True) + "\n"- ids = [r["id"] for r in WINDOWED_RULES]+ ids = [r["id"] for r in rules]if len(ids) != len(set(ids)):duplicates = sorted({i for i in ids if ids.count(i) > 1})print(f"ERROR: duplicate windowed rule ids: {duplicates}", file=sys.stderr)@@ -357,12 +378,13 @@ def main() -> int:file=sys.stderr,)return 1- print(f"OK: windowed ruleset current ({len(WINDOWED_RULES)} rules)")+ print(f"OK: windowed ruleset current ({len(rules)} rules)")return 0OUT.parent.mkdir(parents=True, exist_ok=True)OUT.write_text(rendered, encoding="utf-8")- print(f"wrote {OUT.relative_to(ROOT)} — {len(WINDOWED_RULES)} windowed rules")+ translated = len(rules) - len(WINDOWED_RULES)+ print(f"wrote {OUT.relative_to(ROOT)} — {len(rules)} windowed rules ({len(WINDOWED_RULES)} authored, {translated} translated)")return 0diff --git a/scripts/generate_corpus_stats.py b/scripts/generate_corpus_stats.pyindex 06da0e8e0..e15a9657d 100644--- a/scripts/generate_corpus_stats.py+++ b/scripts/generate_corpus_stats.py@@ -73,24 +73,41 @@ from gate_toolkit import repo_root, self_test_mainREPO_ROOT = repo_root()RULESET = REPO_ROOT / "services" / "fusion" / "app" / "data" / "detection_ruleset.json"IMPORTED_RULESET = REPO_ROOT / "services" / "fusion" / "app" / "data" / "detection_ruleset_imported.json"+#: The sliding-window corpus. A second engine in the same worker loads it, so+#: it is capability the product ships and the README was not counting it at+#: all. Published as its own figure rather than folded into ``executable``:+#: a windowed rule has no YAML and no marketplace entry, so the two numbers+#: reconcile against different things and adding them would hide that.+WINDOWED_RULESET = REPO_ROOT / "services" / "fusion" / "app" / "data" / "windowed_ruleset.json"MARKETPLACE = REPO_ROOT / "marketplace" / "index.json"TRUTH_TABLE = REPO_ROOT / "docs" / "detections" / "truth-table.md"JSON_OUT = REPO_ROOT / "apps" / "web" / "src" / "data" / "corpus-stats.json"TS_OUT = REPO_ROOT / "apps" / "web" / "src" / "data" / "corpusStats.ts"-#: Prose that quotes the executable-rule count outside the TypeScript surfaces.-#: Same contract as ``generate_connector_count.py``: each regex must match, and-#: the ``n`` group is rewritten in place (or reported, under ``--check``).-COUNT_BEARING_FILES: tuple[tuple[Path, tuple[re.Pattern[str], ...]], ...] = (+#: Prose that quotes a corpus figure outside the TypeScript surfaces. Same+#: contract as ``generate_connector_count.py``: each regex must match, and the+#: ``n`` group is rewritten in place (or reported, under ``--check``).+#:+#: The middle element names *which* figure the prose bears. It used to be+#: implicit — every pattern here got the executable count — which was fine+#: while there was one number and silently wrong the moment there were two.+COUNT_BEARING_FILES: tuple[tuple[Path, str, tuple[re.Pattern[str], ...]], ...] = ((REPO_ROOT / "README.md",+ "executable",(re.compile(r"(?P<pre>fusion runs )(?P<n>\d+)(?P<post> executable detection rules)"),re.compile(r"(?P<pre>\| Detection engine \()(?P<n>\d+)(?P<post> executable rules\))"),),),+ (+ REPO_ROOT / "README.md",+ "windowed",+ (re.compile(r"(?P<pre>plus )(?P<n>\d+)(?P<post> sliding-window rules)"),),+ ),(REPO_ROOT / "ROADMAP.md",+ "executable",(re.compile(r"(?P<pre>detection-evaluation worker \()(?P<n>\d+)(?P<post> executable rules on the stream\))"),),),)@@ -200,6 +217,24 @@ def read_truth_table_executable() -> int:return int(match.group("n"))+def read_windowed_ruleset() -> int:+ """Rules in the sliding-window corpus.++ Its own read rather than part of ``read_engine_ruleset`` because it+ reconciles against nothing: a windowed rule has no YAML, so the+ three-way cross-check below cannot cover it and pretending otherwise+ would be the one-directional gate this file's docstring warns about.+ """+ data = _read_json(WINDOWED_RULESET, "windowed ruleset")+ rules = data.get("rules")+ if not isinstance(rules, list) or not rules:+ raise SystemExit(f"{Path(sys.argv[0]).name}: {WINDOWED_RULESET} declares no rules — refusing to publish a zero corpus")+ declared = data.get("count")+ if isinstance(declared, int) and declared != len(rules):+ raise SystemExit(f"{Path(sys.argv[0]).name}: {WINDOWED_RULESET} `count` is {declared} but it holds {len(rules)} rules")+ return len(rules)++def build_payload() -> dict[str, Any]:executable, categories = read_engine_ruleset()corpus = read_marketplace()@@ -218,6 +253,7 @@ def build_payload() -> dict[str, Any]:return {"executable": executable,+ "windowed": read_windowed_ruleset(),"onDisk": corpus["on_disk"],"quarantined": corpus["quarantined"],"plugins": corpus["plugins"],@@ -227,6 +263,7 @@ def build_payload() -> dict[str, Any]:"categories": categories,"generatedFrom": ["services/fusion/app/data/detection_ruleset.json",+ "services/fusion/app/data/windowed_ruleset.json","marketplace/index.json","docs/detections/truth-table.md",],@@ -252,6 +289,13 @@ def render_typescript(payload: dict[str, Any]) -> str:"/** Rules the fusion engine loads and evaluates. */\n""export const EXECUTABLE_DETECTION_COUNT: number = data.executable;\n""\n"+ "/** Sliding-window rules, loaded by a second engine in the same worker.\n"+ " * Separate from EXECUTABLE_DETECTION_COUNT on purpose: a windowed rule\n"+ " * counts events for one entity over a window and has no YAML, so the two\n"+ " * figures come from different artefacts and must not be summed into one\n"+ " * 'detections' number. */\n"+ "export const WINDOWED_DETECTION_COUNT: number = data.windowed;\n"+ "\n""/** Detection YAML indexed in the marketplace, quarantined rules included. */\n""export const DETECTIONS_ON_DISK: number = data.onDisk;\n""\n"@@ -301,13 +345,14 @@ def artefact_drift(payload: dict[str, Any], existing_json: str | None, existing_return drift-def reconcile_prose(executable: int, *, check_only: bool) -> list[str]:+def reconcile_prose(payload: dict[str, Any], *, check_only: bool) -> list[str]:"""Rewrite or verify every COUNT_BEARING_FILES entry."""drift: list[str] = []- for path, patterns in COUNT_BEARING_FILES:+ for path, figure, patterns in COUNT_BEARING_FILES:if not path.exists():drift.append(f"missing file {path.relative_to(REPO_ROOT)}")continue+ expected = str(payload[figure])before = path.read_text(encoding="utf-8")after = beforefor pattern in patterns:@@ -317,11 +362,11 @@ def reconcile_prose(executable: int, *, check_only: bool) -> list[str]:continue# Rewrite right-to-left so earlier match offsets stay valid.for match in reversed(matches):- if match.group("n") != str(executable):- after = after[: match.start("n")] + str(executable) + after[match.end("n") :]+ if match.group("n") != expected:+ after = after[: match.start("n")] + expected + after[match.end("n") :]if after != before:if check_only:- drift.append(f"{path.relative_to(REPO_ROOT)}: executable-rule count drift (expected {executable})")+ drift.append(f"{path.relative_to(REPO_ROOT)}: {figure} count drift (expected {expected})")else:path.write_text(after, encoding="utf-8")return drift@@ -387,7 +432,7 @@ def main(argv: list[str]) -> int:else:write_outputs(payload)- drift.extend(reconcile_prose(executable, check_only=args.check))+ drift.extend(reconcile_prose(payload, check_only=args.check))if drift:print(f"corpus-stats drift detected (executable={executable}):", file=sys.stderr)diff --git a/scripts/generate_detections.py b/scripts/generate_detections.pyindex c56b2125f..53b284005 100644--- a/scripts/generate_detections.py+++ b/scripts/generate_detections.py@@ -409,6 +409,13 @@ def _literal_str_representer(dumper: yaml.Dumper, data: _LiteralStr): # type: iyaml.add_representer(_LiteralStr, _literal_str_representer) # type: ignore[arg-type]+def _retirement_reason(category: str, slug: str) -> str:+ """Why this rule is not loaded by the stateless engine, or '' if it is."""+ from windowed_translation import retirement_reason # noqa: PLC0415++ return retirement_reason(f"{category}/{slug}")++def render_rule_yaml(*, rule_id: str, category: str, spec: dict) -> str:"""Render the canonical YAML for one detection rule."""name: str = spec["name"]@@ -437,7 +444,15 @@ def render_rule_yaml(*, rule_id: str, category: str, spec: dict) -> str:}if playbook:rule["playbook"] = playbook- rule["enabled"] = True+ # A rule the windowed-translation pass decided about is not loaded by the+ # stateless engine, so the catalogue must not present it as running. The+ # reason travels with it: `build_marketplace.py` reads `quarantine_reason`+ # off the YAML, so a reader of the marketplace entry sees the windowed+ # rule that replaced it, or why no rule could.+ retirement = _retirement_reason(category, spec["slug"])+ rule["enabled"] = not retirement+ if retirement:+ rule["quarantine_reason"] = retirementrule["author"] = "AiSOC"rule["created"] = "2026-05-03"rule["modified"] = "2026-05-03"diff --git a/scripts/windowed_translation.py b/scripts/windowed_translation.pynew file mode 100644index 000000000..722511172--- /dev/null+++ b/scripts/windowed_translation.py@@ -0,0 +1,563 @@+#!/usr/bin/env python3+"""The `det-*` rules that need a window, and what became of each one.++Why this file exists+--------------------+``scripts/check_detection_fields.py`` attributes 74 engine-loaded rules to a+"windowed evaluator" family. The windowed engine has existed since Wave 2 and+the exporter beside this file has shipped rules into it, but the two corpora+were disjoint: not one ``wd-*`` id corresponded to a ``det-*`` rule, so+building the engine moved none of these rules and the unreachable count never+changed. Each of the 74 still names a counter no connector emits+(``fail_count``, ``events_per_minute``, ``distinct_secrets_per_minute``),+reads ``None`` on its first clause, and can never fire — while being loaded by+the engine and counted toward the published executable total.++This module records one decision per rule, and the decision is the unit of+work: either the rule is translated into windowed form, or it is refused with+a reason. Nothing may simply disappear. ``scripts/check_windowed_translation.py``+enforces that, and ``scripts/export_detection_ruleset.py`` reads it so a+decided rule leaves the stateless corpus it could never fire in.++How a translation is derived+----------------------------+**From the rule's own clauses, never invented.** A rule like++ {"event_type": "user.session.start", "outcome": "FAILURE",+ "fail_count_gt": 20, "time_window_minutes_lt": 10}++already carries everything a windowed rule needs: the selector is what is left+after the counting and window clauses are removed, the threshold is the ``_gt``+bound plus one, and the window is the time clause. :func:`derive` computes all+three, so a translated rule cannot drift from the number its author chose, and+``check_windowed_translation.py`` re-derives them to prove it.++The one thing the clauses do not always carry is the entity the count+accumulates against. ``request_count_per_src`` names it; ``fail_count`` does+not. Where the name carries no entity the table below supplies one, and the+choice is a field the rule's own source emits rather than a plausible-looking+name — a ``group_by`` nothing emits is the same defect in a new place, because+``fields.get(group_by)`` returns ``None`` and the engine skips the event.++Why some rules are refused+--------------------------+The windowed engine is deliberately narrow: match, group by one entity, count+events or distinct values, threshold, window. It computes no sums, no means,+no variances, and it fires when a count is **high**. A rule that needs any of+those cannot be expressed here, and half-translating it — keeping the count+and dropping the mean — ships something that detects a different thing under+the original's name and severity. Those are refused with the reason stated, and+the refusal travels into the rule's YAML and its marketplace entry so a reader+of the catalogue sees why the rule does not run.++Refusal is not deletion. A refused rule keeps its id, its YAML and its place+in the corpus; it stops being counted as executable, which it never was.+"""++from __future__ import annotations++import re+import sys+from dataclasses import dataclass, field+from pathlib import Path+from typing import Any++sys.path.insert(0, str(Path(__file__).resolve().parent))++__all__ = [+ "AGGREGATE",+ "DECISIONS",+ "MULTI_DISTINCT",+ "NOT_WINDOWED",+ "OPERAND_NOT_EMITTED",+ "RARITY",+ "REFUSAL_KINDS",+ "Covered",+ "Refusal",+ "ShapeError",+ "Translation",+ "WindowShape",+ "decided_keys",+ "derive",+ "parse_shape",+ "retirement_reason",+ "translated_rules",+]+++# --------------------------------------------------------------------------+# Decisions+# --------------------------------------------------------------------------+++@dataclass(frozen=True)+class Translation:+ """This rule becomes a `wd-*` rule.++ ``group_by`` and ``distinct_by`` are the only parts a human chooses; the+ threshold, the window and the residual selector are derived from the+ ``det-*`` spec by :func:`derive`.+ """++ group_by: str+ distinct_by: str = ""+ #: Set only where the default `wd-<slug>` id would collide with a rule the+ #: windowed corpus already ships.+ wd_id: str = ""+ #: Why this entity field, when the counter's name does not name one. Also+ #: the place to record which connector key it comes from.+ entity_note: str = ""+++@dataclass(frozen=True)+class Refusal:+ """This rule cannot be expressed as a count over a window.++ ``kind`` groups the reasons so the gate can report them as families rather+ than as 19 unrelated sentences, and so a later phase can find the ones it+ unblocks.+ """++ kind: str+ reason: str+++@dataclass(frozen=True)+class Covered:+ """A windowed rule the corpus already ships detects this.++ Distinct from a refusal: the detection exists and runs, so retiring the+ `det-*` loses nothing. The link is what stops it being re-authored.+ """++ by: str+ reason: str+++#: Refusal kinds. Named so the gate's summary and a later phase's search agree.+AGGREGATE = "aggregate" # needs a sum, mean or variance over the window+NOT_WINDOWED = "not-windowed" # the field is a per-event property, not a counter+RARITY = "rarity" # fires when a count is LOW; needs the baseline/first-seen store+MULTI_DISTINCT = "multi-distinct" # two independent distinct counts in one rule+OPERAND_NOT_EMITTED = "operand-not-emitted" # nothing surfaces the thing to count distinctly++REFUSAL_KINDS = frozenset({AGGREGATE, NOT_WINDOWED, RARITY, MULTI_DISTINCT, OPERAND_NOT_EMITTED})+++#: One entry per rule the reachability gate attributes to the windowed family,+#: keyed ``<category>/<slug>`` the way `detections/rule-ids.lock.json` is.+#:+#: Ordered by category then slug so a diff reads as content rather than as+#: churn.+DECISIONS: dict[str, Translation | Refusal | Covered] = {+ # ---------------------------------------------------------------- application+ "application/rate-limit-burst": Translation(group_by="src_ip"),+ "application/api-mass-enumeration-ids": Refusal(+ OPERAND_NOT_EMITTED,+ "counts distinct object ids per source, and no WAF or application source "+ "in this tree surfaces the requested object id as a field — the engine "+ "would count nothing. Revisit when the activity projection lands a "+ "`resource` field (depth plan 2.2).",+ ),+ "application/saas-mass-share-public": Translation(+ group_by="actor_email",+ entity_note="google_workspace.normalize emits actor_email; `user` is not in its output",+ ),+ "application/app-account-enum-reset": Translation(group_by="src_ip"),+ "application/app-docker-insecure-registry-flag": Refusal(+ NOT_WINDOWED,+ "`insecure_registries_count` is the length of a list inside one daemon "+ "config event, not a count over a window. The reachability gate reads it "+ "as windowed because the name ends in `_count`.",+ ),+ "application/app-salesforce-mass-export": Refusal(+ NOT_WINDOWED,+ "`row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ ),+ "application/app-box-public-link-mass-create": Translation(+ group_by="actor_email",+ entity_note="box.normalize emits actor_email",+ ),+ "application/app-servicenow-record-export-bulk": Refusal(+ NOT_WINDOWED,+ "`row_count` is a per-event field of one export record, not a count over a window. The ServiceNow connector does not surface it.",+ ),+ # ---------------------------------------------------------------------- cloud+ "cloud/aws-iam-enumeration": Translation(+ group_by="user_arn",+ distinct_by="event_name",+ entity_note="aws_cloudtrail.normalize emits both user_arn and event_name",+ ),+ "cloud/aws-s3-mass-getobject": Translation(group_by="user_arn"),+ "cloud/azure-resource-mass-delete": Translation(+ group_by="actor",+ entity_note="azure_activity.normalize emits actor; `principal` is not in its output",+ ),+ "cloud/gcp-secret-manager-mass-export": Translation(+ group_by="actor",+ entity_note="gcp_cloud_audit.normalize emits actor",+ ),+ "cloud/aws-iam-create-user-burst": Translation(group_by="user_arn"),+ "cloud/aws-iam-account-summary-recon": Translation(group_by="user_arn"),+ "cloud/aws-iam-list-keys-recon": Refusal(+ OPERAND_NOT_EMITTED,+ "counts distinct *target* users of ListAccessKeys. CloudTrail carries "+ "that in `requestParameters.UserName`, and the matcher has no dotted-path "+ "traversal, so the connector's `user_name` is the caller rather than the "+ "target. Counting the caller would be a different detection.",+ ),+ "cloud/aws-s3-mass-deleteobject": Translation(group_by="user_arn"),+ "cloud/aws-secretsmanager-mass-getsecret": Refusal(+ OPERAND_NOT_EMITTED,+ "counts distinct secrets, which CloudTrail carries in "+ "`requestParameters.SecretId`; the connector surfaces no secret "+ "identifier, so the engine has nothing to be distinct about.",+ ),+ "cloud/azure-ad-bulk-user-creation": Translation(group_by="actor"),+ "cloud/azure-ad-bulk-license-assignment": Translation(group_by="actor"),+ "cloud/azure-arm-locks-removed-bulk": Translation(group_by="actor"),+ "cloud/azure-arm-mass-resource-modify": Translation(group_by="actor"),+ "cloud/azure-keyvault-secret-mass-get": Translation(+ group_by="actor",+ distinct_by="resource",+ entity_note="azure_activity.normalize emits `resource`, which for a Key Vault operation is the secret",+ ),+ "cloud/gcp-iam-service-account-key-mass-create": Translation(group_by="actor"),+ "cloud/gcp-iam-impersonation-burst": Refusal(+ OPERAND_NOT_EMITTED,+ "counts distinct impersonation *targets*. The GCP audit connector emits "+ "the caller (`actor`) and no target service account, so nothing "+ "identifies what is being impersonated.",+ ),+ "cloud/gcp-gcs-mass-delete": Translation(group_by="actor"),+ "cloud/gcp-bq-mass-export": Translation(group_by="actor"),+ "cloud/k8s-secret-mass-get": Translation(+ group_by="k8s_user",+ distinct_by="k8s_object_name",+ entity_note="kubernetes_audit.normalize emits both; k8s_object_name is the secret's name",+ ),+ "cloud/cloud-multi-cross-cloud-mass-egress": Refusal(+ AGGREGATE,+ "`bytes_out_per_minute` is a sum of a numeric field over the window. The "+ "engine counts occurrences and distinct values; it adds nothing up, so "+ "a gigabyte in one transfer and a gigabyte in a thousand are the same "+ "count to it.",+ ),+ # ----------------------------------------------------------------- data-exfil+ "data-exfil/large-egress-personal-cloud": Refusal(+ NOT_WINDOWED,+ "carries a `time_window_minutes_lt` clause and no counter at all, so "+ "there is nothing to accumulate. `bytes_out` is a per-event proxy field; "+ "the window clause is vestigial and is what makes the rule unreachable. "+ "Deleting that one clause is a content decision, not a translation.",+ ),+ "data-exfil/egress-spike-baseline": Refusal(+ AGGREGATE,+ "needs a sum of `bytes_out` per source and a z-score against a learned "+ "baseline. Both are out of scope for a counting engine (the baseline "+ "arrives with depth plan 3.4).",+ ),+ "data-exfil/salesforce-bulk-export": Refusal(+ NOT_WINDOWED,+ "`row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ ),+ "data-exfil/db-mass-row-read": Refusal(+ AGGREGATE,+ "needs a sum of rows read per session and a z-score against a learned baseline; the engine computes neither.",+ ),+ "data-exfil/printer-mass-print-confidential": Refusal(+ AGGREGATE,+ "`page_count_per_user` sums pages across print jobs. Counting jobs "+ "instead would fire on 500 one-page prints and miss one 1,500-page "+ "print, which inverts what the rule is for.",+ ),+ "data-exfil/container-mass-image-export": Translation(+ group_by="actor",+ entity_note="the registry-push sources in this tree normalize the pusher to actor",+ ),+ "data-exfil/secrets-mass-fetch": Translation(+ group_by="actor",+ entity_note="vendor-neutral rule; `actor` is the field every cloud connector here emits",+ ),+ # ------------------------------------------------------------------- endpoint+ "endpoint/ransomware-file-extension-change": Translation(+ group_by="process_name",+ entity_note="EDR connectors normalize the acting binary to process_name",+ ),+ # ------------------------------------------------------------------- identity+ "identity/brute-force-login": Translation(+ group_by="actor_email",+ entity_note="okta.normalize emits actor_email as the account; `user` is not in its output",+ ),+ "identity/password-spray": Translation(+ group_by="src_ip",+ distinct_by="actor_email",+ wd_id="wd-okta-password-spray",+ entity_note=("id overridden because `wd-password-spray` already ships and counts events rather than distinct accounts"),+ ),+ "identity/mfa-fatigue": Translation(+ group_by="actor_email",+ wd_id="wd-okta-mfa-push-bombing",+ entity_note="id overridden because `wd-mfa-fatigue` already ships against a different source shape",+ ),+ "identity/shared-account-login-spike": Translation(group_by="actor_email", distinct_by="src_ip"),+ "identity/kerberoasting": Refusal(+ OPERAND_NOT_EMITTED,+ "counts distinct service principal names requested per account. Windows "+ "4769 carries the SPN in `ServiceName`, which no source in this tree "+ "lifts, so there is nothing to be distinct about.",+ ),+ "identity/ident-password-spray-many-targets": Refusal(+ AGGREGATE,+ "pairs a distinct-user count with a `tries_per_user` ceiling, which is a "+ "mean inside the window. Keeping only the distinct half would widen the "+ "rule into a brute-force detection `wd-bruteforce-auth` already covers.",+ ),+ "identity/ident-password-spray-distributed": Translation(group_by="user", distinct_by="src_ip"),+ "identity/ident-credstuffing-known-breached-list": Translation(group_by="src_ip"),+ "identity/ident-mfa-fatigue-burst": Translation(group_by="user"),+ "identity/ident-account-locked-many-times": Translation(group_by="user"),+ "identity/ident-totp-skewed-clock": Translation(group_by="user"),+ "identity/ident-priv-role-burst-granted": Translation(group_by="actor"),+ "identity/ident-priv-role-removed-bulk": Translation(group_by="actor"),+ "identity/ident-orphan-svc-acct-many-keys": Refusal(+ NOT_WINDOWED,+ "`active_keys_per_account` is the state of an account at one moment, "+ "reported by an inventory event. A window counts what happened, not what "+ "is true; this needs the posture snapshot (depth plan 2.5).",+ ),+ "identity/ident-ad-machine-account-quota-abuse": Translation(group_by="user"),+ "identity/ident-kerberos-failure-spike-from-host": Translation(group_by="hostname"),+ "identity/ident-okta-admin-app-assigned-many-users": Translation(group_by="actor"),+ "identity/ident-okta-mass-deactivate-users": Translation(group_by="actor"),+ "identity/ident-ping-admin-role-burst": Translation(group_by="actor"),+ "identity/ident-oidc-many-clients-from-single-actor": Translation(group_by="actor"),+ "identity/ident-github-org-collaborator-removed-bulk": Translation(group_by="actor"),+ "identity/ident-github-deploy-key-added-org-wide": Translation(group_by="actor", distinct_by="repository"),+ # -------------------------------------------------------------------- network+ "network/c2-beacon-high-frequency": Refusal(+ AGGREGATE,+ "`interval_consistency` is the regularity of inter-arrival times across "+ "the window — a variance, not a count. Keeping only the connection count "+ "turns a beacon detection into a chatty-host detection.",+ ),+ "network/dns-data-exfiltration": Refusal(+ AGGREGATE,+ "`avg_subdomain_len` is a mean over the window. Dropping it leaves "+ "'100 DNS queries in 30 minutes', which every workstation clears.",+ ),+ "network/port-scan-internal": Refusal(+ MULTI_DISTINCT,+ "requires distinct destination ports *and* distinct destinations per "+ "source. The engine holds one distinct operand per rule; splitting this "+ "into two rules would fire twice on one scan and once on neither half.",+ ),+ "network/ssh-failed-from-internet": Translation(group_by="src_ip"),+ "network/smb-lateral-movement": Translation(group_by="src", distinct_by="dst_ip"),+ "network/dns-fast-flux": Refusal(+ OPERAND_NOT_EMITTED,+ "counts distinct A records, which live as a list inside a single DNS "+ "response rather than one per event. The engine counts distinct values "+ "of one field per event, so it cannot see inside the answer set.",+ ),+ "network/icmp-tunnel": Refusal(+ AGGREGATE,+ "`avg_payload_bytes` is a mean over the window, and `packet_count` is a per-flow sum. Counting flow records measures neither.",+ ),+ "network/egress-to-rare-asn": Refusal(+ RARITY,+ "fires when a destination ASN has been seen *fewer* than five times in "+ "thirty days. The engine fires when a count is high; a rarity signal "+ "needs the first-seen store (depth plan 3.3) and the baseline module "+ "(3.4).",+ ),+ "network/ldap-bind-anomaly": Translation(group_by="src_ip"),+ "network/ddos-syn-flood": Translation(group_by="dst_ip"),+ "network/internal-host-spamming-mail": Translation(group_by="src_ip"),+ "network/net-dns-nxdomain-spike": Translation(group_by="src_ip"),+ "network/net-dns-any-query-spike": Translation(group_by="src_ip"),+ "network/net-dns-tunnel-pattern-len": Refusal(+ NOT_WINDOWED,+ "`subdomain_hex_ratio` is a property of one query name, not a count over "+ "a window; the reachability gate reads it as windowed because the name "+ "ends in `_ratio`. It is cheap to derive from the query name and belongs "+ "with the derived fields, not here.",+ ),+ "network/net-dns-fast-flux": Refusal(+ NOT_WINDOWED,+ "`answer_count` is the number of records in one DNS response, a per-event field, not a count over a window.",+ ),+ "network/net-dhcp-starvation": Translation(+ group_by="src_ip",+ entity_note="the relay is identified by the source address on the DHCP event",+ ),+}+++# --------------------------------------------------------------------------+# Derivation+# --------------------------------------------------------------------------++#: Clause fields that declare the window rather than the count.+_TIME_UNITS: dict[str, int] = {+ "time_window_minutes": 60,+ "time_window_hours": 3600,+ "time_window_days": 86400,+}++#: Suffixes on the counter's own name that imply a window when no time clause+#: is present. `events_per_minute_gt: 10` is a rate, and the rate names its+#: own denominator.+_NAME_WINDOWS: tuple[tuple[str, int], ...] = (+ ("_per_second", 1),+ ("_per_minute", 60),+ ("_per_hour", 3600),+ ("_per_day", 86400),+)++#: Operator suffixes a counting clause may carry, longest first.+_BOUNDS: tuple[str, ...] = ("gte", "gt", "lte", "lt")++#: Matches the counter half of a clause, mirroring the "windowed evaluator"+#: family in `scripts/check_detection_fields.py`. Kept as its own copy rather+#: than imported because that module is a gate with a ratchet and importing it+#: here would make the exporter depend on a CI threshold.+_COUNTER = re.compile(r"_count$|^count_|_per_|time_window|_window_|_5min|_ratio$")+++class ShapeError(ValueError):+ """The spec does not have the shape a windowed rule is derived from."""+++@dataclass(frozen=True)+class WindowShape:+ """The windowed half of a `det-*` rule, recovered from its clauses."""++ threshold: int+ window_seconds: int+ residual: dict[str, Any]+ #: Clause keys consumed to produce the above, so the gate can prove that+ #: everything else survived into the translated rule untouched.+ consumed: tuple[str, ...] = field(default_factory=tuple)+++def _split_bound(key: str) -> tuple[str, str]:+ for bound in _BOUNDS:+ if key.endswith("_" + bound):+ return key[: -len(bound) - 1], bound+ return key, ""+++def parse_shape(match_when: dict[str, Any]) -> WindowShape:+ """Recover threshold, window and residual selector from a `det-*` clause set.++ Raises :class:`ShapeError` when the rule carries no counter, two counters,+ or a counter with no upper bound — each of which means the decision table+ should hold a :class:`Refusal` rather than a :class:`Translation`.+ """+ counters: list[tuple[str, str, Any]] = []+ times: list[tuple[str, str, Any]] = []+ for key, value in match_when.items():+ base, bound = _split_bound(key)+ if base in _TIME_UNITS:+ times.append((key, base, value))+ elif _COUNTER.search(base):+ counters.append((key, bound, value))++ if not counters:+ raise ShapeError("no counting clause")+ if len(counters) > 1:+ raise ShapeError(f"{len(counters)} counting clauses; a windowed rule holds one")+ if len(times) > 1:+ raise ShapeError(f"{len(times)} window clauses; a windowed rule holds one")++ counter_key, bound, raw_bound = counters[0]+ if bound == "gt":+ threshold = int(raw_bound) + 1+ elif bound == "gte":+ threshold = int(raw_bound)+ else:+ raise ShapeError(f"counter {counter_key!r} has no lower bound — it fires when the count is low")++ if times:+ time_key, unit, raw_window = times[0]+ window_seconds = int(float(raw_window) * _TIME_UNITS[unit])+ else:+ time_key = ""+ window_seconds = 0+ base, _ = _split_bound(counter_key)+ for suffix, seconds in _NAME_WINDOWS:+ if suffix in base:+ window_seconds = seconds+ break+ if "_5min" in base:+ window_seconds = 300+ if not window_seconds:+ raise ShapeError(f"counter {counter_key!r} declares no window and carries no rate suffix")++ consumed = tuple(k for k in (counter_key, time_key) if k)+ residual = {k: v for k, v in match_when.items() if k not in consumed}+ if threshold < 1 or window_seconds < 1:+ raise ShapeError(f"derived threshold {threshold} / window {window_seconds}s is not a window")+ return WindowShape(threshold=threshold, window_seconds=window_seconds, residual=residual, consumed=consumed)+++def derive(category: str, spec: dict[str, Any], decision: Translation) -> dict[str, Any]:+ """Build the `wd-*` rule for one `det-*` spec."""+ shape = parse_shape(spec["match_when"])+ rule = {+ "id": decision.wd_id or f"wd-{spec['slug']}",+ "name": spec["name"],+ "severity": spec["severity"],+ "category": category,+ "mitre": [str(m).upper() for m in spec.get("mitre") or []],+ "match_when": shape.residual,+ "group_by": decision.group_by,+ "threshold": shape.threshold,+ "window_seconds": shape.window_seconds,+ "translated_from": spec["slug"],+ }+ if decision.distinct_by:+ rule["distinct_by"] = decision.distinct_by+ return rule+++def decided_keys() -> frozenset[str]:+ """`<category>/<slug>` for every rule this module has decided."""+ return frozenset(DECISIONS)+++def _load_specs() -> dict[str, tuple[str, dict[str, Any]]]:+ from detection_specs_index import all_specs # noqa: PLC0415++ return {f"{category}/{spec['slug']}": (category, spec) for category, spec in all_specs()}+++def translated_rules() -> list[dict[str, Any]]:+ """Every `wd-*` rule derived from a decided `det-*` spec, in table order."""+ specs = _load_specs()+ out: list[dict[str, Any]] = []+ for key, decision in DECISIONS.items():+ if not isinstance(decision, Translation):+ continue+ if key not in specs:+ raise SystemExit(+ f"windowed_translation: {key!r} is decided but no spec declares it. "+ "A slug was renamed or removed; update DECISIONS in the same change."+ )+ category, spec = specs[key]+ out.append(derive(category, spec, decision))+ return out+++def retirement_reason(key: str) -> str:+ """Catalogue-facing sentence for a decided rule, or '' when undecided."""+ decision = DECISIONS.get(key)+ if isinstance(decision, Translation):+ wd_id = decision.wd_id or f"wd-{key.split('/', 1)[1]}"+ return f"superseded by the windowed rule {wd_id}; this stateless form named a counter no source emits"+ if isinstance(decision, Covered):+ return f"already detected by the windowed rule {decision.by}; {decision.reason}"+ if isinstance(decision, Refusal):+ return f"not executable ({decision.kind}): {decision.reason}"+ return ""diff --git a/services/api/app/data/marketplace/index.json b/services/api/app/data/marketplace/index.jsonindex 747fe4c41..f033f6b1d 100644--- a/services/api/app/data/marketplace/index.json+++ b/services/api/app/data/marketplace/index.json@@ -1,7 +1,7 @@{"$schema": "https://example.com/schemas/marketplace/v1.json","version": "1.0.0",- "generated": "2026-10-04T15:38:08Z",+ "generated": "2026-10-09T00:36:36Z","categories": [{"id": "playbooks",@@ -38,14 +38,14 @@"imported": 6113,"stable": 877},- "executable": 2767,- "quarantined": 4388,- "executable_detections": 2603,- "reference_only_detections": 4388,+ "executable": 2693,+ "quarantined": 4462,+ "executable_detections": 2529,+ "reference_only_detections": 4462,"not_a_detection": 164},"mitre_coverage": {- "unique_techniques": 391,+ "unique_techniques": 389,"techniques": {"T1001.003": 1,"T1003": 21,@@ -62,11 +62,11 @@"T1011": 1,"T1012": 8,"T1016": 3,- "T1018": 15,+ "T1018": 14,"T1020": 3,"T1021": 4,"T1021.001": 10,- "T1021.002": 24,+ "T1021.002": 23,"T1021.003": 8,"T1021.004": 4,"T1021.005": 1,@@ -92,14 +92,14 @@"T1037.004": 2,"T1039": 2,"T1040": 8,- "T1041": 9,- "T1046": 11,+ "T1041": 8,+ "T1046": 10,"T1047": 34,"T1048": 8,"T1048.001": 1,- "T1048.003": 5,+ "T1048.003": 4,"T1049": 4,- "T1052": 2,+ "T1052": 1,"T1052.001": 1,"T1053": 4,"T1053.001": 1,@@ -129,7 +129,6 @@"T1069": 3,"T1069.001": 12,"T1069.002": 11,- "T1069.003": 1,"T1070": 17,"T1070.001": 3,"T1070.002": 1,@@ -138,29 +137,29 @@"T1070.005": 4,"T1070.006": 1,"T1071": 7,- "T1071.001": 16,- "T1071.004": 12,+ "T1071.001": 14,+ "T1071.004": 11,"T1072": 4,"T1074.001": 4,- "T1078": 51,+ "T1078": 50,"T1078.001": 5,"T1078.002": 7,"T1078.003": 2,- "T1078.004": 49,+ "T1078.004": 47,"T1082": 13,"T1083": 9,"T1087": 10,"T1087.001": 10,- "T1087.002": 19,- "T1087.004": 5,+ "T1087.002": 18,+ "T1087.004": 2,"T1090": 16,"T1090.001": 4,"T1090.002": 1,"T1090.003": 9,"T1091": 1,- "T1095": 5,- "T1098": 47,- "T1098.001": 22,+ "T1095": 4,+ "T1098": 44,+ "T1098.001": 19,"T1098.003": 6,"T1098.004": 6,"T1098.007": 1,@@ -168,11 +167,11 @@"T1102.002": 1,"T1105": 49,"T1106": 6,- "T1110": 23,- "T1110.001": 7,+ "T1110": 18,+ "T1110.001": 5,"T1110.002": 1,- "T1110.003": 4,- "T1110.004": 4,+ "T1110.003": 1,+ "T1110.004": 3,"T1112": 58,"T1113": 7,"T1114": 1,@@ -195,10 +194,10 @@"T1134.003": 3,"T1134.004": 1,"T1135": 7,- "T1136": 3,- "T1136.001": 12,+ "T1136": 2,+ "T1136.001": 11,"T1136.002": 3,- "T1136.003": 4,+ "T1136.003": 2,"T1137": 4,"T1137.002": 1,"T1137.003": 1,@@ -211,7 +210,7 @@"T1190": 39,"T1195": 3,"T1195.001": 1,- "T1195.002": 9,+ "T1195.002": 8,"T1197": 13,"T1199": 12,"T1200": 3,@@ -252,15 +251,15 @@"T1484": 1,"T1484.001": 8,"T1484.002": 2,- "T1485": 34,- "T1486": 12,+ "T1485": 29,+ "T1486": 11,"T1489": 10,"T1490": 20,"T1491.001": 2,"T1496": 4,"T1497.001": 1,- "T1498": 4,- "T1498.001": 2,+ "T1498": 3,+ "T1498.001": 1,"T1498.002": 2,"T1499": 1,"T1499.001": 1,@@ -274,8 +273,8 @@"T1526": 2,"T1528": 9,"T1529": 3,- "T1530": 35,- "T1531": 10,+ "T1530": 27,+ "T1531": 7,"T1535": 1,"T1537": 7,"T1539": 6,@@ -319,7 +318,7 @@"T1550.003": 4,"T1550.004": 1,"T1552": 3,- "T1552.001": 20,+ "T1552.001": 17,"T1552.002": 3,"T1552.004": 7,"T1552.005": 1,@@ -331,11 +330,11 @@"T1553.004": 9,"T1553.005": 5,"T1554": 3,- "T1555": 9,+ "T1555": 8,"T1555.001": 5,"T1555.003": 9,"T1555.004": 3,- "T1555.005": 2,+ "T1555.005": 1,"T1556": 43,"T1556.001": 1,"T1556.003": 1,@@ -349,7 +348,7 @@"T1558": 3,"T1558.001": 2,"T1558.002": 2,- "T1558.003": 16,+ "T1558.003": 15,"T1558.004": 4,"T1559.001": 3,"T1559.002": 1,@@ -373,14 +372,13 @@"T1565": 2,"T1565.001": 3,"T1565.002": 1,- "T1566": 6,+ "T1566": 5,"T1566.001": 15,"T1566.002": 2,- "T1567": 18,+ "T1567": 16,"T1567.001": 1,- "T1567.002": 18,- "T1568.001": 2,- "T1568.002": 3,+ "T1567.002": 15,+ "T1568.002": 2,"T1569": 1,"T1569.002": 29,"T1570": 5,@@ -408,7 +406,7 @@"T1589.002": 1,"T1590.001": 1,"T1590.002": 1,- "T1592": 2,+ "T1592": 1,"T1593.003": 1,"T1595": 1,"T1595.002": 1,@@ -425,7 +423,7 @@"T1614.001": 2,"T1615": 4,"T1620": 4,- "T1621": 7,+ "T1621": 5,"T1622": 1,"T1647": 1,"T1649": 4,@@ -439,7 +437,7 @@"T1686.003": 10,"T1689": 1},- "total_with_mitre": 2472,+ "total_with_mitre": 2398,"unique_techniques_all_rules": 493,"techniques_all_rules": {"T1001.003": 2,@@ -30812,10 +30810,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/rate-limit-burst.yaml",- "sha256": "81da163e5d78188214229399302fcf050e86b64f5e683d9856d1521542f054ee"+ "quarantine_reason": "superseded by the windowed rule wd-rate-limit-burst; this stateless form named a counter no source emits",+ "sha256": "d6cd2f5fe9f5881e7d785db49aad9cda0afa45e3c6b727de11cccbc849468c36"},{"id": "det-application-009",@@ -31087,10 +31086,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/api-mass-enumeration-ids.yaml",- "sha256": "35cd0f0eb9a093eb0a790efc8b52ff0246cd79f9bbe60d58b0c4cfa624f56517"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct object ids per source, and no WAF or application source in this tree surfaces the requested object id as a field \u2014 the engine would count nothing. Revisit when the activity projection lands a `resource` field (depth plan 2.2).",+ "sha256": "a341f99d9353fb8aa7b55cca497b9e2ce7888177a1ce1d343cf1687df2e588a3"},{"id": "det-application-020",@@ -31212,10 +31212,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/saas-mass-share-public.yaml",- "sha256": "72c83cfff9ac33fb3bf97c094febe1dc2a9b01798bc1f71d7f50002130ef03df"+ "quarantine_reason": "superseded by the windowed rule wd-saas-mass-share-public; this stateless form named a counter no source emits",+ "sha256": "dd371b2dfe0e4a36598eb67bf72ea7f8fbec2036c78a36e0629e3b7fd0f14e75"},{"id": "det-application-025",@@ -31612,10 +31613,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-account-enum-reset.yaml",- "sha256": "39b35d2bbe7c42ad8dddd06f321ad83ff342598554734c19a70bad6a0076c82f"+ "quarantine_reason": "superseded by the windowed rule wd-app-account-enum-reset; this stateless form named a counter no source emits",+ "sha256": "ca784d9be605f1a34bf0fae00af57d67a84189c411f13a6f75c985a11036884d"},{"id": "det-application-041",@@ -31987,10 +31989,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-docker-insecure-registry-flag.yaml",- "sha256": "571654c2fd02fccb3b3146be9f4420959e01127cce20a9d06a68998b645fd5a8"+ "quarantine_reason": "not executable (not-windowed): `insecure_registries_count` is the length of a list inside one daemon config event, not a count over a window. The reachability gate reads it as windowed because the name ends in `_count`.",+ "sha256": "08232f1c7b5b3490b6aa4e79de04213f0e8350d90f30e1b02ea4f98216cceb6f"},{"id": "det-application-056",@@ -32062,10 +32065,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-salesforce-mass-export.yaml",- "sha256": "72bbff628f51b8b4e7aa61f7a8b6f0dd301ae906580a56c43d977859b41a604d"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ "sha256": "18d46ceb2934492bba36d21de5a7138a64de2bc973c57a089ecf4a0e14e25908"},{"id": "det-application-059",@@ -32162,10 +32166,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-box-public-link-mass-create.yaml",- "sha256": "cf92c561eb1991d82444053a99d2a9d2231a0daae9b8e8729fea68426a6e82d6"+ "quarantine_reason": "superseded by the windowed rule wd-app-box-public-link-mass-create; this stateless form named a counter no source emits",+ "sha256": "7a2750d91a204fcd59a160aa07d9b2e7ece603e8c4766a4016ec410a6f171ef3"},{"id": "det-application-063",@@ -32237,10 +32242,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/application/app-servicenow-record-export-bulk.yaml",- "sha256": "40ec8c992135e5af7b5f053a3ceec3f03b3c7bcbc4a3b4c55a9ec008cc0856bc"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The ServiceNow connector does not surface it.",+ "sha256": "2d88e18502daf69b2c75b66c63dccef87c25687a8c39a493059822be4e4de26c"},{"id": "det-application-066",@@ -32813,10 +32819,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-enumeration.yaml",- "sha256": "304e0557b80a04aad978cdb4b860342fb080f14fd834d5795449d4c4f1af9c6a"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-enumeration; this stateless form named a counter no source emits",+ "sha256": "a1f60811c87292b8cab480f0aad935d6734dd2ab1e891da535526d7783edc0a2"},{"id": "det-cloud-003",@@ -33143,10 +33150,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-s3-mass-getobject.yaml",- "sha256": "6ccc6f122f905dff87f6a00123999f9ac198926b24c74f10b804ab61bb2b8abe"+ "quarantine_reason": "superseded by the windowed rule wd-aws-s3-mass-getobject; this stateless form named a counter no source emits",+ "sha256": "0fde5d59050ccdabe54aabd82c23b67ed39ce794213d75c68858a086a4a6cb11"},{"id": "det-cloud-016",@@ -33393,10 +33401,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-resource-mass-delete.yaml",- "sha256": "16261b9181ef8238dc0880480d3abfb810e6c8df9cf2d35bf65df47a33b1f21e"+ "quarantine_reason": "superseded by the windowed rule wd-azure-resource-mass-delete; this stateless form named a counter no source emits",+ "sha256": "fed6ffde1508e24b474184bbc3cbcc350b23ab067cd2fccda9eaa0c94f5f1887"},{"id": "det-cloud-026",@@ -33619,10 +33628,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-secret-manager-mass-export.yaml",- "sha256": "0771f6f2575981a558e4f0cf7d6d4a83cf51472c9a18f19d7c86a19ec1c2f5c1"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-secret-manager-mass-export; this stateless form named a counter no source emits",+ "sha256": "d96938e05b66df327ee77acc83880315e9ac3aa81087f4cff4640d1add05267a"},{"id": "det-cloud-035",@@ -34022,10 +34032,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-create-user-burst.yaml",- "sha256": "76c6fbdd88f82ad2be5f24de4e9ad8317dcd57680bf3eb5ee21fa0100e4b7780"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-create-user-burst; this stateless form named a counter no source emits",+ "sha256": "2a2edcbcde6c466b8374fde6de22dba3d9c96fa8b4e56bd1e9e15a36d72b3293"},{"id": "det-cloud-051",@@ -34047,10 +34058,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-account-summary-recon.yaml",- "sha256": "9d007c619fae1bc3d815423530ea868e1cf21bfb5e45b13386281f750c5cbba2"+ "quarantine_reason": "superseded by the windowed rule wd-aws-iam-account-summary-recon; this stateless form named a counter no source emits",+ "sha256": "12818092ce2aae207ba18e4cedb9a9867bce748862756d1439d0ee41e24c0ec6"},{"id": "det-cloud-052",@@ -34072,10 +34084,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-iam-list-keys-recon.yaml",- "sha256": "17cac93a054bc8c701a5fd9748c29c8216cb45ef7603cd547ad828bea580e551"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct *target* users of ListAccessKeys. CloudTrail carries that in `requestParameters.UserName`, and the matcher has no dotted-path traversal, so the connector's `user_name` is the caller rather than the target. Counting the caller would be a different detection.",+ "sha256": "6f9a181b45fac60c7cf2f961275de26811a1412ba1535bbd25aa03874cf795cf"},{"id": "det-cloud-053",@@ -34297,10 +34310,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-s3-mass-deleteobject.yaml",- "sha256": "08fbcb7ac1876e6d5c42a0670e802cd56a5738ff7fb28b52674b71504e7376e0"+ "quarantine_reason": "superseded by the windowed rule wd-aws-s3-mass-deleteobject; this stateless form named a counter no source emits",+ "sha256": "ea48892082f49a53720b5c75e4e39328603cb561bb00e06d806c58cb94d65d24"},{"id": "det-cloud-062",@@ -34998,10 +35012,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/aws-secretsmanager-mass-getsecret.yaml",- "sha256": "d593df7dfed0a9f0034f85f8a069a36762e1e339ae7c9839100d2731ae172723"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct secrets, which CloudTrail carries in `requestParameters.SecretId`; the connector surfaces no secret identifier, so the engine has nothing to be distinct about.",+ "sha256": "c9e262d368b95d81a0069cebfc598519f6ab43fab01b8978729b0d15ff82b070"},{"id": "det-cloud-090",@@ -35448,10 +35463,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-ad-bulk-user-creation.yaml",- "sha256": "16dc2a330e26f0ed98d3a6cf2839e57a509220a46a338004a3626e2a9fb666ed"+ "quarantine_reason": "superseded by the windowed rule wd-azure-ad-bulk-user-creation; this stateless form named a counter no source emits",+ "sha256": "c2c6029621942ade6d66bde78cd9c762ce12a9327ac5a84178c2b239fca0298e"},{"id": "det-cloud-108",@@ -35523,10 +35539,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-ad-bulk-license-assignment.yaml",- "sha256": "a29bf20b144444553ae995cfb0eaad9c47366b505816b078c9e6096830c0d609"+ "quarantine_reason": "superseded by the windowed rule wd-azure-ad-bulk-license-assignment; this stateless form named a counter no source emits",+ "sha256": "92abc9bcfb427f0b836e1d1656694b48122997e1cb55100a49659a7a9477c259"},{"id": "det-cloud-111",@@ -35673,10 +35690,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-arm-locks-removed-bulk.yaml",- "sha256": "ca1c950a12eb928473ff08c28eaf27ca5083a7039ad9090f06f9761c2fee26eb"+ "quarantine_reason": "superseded by the windowed rule wd-azure-arm-locks-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "05e36370354d762c3f3798c54d3889701aceb57a52995b0b6bd9346844a6a7c7"},{"id": "det-cloud-117",@@ -35723,10 +35741,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-arm-mass-resource-modify.yaml",- "sha256": "404127a1704077d786feaa87417441b3929a19ba53673de55bc0e29b7f82d38f"+ "quarantine_reason": "superseded by the windowed rule wd-azure-arm-mass-resource-modify; this stateless form named a counter no source emits",+ "sha256": "888fd3d543b31409c54d7e8c8b154f203269df1b39875cf9b56b5594f33d02f5"},{"id": "det-cloud-119",@@ -35948,10 +35967,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/azure-keyvault-secret-mass-get.yaml",- "sha256": "c483e02bd23bd1953a3e5892f1ea013bddc3cf4af220f8f362b68b552f2b38f7"+ "quarantine_reason": "superseded by the windowed rule wd-azure-keyvault-secret-mass-get; this stateless form named a counter no source emits",+ "sha256": "ca2c5f00de963f8414877676769ea18bb8410bf30038168dcf910f4915a87fee"},{"id": "det-cloud-128",@@ -36323,10 +36343,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-iam-service-account-key-mass-create.yaml",- "sha256": "0f5df424efe9297df53063710f3a8ab61328e5aa7653e068ce3d700076c4f722"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-iam-service-account-key-mass-create; this stateless form named a counter no source emits",+ "sha256": "e2d2790bd174aa1d27e7d3bafd2a75f97029a7fec2eebe8e9d03ff7950a32a19"},{"id": "det-cloud-143",@@ -36373,10 +36394,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-iam-impersonation-burst.yaml",- "sha256": "8cba5a7357d029e627bcd5e78a6350112ed3c1fe2a327f064f0c30f6bd770931"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct impersonation *targets*. The GCP audit connector emits the caller (`actor`) and no target service account, so nothing identifies what is being impersonated.",+ "sha256": "8dd757d9c09438e477aad23848dc5754fb44632ddc799255528bad8511854a61"},{"id": "det-cloud-145",@@ -36473,10 +36495,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-gcs-mass-delete.yaml",- "sha256": "7a22d5ed005cead7804483558975d97cdf6d3b4aed48dd34c734e3b8ebdb5559"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-gcs-mass-delete; this stateless form named a counter no source emits",+ "sha256": "874b3c7d54d1d714100224ab0b818d3c9550d7978dfef1e700e3ba6132706f1c"},{"id": "det-cloud-149",@@ -36723,10 +36746,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/gcp-bq-mass-export.yaml",- "sha256": "08c476fdd42babeee5f382082770a96d0d2111b00486969183defeaf14655e96"+ "quarantine_reason": "superseded by the windowed rule wd-gcp-bq-mass-export; this stateless form named a counter no source emits",+ "sha256": "adf82d71c1bfaaa32e329584e0f50ce226e56e451267273646b2a830bb48f1d9"},{"id": "det-cloud-159",@@ -36948,10 +36972,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/k8s-secret-mass-get.yaml",- "sha256": "37cf655ac9ed8cb06bdd5ffd5aba4b056119941a564654bcb450efa73e45c42e"+ "quarantine_reason": "superseded by the windowed rule wd-k8s-secret-mass-get; this stateless form named a counter no source emits",+ "sha256": "9787f5e532cf8778168a2ca3609e820bdd50b27361849c294ed0c40eb1337457"},{"id": "det-cloud-168",@@ -37423,10 +37448,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/cloud/cloud-multi-cross-cloud-mass-egress.yaml",- "sha256": "b6f761129d162c02e4940e863a6fd257529e17501fbb628381e21d7571abb260"+ "quarantine_reason": "not executable (aggregate): `bytes_out_per_minute` is a sum of a numeric field over the window. The engine counts occurrences and distinct values; it adds nothing up, so a gigabyte in one transfer and a gigabyte in a thousand are the same count to it.",+ "sha256": "7b5413b7a942507984c4cf1202929c11ffb34a2f70147b52065a69ea4d11e06b"},{"id": "det-cloud-187",@@ -38505,10 +38531,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/large-egress-personal-cloud.yaml",- "sha256": "eb8402dc3f1e0cc3ca5aa0803383e6f25bc1721df0155785d50ed937b41c1a9e"+ "quarantine_reason": "not executable (not-windowed): carries a `time_window_minutes_lt` clause and no counter at all, so there is nothing to accumulate. `bytes_out` is a per-event proxy field; the window clause is vestigial and is what makes the rule unreachable. Deleting that one clause is a content decision, not a translation.",+ "sha256": "cff7d6e248fcd64de67fd19a88a672379a7216813217fe519b8355545d124999"},{"id": "det-data-exfil-002",@@ -38530,10 +38557,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/egress-spike-baseline.yaml",- "sha256": "653475a9aa55dc00d90200d659dfca6c9c8cb34a840f7cd47e4d3729aa87dcfe"+ "quarantine_reason": "not executable (aggregate): needs a sum of `bytes_out` per source and a z-score against a learned baseline. Both are out of scope for a counting engine (the baseline arrives with depth plan 3.4).",+ "sha256": "424872b43d159017f5a8620d1ab24619df423f8b4433e4a45f57fa57f7a41a78"},{"id": "det-data-exfil-003",@@ -38631,10 +38659,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/salesforce-bulk-export.yaml",- "sha256": "2f35ea6879cab1f19d7ec673a65f6a22bd4b18cea70fd36edd39e728940c178d"+ "quarantine_reason": "not executable (not-windowed): `row_count` is a per-event field of one export record, not a count over a window. The Salesforce connector does not surface it.",+ "sha256": "26883bcf44dab64327a579056543fa85cee37b2a7f9ebd7cec2ac51a996a8d68"},{"id": "det-data-exfil-007",@@ -38681,10 +38710,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/db-mass-row-read.yaml",- "sha256": "7de65520911f07c3588c176cad44b065325961ca3b6c0fd136ec66920a4595a0"+ "quarantine_reason": "not executable (aggregate): needs a sum of rows read per session and a z-score against a learned baseline; the engine computes neither.",+ "sha256": "ea09b41263ee91c7e16c585b8b9546f545bbc1405c5e8be0a9cc182a5c2cfd67"},{"id": "det-data-exfil-009",@@ -38807,10 +38837,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/printer-mass-print-confidential.yaml",- "sha256": "9e0aefacacd2b8815f8ebb820c8342c27de284bd870f133868633f11c854a0c5"+ "quarantine_reason": "not executable (aggregate): `page_count_per_user` sums pages across print jobs. Counting jobs instead would fire on 500 one-page prints and miss one 1,500-page print, which inverts what the rule is for.",+ "sha256": "6b57f770030cdb02c6a28727d254e1d7f2687826960cd1d96cdc95d2e0c5e05e"},{"id": "det-data-exfil-014",@@ -38932,10 +38963,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/container-mass-image-export.yaml",- "sha256": "48c18e0a641c00a7d0ef2c936a5d6dc6b92b0a66849c7512e7be697587ed59ee"+ "quarantine_reason": "superseded by the windowed rule wd-container-mass-image-export; this stateless form named a counter no source emits",+ "sha256": "7e8fbc532b3a248700664237f61c4fde2d55f8767f9d732551124d35747a8fa8"},{"id": "det-data-exfil-019",@@ -38983,10 +39015,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/data-exfil/secrets-mass-fetch.yaml",- "sha256": "be1c3076bfa548b3c9a7c01be00da2987359b81cac27f574715abea4718399f1"+ "quarantine_reason": "superseded by the windowed rule wd-secrets-mass-fetch; this stateless form named a counter no source emits",+ "sha256": "e2f3de8ee0b6bdd78836cf9dc35490c76c5d9f5e0f158087e355207386012328"},{"id": "det-endpoint-001",@@ -39058,10 +39091,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/endpoint/ransomware-file-extension-change.yaml",- "sha256": "022552298877ee4430201bd15b408efca222b1fcb8574b366955f648d149f55c"+ "quarantine_reason": "superseded by the windowed rule wd-ransomware-file-extension-change; this stateless form named a counter no source emits",+ "sha256": "53820bc0d41024bd4b63288619edad669938d2695c92c74e8c741a26f228ace3"},{"id": "det-endpoint-004",@@ -46646,10 +46680,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/brute-force-login.yaml",- "sha256": "d3a12403d8301306827a11de1bf4d3f06124a699c4647fafcc36628895fdc4ed"+ "quarantine_reason": "superseded by the windowed rule wd-brute-force-login; this stateless form named a counter no source emits",+ "sha256": "655b3071468f624b3e43b8612244f12a5ecd0df1afa1672efdf8447d8c78625b"},{"id": "det-identity-002",@@ -46696,10 +46731,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/password-spray.yaml",- "sha256": "5d5000a11b71725bfdacd6b6cd0ffb1e55fddd22f99dd5289ef53dc5af629925"+ "quarantine_reason": "superseded by the windowed rule wd-okta-password-spray; this stateless form named a counter no source emits",+ "sha256": "8a95c7a3821eb6bb005c3c30a9c00609e591f70ff51ef99472417e372684bae4"},{"id": "det-identity-004",@@ -46821,10 +46857,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/mfa-fatigue.yaml",- "sha256": "9e7fa58685ace079a1d5aabc25eb0f87f8a2cfd26449a02602f1aea5a39481ad"+ "quarantine_reason": "superseded by the windowed rule wd-okta-mfa-push-bombing; this stateless form named a counter no source emits",+ "sha256": "9e0540d3832709679cf31b87867c546bc9b2c5e437109b18a405994ae8bc6e88"},{"id": "det-identity-009",@@ -46971,10 +47008,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/shared-account-login-spike.yaml",- "sha256": "49d0fd4644419aadd6c524d97109d98f1bdbb03c53a57faa836277c9743d58dc"+ "quarantine_reason": "superseded by the windowed rule wd-shared-account-login-spike; this stateless form named a counter no source emits",+ "sha256": "a3cc6c9769d04a19a2cdb128019456c164802a7c5c23352a001f5c7fdf7c8427"},{"id": "det-identity-015",@@ -47421,10 +47459,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/kerberoasting.yaml",- "sha256": "e47442963dfbe3d8b196da4ccec625e365151c427779b19218b66274d45ce4f9"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct service principal names requested per account. Windows 4769 carries the SPN in `ServiceName`, which no source in this tree lifts, so there is nothing to be distinct about.",+ "sha256": "ad722793a720b7f38cacace4b71f6739ef370541a4b641bc73ad3a259699b0a2"},{"id": "det-identity-033",@@ -47646,10 +47685,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-password-spray-many-targets.yaml",- "sha256": "acbcc9071211e2b449a6d7ddafad985df383a545e2113ad490da2d31f6cf547d"+ "quarantine_reason": "not executable (aggregate): pairs a distinct-user count with a `tries_per_user` ceiling, which is a mean inside the window. Keeping only the distinct half would widen the rule into a brute-force detection `wd-bruteforce-auth` already covers.",+ "sha256": "117f5c21f5682968e9ca5d728e45673d2113b51d3fbc7e37c1789b24eb808354"},{"id": "det-identity-042",@@ -47671,10 +47711,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-password-spray-distributed.yaml",- "sha256": "ba7ee636198c0507154f0d0de95cd3829c0314f4758fe3ac0d564e90d8f9b698"+ "quarantine_reason": "superseded by the windowed rule wd-ident-password-spray-distributed; this stateless form named a counter no source emits",+ "sha256": "ab535d70302fff58a428a79364c86a77b1a4c59d8bb7b9e48947a94d6e299f8d"},{"id": "det-identity-043",@@ -47696,10 +47737,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-credstuffing-known-breached-list.yaml",- "sha256": "5edff83321b0a0cebcefe359fa65905a02735486b1c3ce976b09da0a47095329"+ "quarantine_reason": "superseded by the windowed rule wd-ident-credstuffing-known-breached-list; this stateless form named a counter no source emits",+ "sha256": "0e86726aaafb9c4c19070e80935dcf3cde8c65ac3ece3a501096347dd71a1595"},{"id": "det-identity-044",@@ -47821,10 +47863,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-mfa-fatigue-burst.yaml",- "sha256": "bdb3f4000a44dff44649c7500fbf80d282792e3fd8f6af18f270f3699571b459"+ "quarantine_reason": "superseded by the windowed rule wd-ident-mfa-fatigue-burst; this stateless form named a counter no source emits",+ "sha256": "2f0612bddeba2a522dc88750b20309bec3b108909189f7690e17a19c44ebf394"},{"id": "det-identity-049",@@ -47871,10 +47914,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-account-locked-many-times.yaml",- "sha256": "3a10550d0bcb6de79e8f2dc9521ae1b0af6cf1f602b4824f950cfa56796d308c"+ "quarantine_reason": "superseded by the windowed rule wd-ident-account-locked-many-times; this stateless form named a counter no source emits",+ "sha256": "30b2d58e606fe709df81cf981f675e945fef3a0ee274541f2274e38b13e758e9"},{"id": "det-identity-051",@@ -48246,10 +48290,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-totp-skewed-clock.yaml",- "sha256": "2a68b98b0374d54a545c0847ebbcbda6fd8f9892468fc0741a2a6c85f7cef69a"+ "quarantine_reason": "superseded by the windowed rule wd-ident-totp-skewed-clock; this stateless form named a counter no source emits",+ "sha256": "febfc2edf78212322d700a9c1d33d0ad3a3001245f55f58e379860233f489b49"},{"id": "det-identity-066",@@ -48396,10 +48441,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-priv-role-burst-granted.yaml",- "sha256": "0436e7689b478465ae07b5b5f51c577a189a6dd717197f8dcb917080c584eba1"+ "quarantine_reason": "superseded by the windowed rule wd-ident-priv-role-burst-granted; this stateless form named a counter no source emits",+ "sha256": "b275110b06293cd9df693f3ae1472d0f1ae7af97894935a4f3ab4d9ada08c5d6"},{"id": "det-identity-072",@@ -48521,10 +48567,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-priv-role-removed-bulk.yaml",- "sha256": "dcaf7a842e5921193d608c309314de78998127c11a5ef0a87528ab548c0a0a35"+ "quarantine_reason": "superseded by the windowed rule wd-ident-priv-role-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "3d5cfe4d3bf16641024b8a7338a5dd6ee8b5c5e62b24237a852aab4b0a19e0eb"},{"id": "det-identity-077",@@ -48546,10 +48593,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-orphan-svc-acct-many-keys.yaml",- "sha256": "933ade67ee315007fccaab232b78e1f2618e05f3a1e70a8cfc0126b298fea62d"+ "quarantine_reason": "not executable (not-windowed): `active_keys_per_account` is the state of an account at one moment, reported by an inventory event. A window counts what happened, not what is true; this needs the posture snapshot (depth plan 2.5).",+ "sha256": "9be9d853f159833edcf0afd6b1cf9f702526ec7911cc5ff501aaf0f600f9c036"},{"id": "det-identity-078",@@ -48796,10 +48844,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-ad-machine-account-quota-abuse.yaml",- "sha256": "62c0a6fe579a8b95fa47a5f5483f37992df331cae9fe1d3b9eac42220db6a57c"+ "quarantine_reason": "superseded by the windowed rule wd-ident-ad-machine-account-quota-abuse; this stateless form named a counter no source emits",+ "sha256": "19209213b458f51b88058c4464eeed6b2d80f8729225e1d7886bce02709ca37a"},{"id": "det-identity-088",@@ -49021,10 +49070,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-kerberos-failure-spike-from-host.yaml",- "sha256": "ee42e0daee55690e475fcdf7426f0ee52f28dec2325ee71919c94fc3e6acabd4"+ "quarantine_reason": "superseded by the windowed rule wd-ident-kerberos-failure-spike-from-host; this stateless form named a counter no source emits",+ "sha256": "11d56dd7cfe89b12cd755af82120ac7645d667087924fcc4e5d667ed7a88b2e5"},{"id": "det-identity-097",@@ -49271,10 +49321,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-okta-admin-app-assigned-many-users.yaml",- "sha256": "43f08f14eeb9a97ad953a6078e60bfb7b8a2cc92c13803a1dbb8dd1669a70446"+ "quarantine_reason": "superseded by the windowed rule wd-ident-okta-admin-app-assigned-many-users; this stateless form named a counter no source emits",+ "sha256": "f223dd4c655d4926345b9de6c1b1dff3efc70fc6d09dd4d83fd6455c6ee78e74"},{"id": "det-identity-107",@@ -49546,10 +49597,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-okta-mass-deactivate-users.yaml",- "sha256": "c7632b4a6f4a7294d11cc8672e838cafaa3ef443be5867fa519fb4e4bd5c59ad"+ "quarantine_reason": "superseded by the windowed rule wd-ident-okta-mass-deactivate-users; this stateless form named a counter no source emits",+ "sha256": "e31587a149d39b590dca9e9ddc8d7ef9a4f5b748f765930918372e30ee85d624"},{"id": "det-identity-118",@@ -49846,10 +49898,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-ping-admin-role-burst.yaml",- "sha256": "3747c320c44b54a32f4b9a7a4f47ad7b4447611cb127c26f0fed66976c25ea69"+ "quarantine_reason": "superseded by the windowed rule wd-ident-ping-admin-role-burst; this stateless form named a counter no source emits",+ "sha256": "747a1f844378e90c56961797e6dd17843a50f845c3abae6341e70c9a36522bfe"},{"id": "det-identity-130",@@ -50071,10 +50124,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-oidc-many-clients-from-single-actor.yaml",- "sha256": "f9a5b7754bf16d90d6161c7727d96677443728aea32c8d3c35a7cfc945fe65db"+ "quarantine_reason": "superseded by the windowed rule wd-ident-oidc-many-clients-from-single-actor; this stateless form named a counter no source emits",+ "sha256": "4b158fca1d6ccdeab39ad515551592e631e3b4b9a6fd2396c440da6b0e5350d7"},{"id": "det-identity-139",@@ -50496,10 +50550,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-github-org-collaborator-removed-bulk.yaml",- "sha256": "2b5695b8a9f752d5fd161e8e90f322821dc00b616616448a071ad0f4dd1c8763"+ "quarantine_reason": "superseded by the windowed rule wd-ident-github-org-collaborator-removed-bulk; this stateless form named a counter no source emits",+ "sha256": "279068b5a71ddf9125aa7b1cf1b6f0e83cdcaa761e2a194a3618f7b1eb760942"},{"id": "det-identity-156",@@ -50521,10 +50576,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/identity/ident-github-deploy-key-added-org-wide.yaml",- "sha256": "31597897bb8b0a6af8a852689610f456ccebd525c97ee435bba1e07fdc289a12"+ "quarantine_reason": "superseded by the windowed rule wd-ident-github-deploy-key-added-org-wide; this stateless form named a counter no source emits",+ "sha256": "77f95373794530900f68dcf340bbf424c147c44bfc9baea79fb08f8c066bc851"},{"id": "det-identity-157",@@ -50646,10 +50702,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/c2-beacon-high-frequency.yaml",- "sha256": "8cc24269f77c5f8c66b7383f42835fcbab6352988ee17560ee7522b60499e42b"+ "quarantine_reason": "not executable (aggregate): `interval_consistency` is the regularity of inter-arrival times across the window \u2014 a variance, not a count. Keeping only the connection count turns a beacon detection into a chatty-host detection.",+ "sha256": "961a20687e2ecdfcf3133d99897c429b37b084f2352efd6efa9e5dcdf369f6ad"},{"id": "det-network-002",@@ -50671,10 +50728,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/dns-data-exfiltration.yaml",- "sha256": "82874ea6ea82a9359a779e8a4d249a4e88fa66ee1bad029f885029755174973a"+ "quarantine_reason": "not executable (aggregate): `avg_subdomain_len` is a mean over the window. Dropping it leaves '100 DNS queries in 30 minutes', which every workstation clears.",+ "sha256": "208f9b32ecc07c73bd5713f396451b1831164e60b3f78b5fa0855200a57c6b3e"},{"id": "det-network-003",@@ -50696,10 +50754,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/port-scan-internal.yaml",- "sha256": "361f061dbbd69153aa26b257c4aee729e550b2e639a091f9c8617e6ffc49bf89"+ "quarantine_reason": "not executable (multi-distinct): requires distinct destination ports *and* distinct destinations per source. The engine holds one distinct operand per rule; splitting this into two rules would fire twice on one scan and once on neither half.",+ "sha256": "3fc069ed9663908f6521a6c6a7d41611ce905a581e817e1ba3c1a26166ebe9c0"},{"id": "det-network-004",@@ -50721,10 +50780,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ssh-failed-from-internet.yaml",- "sha256": "4540ebc8ca659bb3414ae514f09c19181be020d0857824c71642052d38bfce6c"+ "quarantine_reason": "superseded by the windowed rule wd-ssh-failed-from-internet; this stateless form named a counter no source emits",+ "sha256": "b6d4eaa64be49f609b6b0896f072f1417d14847583a179cc7a68d6c60a95c57e"},{"id": "det-network-005",@@ -50746,10 +50806,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/smb-lateral-movement.yaml",- "sha256": "3090822a773fa366d2d1bcbafa1678f3bc40a42da8b4f694260713135564b80a"+ "quarantine_reason": "superseded by the windowed rule wd-smb-lateral-movement; this stateless form named a counter no source emits",+ "sha256": "31c010bd53fe21f3398318c77c3de1e62b2e4613d15f82b260896e598b2d5434"},{"id": "det-network-006",@@ -50846,10 +50907,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/dns-fast-flux.yaml",- "sha256": "41f30b5415bdefa3d094bc86bd0dffa1bd0d257479b653297faa99027d381924"+ "quarantine_reason": "not executable (operand-not-emitted): counts distinct A records, which live as a list inside a single DNS response rather than one per event. The engine counts distinct values of one field per event, so it cannot see inside the answer set.",+ "sha256": "3b0c3eaf3c48bc3302fe1096f0279ef796ec9015e744381d420ce260a0bb3cd0"},{"id": "det-network-010",@@ -50921,10 +50983,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/icmp-tunnel.yaml",- "sha256": "fbbcf5c80e17db102f7dacb6eed86d1f9610cdf2dfbd0699af2c71d5405b4941"+ "quarantine_reason": "not executable (aggregate): `avg_payload_bytes` is a mean over the window, and `packet_count` is a per-flow sum. Counting flow records measures neither.",+ "sha256": "5b9d79468fd9119dd6c2b109bdc38c828094f354440351c84f4b6cc245aa7030"},{"id": "det-network-013",@@ -50996,10 +51059,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/egress-to-rare-asn.yaml",- "sha256": "64bee3753107cb428e95f179cdef7fd4aa964e62e986bad9171417b8eb7ac99e"+ "quarantine_reason": "not executable (rarity): fires when a destination ASN has been seen *fewer* than five times in thirty days. The engine fires when a count is high; a rarity signal needs the first-seen store (depth plan 3.3) and the baseline module (3.4).",+ "sha256": "e0ac3673e46f8aa467f5416ed59d1d8ba24b849e89c9e43258a76e81594c917f"},{"id": "det-network-016",@@ -51046,10 +51110,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ldap-bind-anomaly.yaml",- "sha256": "310bc5b1f556040d90b7d71a431b03537890b7fe72efee90912134a448c8dd71"+ "quarantine_reason": "superseded by the windowed rule wd-ldap-bind-anomaly; this stateless form named a counter no source emits",+ "sha256": "59344b7af75eee79c90402ef34d4bbc5dfb14ca0c4569feb15782ea9abad2476"},{"id": "det-network-018",@@ -51096,10 +51161,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/ddos-syn-flood.yaml",- "sha256": "516820591074cbd2e139e7c6f8d637d773b5b5b32896e06e46e06feed17010d9"+ "quarantine_reason": "superseded by the windowed rule wd-ddos-syn-flood; this stateless form named a counter no source emits",+ "sha256": "337707d7dbec4e4607b0580235a1686fb4ca8bdc32640fde4ce93c1fb3178318"},{"id": "det-network-020",@@ -51146,10 +51212,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/internal-host-spamming-mail.yaml",- "sha256": "ba9caeed6a84b0a816ebb07efd616414689750a856ba5b6e67ba01cdb32d245f"+ "quarantine_reason": "superseded by the windowed rule wd-internal-host-spamming-mail; this stateless form named a counter no source emits",+ "sha256": "c5e750fd0be94d0b6a3bd01174f4070097d74c9609e815f10e01cdd3e5f5f9df"},{"id": "det-network-022",@@ -51447,10 +51514,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-nxdomain-spike.yaml",- "sha256": "00f3597377ca2805f7e24b3a01085723edb4ed2ac35d17468a880970ca69acb6"+ "quarantine_reason": "superseded by the windowed rule wd-net-dns-nxdomain-spike; this stateless form named a counter no source emits",+ "sha256": "1e63d5700b0a5986e3763082c934f06528f185722cc4f6c2b03460e2f86e74bc"},{"id": "det-network-034",@@ -51472,10 +51540,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-any-query-spike.yaml",- "sha256": "51b8dc0b30dce8338ac562d4e896311f56ac54eea3cb6982f9d1c83530d0ce29"+ "quarantine_reason": "superseded by the windowed rule wd-net-dns-any-query-spike; this stateless form named a counter no source emits",+ "sha256": "16264987165bc049c5aefae955df21e5e02cd3e72425d638d900e5973cbd3bda"},{"id": "det-network-035",@@ -51573,10 +51642,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-tunnel-pattern-len.yaml",- "sha256": "e3886c10249496ebc76861df49d919804a13c776280b9c651366be055cf8514c"+ "quarantine_reason": "not executable (not-windowed): `subdomain_hex_ratio` is a property of one query name, not a count over a window; the reachability gate reads it as windowed because the name ends in `_ratio`. It is cheap to derive from the query name and belongs with the derived fields, not here.",+ "sha256": "2fb9ca1247d28bcfa6f1c69770c1228dee25e10a4c3abb862b99d5202f0ad64d"},{"id": "det-network-039",@@ -51673,10 +51743,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dns-fast-flux.yaml",- "sha256": "f81dcbd3ddc763c67e15779a42e97baa5281ef834a90e2b7c5a52fb0d3668996"+ "quarantine_reason": "not executable (not-windowed): `answer_count` is the number of records in one DNS response, a per-event field, not a count over a window.",+ "sha256": "cf707dd8d385769c244ed8e0fb9cd1c2d92349b8ce8456909cf50a36c01ccd51"},{"id": "det-network-043",@@ -52623,10 +52694,11 @@"verified": true,"source": "core","tier": "stable",- "enabled": true,- "executable": true,+ "enabled": false,+ "executable": false,"path": "detections/network/net-dhcp-starvation.yaml",- "sha256": "3a70653c3dc37de36157c56d349353a4a4a8d1c30377e757fb7e2e2e7bec8ea0"+ "quarantine_reason": "superseded by the windowed rule wd-net-dhcp-starvation; this stateless form named a counter no source emits",+ "sha256": "37f59330c3c08915c50a50b80206362455c4b45e87db7a6b2eba07f41c1a0c82"},{"id": "det-network-081",diff --git a/services/fusion/app/data/detection_ruleset.json b/services/fusion/app/data/detection_ruleset.jsonindex 798224cb3..154d321f7 100644--- a/services/fusion/app/data/detection_ruleset.json+++ b/services/fusion/app/data/detection_ruleset.json@@ -1,5 +1,5 @@{- "count": 833,+ "count": 759,"rules": [{"category": "application",@@ -155,24 +155,6 @@"severity": "critical","slug": "command-injection"},- {- "category": "application",- "id": "det-application-008",- "match_when": {- "method": "POST",- "request_count_per_src_gt": 200,- "request_uri_endswith": "/login",- "time_window_minutes_lt": 5- },- "mitre": [- "T1110"- ],- "name": "Rate Limit Burst on Authentication Endpoint",- "product": "waf",- "service": "http",- "severity": "medium",- "slug": "rate-limit-burst"- },{"category": "application","id": "det-application-009",@@ -359,22 +341,6 @@"severity": "high","slug": "container-image-pulled-untrusted-registry"},- {- "category": "application",- "id": "det-application-019",- "match_when": {- "distinct_object_ids_per_src_gt": 1000,- "time_window_minutes_lt": 5- },- "mitre": [- "T1592"- ],- "name": "Sequential ID Enumeration Pattern Against API",- "product": "waf",- "service": "http",- "severity": "high",- "slug": "api-mass-enumeration-ids"- },{"category": "application","id": "det-application-020",@@ -444,24 +410,6 @@"severity": "high","slug": "gitlab-runner-shared-tag"},- {- "category": "application",- "id": "det-application-024",- "match_when": {- "event_type": "drive.acl.change",- "file_count_per_user_gt": 10,- "share_visibility": "public",- "time_window_minutes_lt": 30- },- "mitre": [- "T1530"- ],- "name": "SaaS File Mass Public-Share by Single User",- "product": "google-workspace",- "service": "drive",- "severity": "high",- "slug": "saas-mass-share-public"- },{"category": "application","id": "det-application-025",@@ -748,22 +696,6 @@"severity": "medium","slug": "app-cookie-tampered-hmac"},- {- "category": "application",- "id": "det-application-040",- "match_when": {- "count_5min_per_ip_gt": 30,- "event_type": "password_reset_request"- },- "mitre": [- "T1110"- ],- "name": "High Volume Of Password Reset Requests From Single IP",- "product": "application",- "service": "auth",- "severity": "medium",- "slug": "app-account-enum-reset"- },{"category": "application","id": "det-application-041",@@ -1004,22 +936,6 @@"severity": "medium","slug": "app-pypi-package-publish-new-ip"},- {- "category": "application",- "id": "det-application-055",- "match_when": {- "event_type": "daemon_config",- "insecure_registries_count_gt": 0- },- "mitre": [- "T1195.002"- ],- "name": "Docker Daemon Started With --insecure-registry Flag",- "product": "docker",- "service": "dockerd",- "severity": "medium",- "slug": "app-docker-insecure-registry-flag"- },{"category": "application","id": "det-application-056",@@ -1055,22 +971,6 @@"severity": "high","slug": "app-protected-branch-disabled"},- {- "category": "application",- "id": "det-application-058",- "match_when": {- "event_type": "DataExport",- "row_count_gt": 100000- },- "mitre": [- "T1530"- ],- "name": "Salesforce Mass Data Export Initiated",- "product": "salesforce",- "service": "audit",- "severity": "high",- "slug": "app-salesforce-mass-export"- },{"category": "application","id": "det-application-059",@@ -1119,23 +1019,6 @@"severity": "medium","slug": "app-zoom-recording-shared-external"},- {- "category": "application",- "id": "det-application-062",- "match_when": {- "access": "open",- "count_5min_per_user_gt": 20,- "event_type": "shared_link.create"- },- "mitre": [- "T1567.002"- ],- "name": "Box Created Many Public Links In Short Window",- "product": "box",- "service": "audit",- "severity": "high",- "slug": "app-box-public-link-mass-create"- },{"category": "application","id": "det-application-063",@@ -1168,22 +1051,6 @@"severity": "medium","slug": "app-confluence-space-export-bulk"},- {- "category": "application",- "id": "det-application-065",- "match_when": {- "event_type": "record_export",- "row_count_gt": 50000- },- "mitre": [- "T1530"- ],- "name": "ServiceNow Bulk Record Export",- "product": "servicenow",- "service": "audit",- "severity": "medium",- "slug": "app-servicenow-record-export-bulk"- },{"category": "application","id": "det-application-066",@@ -1535,24 +1402,6 @@"severity": "critical","slug": "aws-root-account-login"},- {- "category": "cloud",- "id": "det-cloud-002",- "match_when": {- "event_name_count_gt": 25,- "event_source": "iam.amazonaws.com",- "time_window_minutes_lt": 5- },- "mitre": [- "T1087.004",- "T1069.003"- ],- "name": "AWS IAM Enumeration Burst",- "product": "aws",- "service": "cloudtrail",- "severity": "high",- "slug": "aws-iam-enumeration"- },{"category": "cloud","id": "det-cloud-003",@@ -1777,23 +1626,6 @@"severity": "high","slug": "aws-cross-account-assumerole"},- {- "category": "cloud",- "id": "det-cloud-015",- "match_when": {- "event_name": "GetObject",- "object_count_per_principal_gt": 5000,- "time_window_minutes_lt": 30- },- "mitre": [- "T1530"- ],- "name": "AWS S3 GetObject Volume Anomaly per Principal",- "product": "aws",- "service": "cloudtrail",- "severity": "high",- "slug": "aws-s3-mass-getobject"- },{"category": "cloud","id": "det-cloud-016",@@ -1959,23 +1791,6 @@"severity": "high","slug": "azure-login-anonymous-ip"},- {- "category": "cloud",- "id": "det-cloud-025",- "match_when": {- "delete_count_per_principal_gt": 50,- "operation_name_endswith": "/delete",- "time_window_minutes_lt": 15- },- "mitre": [- "T1485"- ],- "name": "Azure Resource Mass Deletion",- "product": "azure",- "service": "activity",- "severity": "critical",- "slug": "azure-resource-mass-delete"- },{"category": "cloud","id": "det-cloud-026",@@ -2116,24 +1931,6 @@"severity": "high","slug": "gcp-service-account-impersonation"},- {- "category": "cloud",- "id": "det-cloud-034",- "match_when": {- "method_name": "google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion",- "secret_count_per_principal_gt": 25,- "time_window_minutes_lt": 10- },- "mitre": [- "T1555.005",- "T1530"- ],- "name": "GCP Secret Manager Mass AccessSecretVersion",- "product": "gcp",- "service": "audit",- "severity": "critical",- "slug": "gcp-secret-manager-mass-export"- },{"category": "cloud","id": "det-cloud-035",@@ -2405,57 +2202,6 @@"severity": "critical","slug": "aws-iam-anonymous-role-trust"},- {- "category": "cloud",- "id": "det-cloud-050",- "match_when": {- "event_name": "CreateUser",- "events_per_minute_gt": 10- },- "mitre": [- "T1136.003"- ],- "name": "AWS IAM CreateUser Burst",- "product": "aws",- "service": "iam",- "severity": "medium",- "slug": "aws-iam-create-user-burst"- },- {- "category": "cloud",- "id": "det-cloud-051",- "match_when": {- "event_name_in": [- "GetAccountSummary",- "GetAccountAuthorizationDetails"- ],- "events_per_minute_gt": 5- },- "mitre": [- "T1087.004"- ],- "name": "AWS IAM GetAccountSummary Recon Burst",- "product": "aws",- "service": "iam",- "severity": "low",- "slug": "aws-iam-account-summary-recon"- },- {- "category": "cloud",- "id": "det-cloud-052",- "match_when": {- "distinct_users_per_minute_gt": 20,- "event_name": "ListAccessKeys"- },- "mitre": [- "T1087.004"- ],- "name": "AWS IAM ListAccessKeys Recon Across Users",- "product": "aws",- "service": "iam",- "severity": "medium",- "slug": "aws-iam-list-keys-recon"- },{"category": "cloud","id": "det-cloud-053",@@ -2593,22 +2339,6 @@"severity": "high","slug": "aws-s3-object-lock-disabled"},- {- "category": "cloud",- "id": "det-cloud-061",- "match_when": {- "event_name": "DeleteObject",- "objects_per_minute_gt": 1000- },- "mitre": [- "T1485"- ],- "name": "AWS S3 Mass DeleteObject Burst",- "product": "aws",- "service": "s3",- "severity": "critical",- "slug": "aws-s3-mass-deleteobject"- },{"category": "cloud","id": "det-cloud-062",@@ -3067,22 +2797,6 @@"severity": "high","slug": "aws-kms-schedule-key-deletion"},- {- "category": "cloud",- "id": "det-cloud-089",- "match_when": {- "distinct_secrets_per_minute_gt": 30,- "event_name": "GetSecretValue"- },- "mitre": [- "T1552.001"- ],- "name": "AWS SecretsManager Mass GetSecretValue",- "product": "aws",- "service": "secretsmanager",- "severity": "high",- "slug": "aws-secretsmanager-mass-getsecret"- },{"category": "cloud","id": "det-cloud-090",@@ -3361,22 +3075,6 @@"severity": "critical","slug": "azure-ad-app-permissions-graph-read-write-all"},- {- "category": "cloud",- "id": "det-cloud-107",- "match_when": {- "events_per_minute_gt": 25,- "operation_name": "Add user"- },- "mitre": [- "T1136.003"- ],- "name": "Entra ID Bulk User Creation Burst",- "product": "azure",- "service": "entra-audit",- "severity": "medium",- "slug": "azure-ad-bulk-user-creation"- },{"category": "cloud","id": "det-cloud-108",@@ -3408,22 +3106,6 @@"severity": "high","slug": "azure-ad-legacy-auth-allowed"},- {- "category": "cloud",- "id": "det-cloud-110",- "match_when": {- "events_per_minute_gt": 50,- "operation_name": "Change user license"- },- "mitre": [- "T1078.004"- ],- "name": "Entra ID Bulk License Assignment",- "product": "azure",- "service": "entra-audit",- "severity": "low",- "slug": "azure-ad-bulk-license-assignment"- },{"category": "cloud","id": "det-cloud-111",@@ -3506,22 +3188,6 @@"severity": "critical","slug": "azure-arm-role-assignment-owner-tenant"},- {- "category": "cloud",- "id": "det-cloud-116",- "match_when": {- "events_per_minute_gt": 10,- "operation_name_endswith": "locks/delete"- },- "mitre": [- "T1485"- ],- "name": "Azure ResourceGroup Locks Removed In Bulk",- "product": "azure",- "service": "activity",- "severity": "high",- "slug": "azure-arm-locks-removed-bulk"- },{"category": "cloud","id": "det-cloud-117",@@ -3537,25 +3203,6 @@"severity": "critical","slug": "azure-arm-diagnostic-settings-deleted"},- {- "category": "cloud",- "id": "det-cloud-118",- "match_when": {- "events_per_minute_gt": 200,- "operation_name_endswith_any": [- "/write",- "/delete"- ]- },- "mitre": [- "T1485"- ],- "name": "Azure Mass Resource Modify Burst",- "product": "azure",- "service": "activity",- "severity": "medium",- "slug": "azure-arm-mass-resource-modify"- },{"category": "cloud","id": "det-cloud-119",@@ -3684,22 +3331,6 @@"severity": "high","slug": "azure-keyvault-purge-protection-disabled"},- {- "category": "cloud",- "id": "det-cloud-127",- "match_when": {- "distinct_secrets_per_minute_gt": 30,- "operation_name": "SecretGet"- },- "mitre": [- "T1552.001"- ],- "name": "Azure Key Vault Mass GetSecret",- "product": "azure",- "service": "keyvault",- "severity": "high",- "slug": "azure-keyvault-secret-mass-get"- },{"category": "cloud","id": "det-cloud-128",@@ -3926,22 +3557,6 @@"severity": "high","slug": "gcp-iam-org-policy-disabled"},- {- "category": "cloud",- "id": "det-cloud-142",- "match_when": {- "events_per_minute_gt": 5,- "method_name_endswith": "CreateServiceAccountKey"- },- "mitre": [- "T1098.001"- ],- "name": "GCP Service Account Key Burst",- "product": "gcp",- "service": "audit",- "severity": "high",- "slug": "gcp-iam-service-account-key-mass-create"- },{"category": "cloud","id": "det-cloud-143",@@ -3960,26 +3575,10 @@},{"category": "cloud",- "id": "det-cloud-144",+ "id": "det-cloud-145","match_when": {- "distinct_targets_per_minute_gt": 10,- "method_name_endswith": "GenerateAccessToken"- },- "mitre": [- "T1078.004"- ],- "name": "GCP Service Account Impersonation Burst",- "product": "gcp",- "service": "audit",- "severity": "high",- "slug": "gcp-iam-impersonation-burst"- },- {- "category": "cloud",- "id": "det-cloud-145",- "match_when": {- "condition_removed": true,- "method_name_endswith": "SetIamPolicy"+ "condition_removed": true,+ "method_name_endswith": "SetIamPolicy"},"mitre": ["T1556"@@ -4028,22 +3627,6 @@"severity": "medium","slug": "gcp-gcs-uniform-access-disabled"},- {- "category": "cloud",- "id": "det-cloud-148",- "match_when": {- "events_per_minute_gt": 1000,- "method_name": "storage.objects.delete"- },- "mitre": [- "T1485"- ],- "name": "GCS Mass Object Delete Burst",- "product": "gcp",- "service": "audit",- "severity": "critical",- "slug": "gcp-gcs-mass-delete"- },{"category": "cloud","id": "det-cloud-149",@@ -4191,26 +3774,6 @@"severity": "critical","slug": "gcp-bq-dataset-allusers-access"},- {- "category": "cloud",- "id": "det-cloud-158",- "match_when": {- "events_per_minute_gt": 5,- "job_type": "EXPORT",- "method_name_in": [- "jobservice.jobcompleted",- "jobs.insert"- ]- },- "mitre": [- "T1567.002"- ],- "name": "BigQuery Mass Export Burst",- "product": "gcp",- "service": "audit",- "severity": "high",- "slug": "gcp-bq-mass-export"- },{"category": "cloud","id": "det-cloud-159",@@ -4343,23 +3906,6 @@"severity": "critical","slug": "k8s-cluster-admin-binding-non-system"},- {- "category": "cloud",- "id": "det-cloud-167",- "match_when": {- "distinct_secrets_per_minute_gt": 30,- "object_resource": "secrets",- "verb": "get"- },- "mitre": [- "T1552.001"- ],- "name": "Kubernetes Secret Mass Get",- "product": "kubernetes",- "service": "audit",- "severity": "high",- "slug": "k8s-secret-mass-get"- },{"category": "cloud","id": "det-cloud-168",@@ -4685,32 +4231,6 @@"severity": "critical","slug": "cloud-oci-iam-tenant-admin-binding"},- {- "category": "cloud",- "id": "det-cloud-186",- "match_when": {- "bytes_out_per_minute_gt": 1073741824,- "dst_cloud_in": [- "aws",- "azure",- "gcp"- ],- "src_cloud_in": [- "aws",- "azure",- "gcp"- ],- "src_cloud_neq_dst_cloud": true- },- "mitre": [- "T1567"- ],- "name": "Multi-Cloud Cross-Cloud Mass Egress Burst",- "product": "multi-cloud",- "service": "netflow",- "severity": "high",- "slug": "cloud-multi-cross-cloud-mass-egress"- },{"category": "cloud","id": "det-cloud-187",@@ -4786,39 +4306,6 @@"severity": "critical","slug": "cloud-org-rootmail-modified"},- {- "category": "data-exfil",- "id": "det-data-exfil-001",- "match_when": {- "bytes_out_gt": 100000000,- "dst_in_personal_cloud_list": true,- "time_window_minutes_lt": 60- },- "mitre": [- "T1567.002"- ],- "name": "Large Outbound Transfer to Personal Cloud Storage",- "product": "proxy",- "service": "http",- "severity": "high",- "slug": "large-egress-personal-cloud"- },- {- "category": "data-exfil",- "id": "det-data-exfil-002",- "match_when": {- "baseline_z_score_gt": 4,- "bytes_out_per_src_gt": 200000000- },- "mitre": [- "T1041"- ],- "name": "Outbound Bytes Spike Above Baseline (Anomaly)",- "product": "ndr",- "service": "flow",- "severity": "high",- "slug": "egress-spike-baseline"- },{"category": "data-exfil","id": "det-data-exfil-003",@@ -4873,26 +4360,6 @@"severity": "medium","slug": "data-share-external-domain"},- {- "category": "data-exfil",- "id": "det-data-exfil-006",- "match_when": {- "actor_in_export_allowlist": false,- "event_type_in": [- "DataExport",- "ReportExport"- ],- "row_count_gt": 50000- },- "mitre": [- "T1530"- ],- "name": "Salesforce Bulk Data Export by Non-Allowlisted User",- "product": "salesforce",- "service": "audit",- "severity": "high",- "slug": "salesforce-bulk-export"- },{"category": "data-exfil","id": "det-data-exfil-007",@@ -4910,23 +4377,6 @@"severity": "high","slug": "snowflake-mass-export"},- {- "category": "data-exfil",- "id": "det-data-exfil-008",- "match_when": {- "baseline_z_score_gt": 4,- "event_type": "SQL_SELECT",- "rows_read_per_session_gt": 500000- },- "mitre": [- "T1530"- ],- "name": "Database Application Reads Anomalously High Row Count",- "product": "db",- "service": "query",- "severity": "medium",- "slug": "db-mass-row-read"- },{"category": "data-exfil","id": "det-data-exfil-009",@@ -5011,24 +4461,6 @@"severity": "medium","slug": "encrypted-archive-attachment"},- {- "category": "data-exfil",- "id": "det-data-exfil-013",- "match_when": {- "doc_classification": "confidential",- "event_id": 307,- "page_count_per_user_gt": 500,- "time_window_hours_lt": 1- },- "mitre": [- "T1052"- ],- "name": "Mass Print Job From Confidential Document Repository",- "product": "windows",- "service": "print",- "severity": "medium",- "slug": "printer-mass-print-confidential"- },{"category": "data-exfil","id": "det-data-exfil-014",@@ -5097,24 +4529,6 @@"severity": "high","slug": "backup-export-anomalous"},- {- "category": "data-exfil",- "id": "det-data-exfil-018",- "match_when": {- "dst_registry_in_allowlist": false,- "event_type": "image.push",- "image_count_per_principal_gt": 5,- "time_window_minutes_lt": 30- },- "mitre": [- "T1567"- ],- "name": "Container Image Mass Export to External Registry",- "product": "cloud",- "service": "registry",- "severity": "high",- "slug": "container-mass-image-export"- },{"category": "data-exfil","id": "det-data-exfil-019",@@ -5131,25 +4545,6 @@"severity": "medium","slug": "vpn-large-download-foreign"},- {- "category": "data-exfil",- "id": "det-data-exfil-020",- "match_when": {- "event_type": "GetSecretValue",- "principal_type": "human",- "secret_count_per_principal_gt": 25,- "time_window_minutes_lt": 10- },- "mitre": [- "T1555",- "T1530"- ],- "name": "Secrets Manager Bulk Fetch by Human Principal",- "product": "cloud",- "service": "secrets",- "severity": "high",- "slug": "secrets-mass-fetch"- },{"category": "endpoint","id": "det-endpoint-001",@@ -5206,23 +4601,6 @@"severity": "critical","slug": "credential-dumping-lsass"},- {- "category": "endpoint",- "id": "det-endpoint-003",- "match_when": {- "extension_change_pattern": "to-novel-extension",- "rename_count_per_process_gt": 200,- "time_window_minutes_lt": 5- },- "mitre": [- "T1486"- ],- "name": "Mass File Extension Rename Indicative of Ransomware",- "product": "edr",- "service": "file-rename",- "severity": "critical",- "slug": "ransomware-file-extension-change"- },{"category": "endpoint","id": "det-endpoint-004",@@ -10676,24 +10054,6 @@"severity": "high","slug": "osquery-macos-keyboard-event-tap"},- {- "category": "identity",- "id": "det-identity-001",- "match_when": {- "event_type": "user.session.start",- "fail_count_gt": 20,- "outcome": "FAILURE",- "time_window_minutes_lt": 10- },- "mitre": [- "T1110.001"- ],- "name": "Authentication Brute-Force Burst",- "product": "okta",- "service": "system-log",- "severity": "high",- "slug": "brute-force-login"- },{"category": "identity","id": "det-identity-002",@@ -10712,24 +10072,6 @@"severity": "high","slug": "impossible-travel"},- {- "category": "identity",- "id": "det-identity-003",- "match_when": {- "distinct_users_per_ip_gt": 30,- "event_type": "user.session.start",- "outcome": "FAILURE",- "time_window_minutes_lt": 30- },- "mitre": [- "T1110.003"- ],- "name": "Password Spray Across Many Users from Single IP",- "product": "okta",- "service": "system-log",- "severity": "high",- "slug": "password-spray"- },{"category": "identity","id": "det-identity-004",@@ -10817,23 +10159,6 @@"severity": "medium","slug": "disabled-account-login-attempt"},- {- "category": "identity",- "id": "det-identity-008",- "match_when": {- "event_type": "user.mfa.factor.push",- "mfa_push_count_gt": 6,- "time_window_minutes_lt": 5- },- "mitre": [- "T1621"- ],- "name": "MFA Push Bombing (MFA Fatigue)",- "product": "okta",- "service": "system-log",- "severity": "high",- "slug": "mfa-fatigue"- },{"category": "identity","id": "det-identity-009",@@ -10917,23 +10242,6 @@"severity": "high","slug": "default-credential-login"},- {- "category": "identity",- "id": "det-identity-014",- "match_when": {- "distinct_ip_count_per_user_gt": 5,- "event_type": "user.session.start",- "time_window_minutes_lt": 10- },- "mitre": [- "T1078"- ],- "name": "Shared Account Login Spike (Distinct IPs)",- "product": "okta",- "service": "system-log",- "severity": "medium",- "slug": "shared-account-login-spike"- },{"category": "identity","id": "det-identity-015",@@ -11267,27 +10575,6 @@"severity": "critical","slug": "ad-replication-non-dc"},- {- "category": "identity",- "id": "det-identity-032",- "match_when": {- "event_id": 4769,- "spn_count_per_user_gt": 5,- "ticket_encryption_in": [- "RC4-HMAC",- "0x17"- ],- "time_window_minutes_lt": 5- },- "mitre": [- "T1558.003"- ],- "name": "Kerberoasting (Service-Ticket Request for SPN)",- "product": "windows",- "service": "security",- "severity": "high",- "slug": "kerberoasting"- },{"category": "identity","id": "det-identity-033",@@ -11431,56 +10718,6 @@"severity": "high","slug": "federation-cross-tenant-access"},- {- "category": "identity",- "id": "det-identity-041",- "match_when": {- "distinct_users_per_minute_gt": 30,- "event_type": "auth_failure",- "tries_per_user_lte": 5- },- "mitre": [- "T1110.003"- ],- "name": "Password Spray: Single IP, Many Targets, Few Tries Each",- "product": "identity",- "service": "auth",- "severity": "high",- "slug": "ident-password-spray-many-targets"- },- {- "category": "identity",- "id": "det-identity-042",- "match_when": {- "distinct_ips_per_user_per_hour_gt": 30,- "event_type": "auth_failure"- },- "mitre": [- "T1110.003"- ],- "name": "Distributed Password Spray From Many IPs",- "product": "identity",- "service": "auth",- "severity": "high",- "slug": "ident-password-spray-distributed"- },- {- "category": "identity",- "id": "det-identity-043",- "match_when": {- "event_type": "auth_failure",- "tries_per_minute_gt": 50,- "user_agent_in_known_botnet_list": true- },- "mitre": [- "T1110.004"- ],- "name": "Credential Stuffing Pattern Against Login Endpoint",- "product": "identity",- "service": "auth",- "severity": "high",- "slug": "ident-credstuffing-known-breached-list"- },{"category": "identity","id": "det-identity-044",@@ -11547,22 +10784,6 @@"severity": "high","slug": "ident-anon-vpn-login-priv-user"},- {- "category": "identity",- "id": "det-identity-048",- "match_when": {- "event_type": "mfa_challenge",- "user_challenges_per_minute_gt": 5- },- "mitre": [- "T1621"- ],- "name": "MFA Fatigue Burst Against Single User",- "product": "identity",- "service": "auth",- "severity": "high",- "slug": "ident-mfa-fatigue-burst"- },{"category": "identity","id": "det-identity-049",@@ -11583,26 +10804,10 @@},{"category": "identity",- "id": "det-identity-050",+ "id": "det-identity-051","match_when": {- "event_type": "account_locked",- "lockouts_per_hour_gte": 3- },- "mitre": [- "T1110"- ],- "name": "Account Locked Out 3+ Times In 1 Hour",- "product": "identity",- "service": "auth",- "severity": "medium",- "slug": "ident-account-locked-many-times"- },- {- "category": "identity",- "id": "det-identity-051",- "match_when": {- "event_type": "auth_failure",- "result": "user_disabled"+ "event_type": "auth_failure",+ "result": "user_disabled"},"mitre": ["T1078"@@ -11832,23 +11037,6 @@"severity": "medium","slug": "ident-empty-useragent-login"},- {- "category": "identity",- "id": "det-identity-065",- "match_when": {- "event_type": "mfa_challenge",- "events_per_minute_gt": 5,- "totp_clock_skew_seconds_gt": 60- },- "mitre": [- "T1110"- ],- "name": "TOTP Verification Repeatedly Skews Clock",- "product": "identity",- "service": "mfa",- "severity": "low",- "slug": "ident-totp-skewed-clock"- },{"category": "identity","id": "det-identity-066",@@ -11932,23 +11120,6 @@"severity": "medium","slug": "ident-pim-activation-anomalous-time"},- {- "category": "identity",- "id": "det-identity-071",- "match_when": {- "event_type": "role_grant",- "events_per_minute_gt": 10,- "role_priv": true- },- "mitre": [- "T1098"- ],- "name": "Privileged Role Grant Burst Across Many Users",- "product": "identity",- "service": "audit",- "severity": "high",- "slug": "ident-priv-role-burst-granted"- },{"category": "identity","id": "det-identity-072",@@ -12022,39 +11193,6 @@"severity": "high","slug": "ident-app-impersonation-priv"},- {- "category": "identity",- "id": "det-identity-076",- "match_when": {- "event_type": "role_revoke",- "events_per_minute_gt": 10,- "role_priv": true- },- "mitre": [- "T1531"- ],- "name": "Privileged Role Removed From Many Users In Burst",- "product": "identity",- "service": "audit",- "severity": "medium",- "slug": "ident-priv-role-removed-bulk"- },- {- "category": "identity",- "id": "det-identity-077",- "match_when": {- "active_keys_per_account_gt": 5,- "event_type": "key_inventory"- },- "mitre": [- "T1098.001"- ],- "name": "Service Account With 5+ Active API Keys",- "product": "identity",- "service": "audit",- "severity": "medium",- "slug": "ident-orphan-svc-acct-many-keys"- },{"category": "identity","id": "det-identity-078",@@ -12215,22 +11353,6 @@"severity": "medium","slug": "ident-ad-pwd-never-expires-priv"},- {- "category": "identity",- "id": "det-identity-087",- "match_when": {- "event_id": 4741,- "machines_created_per_user_per_day_gt": 5- },- "mitre": [- "T1136.001"- ],- "name": "Machine Account Quota Exhausted By Single User",- "product": "active-directory",- "service": "audit",- "severity": "high",- "slug": "ident-ad-machine-account-quota-abuse"- },{"category": "identity","id": "det-identity-088",@@ -12364,22 +11486,6 @@"severity": "critical","slug": "ident-skeleton-key-encryption-downgrade"},- {- "category": "identity",- "id": "det-identity-096",- "match_when": {- "event_id": 4771,- "failures_per_host_per_minute_gt": 50- },- "mitre": [- "T1110"- ],- "name": "Kerberos Pre-Auth Failure Spike From Host",- "product": "active-directory",- "service": "kerberos",- "severity": "medium",- "slug": "ident-kerberos-failure-spike-from-host"- },{"category": "identity","id": "det-identity-097",@@ -12532,22 +11638,6 @@"severity": "critical","slug": "ident-saml-issuer-mismatch"},- {- "category": "identity",- "id": "det-identity-106",- "match_when": {- "event_type": "application.user_membership.add",- "events_per_minute_gt": 25- },- "mitre": [- "T1098"- ],- "name": "Okta Admin App Assigned To Many Users In Burst",- "product": "okta",- "service": "audit",- "severity": "medium",- "slug": "ident-okta-admin-app-assigned-many-users"- },{"category": "identity","id": "det-identity-107",@@ -12717,22 +11807,6 @@"severity": "medium","slug": "ident-okta-radius-app-added"},- {- "category": "identity",- "id": "det-identity-117",- "match_when": {- "event_type": "user.lifecycle.deactivate",- "events_per_minute_gt": 25- },- "mitre": [- "T1531"- ],- "name": "Okta Mass User Deactivation",- "product": "okta",- "service": "audit",- "severity": "high",- "slug": "ident-okta-mass-deactivate-users"- },{"category": "identity","id": "det-identity-118",@@ -12908,22 +11982,6 @@"severity": "high","slug": "ident-ping-policy-mfa-removed"},- {- "category": "identity",- "id": "det-identity-129",- "match_when": {- "event_type": "ADMIN_ROLE_GRANT",- "events_per_minute_gt": 5- },- "mitre": [- "T1098"- ],- "name": "PingOne Admin Role Burst Granted",- "product": "ping",- "service": "audit",- "severity": "high",- "slug": "ident-ping-admin-role-burst"- },{"category": "identity","id": "det-identity-130",@@ -13051,22 +12109,6 @@"severity": "high","slug": "ident-oidc-issuer-trust-changed"},- {- "category": "identity",- "id": "det-identity-138",- "match_when": {- "event_type": "client.create",- "events_per_minute_per_actor_gt": 5- },- "mitre": [- "T1136"- ],- "name": "OIDC Client Burst Created By Single Actor",- "product": "identity",- "service": "oidc",- "severity": "medium",- "slug": "ident-oidc-many-clients-from-single-actor"- },{"category": "identity","id": "det-identity-139",@@ -13333,38 +12375,6 @@"severity": "high","slug": "ident-github-pat-classic-created-with-broad-scopes"},- {- "category": "identity",- "id": "det-identity-155",- "match_when": {- "action": "org.remove_member",- "events_per_minute_gt": 20- },- "mitre": [- "T1531"- ],- "name": "GitHub Org Bulk Member Removed",- "product": "github",- "service": "audit",- "severity": "medium",- "slug": "ident-github-org-collaborator-removed-bulk"- },- {- "category": "identity",- "id": "det-identity-156",- "match_when": {- "action": "deploy_key.add",- "distinct_repos_per_actor_per_hour_gt": 10- },- "mitre": [- "T1098.001"- ],- "name": "GitHub Deploy Key Added Across Many Repos",- "product": "github",- "service": "audit",- "severity": "medium",- "slug": "ident-github-deploy-key-added-org-wide"- },{"category": "identity","id": "det-identity-157",@@ -13432,97 +12442,6 @@"severity": "high","slug": "ident-jamf-mdm-policy-mfa-removed"},- {- "category": "network",- "id": "det-network-001",- "match_when": {- "connection_count_gt": 50,- "interval_consistency_gt": 0.85,- "time_window_minutes_lt": 60- },- "mitre": [- "T1071.001"- ],- "name": "C2 Beacon Pattern (Periodic High-Frequency)",- "product": "ndr",- "service": "flow",- "severity": "high",- "slug": "c2-beacon-high-frequency"- },- {- "category": "network",- "id": "det-network-002",- "match_when": {- "avg_subdomain_len_gt": 50,- "query_count_gt": 100,- "time_window_minutes_lt": 30- },- "mitre": [- "T1048.003"- ],- "name": "DNS Tunneling / Exfiltration (High Length Subdomains)",- "product": "dns",- "service": "query",- "severity": "high",- "slug": "dns-data-exfiltration"- },- {- "category": "network",- "id": "det-network-003",- "match_when": {- "distinct_dst_per_src_gt": 25,- "distinct_ports_per_src_gt": 50,- "time_window_minutes_lt": 5- },- "mitre": [- "T1046"- ],- "name": "Internal Network Port Scan",- "product": "ndr",- "service": "flow",- "severity": "high",- "slug": "port-scan-internal"- },- {- "category": "network",- "id": "det-network-004",- "match_when": {- "event_type": "ssh-reject",- "fail_count_gt": 30,- "outcome": "FAILURE",- "src_ip_class": "internet",- "time_window_minutes_lt": 10- },- "mitre": [- "T1110.001"- ],- "name": "SSH Brute-Force From Internet",- "product": "linux",- "service": "auth",- "severity": "high",- "slug": "ssh-failed-from-internet"- },- {- "category": "network",- "id": "det-network-005",- "match_when": {- "distinct_dst_per_src_gt": 5,- "event_id": 5145,- "share_name_in": [- "ADMIN$",- "C$"- ],- "time_window_minutes_lt": 10- },- "mitre": [- "T1021.002"- ],- "name": "SMB Lateral Movement (Many ADMIN$ Connections)",- "product": "windows",- "service": "security",- "severity": "high",- "slug": "smb-lateral-movement"- },{"category": "network","id": "det-network-006",@@ -13575,23 +12494,6 @@"severity": "medium","slug": "newly-registered-domain-traffic"},- {- "category": "network",- "id": "det-network-009",- "match_when": {- "distinct_a_records_gt": 30,- "time_window_hours_lt": 1,- "ttl_seconds_lt": 60- },- "mitre": [- "T1568.001"- ],- "name": "DNS Fast-Flux (Many Distinct A-Records / Short TTL)",- "product": "dns",- "service": "query",- "severity": "high",- "slug": "dns-fast-flux"- },{"category": "network","id": "det-network-010",@@ -13624,24 +12526,6 @@"severity": "high","slug": "dhcp-rogue-server"},- {- "category": "network",- "id": "det-network-012",- "match_when": {- "avg_payload_bytes_gt": 512,- "packet_count_gt": 500,- "protocol": "ICMP",- "time_window_minutes_lt": 30- },- "mitre": [- "T1095"- ],- "name": "ICMP Tunneling Pattern (Large Payloads)",- "product": "ndr",- "service": "flow",- "severity": "high",- "slug": "icmp-tunnel"- },{"category": "network","id": "det-network-013",@@ -13673,22 +12557,6 @@"severity": "high","slug": "tls-ja3-anomaly"},- {- "category": "network",- "id": "det-network-015",- "match_when": {- "dst_asn_seen_count_lt": 5,- "time_window_days_gt": 30- },- "mitre": [- "T1071.001"- ],- "name": "Outbound Traffic to Rare/Suspicious ASN",- "product": "ndr",- "service": "flow",- "severity": "medium",- "slug": "egress-to-rare-asn"- },{"category": "network","id": "det-network-016",@@ -13706,23 +12574,6 @@"severity": "medium","slug": "smb-null-session"},- {- "category": "network",- "id": "det-network-017",- "match_when": {- "event_id": 1644,- "ldap_query_count_per_src_gt": 200,- "time_window_minutes_lt": 5- },- "mitre": [- "T1087.002"- ],- "name": "LDAP Bind from Workstation to Domain Controller (Excessive)",- "product": "windows",- "service": "directory-service",- "severity": "medium",- "slug": "ldap-bind-anomaly"- },{"category": "network","id": "det-network-018",@@ -13744,23 +12595,6 @@"severity": "medium","slug": "snmp-public-community-internet"},- {- "category": "network",- "id": "det-network-019",- "match_when": {- "syn_count_per_dst_gt": 5000,- "tcp_flag": "SYN",- "time_window_minutes_lt": 1- },- "mitre": [- "T1498.001"- ],- "name": "SYN Flood Pattern Against Public Endpoint",- "product": "ndr",- "service": "flow",- "severity": "high",- "slug": "ddos-syn-flood"- },{"category": "network","id": "det-network-020",@@ -13776,28 +12610,6 @@"severity": "high","slug": "egress-to-blocklisted-ip"},- {- "category": "network",- "id": "det-network-021",- "match_when": {- "dst_port_in": [- 25,- 465,- 587- ],- "protocol": "TCP",- "smtp_count_per_src_gt": 200,- "time_window_minutes_lt": 10- },- "mitre": [- "T1566"- ],- "name": "Internal Host Spamming SMTP",- "product": "ndr",- "service": "flow",- "severity": "high",- "slug": "internal-host-spamming-mail"- },{"category": "network","id": "det-network-022",@@ -14006,41 +12818,6 @@"severity": "high","slug": "net-dns-idn-homoglyph"},- {- "category": "network",- "id": "det-network-033",- "match_when": {- "count_5min_gt": 200,- "event_type": "dns_response",- "rcode": "NXDOMAIN",- "src_role": "endpoint"- },- "mitre": [- "T1568.002"- ],- "name": "High Volume Of NXDOMAIN Responses From Single Host",- "product": "dns",- "service": "resolver",- "severity": "medium",- "slug": "net-dns-nxdomain-spike"- },- {- "category": "network",- "id": "det-network-034",- "match_when": {- "count_5min_gt": 50,- "event_type": "dns_query",- "qtype": "ANY"- },- "mitre": [- "T1018"- ],- "name": "DNS Query Type ANY Volume From Single Host",- "product": "dns",- "service": "resolver",- "severity": "medium",- "slug": "net-dns-any-query-spike"- },{"category": "network","id": "det-network-035",@@ -14096,23 +12873,6 @@"severity": "medium","slug": "dns-txt-record"},- {- "category": "network",- "id": "det-network-038",- "match_when": {- "event_type": "dns_query",- "subdomain_hex_ratio_gt": 0.9,- "subdomain_length_gt": 30- },- "mitre": [- "T1071.004"- ],- "name": "DNS Tunnel Indicator: Long Hex Subdomain Sequence",- "product": "dns",- "service": "resolver",- "severity": "high",- "slug": "net-dns-tunnel-pattern-len"- },{"category": "network","id": "det-network-039",@@ -14168,23 +12928,6 @@"severity": "critical","slug": "net-dns-tor-onion"},- {- "category": "network",- "id": "det-network-042",- "match_when": {- "answer_count_gt": 8,- "event_type": "dns_response",- "ttl_seconds_lt": 60- },- "mitre": [- "T1568.001"- ],- "name": "DNS Fast-Flux Pattern (Many A Records, Short TTL)",- "product": "dns",- "service": "resolver",- "severity": "medium",- "slug": "net-dns-fast-flux"- },{"category": "network","id": "det-network-043",@@ -14842,22 +13585,6 @@"severity": "high","slug": "net-icmp-high-entropy-payload"},- {- "category": "network",- "id": "det-network-080",- "match_when": {- "event_type": "dhcp",- "leases_per_minute_per_relay_gt": 200- },- "mitre": [- "T1498"- ],- "name": "DHCP Starvation: Rapid Lease Churn From Single MAC Range",- "product": "firewall",- "service": "dhcp",- "severity": "high",- "slug": "net-dhcp-starvation"- },{"category": "network","id": "det-network-081",diff --git a/services/fusion/app/data/windowed_ruleset.json b/services/fusion/app/data/windowed_ruleset.jsonindex e79a13c67..38bc9bff4 100644--- a/services/fusion/app/data/windowed_ruleset.json+++ b/services/fusion/app/data/windowed_ruleset.json@@ -1,5 +1,5 @@{- "count": 18,+ "count": 68,"rules": [{"category": "application",@@ -289,6 +289,853 @@"severity": "medium","threshold": 100,"window_seconds": 120+ },+ {+ "category": "application",+ "group_by": "src_ip",+ "id": "wd-rate-limit-burst",+ "match_when": {+ "method": "POST",+ "request_uri_endswith": "/login"+ },+ "mitre": [+ "T1110"+ ],+ "name": "Rate Limit Burst on Authentication Endpoint",+ "severity": "medium",+ "threshold": 201,+ "translated_from": "rate-limit-burst",+ "window_seconds": 300+ },+ {+ "category": "application",+ "group_by": "actor_email",+ "id": "wd-saas-mass-share-public",+ "match_when": {+ "event_type": "drive.acl.change",+ "share_visibility": "public"+ },+ "mitre": [+ "T1530"+ ],+ "name": "SaaS File Mass Public-Share by Single User",+ "severity": "high",+ "threshold": 11,+ "translated_from": "saas-mass-share-public",+ "window_seconds": 1800+ },+ {+ "category": "application",+ "group_by": "src_ip",+ "id": "wd-app-account-enum-reset",+ "match_when": {+ "event_type": "password_reset_request"+ },+ "mitre": [+ "T1110"+ ],+ "name": "High Volume Of Password Reset Requests From Single IP",+ "severity": "medium",+ "threshold": 31,+ "translated_from": "app-account-enum-reset",+ "window_seconds": 300+ },+ {+ "category": "application",+ "group_by": "actor_email",+ "id": "wd-app-box-public-link-mass-create",+ "match_when": {+ "access": "open",+ "event_type": "shared_link.create"+ },+ "mitre": [+ "T1567.002"+ ],+ "name": "Box Created Many Public Links In Short Window",+ "severity": "high",+ "threshold": 21,+ "translated_from": "app-box-public-link-mass-create",+ "window_seconds": 300+ },+ {+ "category": "cloud",+ "distinct_by": "event_name",+ "group_by": "user_arn",+ "id": "wd-aws-iam-enumeration",+ "match_when": {+ "event_source": "iam.amazonaws.com"+ },+ "mitre": [+ "T1087.004",+ "T1069.003"+ ],+ "name": "AWS IAM Enumeration Burst",+ "severity": "high",+ "threshold": 26,+ "translated_from": "aws-iam-enumeration",+ "window_seconds": 300+ },+ {+ "category": "cloud",+ "group_by": "user_arn",+ "id": "wd-aws-s3-mass-getobject",+ "match_when": {+ "event_name": "GetObject"+ },+ "mitre": [+ "T1530"+ ],+ "name": "AWS S3 GetObject Volume Anomaly per Principal",+ "severity": "high",+ "threshold": 5001,+ "translated_from": "aws-s3-mass-getobject",+ "window_seconds": 1800+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-azure-resource-mass-delete",+ "match_when": {+ "operation_name_endswith": "/delete"+ },+ "mitre": [+ "T1485"+ ],+ "name": "Azure Resource Mass Deletion",+ "severity": "critical",+ "threshold": 51,+ "translated_from": "azure-resource-mass-delete",+ "window_seconds": 900+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-gcp-secret-manager-mass-export",+ "match_when": {+ "method_name": "google.cloud.secretmanager.v1.SecretManagerService.AccessSecretVersion"+ },+ "mitre": [+ "T1555.005",+ "T1530"+ ],+ "name": "GCP Secret Manager Mass AccessSecretVersion",+ "severity": "critical",+ "threshold": 26,+ "translated_from": "gcp-secret-manager-mass-export",+ "window_seconds": 600+ },+ {+ "category": "cloud",+ "group_by": "user_arn",+ "id": "wd-aws-iam-create-user-burst",+ "match_when": {+ "event_name": "CreateUser"+ },+ "mitre": [+ "T1136.003"+ ],+ "name": "AWS IAM CreateUser Burst",+ "severity": "medium",+ "threshold": 11,+ "translated_from": "aws-iam-create-user-burst",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "user_arn",+ "id": "wd-aws-iam-account-summary-recon",+ "match_when": {+ "event_name_in": [+ "GetAccountSummary",+ "GetAccountAuthorizationDetails"+ ]+ },+ "mitre": [+ "T1087.004"+ ],+ "name": "AWS IAM GetAccountSummary Recon Burst",+ "severity": "low",+ "threshold": 6,+ "translated_from": "aws-iam-account-summary-recon",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "user_arn",+ "id": "wd-aws-s3-mass-deleteobject",+ "match_when": {+ "event_name": "DeleteObject"+ },+ "mitre": [+ "T1485"+ ],+ "name": "AWS S3 Mass DeleteObject Burst",+ "severity": "critical",+ "threshold": 1001,+ "translated_from": "aws-s3-mass-deleteobject",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-azure-ad-bulk-user-creation",+ "match_when": {+ "operation_name": "Add user"+ },+ "mitre": [+ "T1136.003"+ ],+ "name": "Entra ID Bulk User Creation Burst",+ "severity": "medium",+ "threshold": 26,+ "translated_from": "azure-ad-bulk-user-creation",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-azure-ad-bulk-license-assignment",+ "match_when": {+ "operation_name": "Change user license"+ },+ "mitre": [+ "T1078.004"+ ],+ "name": "Entra ID Bulk License Assignment",+ "severity": "low",+ "threshold": 51,+ "translated_from": "azure-ad-bulk-license-assignment",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-azure-arm-locks-removed-bulk",+ "match_when": {+ "operation_name_endswith": "locks/delete"+ },+ "mitre": [+ "T1485"+ ],+ "name": "Azure ResourceGroup Locks Removed In Bulk",+ "severity": "high",+ "threshold": 11,+ "translated_from": "azure-arm-locks-removed-bulk",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-azure-arm-mass-resource-modify",+ "match_when": {+ "operation_name_endswith_any": [+ "/write",+ "/delete"+ ]+ },+ "mitre": [+ "T1485"+ ],+ "name": "Azure Mass Resource Modify Burst",+ "severity": "medium",+ "threshold": 201,+ "translated_from": "azure-arm-mass-resource-modify",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "distinct_by": "resource",+ "group_by": "actor",+ "id": "wd-azure-keyvault-secret-mass-get",+ "match_when": {+ "operation_name": "SecretGet"+ },+ "mitre": [+ "T1552.001"+ ],+ "name": "Azure Key Vault Mass GetSecret",+ "severity": "high",+ "threshold": 31,+ "translated_from": "azure-keyvault-secret-mass-get",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-gcp-iam-service-account-key-mass-create",+ "match_when": {+ "method_name_endswith": "CreateServiceAccountKey"+ },+ "mitre": [+ "T1098.001"+ ],+ "name": "GCP Service Account Key Burst",+ "severity": "high",+ "threshold": 6,+ "translated_from": "gcp-iam-service-account-key-mass-create",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-gcp-gcs-mass-delete",+ "match_when": {+ "method_name": "storage.objects.delete"+ },+ "mitre": [+ "T1485"+ ],+ "name": "GCS Mass Object Delete Burst",+ "severity": "critical",+ "threshold": 1001,+ "translated_from": "gcp-gcs-mass-delete",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "group_by": "actor",+ "id": "wd-gcp-bq-mass-export",+ "match_when": {+ "job_type": "EXPORT",+ "method_name_in": [+ "jobservice.jobcompleted",+ "jobs.insert"+ ]+ },+ "mitre": [+ "T1567.002"+ ],+ "name": "BigQuery Mass Export Burst",+ "severity": "high",+ "threshold": 6,+ "translated_from": "gcp-bq-mass-export",+ "window_seconds": 60+ },+ {+ "category": "cloud",+ "distinct_by": "k8s_object_name",+ "group_by": "k8s_user",+ "id": "wd-k8s-secret-mass-get",+ "match_when": {+ "object_resource": "secrets",+ "verb": "get"+ },+ "mitre": [+ "T1552.001"+ ],+ "name": "Kubernetes Secret Mass Get",+ "severity": "high",+ "threshold": 31,+ "translated_from": "k8s-secret-mass-get",+ "window_seconds": 60+ },+ {+ "category": "data-exfil",+ "group_by": "actor",+ "id": "wd-container-mass-image-export",+ "match_when": {+ "dst_registry_in_allowlist": false,+ "event_type": "image.push"+ },+ "mitre": [+ "T1567"+ ],+ "name": "Container Image Mass Export to External Registry",+ "severity": "high",+ "threshold": 6,+ "translated_from": "container-mass-image-export",+ "window_seconds": 1800+ },+ {+ "category": "data-exfil",+ "group_by": "actor",+ "id": "wd-secrets-mass-fetch",+ "match_when": {+ "event_type": "GetSecretValue",+ "principal_type": "human"+ },+ "mitre": [+ "T1555",+ "T1530"+ ],+ "name": "Secrets Manager Bulk Fetch by Human Principal",+ "severity": "high",+ "threshold": 26,+ "translated_from": "secrets-mass-fetch",+ "window_seconds": 600+ },+ {+ "category": "endpoint",+ "group_by": "process_name",+ "id": "wd-ransomware-file-extension-change",+ "match_when": {+ "extension_change_pattern": "to-novel-extension"+ },+ "mitre": [+ "T1486"+ ],+ "name": "Mass File Extension Rename Indicative of Ransomware",+ "severity": "critical",+ "threshold": 201,+ "translated_from": "ransomware-file-extension-change",+ "window_seconds": 300+ },+ {+ "category": "identity",+ "group_by": "actor_email",+ "id": "wd-brute-force-login",+ "match_when": {+ "event_type": "user.session.start",+ "outcome": "FAILURE"+ },+ "mitre": [+ "T1110.001"+ ],+ "name": "Authentication Brute-Force Burst",+ "severity": "high",+ "threshold": 21,+ "translated_from": "brute-force-login",+ "window_seconds": 600+ },+ {+ "category": "identity",+ "distinct_by": "actor_email",+ "group_by": "src_ip",+ "id": "wd-okta-password-spray",+ "match_when": {+ "event_type": "user.session.start",+ "outcome": "FAILURE"+ },+ "mitre": [+ "T1110.003"+ ],+ "name": "Password Spray Across Many Users from Single IP",+ "severity": "high",+ "threshold": 31,+ "translated_from": "password-spray",+ "window_seconds": 1800+ },+ {+ "category": "identity",+ "group_by": "actor_email",+ "id": "wd-okta-mfa-push-bombing",+ "match_when": {+ "event_type": "user.mfa.factor.push"+ },+ "mitre": [+ "T1621"+ ],+ "name": "MFA Push Bombing (MFA Fatigue)",+ "severity": "high",+ "threshold": 7,+ "translated_from": "mfa-fatigue",+ "window_seconds": 300+ },+ {+ "category": "identity",+ "distinct_by": "src_ip",+ "group_by": "actor_email",+ "id": "wd-shared-account-login-spike",+ "match_when": {+ "event_type": "user.session.start"+ },+ "mitre": [+ "T1078"+ ],+ "name": "Shared Account Login Spike (Distinct IPs)",+ "severity": "medium",+ "threshold": 6,+ "translated_from": "shared-account-login-spike",+ "window_seconds": 600+ },+ {+ "category": "identity",+ "distinct_by": "src_ip",+ "group_by": "user",+ "id": "wd-ident-password-spray-distributed",+ "match_when": {+ "event_type": "auth_failure"+ },+ "mitre": [+ "T1110.003"+ ],+ "name": "Distributed Password Spray From Many IPs",+ "severity": "high",+ "threshold": 31,+ "translated_from": "ident-password-spray-distributed",+ "window_seconds": 3600+ },+ {+ "category": "identity",+ "group_by": "src_ip",+ "id": "wd-ident-credstuffing-known-breached-list",+ "match_when": {+ "event_type": "auth_failure",+ "user_agent_in_known_botnet_list": true+ },+ "mitre": [+ "T1110.004"+ ],+ "name": "Credential Stuffing Pattern Against Login Endpoint",+ "severity": "high",+ "threshold": 51,+ "translated_from": "ident-credstuffing-known-breached-list",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "user",+ "id": "wd-ident-mfa-fatigue-burst",+ "match_when": {+ "event_type": "mfa_challenge"+ },+ "mitre": [+ "T1621"+ ],+ "name": "MFA Fatigue Burst Against Single User",+ "severity": "high",+ "threshold": 6,+ "translated_from": "ident-mfa-fatigue-burst",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "user",+ "id": "wd-ident-account-locked-many-times",+ "match_when": {+ "event_type": "account_locked"+ },+ "mitre": [+ "T1110"+ ],+ "name": "Account Locked Out 3+ Times In 1 Hour",+ "severity": "medium",+ "threshold": 3,+ "translated_from": "ident-account-locked-many-times",+ "window_seconds": 3600+ },+ {+ "category": "identity",+ "group_by": "user",+ "id": "wd-ident-totp-skewed-clock",+ "match_when": {+ "event_type": "mfa_challenge",+ "totp_clock_skew_seconds_gt": 60+ },+ "mitre": [+ "T1110"+ ],+ "name": "TOTP Verification Repeatedly Skews Clock",+ "severity": "low",+ "threshold": 6,+ "translated_from": "ident-totp-skewed-clock",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "actor",+ "id": "wd-ident-priv-role-burst-granted",+ "match_when": {+ "event_type": "role_grant",+ "role_priv": true+ },+ "mitre": [+ "T1098"+ ],+ "name": "Privileged Role Grant Burst Across Many Users",+ "severity": "high",+ "threshold": 11,+ "translated_from": "ident-priv-role-burst-granted",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "actor",+ "id": "wd-ident-priv-role-removed-bulk",+ "match_when": {+ "event_type": "role_revoke",+ "role_priv": true+ },+ "mitre": [+ "T1531"+ ],+ "name": "Privileged Role Removed From Many Users In Burst",+ "severity": "medium",+ "threshold": 11,+ "translated_from": "ident-priv-role-removed-bulk",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "user",+ "id": "wd-ident-ad-machine-account-quota-abuse",+ "match_when": {+ "event_id": 4741+ },+ "mitre": [+ "T1136.001"+ ],+ "name": "Machine Account Quota Exhausted By Single User",+ "severity": "high",+ "threshold": 6,+ "translated_from": "ident-ad-machine-account-quota-abuse",+ "window_seconds": 86400+ },+ {+ "category": "identity",+ "group_by": "hostname",+ "id": "wd-ident-kerberos-failure-spike-from-host",+ "match_when": {+ "event_id": 4771+ },+ "mitre": [+ "T1110"+ ],+ "name": "Kerberos Pre-Auth Failure Spike From Host",+ "severity": "medium",+ "threshold": 51,+ "translated_from": "ident-kerberos-failure-spike-from-host",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "actor",+ "id": "wd-ident-okta-admin-app-assigned-many-users",+ "match_when": {+ "event_type": "application.user_membership.add"+ },+ "mitre": [+ "T1098"+ ],+ "name": "Okta Admin App Assigned To Many Users In Burst",+ "severity": "medium",+ "threshold": 26,+ "translated_from": "ident-okta-admin-app-assigned-many-users",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "actor",+ "id": "wd-ident-okta-mass-deactivate-users",+ "match_when": {+ "event_type": "user.lifecycle.deactivate"+ },+ "mitre": [+ "T1531"+ ],+ "name": "Okta Mass User Deactivation",+ "severity": "high",+ "threshold": 26,+ "translated_from": "ident-okta-mass-deactivate-users",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "actor",+ "id": "wd-ident-ping-admin-role-burst",+ "match_when": {+ "event_type": "ADMIN_ROLE_GRANT"+ },+ "mitre": [+ "T1098"+ ],+ "name": "PingOne Admin Role Burst Granted",+ "severity": "high",+ "threshold": 6,+ "translated_from": "ident-ping-admin-role-burst",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "actor",+ "id": "wd-ident-oidc-many-clients-from-single-actor",+ "match_when": {+ "event_type": "client.create"+ },+ "mitre": [+ "T1136"+ ],+ "name": "OIDC Client Burst Created By Single Actor",+ "severity": "medium",+ "threshold": 6,+ "translated_from": "ident-oidc-many-clients-from-single-actor",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "group_by": "actor",+ "id": "wd-ident-github-org-collaborator-removed-bulk",+ "match_when": {+ "action": "org.remove_member"+ },+ "mitre": [+ "T1531"+ ],+ "name": "GitHub Org Bulk Member Removed",+ "severity": "medium",+ "threshold": 21,+ "translated_from": "ident-github-org-collaborator-removed-bulk",+ "window_seconds": 60+ },+ {+ "category": "identity",+ "distinct_by": "repository",+ "group_by": "actor",+ "id": "wd-ident-github-deploy-key-added-org-wide",+ "match_when": {+ "action": "deploy_key.add"+ },+ "mitre": [+ "T1098.001"+ ],+ "name": "GitHub Deploy Key Added Across Many Repos",+ "severity": "medium",+ "threshold": 11,+ "translated_from": "ident-github-deploy-key-added-org-wide",+ "window_seconds": 3600+ },+ {+ "category": "network",+ "group_by": "src_ip",+ "id": "wd-ssh-failed-from-internet",+ "match_when": {+ "event_type": "ssh-reject",+ "outcome": "FAILURE",+ "src_ip_class": "internet"+ },+ "mitre": [+ "T1110.001"+ ],+ "name": "SSH Brute-Force From Internet",+ "severity": "high",+ "threshold": 31,+ "translated_from": "ssh-failed-from-internet",+ "window_seconds": 600+ },+ {+ "category": "network",+ "distinct_by": "dst_ip",+ "group_by": "src",+ "id": "wd-smb-lateral-movement",+ "match_when": {+ "event_id": 5145,+ "share_name_in": [+ "ADMIN$",+ "C$"+ ]+ },+ "mitre": [+ "T1021.002"+ ],+ "name": "SMB Lateral Movement (Many ADMIN$ Connections)",+ "severity": "high",+ "threshold": 6,+ "translated_from": "smb-lateral-movement",+ "window_seconds": 600+ },+ {+ "category": "network",+ "group_by": "src_ip",+ "id": "wd-ldap-bind-anomaly",+ "match_when": {+ "event_id": 1644+ },+ "mitre": [+ "T1087.002"+ ],+ "name": "LDAP Bind from Workstation to Domain Controller (Excessive)",+ "severity": "medium",+ "threshold": 201,+ "translated_from": "ldap-bind-anomaly",+ "window_seconds": 300+ },+ {+ "category": "network",+ "group_by": "dst_ip",+ "id": "wd-ddos-syn-flood",+ "match_when": {+ "tcp_flag": "SYN"+ },+ "mitre": [+ "T1498.001"+ ],+ "name": "SYN Flood Pattern Against Public Endpoint",+ "severity": "high",+ "threshold": 5001,+ "translated_from": "ddos-syn-flood",+ "window_seconds": 60+ },+ {+ "category": "network",+ "group_by": "src_ip",+ "id": "wd-internal-host-spamming-mail",+ "match_when": {+ "dst_port_in": [+ 25,+ 465,+ 587+ ],+ "protocol": "TCP"+ },+ "mitre": [+ "T1566"+ ],+ "name": "Internal Host Spamming SMTP",+ "severity": "high",+ "threshold": 201,+ "translated_from": "internal-host-spamming-mail",+ "window_seconds": 600+ },+ {+ "category": "network",+ "group_by": "src_ip",+ "id": "wd-net-dns-nxdomain-spike",+ "match_when": {+ "event_type": "dns_response",+ "rcode": "NXDOMAIN",+ "src_role": "endpoint"+ },+ "mitre": [+ "T1568.002"+ ],+ "name": "High Volume Of NXDOMAIN Responses From Single Host",+ "severity": "medium",+ "threshold": 201,+ "translated_from": "net-dns-nxdomain-spike",+ "window_seconds": 300+ },+ {+ "category": "network",+ "group_by": "src_ip",+ "id": "wd-net-dns-any-query-spike",+ "match_when": {+ "event_type": "dns_query",+ "qtype": "ANY"+ },+ "mitre": [+ "T1018"+ ],+ "name": "DNS Query Type ANY Volume From Single Host",+ "severity": "medium",+ "threshold": 51,+ "translated_from": "net-dns-any-query-spike",+ "window_seconds": 300+ },+ {+ "category": "network",+ "group_by": "src_ip",+ "id": "wd-net-dhcp-starvation",+ "match_when": {+ "event_type": "dhcp"+ },+ "mitre": [+ "T1498"+ ],+ "name": "DHCP Starvation: Rapid Lease Churn From Single MAC Range",+ "severity": "high",+ "threshold": 201,+ "translated_from": "net-dhcp-starvation",+ "window_seconds": 60}]}diff --git a/services/fusion/app/services/windowed_detection.py b/services/fusion/app/services/windowed_detection.pyindex f92820ff0..e374ac9bd 100644--- a/services/fusion/app/services/windowed_detection.py+++ b/services/fusion/app/services/windowed_detection.py@@ -29,6 +29,7 @@ from typing import Anyimport structlogfrom app.models.alert import AlertSeverity, RawAlert+from app.services.derived_fields import enrich, requested_derived_fieldsfrom app.services.detection_engine import DetectionHitfrom app.services.detection_matcher import matchesfrom app.services.provenance import extract_provenance@@ -186,6 +187,10 @@ class WindowedDetectionEngine:# what the tests rely on.self._rules = rules if rules is not None else load_window_rules()self._prefix = key_prefix+ # Same contract as the stateless engine: computed once at load,+ # because the set changes when rules change and not when traffic+ # arrives.+ self._derived_wanted: set[str] = requested_derived_fields([{"match_when": rule.match_when} for rule in self._rules])@propertydef rule_count(self) -> int:@@ -225,7 +230,7 @@ class WindowedDetectionEngine:return mergedreturn fields- async def evaluate(self, message: dict[str, Any]) -> list[DetectionHit]:+ async def evaluate(self, message: dict[str, Any], overlay: Any | None = None) -> list[DetectionHit]:"""Count this event into any matching window; return threshold-crossing hits."""ocsf = message.get("ocsf_event")if not isinstance(ocsf, dict):@@ -234,6 +239,24 @@ class WindowedDetectionEngine:if not tenant:return []fields = self._fields(message)+ # The same two enrichment passes the stateless engine runs, for the+ # same reason it runs them. `_fields` has always claimed to match that+ # engine's namespace "exactly" and did not: it recovered the raw+ # fields and stopped, so a windowed rule reading `is_business_hours`+ # or a per-tenant `<x>_in_allowlist` boolean saw nothing and could not+ # fire. Two of the rules translated out of the stateless corpus carry+ # an allowlist clause, so without this they would have been moved from+ # one engine that could not fire them to another.+ fields = enrich(fields, self._derived_wanted)+ if overlay is not None:+ # Per tenant rather than in the shared pass: a global allowlist+ # would make one tenant's exceptions apply to everybody. An+ # unconfigured allowlist contributes no key at all rather than+ # False, because a `not_in_allowlist` clause against a missing key+ # is true for every event.+ derived = overlay.derived_allowlist_fields(fields)+ if derived:+ fields = {**fields, **derived}now = time.time()hits: list[DetectionHit] = []for rule in self._rules:diff --git a/services/fusion/app/workers/consumer.py b/services/fusion/app/workers/consumer.pyindex 6ceae8e51..49f38acf1 100644--- a/services/fusion/app/workers/consumer.py+++ b/services/fusion/app/workers/consumer.py@@ -288,17 +288,20 @@ class FusionWorker:if self._lake is not None and await self._lake.write_event(payload):_METRICS["laked"] += 1+ # Resolved once and shared by both engines. Parity 5.4: without+ # the overlay the stateless engine evaluated the shared corpus and+ # nothing else, so a tenant who disabled a noisy rule in the+ # console kept receiving its alerts while the console showed it+ # disabled. The windowed engine reads it for the same reason and+ # for its allowlist booleans.+ overlay = None+ if self._overlays is not None and validation.tenant_id and (self._detector is not None or self._windowed is not None):+ overlay = await self._overlays.get(str(validation.tenant_id))+# Phase A2 — run the executable detection corpus against the live# event. Each firing rule becomes a RawAlert routed through fusion,# so telemetry that isn't a vendor-asserted finding still alerts.if self._detector is not None:- # Parity 5.4. Without the overlay this evaluated the shared- # corpus and nothing else, so a tenant who disabled a noisy- # rule in the console kept receiving its alerts while the- # console showed it disabled.- overlay = None- if self._overlays is not None and validation.tenant_id:- overlay = await self._overlays.get(str(validation.tenant_id))for hit in self._detector.evaluate(payload, overlay):det_alert = self._detector.build_alert(payload, hit)if det_alert is not None:@@ -308,7 +311,7 @@ class FusionWorker:# Wave 2 — stateful/windowed detections (brute force, spray, scans)# count this event into its sliding window and fire once on threshold.if self._windowed is not None:- for hit in await self._windowed.evaluate(payload):+ for hit in await self._windowed.evaluate(payload, overlay):win_alert = self._windowed.build_alert(payload, hit)if win_alert is not None:_METRICS["detected"] += 1diff --git a/services/fusion/tests/test_windowed_translation_replay.py b/services/fusion/tests/test_windowed_translation_replay.pynew file mode 100644index 000000000..7c0fdc0a9--- /dev/null+++ b/services/fusion/tests/test_windowed_translation_replay.py@@ -0,0 +1,287 @@+"""Every translated windowed rule, replayed through the real engine.++Why this file and not a comparison against the exporter+-------------------------------------------------------+``scripts/check_windowed_translation.py`` proves a translation matches the+``det-*`` rule it came from. That is a statement about two pieces of JSON. It+cannot tell you the rule fires, and the corpus already contains the lesson:+the 74 rules this work translated passed fixture replay for years while being+unable to fire, because their fixtures were synthesised from the rule and+replayed against the same clauses.++So this drives the real :class:`WindowedDetectionEngine`, with the committed+ruleset, over events built from each rule's own selector, and asserts the+threshold boundary:++* ``threshold`` matching events fire the rule;+* ``threshold - 1`` do not — the one assertion a synthesised fixture can never+ make, because a stateless fixture has no notion of "one short";+* an event that fails the selector never counts, so a rule cannot be fired by+ traffic it does not select;+* two entities accumulate separately, so the grouping is real rather than a+ global counter wearing an entity's name.++"Fires" here means what it means everywhere else in this tree: replayed+through the real engine on a well-formed event of its log source and observed+to cross its threshold. It is not a claim that the rule detects an attack.+"""++from __future__ import annotations++import json+from pathlib import Path+from typing import Any+from uuid import uuid4++import pytest+from app.services.windowed_detection import WindowedDetectionEngine, WindowRule, load_window_rules++RULESET = Path(__file__).resolve().parents[1] / "app" / "data" / "windowed_ruleset.json"+++class _FakeRedis:+ """In-memory stand-in for the sorted-set window and the fired marker.++ Deliberately a faithful implementation of the five calls the engine makes+ rather than a mock that answers whatever is asked: a double that returns+ a crossing count for any key would make every assertion below vacuous.+ """++ def __init__(self) -> None:+ self.zsets: dict[str, dict[str, float]] = {}+ self.strings: dict[str, str] = {}++ async def zadd(self, key: str, mapping: dict[str, float]) -> None:+ self.zsets.setdefault(key, {}).update(mapping)++ async def zremrangebyscore(self, key: str, min_s: float, max_s: float) -> None:+ members = self.zsets.get(key, {})+ for member in [m for m, score in list(members.items()) if min_s <= score <= max_s]:+ del members[member]++ async def expire(self, key: str, ttl: int) -> None:+ return None++ async def zcard(self, key: str) -> int:+ return len(self.zsets.get(key, {}))++ async def set(self, key: str, value: str, nx: bool = False, ex: int | None = None) -> Any:+ if nx and key in self.strings:+ return None+ self.strings[key] = value+ return True+++def _translated() -> list[dict[str, Any]]:+ payload = json.loads(RULESET.read_text(encoding="utf-8"))+ rules = [r for r in payload["rules"] if r.get("translated_from")]+ assert rules, "no translated windowed rules in the committed ruleset — the replay corpus is empty"+ return rules+++TRANSLATED = _translated()+IDS = [r["id"] for r in TRANSLATED]++#: Clause operators whose satisfying value cannot be read straight off the+#: clause. Everything else is plain equality or a list membership.+_PREFIX_OPS = ("startswith_any", "startswith")+_SUFFIX_OPS = ("endswith_any", "endswith")+++def _satisfying_value(key: str, value: Any) -> tuple[str, Any] | None:+ """A field name and a value that satisfies one clause, or None if unknown."""+ for operator in ("in", "match_any", "has_any", *_PREFIX_OPS, *_SUFFIX_OPS, "gt", "gte", "contains_any", "contains"):+ suffix = "_" + operator+ if key.endswith(suffix):+ field = key[: -len(suffix)]+ if operator in {"in", "match_any", "has_any"}:+ return field, value[0] if isinstance(value, list) and value else None+ if operator in {"contains_any"}:+ return field, f"x{value[0]}x" if isinstance(value, list) and value else None+ if operator == "contains":+ return field, f"x{value}x"+ if operator in _PREFIX_OPS:+ head = value[0] if isinstance(value, list) else value+ return field, f"{head}-tail"+ if operator in _SUFFIX_OPS:+ tail = value[0] if isinstance(value, list) else value+ return field, f"head{tail}"+ if operator in {"gt", "gte"}:+ return field, float(value) + 1+ return None+ return key, value+++def _event_for(rule: dict[str, Any], tenant: str, entity: str, distinct: str) -> dict[str, Any]:+ """A flat connector-shaped event that this rule's selector accepts."""+ raw: dict[str, Any] = {}+ for key, value in (rule.get("match_when") or {}).items():+ resolved = _satisfying_value(key, value)+ assert resolved is not None, f"{rule['id']}: cannot build an event satisfying clause {key!r}"+ field, satisfying = resolved+ raw[field] = satisfying+ raw[rule["group_by"]] = entity+ if rule.get("distinct_by"):+ raw[rule["distinct_by"]] = distinct+ return {"tenant_id": tenant, "ocsf_event": {"tenant_uid": tenant, "raw_data": json.dumps(raw)}}+++def _engine(rule: dict[str, Any]) -> tuple[WindowedDetectionEngine, _FakeRedis]:+ """An engine holding exactly one rule, so a hit can only be that rule's."""+ loaded = {r.id: r for r in load_window_rules()}+ assert rule["id"] in loaded, f"{rule['id']} is in the committed JSON but the engine did not load it"+ redis = _FakeRedis()+ return WindowedDetectionEngine(redis, rules=(loaded[rule["id"]],)), redis++[email protected]("rule", TRANSLATED, ids=IDS)+async def test_fires_on_the_event_that_crosses_its_threshold(rule: dict[str, Any]) -> None:+ engine, _ = _engine(rule)+ tenant = str(uuid4())+ distinct_values = [f"value-{i}" for i in range(rule["threshold"])]++ for index in range(rule["threshold"] - 1):+ hits = await engine.evaluate(_event_for(rule, tenant, "entity-a", distinct_values[index]))+ assert not hits, f"{rule['id']} fired on event {index + 1} of a threshold of {rule['threshold']}"++ hits = await engine.evaluate(_event_for(rule, tenant, "entity-a", distinct_values[-1]))+ assert [h.rule_id for h in hits] == [rule["id"]]++[email protected]("rule", TRANSLATED, ids=IDS)+async def test_an_event_its_selector_rejects_never_counts(rule: dict[str, Any]) -> None:+ """A rule must not be fireable by traffic it does not select.++ Skipped where the selector is empty: two of the translated rules inherited+ a `det-*` whose only clauses were the counter and the window, so there is+ no selector to violate. Recorded as a skip rather than passed silently,+ because "nothing to reject" and "rejects correctly" are different results.+ """+ if not rule.get("match_when"):+ pytest.skip(f"{rule['id']} has an empty selector; nothing to reject")+ engine, _ = _engine(rule)+ tenant = str(uuid4())+ for index in range(rule["threshold"] + 5):+ wrong = {+ "tenant_id": tenant,+ "ocsf_event": {+ "tenant_uid": tenant,+ "raw_data": json.dumps({rule["group_by"]: "entity-a", "event_type": "aisoc-test-unrelated", "unrelated": index}),+ },+ }+ assert not await engine.evaluate(wrong), f"{rule['id']} fired on an event its selector rejects"++[email protected]("rule", TRANSLATED, ids=IDS)+async def test_the_count_is_per_entity(rule: dict[str, Any]) -> None:+ """Splitting the same traffic across two entities must fire neither."""+ if rule["threshold"] < 2:+ pytest.skip(f"{rule['id']} fires on one event; there is nothing to split")+ engine, _ = _engine(rule)+ tenant = str(uuid4())+ per_entity = rule["threshold"] - 1+ for entity in ("entity-a", "entity-b"):+ for index in range(per_entity):+ hits = await engine.evaluate(_event_for(rule, tenant, entity, f"value-{index}"))+ assert not hits, f"{rule['id']} fired at {index + 1} events for {entity}, below its threshold of {rule['threshold']}"++[email protected]("rule", [r for r in TRANSLATED if r.get("distinct_by")], ids=[r["id"] for r in TRANSLATED if r.get("distinct_by")])+async def test_a_distinct_rule_does_not_fire_on_one_value_repeated(rule: dict[str, Any]) -> None:+ """The difference between a script retrying and a vault being walked.++ `wd-secret-enumeration`'s comment makes the distinction and nothing was+ asserting it for the translated rules, where it is the whole point of the+ `distinct_by` the decision table chose.+ """+ engine, _ = _engine(rule)+ tenant = str(uuid4())+ for index in range(rule["threshold"] * 2):+ hits = await engine.evaluate(_event_for(rule, tenant, "entity-a", "one-value"))+ assert not hits, f"{rule['id']} fired after {index + 1} events carrying one distinct value"+++async def test_every_translated_rule_is_loaded_by_the_engine() -> None:+ """Guards the artefact, not a fixture: a rule the loader rejects is silent."""+ loaded = {r.id for r in load_window_rules()}+ missing = sorted(r["id"] for r in TRANSLATED if r["id"] not in loaded)+ assert not missing, f"the loader skipped {len(missing)} translated rules: {missing}"+++def test_the_translated_corpus_is_not_empty_by_accident() -> None:+ """A replay suite over zero rules passes; say so rather than report clean."""+ assert len(TRANSLATED) >= 50, f"only {len(TRANSLATED)} translated rules found; the exporter or the decision table shrank"+++async def test_a_translated_rule_reads_a_tenant_allowlist_boolean() -> None:+ """Two translated rules carry an `<x>_in_allowlist` clause.++ The stateless engine resolves those from the tenant overlay. The windowed+ engine did not consult the overlay at all, so translating those rules+ would have moved them from one engine that could not fire them to+ another.+ """+ rule = next(r for r in TRANSLATED if any("_in_allowlist" in k for k in (r.get("match_when") or {})))+ clause = next(k for k in rule["match_when"] if "_in_allowlist" in k)++ class _Overlay:+ tenant_id = "t"++ def derived_allowlist_fields(self, fields: dict[str, Any]) -> dict[str, Any]:+ return {clause: False}++ loaded = {r.id: r for r in load_window_rules()}+ engine = WindowedDetectionEngine(_FakeRedis(), rules=(loaded[rule["id"]],))+ tenant = str(uuid4())++ def event() -> dict[str, Any]:+ raw = {k: v for k, v in rule["match_when"].items() if k != clause}+ raw[rule["group_by"]] = "entity-a"+ return {"tenant_id": tenant, "ocsf_event": {"tenant_uid": tenant, "raw_data": json.dumps(raw)}}++ # Without the overlay the allowlist clause is unresolvable, so the rule+ # must stay silent rather than treat "unknown" as "not allowlisted".+ for _ in range(rule["threshold"] + 2):+ assert not await engine.evaluate(event())++ engine_with_overlay = WindowedDetectionEngine(_FakeRedis(), rules=(loaded[rule["id"]],))+ hits: list[Any] = []+ for _ in range(rule["threshold"]):+ hits = await engine_with_overlay.evaluate(event(), _Overlay())+ assert [h.rule_id for h in hits] == [rule["id"]]+++async def test_enrichment_runs_before_the_window_counts() -> None:+ """A windowed rule may read a derived field, as a stateless rule may.++ Asserted on a rule declared here rather than on the corpus, because no+ shipped windowed rule reads one yet and a test that silently covers+ nothing is the failure this suite exists to avoid.+ """+ rule = WindowRule(+ id="wd-test-derived",+ name="derived",+ severity="low",+ category="identity",+ mitre=[],+ match_when={"actor_eq_target": True},+ group_by="actor",+ threshold=2,+ window_seconds=60,+ )+ engine = WindowedDetectionEngine(_FakeRedis(), rules=(rule,))+ tenant = str(uuid4())+ same = {"tenant_id": tenant, "ocsf_event": {"tenant_uid": tenant, "raw_data": json.dumps({"actor": "u1", "target": "u1"})}}+ different = {"tenant_id": tenant, "ocsf_event": {"tenant_uid": tenant, "raw_data": json.dumps({"actor": "u1", "target": "u2"})}}++ assert not await engine.evaluate(different)+ assert not await engine.evaluate(different)+ assert not await engine.evaluate(same)+ assert [h.rule_id for h in await engine.evaluate(same)] == ["wd-test-derived"]