YARA

VirusTotal·VirusTotal.YARA

The pattern matching swiss knife for malware researchers (and everyone else)

YARA is a tool aimed at (but not limited to) helping malware researchers to identify and classify malware samples. With YARA you can create descriptions of malware families (or whatever you want to describe) based on textual or binary patterns. Each description, a.k.a rule, consists of a set of strings and a boolean expression which determine its logic.

winget install --id VirusTotal.YARA --exact --source winget

Latest 4.6.0·October 27, 2026

Release Notes
  • Add yr_get_version to report the version of the library loaded at runtime (#2247).
  • Expose nine more e_machine values in elf module (#2248).
  • Sync yara man page with current CLI options (#2256).
  • BUGFIX: Validate string, rule, and namespace indices in yr_rules_from_arena (c19fa616).
  • BUGFIX: Fix C-stack overflow on deeply nested regex and hex string ASTs (034623f5).
  • BUGFIX: Fix integer overflow in console.log() string escaping (6de23b4f).
  • BUGFIX: Fix integer overflows in ELF symbol lowercasing and SIMPLE_STR (49088776).
  • BUGFIX: Fix 32-bit integer overflow when allocating the VM stack (3aa7cd10).
  • BUGFIX: Fix 32-bit integer overflow in _yr_compiler_default_include_callback (b325745a).
  • BUGFIX: Fix integer overflow and unchecked allocation in Authenticode digest formatting (5fb6a209).
  • BUGFIX: Fix VM stack corruption when a disabled rule is used inside a rule set (6e6f9968).
  • BUGFIX: Harden regex anchor and match bounds checks and allow nullable repeats in _yr_re_fiber_sync (9f881b2a).
  • BUGFIX: Fix 32-bit match length truncation and notebook allocation overflow on chained strings (0bf3faf2).
  • BUGFIX: Fix infinite loop and fiber exhaustion on repeated zero-width assertions in regexes (f8e1ca2e).
  • BUGFIX: Prevent exponential memory and CPU growth on nested {n} regex repeats (c1e0dff9).
  • BUGFIX: Fix infinite loop/abort when compiling + regex quantifier over zero-code nodes (1cf79dd0).
  • BUGFIX: Validate compiled-rule external variables (#2244).
  • BUGFIX: Reset entrypoint in yr_scanner_clean_matches (#2245).
  • BUGFIX: Fix misaligned uint32_t load of map_list.size in dex module (#2249).
  • BUGFIX: Request MD5 with -fips on OpenSSL 3 and handle failure in hash, pe, and elf modules (#2252).
  • BUGFIX: Enforce arena buffer bounds invariant in every build (#2253).
  • BUGFIX: Harden Authenticode parsing against malformed data (a37be989).
  • BUGFIX: Validate arena buffer count (0cdff367).
  • BUGFIX: Reject hex jump and repeat lengths that overflow an int (#2237).
  • BUGFIX: Bound Aho-Corasick state and match indices on load (#2241).
  • BUGFIX: Guard repeat-end against empty stack in _yr_re_fiber_sync (#2240).
  • BUGFIX: Bound jump target within code section in yr_execute_code (#2236).
  • BUGFIX: Reject unknown object type in yr_object_create (#2235).
  • BUGFIX: Check stored digest length before comparing Authenticode digests (#2234). Contributors: @0xdeadbab3 @dev-rehaann @Henglie @jmestwa-coder @M0nd0R @MarkAtwood @MRX-72 @munzzyy @Rakesh717 @wxsBSD, Hongduo Zhao, Ada Logics, and Anthropic

Installer type: zip

x86—AA43639D542CA45C9D0C2F589BDF8ECD1C2399C8B0D052C4631354D198A45C52
x64—5E7124F173ED442458429AC0F79A4DB2C024CC183C595737D477A7575D81E6DC

Details

Homepage
https://virustotal.github.io/yara/
License
BSD-3-Clause
Publisher
VirusTotal
Support
https://github.com/VirusTotal/yara/issues
Copyright
Copyright (c) 2007-2026. The YARA Authors. All Rights Reserved.

Older versions (4)

4.5.5
x86—2CC0B3388039629653B2EF581AB2553670F021A88C9B0FE1D0E35151317399F3
x64—352396C8A3D9B31B157A4820ABD3B9347FC934A2314CDDA8A4F566A5570163E4
4.5.3
x86—7048CB64FDC50B273EDAD2AAD2F9224E6027AF991EDE45127D883781014DBCF4
x64—475B3B117DC6130DF2D19A2E866BF2ABC5E62EB058E8AB81FD79F6955ACE3306
4.5.2
x86—C7A8584133F4438764B8F247489C0C121B16422FD65B76D7A1A754DA79FE5F25
x64—9F934CC4C5DE653324A5714736077F57667A06009BEE7984D960634AE0662DC6
4.3.2
x64—D878593371A0CDC0946A26E460C3BF0A0964018647A0E2239B1DC25DDC0D2365