Scan files or directories for known malware families using prebuilt YARA rules
Detect malicious PDFs and Office documents before opening them
Identify exploit kit artifacts in network captures or disk images
Flag anti-analysis evasion techniques in suspicious binaries
Requires YARA 3.0+ for PE module support. Distro packages may be outdated, install from source or a maintained repo. Clone and point yara at any rule file to start scanning.
This repository is a community-maintained collection of YARA rules for security researchers and malware analysts. YARA is a tool used in the security field to identify and classify files by matching them against patterns, so a YARA rule is essentially a description of what a suspicious or malicious file looks like. This project gathers many such rules in one place and tries to keep them organized and up to date. The rules are grouped into categories based on what they detect. The malware category targets known malicious programs by name. The malicious documents category covers files like PDFs or Office documents that have been crafted to run malicious code when opened. The exploit kits category identifies specific attack frameworks that criminals use to deliver malware through browsers. Other categories cover anti-debugging and anti-virtual-machine tricks that malware uses to avoid analysis, software packers that hide malware inside legitimate-looking wrappers, web shells that attackers plant on compromised servers, and cryptographic algorithm signatures. There is also a section for rules tied to specific known software vulnerabilities identified by CVE numbers. Using the rules requires YARA version 3.0 or newer, primarily because several rules rely on a module that parses Windows PE executable files, which was introduced in that version. Older Linux distribution packages may ship a version that is too old, so the README suggests installing from source or a maintained package repository. The project is open source under the GNU GPL version 2 license. Security researchers who want to contribute their own rules can submit a pull request or contact the project through its mailing list or Twitter account.
← yara-rules on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.