
A Go library for manipulating YARA rulesets with the ability to programatically change metadata, rule names, and more.
Checked October 2026.
yara-parser is a Go library for manipulating YARA rulesets. Its key feature is that it uses the same grammar and lexer files as the original libyara to ensure that lexing and parsing work exactly like YARA. The grammar and lexer files have been modified to fill Go data structures for ruleset manipulation instead of compiling rulesets for data matching.
Using yara-parser, one will be able to read YARA rulesets to programatically change metadata, rule names, rule modifiers, tags, strings, and more. The ability to serialize rulesets to JSON for rule manipulation in other languages is provided with the y2j tool.
Similarly, j2y provides JSON-to-YARA conversion, but do see Limitations below. Installation For the following go get commands, if you experience any issues, they are likely due to outdated versions of Go. The project uses features introduced in Go 1.10.
Installation should proceed normally after an update. To install (or update) everything at once, the following command can be used: go get -u github.com/Northern-Lights/yara-parser/... y2j: YARA to JSON Use the following command to install the y2j command for converting YARA rulesets to JSON. go get -u github.com/Nor
No core features are listed for this product yet, so check the vendor's documentation for the full feature list.
No integrations are listed for this product yet. Check the vendor's documentation, or ask the vendor which integrations and APIs it supports.
Common questions about yara-parser: features, pricing and alternatives.
yara-parser is a product in the Detection Engineering category. It covers Rule Engine and YARA.
yara-parser is free. Download and setup instructions are at https://github.com/Northern-Lights/yara-parser/.
Alternatives to yara-parser listed on CybersecTools:
Compare all yara-parser alternatives at https://cybersectools.com/alternatives/yara-parser
yara-parser is available as on-premises software. It is listed for startups, small businesses, mid-market companies and enterprises. It is free.
Side by side: features, pricing model and the company behind each one.
YARA-Endpoint is a client-server architecture tool that can be used for endpoint protection and incident response.
A collection of YARA rules specifically designed for forensic investigations and malware analysis, providing pattern matching capabilities for files and memory dumps.
Embeddable Yara library for Java with support for loading rules and scanning data.
Collects Yara rules from over 150 free resources, a free alternative to Valhalla.
A repository of YARA rules for identifying and classifying malware through pattern-based detection.
Repository of YARA rules for Trellix ATR blogposts and investigations
On our shortlist?
No shortlist covers this product's category yet. The closest is Best MDR Solutions for Business.
Get a summary of this page from your assistant.
Mandos MCP: ask about all 9,032 products.
Connect your AI