-
Notifications
You must be signed in to change notification settings - Fork 564
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
detect ELF OS via libc sysdeps .symtab entries #1403
Comments
use UPX unpacked 0a1a8ca1ce27a04bf9618fe0f6bc94e6 as a test case |
Hi @williballenthin , this problem looks interesting to me , though not sure if I would be able to solve this. Could you tell me how to proceed on this ? |
most of the details i have at the moment are in the above issue text (which means, there aren't many details fleshed out yet). so, you'll have to do most of the research to figure out how to make this work. i'd recommend using |
Correct me if I'm wrong. The |
This comment was marked as off-topic.
This comment was marked as off-topic.
|
I tried to convert the https://github.com/mandiant/capa/blob/master/capa/features/extractors/elf.py file using pyinstaller, and ran readelf. But couldn't find any |
Hi @williballenthin, I'd love to get assigned this enhancement, I think I know how to implement it. |
Sure, go ahead and take a stab and open a PR.
|
Could anyone please make me understand how this problem was solved from start ? How did you find out the entries etc...etc. |
have you read through the changes in https://github.com/mandiant/capa/pull/1422/files and do you understand what they do? |
Originally posted by @williballenthin in #1402 (comment)
there's a potential new hint: .symtab entries for libc resources related to linux:
we should update our OS detection (here: https://github.com/mandiant/capa/blob/master/capa/features/extractors/elf.py) to use these entries to identify the underlying OS as linux.
The text was updated successfully, but these errors were encountered: