We have two folders called:
- yararules: here we put our custom yara rules
- yararules.test: here we put the test cases for the
yararules
custom yaras
For each .yar
file inside the yararules
folder, we should create a folder with the same name as the yara file inside the yararules.test/testcases
folder.
- If the test case file starts with
ok-*
it means that the file should not match the yara file.