Snort mailing list archives

Snort rules with openAppId feature


From: Guillaume DALEUX <guillaume.daleux () gmail com>
Date: Tue, 25 Mar 2014 02:20:52 +0100

Hello,

I have one question about snort with openappid.

I know that the 'metadata service" keyword is now very important with
Sourcefire v5 because rules without this keyword are not inspected even if
the port variable is correct.

For example, this rule will never match on http (even if the destination
port is 80) :
alert tcp any any -> any 80 (content:"toto");

And this rule will match :
alert tcp any any -> any 80 (content:"toto"; metadata:"service http");

I would like to know if I will have the same behaviour with the last snort
version with openappid feature ?

If yes, I will have a problem to detect non standard port.

For example, if I want to detect a non standard port for http server, I
would like to try something like that :

alert tcp any any -> any !80 (msg:"non standard HTTP port"; appid: http;
sid:1000000; rev:1; )

But, if http rules are only inspected if "metadata service http" keyword is
present. I will add it and my rule will always match....

Regards,

Guillaume
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users

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

Current thread: