A curated list of awesome YARA rules, tools, and resources. Inspired by awesome-python and awesome-php.
YARA is an ancronym for: YARA: Another Recursive Ancronym, or Yet Another Ridiculous Acronym. Pick your choice.
YARA, the "pattern matching swiss knife for malware researchers (and everyone else)" is developed by @plusvic and @VirusTotal. View it on GitHub.
Contents
Legend
- π - Actively maintained, a repository worth watching.
- π - Novel, interesting, educational, or otherwise stand-out content.
- β¨ - Recently released, shiny new toys.
- π - The biggest collection award, awarded to a single repo.
Rules
- AlienVault Labs Rules
- A collection of tools, signatures, and rules from the researchers at AlienVault Labs. Search the repo for .yar and .yara extensions to find about two dozen rules ranging from APT detection to generic sandbox / VM detection. Last updated in January of 2016.
- Apple OSX
- Apple has ~40 YARA signatures for detecting malware on OSX. The file, XProtect.yara, is available locally at /System/Library/CoreServices/XProtect.bundle/Contents/Resources/.
- BinaryAlert YARA Rules π β¨
- A couple dozen rules written and released by AirBnB as part of their BinaryAlert tool (see next section). Detection for hack tools, malware, and ransomware across Linux, Window, and OS X. This is a new and active project.
- Burp YARA Rules
- A collection of YARA rules intended to be used with the Burp Proxy through the Yara-Scanner extension. These rules focus mostly on non-exe malware typically delivered over HTTP including HTML, Java, Flash, Office, PDF, etc. Last updated in June of 2016.
- Brian Carter Rules β¨
- A collection of personal rules written by Brian Carter, mostly designed for VirusTotal hunting.
- CAPE Rules π
- Rules from various authors bundled with the Config And Payload Extraction Cuckoo Sandbox extension (see next section).
- CDI Rules β¨
- A collection of YARA rules released by CyberDefenses for public use. Built from information in intelligence profiles, dossiers and file work.
- Citizen Lab Malware Signatures
- YARA signatures developed by Citizen Lab. Dozens of signatures covering a variety of malware families. The also inclde a syntax file for Vim. Last update was in November of 2016.
- Didier Stevens Rules π
- A collection of rules from Didier Stevens, author of a suite of tools for inspecting OLE/RTF/PDF. Didier's rules are worth scrutinizing and are generally written purposed towards hunting. New rules are frequently announced through the NVISO Labs Blog.
- ESET IOCs π
- A collection of YARA and Snort rules from IOCs collected by ESET researchers. There's about a dozen YARA Rules to glean from in this repo, search for file extension .yar. This repository is seemingly updated on a roughly monthly interval. New IOCs are often mentioned on the ESET WeLiveSecurity Blog.
- Fidelis Rules
- You can find a half dozen YARA rules in Fidelis Cyber's IOC repository. They update this repository on a roughly quarterly interval. Complete blog content is also available in this repository.
- Florian Roth Rules π π
- Florian Roth's signature base is a frequently updated collection of IOCs and YARA rules that cover a wide range of threats. There are dozens of rules which are actively maintained. Watch the repository to see rules evolve over time to address false potives / negatives.
- FSF Rules
- Mostly filetype detection rules, from the EmersonElectricCo FSF project (see next section).
- GoDaddy ProcFilter Rules
- A couple dozen rules written and released by GoDaddy for use with ProcFilter (see next section). Example rules include detection for packers, mimikatz, and specific malware.
- h3x2b Rules π
- A collection of signatures from h3x2b which stand out in that they are generic and can be used to assist in reverse engineering. There are YARA rules for identifying crypto routines, highly entropic sections (certificate discovery for example), discovering injection / hooking functionality, and more.
- Icewater Rules
- A repository of automatically generated YARA rules from Icewater.io. This repository is updated rapidly with newly generated signatures that mostly match on file size range and partial content hashes.
- InQuest Rules π
- YARA rules published by InQuest researchers mostly geared towards threat hunting on Virus Total. Rules are updated as new samples are collected and novel pivots are discovered. The InQuest Blog will often discuss new findings.
- kevthehermit Rules
- Dozens of rules from the personal collection of Kevin Breen. This repository hasn't been updated since February of 2016.
- NCC Group Rules π
- A handful of YARA rules released by NCC Group's Cyber Defence team.
- Malice.IO YARA Plugin Rules π
- A collection of topical from a variety of sources for the YARA component of the Malice.IO framework.
- mikesxrs YARA Rules Collection π π
- Large collection of open source rules aggregated from a variety of sources, including blogs and other more ephemeral sources. Over 100 categories, 1500 files, 4000 rules, and 20Mb. If you're going to pull down a single repo to play with, this is the one.
- MrThreat Rules
- Pubic repository of yara rules mainly used for osint and threat/counter intelligence.
- Patrick Olsen Rules π
- A small collection of rules with a wide footprint for variety in detection. RATs, documents, PCAPs, executables, in-memory, point-of-sale malware, and more. Unfortunately this repository hasn't seen an update since late 2014.
- QuickSand Lite Rules
- This repo contains a C framework and standalone tool for malware analysis, along with several useful YARA rules developed for use with the project.
- SpiderLabs Rules
- A repository of tools and scripts related to malware analysis from the researchers at SpiderLabs. There's only three YARA rules here and the last update was back in 2015, but worth exploring.
- Tenable Rules
- Small collection from Tenable Network Security.
- TjadaNel Rules
- Small collection of malware rules.
- VectraThreatLab Rules
- YARA rules for identifying anti-RE malware techniques.
- x64dbg Signatures
- A few signatures to possibly be included in x64dbg.
- YARA-FORENSICS
- A collection of file type identfiying rules.
- yara4pentesters
- Rules to identify files containing juicy information like usernames, passwords etc.
- YaraRules Project Official Repo π
- Large collection of rules constantly updated by the community.
Tools
- AirBnB BinaryAlert
- Open-source serverless AWS pipeline where any file uploaded to an S3 bucket is immediately scanned with a configurable set of YARA rules.
- CAPE: Config And Payload Extraction π
- CAPE is an extension of Cuckoo specifically designed to extract payloads and configuration from malware. CAPE can detect a number of malware techniques or behaviours, as well as specific malware families, from its initial run on a sample. This detection then triggers a second run with a specific package, in order to extract the malware payload and possibly its configuration, for further analysis.
- CSE-CST AssemblyLine β¨
- The Canadian Communications Security Establishment (CSE) open sourced AssemblyLine, a platform for analyzing malicious files. The component linked here provides an interface to YARA.
- ELAT
- Event Log Analysis Tool that creates/uses YARA rules for Windows event log analysis.
- Emerson File Scanning Framework (FSF)
- Modular, recursive file scanning solution.
- findcrypt-yara and FindYara
- IDA pro plugins to scan your binary with YARA rules to find crypto constants (and more).
- GoDaddy ProcFilter π
- ProcFilter is a process filtering system for Windows with built-in YARA integration. YARA rules can be instrumented with custom meta tags that tailor its response to rule matches. It runs as a Windows service and is integrated with Microsoft's ETW API, making results viewable in the Windows Event Log. Installation, activation, and removal can be done dynamically and does not require a reboot.
- go-yara
- Go bindings for YARA.
- InQuest ThreatKB
- Knowledge base workflow management for YARA rules and C2 artifacts (IP, DNS, SSL).
- Invoke-Yara
- Powershell scripts to run YARA on remote machines.
- Laika BOSS
- Object scanner and intrusion detection system that strives to achieve the following goals: Scalable, Flexible, Verbose.
- Whitepaper
- Loki
- Simple IOC and YARA rule scanner.
- Malice
- An open source VirusTotal alternative, with YARA support.
- MITRE MultiScanner
- File analysis framework that assists the user in evaluating a set of files by automatically running a suite of tools for the user and aggregating the output.
- node-yara
- YARA support for Node.js.
- OCYara
- Performs OCR on image files and scans them for matches to YARA rules.
- PasteHunter
- Scan pastebin.com with YARA rules.
- QuickSand.io
- Compact C framework to analyze suspected malware documents. Also includes a web interface and online analysis.
- stoQ
- Modular and highly customizable framework for the creation of data sets from multiple disparate data sources.
- yabin
- Creates YARA signatures from executable code within malware.
- YaraGenerator
- Quick, simple, and effective yara rule creation to isolate malware families and other malicious objects of interest.
- YaraGuardian
- Django web inerface for managing YARA rules.
- yaraMail
- YARA scanner for IMAP feeds and saved streams.
- Yara Malware Quick menu scanner
- Adds the awsome YARA pattern scanner to Windows right click menus.
- YaraManager
- Web based manager for YARA rules.
- yarAnalyzer
- YARA rule set coverage analyzer.
- yaraPCAP
- YARA scanner For IMAP feeds and saved streams.
- yara-procdump-python
- Python extension to wrap the YARA process memory access API.
- Yara Python ICAP Server
- ICAP server with YARA scanner.
- Yara-Scanner
- Python-based extension that integrates a YARA scanner into Burp Suite.
- Yara-Validator
- Validates YARA rules and tries to repair the broken ones.
- yaraVT
- Scan files with Yara and send rule matches to VirusTotal reports as comments.
- yarGen
- YARA rule generator for finding related samples and hunting.
- Yeti
- Platform meant to organize observables, indicators of compromise, TTPs, and knowledge on threats in a single, unified repository.
- yextend
- YARA integrated software to handle archive file data.
Services
- MalShare
- Free malware repository providing researchers access to samples, malicous feeds, and YARA results.
- YaraEditor (Web)
- All-in-one website to create and manage YARA rules.
- YaraRules Analyzer
- Upload and run files against rulesets from the YaraRules Project.
People
We're aggregating the Twitter handles for anyone involved with the projects on this page into a single list: awesome-yara Twitter list. Do let us know if anyone is missing.
Related Awesome Lists
- Crawler
- CVE PoC
- Forensics
- Hacking
- HackwithGithub
- Honeypots
- Incident-Response
- Infosec
- IOCs
- Malware Analysis
- ML for Cyber Security
- OSINT
- PCAP Tools
- Pentesting
- Reversing
- Security
- Static Analysis
- Threat Intelligence
Contributing
Pull requests and issues with suggestions are welcome! Please try to keep your changes cleanly formatted and alphabetized. By submitting a PR you agree to release your contributions under the terms of the LICENSE.