I am successfully established suricata as IDPS in my PC. Now I trying to create signature rule to generate an alert for zoom, spotify and mega applications with the help of Datasets Keyword in suricata documentation. But the logs are not generated by suricata. I think i am configuring dataset in wrong way.
Kindly please help me.
Sir, i looked at the dns traffic that i captured in the wireshark. The domain name for zoom is zoom.us. when i created a normal rule to detect zoom traffic then it worked. I just put zoom keyword in the content of my signature rule.
Go to /etc/suricata/rules/custom.rules and add a custom i.e alert ip any any → any any (msg:”APP_DETECT”; dns.query; dataset:isset,dns-bl; sid:123; rev:1;)
go to suricata.yaml file and add custom.rules at rule-files
Sir, all the configuration files are correct as i created many rules and also tested them. Suricata working properly with that rules. I am just enthusiast to create signature rules by using datasets.
Help me!!
@ish@Eric_Leblond
Respected Members,
Finally, i am getting logs. But still not working.
I have some queries mentioned below such as the websites with the same domain names are still opening and the applications of the same are working. Kindly Check my steps and resolve my query that why the websites are working. I am still confused that the applications are blocked with my signature rule or some network issue, because without opening the specific application i mentioned in the dataset(dns-bl.lst) the logs generate. Steps:
As mentioned in the documentation it’s be like this dataset:isset,dns-bl but via doing this not a single log generate but via doing dataset:set,dns-bl generate logs.