# Bert-JanP/Hunting-Queries-Detection-Rules

KQL Queries. Defender For Endpoint and Azure Sentinel Hunting and Detection Queries in KQL. Out of the box KQL queries for: Advanced Hunting, Custom Detection, Analytics Rules & Hunting Rules.

Repository: https://github.com/Bert-JanP/Hunting-Queries-Detection-Rules
Canonical: https://ross.abutalabs.com/products/hunting-queries-detection-rules
Homepage: https://kqlquery.com
Language: Python
License: BSD-3-Clause
License Family: permissive
Topics: azure, defender-for-endpoint, dfir, kql, sentinel, threat-hunting, vulnerability-management, zero-day, blueteam, cybersecurity, mde, mdi, infosec, security, misp
Last push: 2026-07-23T17:56:56+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 94, release rhythm 35, longevity 100
- inputs: {"age_days": 1556, "days_push": 41, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1732, forks 326 (observed 2026-08-28T04:05:28.833750+00:00)

## What it is
A curated collection of KQL queries for Microsoft Defender for Endpoint and Azure Sentinel, covering advanced hunting, custom detections, analytics rules, and hunting rules. It is a community-maintained rule/query library aimed at increasing detection coverage from Microsoft security logs.

## Use cases
- find kql queries for microsoft sentinel hunting
- create custom detection rules in defender for endpoint
- improve soc detection coverage with out-of-the-box kql queries
- hunt for suspicious activity in mde logs
- write analytics rules for azure sentinel
- threat hunt for zero-day exploitation techniques
- build visualizations for security logs in kql

## When to choose
- you use Microsoft Sentinel or Defender for Endpoint/XDR and need ready-made KQL detections
- you are a blue teamer or detection engineer expanding coverage beyond default alerts
- you need reference queries for incident response in Microsoft security products

## When to avoid
- you use SIEM/EDR products other than Microsoft's (e.g., Splunk, Elastic)
- you need a runnable tool or service rather than a query collection
- you need Sigma or YARA rules instead of KQL

## Facets
- artifact type: dataset
- maturity: active
- function: security, monitoring, alerting, developer-tools
- domain: security, cloud-computing, developer-tools
- platform: cloud, self-hosted
- tags: kql, microsoft-sentinel, defender-for-endpoint, threat-hunting, detection-engineering, dfir, blue-team, detection-rules

## Member repositories
- Bert-JanP/Hunting-Queries-Detection-Rules (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:28.833750+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:31:29.281933+00:00, confidence not recorded.
  - readme: https://github.com/Bert-JanP/Hunting-Queries-Detection-Rules (fetched 2026-08-28T04:05:28.833750+00:00, sha b2b16108ed2c)
  - homepage: https://kqlquery.com (fetched 2026-08-29T11:08:18.475802+00:00, sha 47512d86cada)
- Data as of 2026-08-30T08:39:29.467469+00:00.
