Re: Adding total number of occurrences of multiple strings

2018-09-20 Thread Fernando Mercês
Hi Raghvendra, #str1 + #str2 + #str3 > 20 should work, no? Hope that helps. Att, Fernando Mercês | menteb.in On Thu, Sep 20, 2018 at 3:48 PM raghvendra mishra wrote: > Hi, > I am trying to do a heuristic based detection of malware samples using > YARA and got

Adding total number of occurrences of multiple strings

2018-09-20 Thread raghvendra mishra
Hi, I am trying to do a heuristic based detection of malware samples using YARA and got stuck when i need to add up total number of occurrences of set of strings to detect the sample, For example, say i have a rule like this, *rule Malware_Detection : file* *{* *meta:* *