|
|||||||||||
|
[Snort-devel] IP dgm len < IP Hdr len Alert question
From: John Weidley <john(at)packetshack.org>
Date: Wed Apr 30 2003 - 12:26:52 EDT
[**] [116:3:1] (snort_decoder) WARNING: IP dgm len < IP Hdr len! [**] 04/22-10:15:45.540548 AAA.AAA.16.30 -> BBB.BBB.198.38 ICMP TTL:127 TOS:0x0 ID:12788 IpLen:20 DgmLen:6 ICMP header truncated [**] [116:3:1] (snort_decoder) WARNING: IP dgm len < IP Hdr len! [**] 04/22-10:15:50.628152 AAA.AAA.16.30 -> BBB.BBB.198.38 ICMP TTL:127 TOS:0x0 ID:12867 IpLen:20 DgmLen:6 ICMP header truncated [**] [116:3:1] (snort_decoder) WARNING: IP dgm len < IP Hdr len! [**] 04/22-10:15:55.635856 AAA.AAA.16.30 -> BBB.BBB.198.38 ICMP TTL:127 TOS:0x0 ID:12987 IpLen:20 DgmLen:6 ICMP header truncated [**] [116:3:1] (snort_decoder) WARNING: IP dgm len < IP Hdr len! [**] 04/22-10:16:00.643454 AAA.AAA.16.30 -> BBB.BBB.198.38 ICMP TTL:127 TOS:0x0 ID:13056 IpLen:20 DgmLen:6 ICMP header truncated [**] [116:3:1] (snort_decoder) WARNING: IP dgm len < IP Hdr len! [**] 04/22-10:16:05.651236 AAA.AAA.16.30 -> BBB.BBB.198.38 ICMP TTL:127 TOS:0x0 ID:13153 IpLen:20 DgmLen:6 ICMP header truncated
I went to a raw tcpdump capture file of all traffic on the network and
searched for all packets with a datagram length of 6 and got no output.
So I looked at all ICMP traffic between the 2 hosts. I found a 65K ICMP ping from a trusted box going to an external destination. This is obviously a seperate issue as to why this is happening and the wrong icmp checksum. Here are the fragmented ICMP packets.
10:22:14.658918 AAA.AAA.16.30 > BBB.BBB.198.38: icmp: echo request (wrong
icmp csum)
10:22:14.660093 AAA.AAA.16.30 > BBB.BBB.198.38: (frag 19019:1480@1480+) (ttl
127, len 1500)
When I show the hex output and calculate the IHL and the total packet
length, things just
10:22:14.658918 AAA.AAA.16.30 > BBB.BBB.198.38: icmp: echo request (wrong
icmp csum)
4500 05dc 4a4b 2000 7f01 7c67 AAAA 101e
IHL - (5 * 4) = 20
Where is Snort getting a datagram length of 6 bytes? System Architecture: x86 Operating System and version: Linux 2.2.19pre17 Version of Snort: Version 2.0.0 (Build 72) What preprocessors you loaded: preprocessor frag2 preprocessor stream4: detect_scans, disable_evasion_alerts preprocessor stream4_reassemble preprocessor http_decode: 80 unicode iis_alt_unicode double_encode iis_flip_slash full_whitespace preprocessor rpc_decode: 111 32771 preprocessor bo preprocessor telnet_decode preprocessor portscan: $HOME_NET 4 3 portscan.log preprocessor portscan-ignorehosts: $DNS_SERVERS What rules (if any) you were using: include ./classification.config include ./reference.config include $RULE_PATH/bad-traffic.rules include $RULE_PATH/exploit.rules include $RULE_PATH/scan.rules include $RULE_PATH/finger.rules include $RULE_PATH/ftp.rules include $RULE_PATH/telnet.rules include $RULE_PATH/rservices.rules include $RULE_PATH/dos.rules include $RULE_PATH/ddos.rulesinclude $RULE_PATH/dns.rules include $RULE_PATH/tftp.rules include $RULE_PATH/web-cgi.rules include $RULE_PATH/web-misc.rules include $RULE_PATH/web-client.rules include $RULE_PATH/web-php.rules include $RULE_PATH/sql.rules include $RULE_PATH/x11.rules include $RULE_PATH/netbios.rules include $RULE_PATH/misc.rules include $RULE_PATH/attack-responses.rules include $RULE_PATH/oracle.rules include $RULE_PATH/mysql.rules include $RULE_PATH/snmp.rules include $RULE_PATH/smtp.rules include $RULE_PATH/imap.rules include $RULE_PATH/pop3.rules include $RULE_PATH/nntp.rules include $RULE_PATH/other-ids.rules include $RULE_PATH/experimental.rules include $RULE_PATH/local.rules include $RULE_PATH/virus.rules What output plug-ins you loaded: output log_tcpdump: tcpdump.log output database: log, mysql, user=user password=pwd dbname=snort host=127.0.0.1 sensor_name=sen What command line switches you were using: -i $INTERFACE -z -F /etc/snort/ignore-filter.bpf -c /etc/snort/rules/snort.conf -l /var/log/snort -o -D Any Snort error messages: None This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf Snort-devel mailing list Snort-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/snort-devel Received on Thu May 1 08:46:35 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:08:05 EDT |
||||||||||
|
|||||||||||