Capa-scripts: how to match imported classes and static methods in source code #1109
Unanswered
adamstorek
asked this question in
Ideas
Replies: 1 comment 2 replies
-
I think "over-reporting" features would work as a good first solution. If we notice accuracy or performance hits, we could then add a solution like the proposed target list. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ideally, we would like to match process creation in any of the following scenarios:
This would be trivial if we knew what we are looking for before feature extraction. However, capa does not. Another alternative would be to extract all possible combinations as features, leading to the extraction of the correct feature but also to many very wrong features being extracted, such as: System.IO.Process etc. Potentially, a way out of this dilemma would be to maintain a list of classes etc. we are interested (e.g. System.Diagnostics.Process) and with each new object instantiation etc. iterate through all imported namespaces and check whether this combination is a known "signature" or not.
Beta Was this translation helpful? Give feedback.
All reactions