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

develop script to highlight the features that are not used during matching #331

Closed
williballenthin opened this issue Sep 30, 2020 · 2 comments · Fixed by #1683
Closed

develop script to highlight the features that are not used during matching #331

williballenthin opened this issue Sep 30, 2020 · 2 comments · Fixed by #1683
Assignees
Labels
enhancement New feature or request

Comments

@williballenthin
Copy link
Collaborator

williballenthin commented Sep 30, 2020

to bring light to capabilities for which we do not yet have rules, we should develop a script that highlights the features that have been extracted by capa and yet not used by any rule. these entries might be sorted (and maybe reversed) based on their frequency. for example:

$ python scripts/show-unused-features.py /tmp/suspicious.dll_

count  feature
-----  -------
1      api: ClearEventLog
1      api: RtlPushFrame
...    ...
1145   mnemonic: push

a rule author could review these features an decide "hey, we need to cover event log clearing!" and use this output as inspiration.

@Aayush-Goel-04
Copy link
Contributor

@williballenthin , I'd like to take a shot at this

@williballenthin
Copy link
Collaborator Author

@Aayush-Goel-04 go for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants