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

why use imphash for elf file #44

Open
gaohang opened this issue May 10, 2023 · 1 comment
Open

why use imphash for elf file #44

gaohang opened this issue May 10, 2023 · 1 comment

Comments

@gaohang
Copy link

gaohang commented May 10, 2023

imphash is an effective way to identify binary files. In yarGen, I see imphash generated for pe file. But, why do generate imphash for elf files?
how to generate imphash for elf files by python?

@seekamoon
Copy link
Contributor

seekamoon commented Dec 24, 2023

I am afraid that it is impossible to generate imphash (which has exactly the same definition of PE) for ELF since associating the imported functions with the corresponding libraries is non-trivial for ELF.

But there are some alternatives which have the similar effect (e.g., telfhash [1] and ImpELF [2]).

[1] https://github.com/trendmicro/telfhash
[2] https://github.com/signalblur/impelf

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

2 participants