develop utility script to detect feature overlap between new and existing capa rules #1451
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
It would be useful to have a utility script that takes a new rule, under development, and compares its feature(s) against the existing rules to determine what existing rules, if any, contain the same feature(s). I see such a script being leveraged during rule development to prevent duplicate detection e.g. https://github.com/mandiant/capa-rules/pull/744/files#r1168985328.
The script in my mind prints a list of existing rules containing feature overlap and leaves it up to the rule developer to determine whether the overlapping features are being used to detect the same/similar capability. "Overlap" could be as simple as feature
A
exists in both the new rule and an existing rule, ignoring other logic like scopes, structural expressions, etc.I'm currently handling this by manually searching the existing rules 😢
The text was updated successfully, but these errors were encountered: