Over 98,000 public Sigma rules, one copy each: introducing sigharvest and suriharvest
Two MIT tools that collect public Sigma and Suricata rules, remove duplicates by detection logic, validate them and keep every rule's licence.
Anyone who works with public detection rules has probably seen this: clone SigmaHQ, then a dozen other repositories with good Sigma rules, grep for lsass, and get the same rule back eleven times under eleven titles. Or download ET Open, abuse.ch and a few GitHub rulesets for Suricata, and find two publishers using the same sid, a rule that only loads on Suricata 8, and no record of which licence came with what.
Two small tools now automate that, released today under the MIT licence: sigharvest for Sigma and suriharvest for Suricata. They run on your own machine, and each also publishes a nightly pack you can download without installing anything.
How big is the mess?
In a full run on 16 November 2026, sigharvest read 1,201 public sources and 393,942 Sigma files. Only 111,426 of them were unique detection logic: 282,516 files were copies of another rule, often with a new title, id or author line. Licences are just as mixed. Of the 98,733 rules in the first release pack, about 43,500 are under permissive licences (DRL, MIT, Apache), about 23,500 under copyleft (GPL, LGPL, CC BY-SA), about 1,200 under restrictive terms and about 30,500 come from repositories with no licence at all. The pack ships the YAML of the 66,986 permissive and copyleft rules and links to the others.
On the Suricata side, after merging and testing the redistributable core sources, 65,968 rules per engine remain in the first release (10 sources), and every published file loaded with 0 failed rules on both Suricata 7.0.17 and 8.0.8.

What a "duplicate" means
Both tools separate "is this the same text?" from "does this detect the same thing?".
sigharvest computes a logic hash over a rule's logsource and detection only, after a documented canonicalisation: quoting and YAML style differences disappear, and the condition is never reordered. Same hash, same rule, whatever the title, id or author say. Rules that are related but not identical are grouped into families, and similar-but-different rules are shown as "similar", never merged. The canonical copy comes from the highest-priority source (SigmaHQ first), and every other copy stays listed with its own link and licence.
suriharvest deduplicates by gid:sid within each publisher and then by a hash over the header and detection options, ignoring msg, reference and other metadata, so the same rule shipped under two sids is kept once. When two publishers use the same sid for different rules, the range owner at sidallocation.org (or the higher-priority source) keeps it, and the other rule gets a new sid that stays stable in later builds. That is the only change suriharvest ever makes to rule text, apart from dataset file paths, and both are noted in each file's header.
Validation you can check
A rule that does not parse or does not load is worse than no rule: it breaks a pipeline at 3 a.m.
sigharvest checks every rule with pySigma and the Sigma JSON schema. Broken YAML is quarantined instead of stopping the run, and test fixtures, IOC lists and templates are flagged and hidden from search by default. When you export SIEM queries (Splunk, Loki, Elastic, OpenSearch, Microsoft 365 Defender, through pySigma backends), every rule that could not be converted is listed with the reason.
suriharvest asks the engine itself: each rule goes through suricata -T on every engine you configure, a local binary or a Docker image, Suricata 7 and 8. Results are cached by rule text, engine and configuration, so a nightly update with no upstream change takes seconds. A rule that fails on one engine is left out of that engine's ruleset, with the reason, and a rule that needs a flowbit brings the rule that sets it.
Both tools keep the last good state when upstream breaks: a source that fails keeps its previous copy, and an update that suddenly loses too many rules does not replace the index.

Licences follow the rule
Neither tool relicenses anything. The tools are MIT; each rule keeps the licence of the repository it came from.
- Every source carries an SPDX licence and a redistribution flag, shown on every rule page and in every export.
- sigharvest's nightly packs are split into a permissive zip and a copyleft zip. Rules from repositories without a licence are never shipped, only linked. Sigma
authorandreferencesfields are never removed. - suriharvest's nightly release contains only redistributable sources. Non-commercial or personal-key feeds stay out, though you can add them to your own local setup.
- Every pack and export ships a
NOTICE.mdwith the publishers' copyright lines and the licence texts.
This is not legal advice, but it turns "can we share this rule?" into a question you can answer per rule.
How to use them
No install, Sigma: download sigharvest-rules-permissive.zip from the latest release.
No install, Suricata: add the nightly release as a suricata-update source and disable et/open, which it already contains.
sudo suricata-update add-source suriharvest-8 \ https://github.com/threat-hunter-eu/suriharvest-rules/releases/latest/download/suriharvest-8.tar.gz sudo suricata-update disable-source et/open sudo suricata-update
Locally, with a web UI on 127.0.0.1 and no telemetry:
uv tool install "sigharvest[convert] @ git+https://github.com/threat-hunter-eu/sigharvest" sigharvest init ~/sigma && cd ~/sigma && sigharvest update # curated sources, about 10 minutes sigharvest export lsass --product windows --format splunk --out lsass.spl uv tool install git+https://github.com/threat-hunter-eu/suriharvest suriharvest init ~/suri && cd ~/suri && suriharvest update # a few minutes suriharvest serve
More detail on the tool pages: sigharvest and suriharvest.
What they are not
They are aggregators, not replacements. sigharvest's conversions come from the same pySigma backends that sigma-cli uses; if you only need SigmaHQ rules converted, sigma-cli is simpler. suriharvest's release is a suricata-update source, not a new update mechanism. ATT&CK tags say what a rule is meant to detect, not that it was tested against that technique, and "loads in Suricata" does not mean "low false positives in your network". Tune before you deploy.
Following the changes
Every night both tools publish a list of new, changed and removed rules. The lists are public, so you can follow new rules, licence changes and rules that stop loading on new Suricata versions through the release notes and the feed.
Thanks
None of this exists without the people who write and publish rules: the SigmaHQ community and every Sigma repository maintainer, the pySigma project, OISF for Suricata and suricata-update, Proofpoint Emerging Threats for ET Open, abuse.ch, Stamus Networks, Travis Green and all the independent authors in the source lists.
Problems with a rule belong upstream, and every rule page links there. Problems with the tools, missing sources and dedup mistakes are very welcome as GitHub issues: sigharvest, suriharvest.
Maintained by angstromissa and elhoim. Security reports and requests to correct or remove a rule: security@threat-hunting.eu.
Not affiliated with or endorsed by SigmaHQ, OISF, Proofpoint/Emerging Threats or MITRE. MITRE ATT&CK® and ATT&CK® are registered trademarks of The MITRE Corporation. Suricata and OISF are trademarks of the Open Information Security Foundation; Emerging Threats and Proofpoint are trademarks of Proofpoint, Inc.