-
Notifications
You must be signed in to change notification settings - Fork 84
how to build
Tomoaki Tani edited this page Aug 4, 2023
·
1 revision
Follow these steps to build the YAMA scanner:
- Clone the repository using git clone:
git clone https://github.com/JPCERTCC/YAMA.git
- Download submodules:
cd YAMA-dev
git submodule update --init --recursive
-
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. -
If this is the initial build, execute the following batch file:
cd /path/to/repository
.\clean-build.bat
- Upon build completion, the output will be created at the following path:
.\build\Yama.exe
To build a YAMA Scanner with different rules, follow these steps:
-
Update
rsrc/ioc/rule.yara
-
Perform a differential build:
cd /path/to/repository
.\yara-update-build.bat
- Upon build completion, the output will be created at the following path:
.\build\Yama.exe