Snort mailing list archives

Mis-Matching traffic with PCRE Rules


From: waseem sarwar <waseemsarwar103 () hotmail com>
Date: Fri, 8 Mar 2013 15:43:13 +0500

Hi,
I have a pcre based rule as follow in my rules file,
alert udp any any -> any 53 (msg:"MALWARE domain capodeicapi.eu"; pcre:"m/capodeicapi.eu/i"; classtype:trojan-activity; 
sid:5000968;)
The issue I am facing is that this rule also matches for the domain http://capo.eu which it should not match. I am also 
facing similar problem with more pcre rules such that they match sub string based url of actual rules . I am using 
snort version 2.9.1.
Kindly let me know if I have any problem with snort syntax or pcre usage and how to resolve it. Your help will be 
highly appreciated. Thanks in anticipation. 
Regards,Waseem                                    
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Snort-devel mailing list
Snort-devel () lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/snort-devel
Archive:
http://sourceforge.net/mailarchive/forum.php?forum_name=snort-devel

Please visit http://blog.snort.org for the latest news about Snort!

Current thread: