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

Support analyzing a binary ninja database #2496

Closed
xusheng6 opened this issue Nov 19, 2024 · 3 comments
Closed

Support analyzing a binary ninja database #2496

xusheng6 opened this issue Nov 19, 2024 · 3 comments
Milestone

Comments

@xusheng6
Copy link
Contributor

xusheng6 commented Nov 19, 2024

It would be great if capa can directly take a binja database as input for analysis. A common situation is a binary needs to be pre-processed in binja to remove certain packing/obfuscation. Right now we have to somehow export the PE to have it be processed by capa.

This is not only less-convenient, certain changes made in binja does not necesarily show up in the exported PE. Think of when you add a new segment in the analysis database, it would not be part of the exported PE. Another less obvious case is when the IL has been rewritten by a workflow -- there would be no way to export the resulting IL to the PE

As such, it would be great if capa can directly take a binja database as input and ask binja to do the feature extraction

Related to #2489

@xusheng6
Copy link
Contributor Author

Apparently the same can be done with other backends as well

@mr-tz
Copy link
Collaborator

mr-tz commented Nov 19, 2024

Yes, that would be very neat. With idalib it should be not too complicated to adjust for IDA for example.

@xusheng6
Copy link
Contributor Author

xusheng6 commented Dec 3, 2024

Added in a6481df

@xusheng6 xusheng6 closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants