-
Notifications
You must be signed in to change notification settings - Fork 143
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
Find office file entry points via callgraph #215
Conversation
…e on doc/excel files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fingers crossed for this idea to work well, overall looks pretty interesting
I'm testing this PR locally |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tested locally on some emotet samples, seems to work fine, LGTM
Co-authored-by: Michał Leszczyński <[email protected]>
The naive solution (just opening office document) might not be enough. This pull request introduces the approach to detect the non standard entry points of macro call chains. It uses Vba2Graph project to create a call graph and then finds the outer nodes. Finally it uses the
/m
flag to open the sample file and trigger all macros which belong to the outer nodes.The pr. is in draft form as:
oletools
has a bug but the PR fixing it is already waiting for review.