Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

undefined identifier "is__elf" #323

Closed
jestrada78 opened this issue Jul 25, 2018 · 6 comments
Closed

undefined identifier "is__elf" #323

jestrada78 opened this issue Jul 25, 2018 · 6 comments
Assignees
Labels

Comments

@jestrada78
Copy link

Hello.
When I execute the next command:

vol.py -f mem.elf --profile=Win7SP1_24000 yarascan -y c:\rules-master\index.yar
I get tehe following message:
ERROR : volatility.debug : Cannot compile rules: ./malware/MALW_Mirai_Okiru_ELF.yar(21): undefined identifier "is__elf"

I'm new with yara..
Thanks in advance

@jestrada78
Copy link
Author

Please can someone explainme what is this?

@jovimon
Copy link
Member

jovimon commented Aug 7, 2018

Hello @jestrada78,
The line that generated your error contains a reference to a rule that resides in this other file.
There wasn't a link for the other file in the general index.yar file so it couldn't find the reference.
I just solved the problem with commit 26f4381.
Please update your repo and check again.
If the error is gone please let us know and close the issue.
Thank you very much.

@jestrada78
Copy link
Author

Thank you!! I realized just yesterday that the possible problem could be that the file 000_common_rules.yar was not included in the index. I added it, but in that case it said that it was duplicated, but when I'm home I'll check and try what you say

@jholgui
Copy link
Member

jholgui commented Aug 30, 2018

@jestrada78, is it solved problem??

@jestrada78
Copy link
Author

jestrada78 commented Aug 31, 2018

Yes it is. I downloaded it again a time after and it looks to have been solved

@seifreed
Copy link
Contributor

seifreed commented Sep 1, 2018

Closing the issue, as was resolved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants