Anti-Malware Tools

YARA-X – malware pattern matching engine

YARA-X is a pattern matching engine designed to help security researchers identify and classify malware samples. It reimplements YARA in Rust, with an emphasis on performance, memory safety and improved diagnostics for people developing detection rules.

Researchers can describe malware families using textual patterns, hexadecimal byte sequences and regular expressions combined with logical conditions. These rules provide a flexible way to identify suspicious files and recognise common characteristics across malware samples.

YARA-X aims to maintain compatibility with existing YARA rules wherever practical. However, its programming interfaces differ from those of YARA, and some features, including live process scanning, are not supported.

This is free and open source software.

Key Features

  • Scan files and directories using the yr command-line utility, with recursive scanning and multithreading.
  • Compile detection rules in advance and reuse compiled rules for repeated scans.
  • Support for text strings, hexadecimal patterns, regular expressions, wildcards and Boolean conditions.
  • Detailed error reporting with contextual information to help identify problems in detection rules.
  • Inspect matching strings, rule metadata, tags and namespaces when examining scan results.
  • Configurable scanning timeouts, CPU limits and maximum file sizes.
  • Modules for analysing executable formats including PE, ELF, Mach-O, .NET and Android DEX.
  • Extract structured information from supported file formats using the dump command, with JSON and YAML output.
  • Automatic formatting of detection rules using the fmt command.
  • Fix selected rule warnings and encoding issues using the fix command.
  • Analyse dependencies between rules using the deps command.
  • Language Server Protocol support with syntax diagnostics, autocompletion, navigation and formatting.
  • Support for external variables, included rule files and reusable detection logic.
  • Programming interfaces for C/C++, Go, Python and Rust.
  • Improved performance when evaluating complex hexadecimal patterns and regular expressions compared with traditional YARA.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: github.com/VirusTotal/yara-x
Support:
Developer: Victor M. Alvarez
License: BSD 3-Clause ‘New’ or ‘Revised’ License

YARA-X commands

YARA-X is written in Rust. Learn Rust with our recommended free books and free tutorials.


Related Software

Anti-Malware Tools
ClamAVAntivirus engine for detecting trojans, viruses, malware and other threats
YARA-XRe-incarnation of YARA
YARAPattern matching swiss knife for malware researchers
MaltrailMalicious traffic detection system
ClamTkGraphical frontend for ClamAV
LMDMalware scanner focusing on threats faced in shared hosted environments
phpMusselPHP-based anti-virus anti-trojan anti-malware solution
RaspirusLightweight signature-based malware scanner
FastFinderFast suspicious file finder
chkrootkitLocally checks for signs of a rootkit
UnhideForensic tool to find hidden processes and TCP/UDP ports
Atomdrift ScanMalware and supply chain scanner for software security
paranoyaMalware scanner using indicators of compromise and YARA rules
decloakerSecurity tool for revealing objects concealed by malware
LenspectLightweight security threat scanner

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted