Snort mailing list archives

Re: question about ICMP echo reply (undefinted code) rule


From: Rob Burris <robeb () orionsarm org>
Date: Thu, 20 Nov 2003 17:59:08 -0700

Matt Kettler wrote:

At 04:34 PM 11/20/2003, Rob Burris wrote:

alert icmp $EXTERNAL_NET any -> $HOME_NET any (msg:"ICMP Echo Reply (Undefined Code!)"; itype: 0; sid:409; classtype:misc-activity; rev:4;)

But isn't this type of ICMP message expected back from the machine that is replying to the request?


Technically itype 0 icode 0 is expected. itype 0 with any other icode is not.

This rule is really meant to be used in conjunction with SID 408... SID 408 picks up the ones with icmp type/code of 0/0, and then 409 picks up everything else.


Ok that makes sense, but then shouldn't snort log the message with SID 408 instead of SID 409? If I ping yahoo.com snort logs the alert as SID 409. Why would yahoo.com reply with a invalid or undefined icmp message?

|[**] ICMP Echo Reply (Undefined Code!) <http://snort.keepthevibe.com/sig/sigsid-409.html> [**] 2003-11-20:14:10:45 66.218.71.198 <http://snort.keepthevibe.com/66/218/71/src66.218.71.198.html> -> 10.0.1.1 <http://snort.keepthevibe.com/10/0/1/dest10.0.1.1.html>
ICMP TTL:243 TOS:0 ID:48631 IpLen:5 DgmLen:84
Type:0 Code:0 ID: Seq:|

- rob




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
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


Current thread: