-
Notifications
You must be signed in to change notification settings - Fork 462
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
exclude/tag strings referenced by library functions (identified by FLIRT) #362
Comments
Hello @williballenthin, I have a question about this issue. Doesn't FLOSS already recognize library functions using viv-utils? Can we use that to tag strings used by these? I guess we could use the addresses to see if the strings are used within the functions, but not sure about arguments etc. though.. |
Exactly, for recognized functions we can mark associated strings up accordingly. This markup doesn't happen currently and we would also have to discuss and/or change the rendering of identified library-related strings. |
yeah! this is just what we want to explore. seems like the data is there and shouldn’t be too hard, but we’d like to try it out and see if the idea works.
then there’s additional research to be done to improve library detection, especially when the signatures don’t match well.
|
Ah sorry @mr-tz beat me too it (and by a lot, sorry, im just traveling back home today).
|
We don't have any signatures for GCC currently. We could try with the rizin libs (https://github.com/rizinorg/sigdb). |
Oh I see. I can test around with this issue and see if I can do something about it. |
Is there any data I can use to test the code? Something that has library functions with strings that can be recognized by FLOSS. @mr-tz @williballenthin |
i dont think we have any binaries handy right night, but using something statically linked with OpenSSL or zlib should provide a good starting point, since those strings are fairly obvious and easy to correlate with the source code, and FLIRT signatures should work reasonably well against them. |
Plus Microsoft Visual Studio CRT functions from many versions (see https://github.com/mandiant/siglib/); when using the default signatures. I'd recommend to find a file, e.g., from https://github.com/mandiant/capa-testfiles that has many library function identifications and start from there. |
@mr-tz Sorry I don't understand what you mean. Could you please explain more? |
Sorry for being unclear. My comment was meant as an addition to Willi's comment above it. Our signatures should also pick up standard run-time (library) functions used by MS Visual Studio compiled binaries. |
No description provided.
The text was updated successfully, but these errors were encountered: