yara-parser Logo

yara-parser

0
Free
Visit Website

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

FEATURES

ALTERNATIVES

A tool for signature analysis of RTF files to detect potentially unique parts and malicious documents.

A tool for searching a Git repository for interesting content

A script to detect and remove Canary Tokens with simple signature-based detections.

A Django web interface for managing Yara rules with features like search, categorization, and bulk edits.

A library of PHP unserialize() payloads and a tool to generate them.

A javascript malware analysis tool with backend code execution.

A tool for identifying sensitive secrets in public GitHub repositories

Collects Yara rules from over 150 free resources, a free alternative to Valhalla.

PINNED