[BUG] RAT_PoetRATDoc.yar and RAT_PoetRATPython.yar both define same rule
MJJoker opened this issue · 1 comments
MJJoker commented
Describe the bug
the two rule-files down below define the rule name "PoetRat", which may lead to errors when running "index.yar"
- malware/RAT_PoetRATDoc.yar
- malware/ .yar
To Reproduce
Steps to reproduce the behavior:
- navigate to the rules folder
- run "yara index.yar"
Expected behavior
all rules are loaded and the target files are scanned
Desktop (please complete the following information):
- OS: Ubunut 18.04.4
- Yara version 3.7.1
Additional context
the exact error message is:
/tmp/rules-master/./malware/RAT_PoetRATPython.yar(1): error: duplicated identifier "PoetRat"