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

hash.md5() missing in Python YARA 3.6.x #757

Open
Neo23x0 opened this issue Oct 11, 2017 · 8 comments
Open

hash.md5() missing in Python YARA 3.6.x #757

Neo23x0 opened this issue Oct 11, 2017 · 8 comments

Comments

@Neo23x0
Copy link
Contributor

Neo23x0 commented Oct 11, 2017

I upgraded yara-python from 3.5.0 to 3.6.3 and noticed errors if conditions contain a hash.md5 statement.

invalid field name "md5"

In version 3.5.0, the pe.imphash wasn't available. I thought that both depend on the OpenSSL integration.

invalid field name "imphash"
@justNik101
Copy link

justNik101 commented Oct 12, 2017

for my case hash module is working well in python yara 3.6.3 on Ubuntu but not on windows (No module named hash -_-)

@Neo23x0
Copy link
Contributor Author

Neo23x0 commented Oct 16, 2017

I'd like to add that a simple import "hash" leads to an error Unknown module "hash" with YARA Python 3.6.3.

@justNik101
Copy link

Same here ( why is this case for windows ......)

@jane567
Copy link

jane567 commented Feb 19, 2018

Same issue

@garanews
Copy link

garanews commented Apr 5, 2018

Any news about this issue?

@Maxou56800
Copy link

Same issue :/

@sim0nx
Copy link

sim0nx commented May 20, 2019

In case anybody else is struggeling with this, make sure you have the openssl-dev package installed before installing yara-python. On Debian this is called libssl-dev.
Uninstall / re-install yara-python and you should be good.

At least this did the trick for me.

@R34rvi3w
Copy link

R34rvi3w commented Jul 8, 2019

Are there any workarounds for this? libssl-dev is not available for macOS and occurs with openssl 1.0.2s

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

No branches or pull requests

7 participants