Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Detection Engineering
  3. KQL Advanced Hunting Queries & Analytics Rules

KQL Advanced Hunting Queries & Analytics Rules

BSD-3-ClausePython

A collection of ready-to-use KQL queries for threat hunting, detection, and analytics in Microsoft Defender for Endpoint and Azure Sentinel.

Visit WebsiteGitHubGitHub
1.8k stars331 forks0 contributors

What is KQL Advanced Hunting Queries & Analytics Rules?

Hunting-Queries-Detection-Rules is a curated repository of Kusto Query Language (KQL) queries specifically designed for Microsoft Defender for Endpoint and Azure Sentinel. It provides security teams with ready-to-use detection rules, hunting queries, and analytics to identify threats that may not be caught by default security alerts. The project aims to increase detection coverage by leveraging the rich log data available in Microsoft's security products.

Target Audience

Security analysts, threat hunters, and SOC teams working with Microsoft Defender for Endpoint and Azure Sentinel who need to write or customize detection queries. It's also valuable for security engineers building detection-as-code pipelines.

Value Proposition

It saves significant time by offering a large collection of pre-vetted, community-contributed queries mapped to real-world threats and MITRE ATT&CK tactics. Instead of building queries from scratch, teams can deploy these immediately to enhance their security posture.

Overview

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.

Use Cases

Best For

  • Rapidly deploying detection rules for common attacker TTPs in Microsoft environments
  • Threat hunting exercises using pre-built queries mapped to MITRE ATT&CK
  • Enhancing Azure Sentinel analytics rules with community-tested logic
  • Learning KQL syntax and patterns for security use cases
  • Incident response investigations using specialized DFIR queries
  • Monitoring for zero-day exploits with dedicated detection queries

Not Ideal For

  • Organizations not using Microsoft's security stack (Defender for Endpoint, Azure Sentinel, or related products)
  • Teams needing plug-and-play detection rules with zero configuration or environment-specific tuning
  • Projects requiring vendor-certified, officially supported detection logic for compliance audits
  • Security operations centered on non-KQL SIEMs like Splunk, Elasticsearch, or QRadar

Pros & Cons

Pros

Comprehensive Query Library

Offers hundreds of out-of-the-box KQL queries for immediate use in Advanced Hunting and Custom Detection, spanning Defender for Endpoint, Identity, Cloud Apps, and Sentinel.

MITRE ATT&CK Alignment

Queries are categorized and mapped to MITRE ATT&CK tactics, providing structured threat detection and hunting aligned with industry standards.

Active Community Contributions

Includes queries from top security professionals with a clear detection template and pull request process, ensuring ongoing updates and diverse threat coverage.

Educational Resources

Supplements queries with KQL functions, regex examples, and links to detailed blogs, aiding in learning and customization for security analysts.

Cons

Microsoft-Platform Lock-In

Queries are exclusively designed for Microsoft's KQL and security products, rendering them useless for teams using other SIEMs or query languages.

Requires Manual Adaptation

Even pre-built queries need adjustments for specific environments, such as changing timestamp fields between Sentinel and Defender, as noted in the README.

Limited Official Support

As a community-driven repository, there's no guaranteed SLA or direct Microsoft support, which could pose risks for critical production deployments.

Frequently Asked Questions

Quick Stats

Stars1,776
Forks331
Contributors0
Open Issues0
Last commit1 month ago
CreatedSince 2022

Tags

#security-analytics#vulnerability-management#azure#dfir#sentinel#mitre-attack#log-analysis#security-operations#blueteam#detection-rules#cybersecurity#incident-response#threat-hunting#kql

Links & Resources

Website

Included in

Detection Engineering1.2k
Auto-fetched 11 hours ago

Related Projects

Sigma RulesSigma Rules

Main Sigma Rule Repository

Stars11,510
Forks2,943
Last commit13 hours ago
Elastic Detection RulesElastic Detection Rules

Detection Rules is the official repository for the rules used by Elastic Security's Detection Engine. It provides a comprehensive toolkit for security teams to develop, validate, test, and release detection logic in a structured, code-driven manner. This approach enables version control, automated testing, and streamlined integration with the Elastic SIEM. ## Key Features - **Rule Development & Management** — Python module for parsing, validating, and packaging detection rules from TOML files. - **Detections as Code (DaC)** — Full pipeline and CLI tools to manage rules with version control and automated workflows. - **Unit Testing Framework** — Integrated Python testing suite to validate rule logic and ensure reliability. - **Kibana Integration** — Library for API calls to Kibana and the Detection Engine for seamless rule deployment. - **KQL Validation** — Library for parsing and validating Kibana Query Language used in rule conditions. - **Threat Hunting Packages** — Dedicated directory for storing and managing threat hunting queries and packages. ## Philosophy The project embraces a Detections-as-Code philosophy, treating security rules as software artifacts to improve maintainability, collaboration, and automation in threat detection.

Stars2,970
Forks754
Last commit1 day ago
Splunk Security ContentSplunk Security Content

Splunk Security Content

Stars1,737
Forks510
Last commit1 day ago
Elastic Endpoint Behavioral RulesElastic Endpoint Behavioral Rules

Elastic Security detection content for Endpoint

Stars1,514
Forks167
Last commit6 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub