[Snort-users] How to ignore Referrer: header?

Williams Jon WilliamsJon at ...2134...
Fri Nov 2 08:24:04 EST 2001


I'm getting a lot of false positives on the WEB-MISC http directory
traversal rule.  In each one, the "../.." part isn't in the actual request,
its in the Referrer: header.  Is it possible to write the rule in such a
manner that it only triggers on stuff in the request and ignores the rest of
the packet?  The rule in question is:

alert tcp $INTERNAL any -> any 80 (msg:"WEB-MISC http directory traversal";
flags: A+; content: "../"; reference:arachnids,297;
classtype:attempted-recon; sid:1113; rev:1;)

Thanks.

Jon





More information about the Snort-users mailing list