Open jdsnape opened 5 years ago
The workaround I've used for this is to just use absolute paths in your include files, the yara-python parser doesn't like relative paths. So switch from ./malware/MALW_AZORULT.yar
to /path/to/rules/malware/MALW_AZORULT.yar
until there is some fix.
Same bug here, and somehow all the rules that are triggering this issue are rules using androguard. Any clue where that could come from ?
I was also running into this issue, and started playing around with MALW_AZORULT.yar
when compiling it alone, I got an error about not being able to find cuckoo
. My problem was related to #28
The solution for me was to re-install with:
pip install --global-option="build" --global-option="--enable-cuckoo" --global-option="--enable-magic" yara-python
Yara raises a syntax
The rule MALW_AZORULT.yar doesn't refer to the exe2hex payload rule:
running the same command with yara itself works fine (albeit with warnings):
On a different machine, I get the same error but with different files. If I remove the MALW_AZORULT.yar file I get the same error with a different rule each time. This error also happens with https://github.com/Neo23x0/signature-base