For a detection-as-code ruleset, the strongest matches are neo23x0/sigma (Sigma provides a vendor-neutral rule language YAML-based and a), falcosecurity/falco (Falco is a CNCF-graduated runtime security engine with its) and elastic/detection-rules (Elastic/detection-rules is a detection-as-code framework that provides a YAML). crowdsecurity/crowdsec and sigmahq/sigma round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.
Open-source repositories containing detection logic and behavioral patterns to identify malicious activity across infrastructure.
Sigma is a generic SIEM signature format and log event pattern standard used to describe malicious activity. It provides a vendor-neutral system for defining security event patterns in YAML, ensuring that detection logic remains portable across different monitoring platforms. The project maintains a curated library of peer-reviewed detection rules that identify threats and compliance violations. This standardized approach allows for the exchange of threat hunting logic and the translation of generic signatures into specific queries for various security information and event management systems
Sigma provides a vendor-neutral rule language (YAML-based) and a curated library of detection rules for security threats, making it a perfect fit for a threat detection rule framework, though it focuses on rule portability and SIEM translation rather than built-in alerting.
Falco is an eBPF runtime security monitor and cloud native detection engine that identifies abnormal behavior and security threats across hosts and containers. It functions as a Linux kernel event auditor, capturing system calls and kernel events in real-time to detect malicious activity. The system distinguishes itself through a rule-based threat detection model that evaluates system activity against a library of community-maintained rules and custom security definitions. It enriches raw kernel events with container and Kubernetes metadata to provide observability into isolated environments
Falco is a CNCF-graduated runtime security engine with its own rule language (Falco rules), a community-maintained rules library, kernel event capture, alerting, and SIEM integration, making it a comprehensive threat detection rule framework that directly meets this search.
This project is a detection-as-code framework providing a library of security monitoring rules and predefined detection content for Elasticsearch data indices. It serves as a threat detection rule library designed to identify malicious activity and attack patterns across diverse data streams in cloud and on-premises environments. The framework implements a detection engineering workflow where rules are defined in YAML and managed as versioned code. It includes a set of command-line utilities for automated rule deployment, metadata searching, and template generation, supported by a Python-base
Elastic/detection-rules is a detection-as-code framework that provides a YAML rule language, a library of threat detection rules for Elasticsearch data, and CLI tools for managing and deploying rules — directly giving you the rule-writing toolkit and rule content you need, though its integration is specific to the Elastic stack rather than a multi-SIEM solution like Sigma.
CrowdSec is a collaborative, distributed security engine designed for threat detection and infrastructure protection. It functions as an intrusion detection system that parses logs and network traffic to identify malicious patterns, utilizing a bucket-based threshold detection model to aggregate events and trigger alerts. The platform is built on a modular architecture that includes a centralized local API server for managing security signals and a relational database for persistent storage of remediation decisions. What distinguishes the project is its decoupled enforcement model, which offl
CrowdSec is a full-featured open-source threat detection engine that provides its own YAML-based rule language (scenarios), a community rule hub, log acquisition parsers, built-in rule testing, and alerting integrations, making it a comprehensive framework for writing and running detection rules against security logs.
Sigma is a suite of tools for defining generic log signatures and translating them for multiple backends. It provides a structured way to define malicious behavior and detection logic independently of any specific backend technology, acting as a translation engine that maps generic event fields and correlation logic to the proprietary query languages of security data lakes and SIEM platforms. The project features a plugin-based multi-backend query generator that exports security detections into various database and log management formats. It also includes a threat framework mapping tool that
Sigma provides the Sigma rule language itself plus a full toolchain for writing, testing, and translating detection rules into a wide range of SIEM and data pipeline queries, exactly matching the need for an open-source threat detection rule framework with community rules and multi-backend integration.
This repository is a community-driven collection of security content for Azure Sentinel, the cloud-native security information and event management (SIEM) platform from Microsoft. It serves as a central hub for sharing detection rules, threat hunting queries, interactive workbooks, and automated response playbooks, all contributed and maintained through a standard GitHub-based pull request workflow. The content is designed to help security operations teams quickly deploy proven detections, proactively hunt for threats, visualize security data, and orchestrate incident response actions without
This is a community collection of detection rules and content for Azure Sentinel, not a standalone rule-writing framework or language like Sigma or YARA that you can use independently across different security tools.
This repository is tagged with "Yara Rules" but lacks a description or any evidence of being a framework or library for writing detection rules—it appears to be just a rule collection rather than the rule language and tooling you need.
DetectionLab is a reproducible Windows Active Directory security lab designed for testing detection capabilities. It uses an automation framework based on Vagrant and Packer to provision virtualized networks across multiple hypervisors and cloud platforms. The project utilizes Ansible for the declarative installation and configuration of domain services and endpoint security tools. It incorporates a browser-based remote access interface via Apache Guacamole to manage laboratory hosts without requiring standalone remote desktop clients. The environment includes a telemetry pipeline that aggre
DetectionLab creates a reproducible lab environment for testing detection capabilities, but it is not a rule language framework for writing detection rules—it is a testing infrastructure rather than the authoring tool you are looking for.
yarGen is a generator for YARA rules
yarGen generates YARA rules for malware file detection, but it is a focused rule generator rather than a full framework for authoring, testing, and integrating detection rules across security logs and system events.
sysmon-config provides configuration templates and exclusion rule sets designed to standardize system event tracing and reduce log noise on Windows hosts. It functions as a security configuration baseline that establishes a standard for tracing system events and process behaviors. The project focuses on providing pre-defined XML filters to highlight anomalous system changes while minimizing performance impact. It utilizes a collection of exclusion rules to remove trusted processes from event logs, which improves signal quality and reduces the volume of generated security data. These configur
sysmon-config provides pre-built XML configuration templates and exclusion rules for Microsoft Sysmon, which is useful for Windows endpoint monitoring, but it is not a rule language or framework itself—rather, it is a specific configuration for a single agent, lacking a general-purpose rule language, testing tools, and SIEM integration.
LogonTracer is a security auditing tool designed for logon analysis and forensic log auditing. It functions as a dockerized security auditor that utilizes a security event graph database to map account names and network addresses, allowing for the visualization of complex system compromise patterns and authentication paths. The system features a Sigma detection engine that scans imported event logs against standardized rule sets to identify known malicious activity. It also includes an anomalous behavior detector that applies statistical analysis, graph algorithms, and hidden Markov models to
LogonTracer is a security auditing tool for logon analysis that uses Sigma rules for detection, but it is not a rule language framework itself—it is a specialized tool rather than a general-purpose library for writing and managing detection rules.
Grafana is an observability data platform designed to aggregate metrics, logs, and traces from diverse sources into a unified environment. It functions as a centralized interface for visualizing complex telemetry data, transforming raw streams into interactive dashboards that support real-time system health tracking and performance monitoring. The platform distinguishes itself through a plugin-based modular architecture that integrates disparate databases, cloud services, and monitoring tools via a standardized data abstraction layer. This framework allows for the dynamic loading of external
Grafana is an observability and visualization platform with alerting and log integration, but it is not a framework for writing threat detection rules in a dedicated rule language like Sigma or YARA.
| Repository | Stars | Language | License | Last push |
|---|---|---|---|---|
| neo23x0/sigma | 10.6K | Python | NOASSERTION | |
| falcosecurity/falco | 8.7K | C++ | apache-2.0 | |
| elastic/detection-rules | 2.5K | Python | other | |
| crowdsecurity/crowdsec | 12.6K | Go | mit | |
| sigmahq/sigma | 10.1K | Python | other | |
| azure/azure-sentinel | 5.5K | Python | mit | |
| 0xtyh/eeabc765e9befad9b80a | 0 | — | — | — |
| clong/detectionlab | 4.9K | HTML | mit | |
| neo23x0/yargen | 1.8K | Python | NOASSERTION | |
| swiftonsecurity/sysmon-config | 5.4K | — | — |