File name and type in TagCheck rules (& YARA rules) to be used for matching #269
Labels
accepted
This issue was accepted, we will work on this at some point
bug
Something isn't working
service-tagcheck
service-yara
Related to YARA service
Discussed in #264
Originally posted by kam193 September 19, 2024
I use TagCheck service to mark some indicators - and this is a great feature! However, I could potentially lower the number of false positives if I could filter out given file names and types (in my use case, the file name often matters more than type).
And here comes my question: is it already supported by TagCheck? I'm not sure if I don't miss something: generally, TagCheck seems to get only data from
Tagging
ODM models (tagcheck/tagcheck.py#L9), which, I think, do not usually contain those data. I see however mentioning e.g.file_type
in the defaultYARA_EXTERNALS
(yara_/helper.py#L13), but it looks to be used only in the default Yara service (yara_/yara_.py#L57 - and BTW, won't they get theal_al_
prefix in the yara_/yara_.py#L64?).So, I'm unsure if I didn't miss anything. Is the case of matching name and/or type of the submitted file already supported?
The text was updated successfully, but these errors were encountered: