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

AttributeError: 'lief.PE.Binary' object has no attribute 'has_signature' #1

Open
vietvo89 opened this issue Mar 15, 2021 · 3 comments

Comments

@vietvo89
Copy link

vietvo89 commented Mar 15, 2021

Hi Anderson

I am doing research on malware evasion and I want to verify pre-trained models provided in this github. However, it seems that there is something wrong with lightGBM but I don't know.

When I executed "python3 models.py some.exe" where "some.exe" is from my local machine, it caused an attribute error. I have verified various benign samples but it always results in the same error. Do you know why? Do my PE files have no "has_signature" attribute at all? If so, why does the code need to check it?

AttributeError: 'lief.PE.Binary' object has no attribute 'has_signature'

There was no problem with other models except lightGBM.

Thanks

@vietvo89
Copy link
Author

Hi

Since this Github does not provide ember package (module), I imported it from EMBER dataset Github. Does this package work for real malware (raw binary format) classifier?
Does ember package can load and extract the right feature for "has_signature" attribute.

Thanks

@comath
Copy link

comath commented Jan 13, 2022

That sounds like a Lief error. Are you sure you have the right version?

@chinggg
Copy link

chinggg commented Aug 22, 2022

It seems has_signatures has replaced has_signature

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

3 participants