Skip to content

how to build

Tomoaki Tani edited this page Aug 4, 2023 · 1 revision

Building YAMA Scanner

Follow these steps to build the YAMA scanner:

Initial Build

  1. Clone the repository using git clone:
git clone https://github.com/JPCERTCC/YAMA.git
  1. Download submodules:
cd YAMA-dev
git submodule update --init --recursive
  1. Write the malware detection rules you want to apply in rsrc/ioc/rule.yara. If there are multiple rules, combine them into a single file.

  2. If this is the initial build, execute the following batch file:

cd /path/to/repository
.\clean-build.bat
  1. Upon build completion, the output will be created at the following path:
.\build\Yama.exe

YARA Rule Update Build

To build a YAMA Scanner with different rules, follow these steps:

  1. Update rsrc/ioc/rule.yara

  2. Perform a differential build:

cd /path/to/repository
.\yara-update-build.bat
  1. Upon build completion, the output will be created at the following path:
.\build\Yama.exe
Clone this wiki locally