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 library of PHP unserialize() payloads and a tool to generate them.

Go bindings for YARA with installation and build instructions.

A PE/COFF file viewer that displays header, section, directory, import table, export table, and resource information within various file types.

A disassembly framework with support for multiple hardware architectures and clean API.

A dataset release policy for the Android Malware Genome Project, requiring authentication and justification for access to the dataset.

A detailed analysis of malicious packages and how they work

Abusing the COM Registry Structure: CLSID, LocalServer32, & InprocServer32

Largest open collection of Android malware samples, with 298 samples and contributions welcome.

PINNED