
This repository contains an IDA processor for loading and disassembling compiled yara rules.
Yara is a tool for matching patterns in files, commonly used for malware analysis. Yara rules can be compiled into a binary format that can later be loaded and executed. This repository contains a processor module and a loader for IDA Pro, enabling you to load and analyze compiled Yara rules.
To install the YaraVM into IDA, follow these steps:
yara_loader.py file to the IDA loaders folder.yara_proc.py file to the IDA proc folder.libyara.til file to the IDA til folder.For convenience, you can use the following commands to create the necessary symlinks:
mkdir -p ~/.idapro/loaders
mkdir -p ~/.idapro/procs
mkdir -p ~/.idapro/til
ln -s $PWD/src/yara_loader.py ~/.idapro/loaders/yara_loader.py
ln -s $PWD/src/yara_proc.py ~/.idapro/procs/yara_proc.py
ln -s $PWD/src/libyara.til ~/.idapro/til/libyara.til
You can load the file test.yar.bin into IDA Pro to see the Yara bytecode and the regex bytecode.
