Snort mailing list archives

Re: Boolean/Logical Operators in SNORT


From: "praveen_recker ." <praveen_recker () sify com>
Date: Fri, 8 Jun 2012 20:42:12 +0530

Didn't get you question exactly, hope below explanation might be helpful.
AND condition: if you want both the keywords in a single packet then use
content keyword twice in the rule
OR condition: use PCRE

Please revert back if not clear.

Best Regards,
Praveen Darshanam


On Fri, Jun 8, 2012 at 12:40 PM, Abhishek Sharma <abhisheksharma84 () gmail com
wrote:

All,

I was trying to achieve a boolean match in snort and need some help around
that. Suppose I want to filter all packets which have the keywords "ABCDEF"
AND the keywords "GHIJKL" in them, can I achieve this in snort? If yes, can
someone guide me on how to write this rule please?

Regards,
Abhi


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest
Snort news!

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Snort-users mailing list
Snort-users () lists sourceforge net
Go to this URL to change user options or unsubscribe:
https://lists.sourceforge.net/lists/listinfo/snort-users
Snort-users list archive:
http://www.geocrawler.com/redir-sf.php3?list=snort-users

Please visit http://blog.snort.org to stay current on all the latest Snort news!

Current thread: