Skip to content

YARA Forge and public YARA rule sets

YARA Forge explained: how the core, extended and full packages are built and filtered, plus the major public YARA repositories and the licences you will meet.

Published Updated 6 min read

Thousands of high-quality YARA rules are published for free by researchers, vendors and CERTs. Knowing where they come from — and under which terms — lets you use them safely and give credit where it's due.

YARA Forge: core, extended and full packages

YARA Forge is an open-source pipeline (run by the YARA HQ project) that collects rules from dozens of vetted public repositories and turns them into ready-to-use rule files. Each run:

  1. Collects the rules of every configured repository at its current commit. Each repository is given a base quality value in the project's yara-forge-config.yml.
  2. Normalises them: deduplicates rules by logic hash, prefixes every rule name with its source (SIGNATURE_BASE_…, CAPE_…) to avoid collisions, generates an id, and fills consistent metadata (author, date, modified, reference, source_url, license_url, score, quality…). Private rules that other rules depend on are tracked and shipped with them.
  3. Runs quality checks with yaraQA: critical issues reject a rule, weaker findings (inefficient patterns, likely false positives, rules flagged as noisy) lower its quality.
  4. Writes three packages filtered by quality, score and age, then compiles each package to make sure it loads.
PackageMinimum qualityMinimum scoreRule ageMeant for
core70651 to 2,500 days (~7 years)Production scanning, low false-positive tolerance
extended50601 to 5,000 daysBroader coverage, some noise
full20400 to 10,000 daysResearch and threat hunting

The thresholds come from the yara_rule_packages section of the upstream configuration; per-rule importance levels can force a rule in or out regardless of them. Score (0–100) says how strongly a match indicates something malicious; quality (0–100) is the result of the automated QA. Both are shown on every rule page here.

Releases are published weekly on the YARA Forge releases page, tagged by date (YYYYMMDD). Each release contains yara-forge-rules-core.zip, -extended.zip and -full.zip, plus a build log and yara-forge-rule-issues.yml, the list of QA findings per rule, which is worth reading before you deploy the extended or full package.

What this library mirrors

This site mirrors the core package of release 20260927: 5,110 rules from 35 source repositories. 4,745 are published in full; 365 show metadata only because their licence does not allow redistribution (see below). Each rule was also compiled on its own with YARA-X 1.20.0: 4,825 compile cleanly, 283 with warnings and 2 fail. Every rule page shows the release it came from, its YARA Forge score and quality, the original author, a link to the upstream rule and the licence; the sources page lists the 35 repositories.

To use the same rules locally, download the core zip from the release and scan with YARA or YARA-X: yr scan yara-rules-core.yar sample.bin. Pin a release tag rather than always fetching the latest, so you can review what changed between weeks.

Major repositories

RepositoryFocusLicence
Signature Base (Florian Roth / Nextron)Broad: APT tooling, hack tools, web shells, exploitsDRL 1.1
Malpedia signator rulesOne automatically generated rule per malware familyCC BY-SA 4.0
ditekSHen detectionCommodity malware and indicatorsBSD 2-Clause
SEKOIA.IO CommunityMalware and threat-actor toolingDRL 1.1
ESET malware-iocFamilies from ESET researchBSD 2-Clause
Volexity threat-intelTooling from Volexity investigationsBSD 2-Clause
Google Cloud Threat Intelligence (GCTI)Cobalt Strike and other frameworksApache 2.0
Mandiant red team tool countermeasuresMandiant red-team toolingBSD 2-Clause
Trellix ARCMalware and APT researchApache 2.0
LOLDriversVulnerable and malicious driversApache 2.0
CAPE SandboxPayload and configuration extractionGPL-3.0

The full list, with the decision for each source, is on the sources and licences page.

Tools around the ecosystem

ToolRole
yarGenGenerates draft rules from samples by removing goodware strings — always review its output
yaraQAFinds impossible conditions, bad modifiers and performance issues
YARA-CITests rule repositories on GitHub against a goodware corpus
awesome-yaraCurated index of rule sets, tools and articles

Licences you will meet

  • Detection Rule License 1.1. Designed for detection content. You may use, modify and redistribute rules, including commercially, if you keep the author, a link to the rule and a licence notice — and keep the author in match messages.
  • MIT, BSD 2/3-Clause, Apache 2.0. Permissive software licences: redistribution allowed with the copyright notice and licence text.
  • GPL-3.0. Copyleft: redistribution allowed with the licence; derivative works must stay under GPL.
  • CC BY / CC BY-SA 4.0. Attribution required; ShareAlike requires adaptations to use the same licence.
  • Non-commercial or source-available licences (for example CC BY-NC or the Elastic License 2.0). Restrict commercial reuse or redistribution; read them before bundling rules into a product.
  • No licence. Public on GitHub does not mean free to copy. Without a licence, copyright law reserves all rights to the author.

How this site handles licences

  • Full text is shown, downloadable and included in the scanner packs only when the licence permits redistribution. Every page and download carries the author, upstream link and licence.
  • Metadata only for sources without a licence or with restrictive terms: name, description, author, dates, references and sample hashes, plus a link to the original.
  • A licence stated in a rule's own license meta is honoured when it is clear, even inside an unlicensed mirror repository.
  • The scanner displays the author of every matching library rule, as DRL 1.1 requests.

Using public rules responsibly

  1. Check the licence before copying rules into your product or repository.
  2. Keep attribution: author, source link and licence travel with the rule.
  3. Test on your own goodware before production (see testing and CI) — public rules are written for someone else's environment.
  4. Prefer pinned releases (such as a YARA Forge tag) over tracking a branch, so you can review changes.
  5. Contribute fixes upstream when you find false positives.

Browse the rule library by family or source to find rules for the threats you care about.

FAQ

What is YARA Forge?
YARA Forge is an open-source project that collects YARA rules from dozens of public repositories, normalises their metadata, tests and scores them, and publishes weekly packages named core, extended and full.
What is the difference between YARA Forge core, extended and full?
They use different thresholds. Core keeps rules with quality of at least 70 and score of at least 65 and is meant for production. Extended lowers the bar to 50 and 60 for broader coverage. Full keeps almost everything that compiles (quality 20, score 40) for research and hunting.
Can I copy any YARA rule I find on GitHub?
Only if its licence allows it. A repository without a licence is all rights reserved by default, even if it is public. Licences such as DRL 1.1, MIT, BSD or Apache-2.0 allow reuse with attribution.
Why do some rules on this site show only metadata?
Because their repository grants no licence to redistribute them. We show the name, description, author and references, and link to the original rule.