next up previous contents
Next: Scripted and Automated Activity Up: Investigations Previous: Investigations   Contents


Snort Alert Investigations

Table 3.1 shows a complete list of the snort alerts triggered by the data analyzed. These alerts were generated using the method discussed in Section 2.8. The alerts in bold are the ones we will have a closer look at. The selection of events was done based on three criteria:

  1. The severity of the snort alert triggered (e.g., a buffer overflow event is more severe than the detection of IRC traffic).
  2. The level of precision of the snort rule (e.g., some snort rules only look for certain port numbers in the traffic, which is very prone to false positives).
  3. Some analysis of the packets triggering the snort rules (e.g., most of the rules looking for Web traffic related attacks, are false positives; they are very loosely written and merely check for the presence of a certain string in the HTTP protocol).


Table 3.1: All the snort alerts triggered by the data analyzed. The alerts in bold are the ones that will be further investigated.
Count Alert Count Alert
64466 SCAN synscan portscan 64466 SCAN SYN FIN
45820 SCAN Squid Proxy attempt 44872 SCAN Proxy Port 8080 attempt
29008 WEB-IIS header field buffer overflow attempt 21102 P2P GNUTella client request
21082 P2P Outbound GNUTella client request 20714 P2P Inbound GNUTella client request
11790 SCAN SOCKS Proxy attempt 9188 (http_inspect) BARE BYTE UNICODE ENCODING
3690 (http_inspect) OVERSIZE REQUEST-URI DIRECTORY 1813 (http_inspect) IIS UNICODE CODEPOINT ENCODING
1801 BACKDOOR Q access 1485 SCAN nmap TCP
1470 P2P Napster Client Data 1137 CHAT IRC nick change
835 CHAT MSN message 775 BAD-TRAFFIC tcp port 0 traffic
690 WEB-IIS view source via translate header 528 (http_inspect) APACHE WHITESPACE (TAB)
446 WEB-FRONTPAGE /_vti_bin/ access 402 WEB-MISC http directory traversal
385 SHELLCODE x86 NOOP 379 WEB-CGI formmail access
366 (http_inspect) NON-RFC HTTP DELIMITER 351 (http_inspect) DOUBLE DECODING ATTACK
330 WEB-FRONTPAGE _vti_rpc access 325 WEB-FRONTPAGE _vti_inf.html access
324 WEB-FRONTPAGE shtml.exe access 257 WEB-IIS %2E-asp access
246 WEB-IIS cmd.exe access 237 WEB-CGI redirect access
180 (http_inspect) WEBROOT DIRECTORY TRAVERSAL 169 ATTACK-RESPONSES 403 Forbidden
111 BAD-TRAFFIC same SRC/DST 93 X11 outbound client connection detected
93 WEB-MISC Invalid HTTP Version String 86 WEB-CGI formmail arbitrary command execution attempt
77 SHELLCODE x86 inc ebx NOOP 75 DNS zone transfer TCP
65 WEB-MISC weblogic/tomcat .jsp view source attempt 52 (snort_decoder) WARNING: TCP Data Offset is less than 5!
43 BAD-TRAFFIC ip reserved bit set 41 WEB-IIS ISAPI .ida access
40 WEB-IIS ISAPI .ida attempt 33 BAD-TRAFFIC data in TCP SYN packet
32 MISC Tiny Fragments 24 BAD TRAFFIC Non-Standard IP protocol
22 SHELLCODE x86 setuid 0 21 WEB-CLIENT readme.eml autoload attempt
14 WEB-MISC search.dll access 13 WEB-CGI calendar access
12 SHELLCODE x86 setgid 0 12 SCAN FIN
10 WEB-ATTACKS id command attempt 10 INFO Outbound GNUTella client request
10 FTP CWD  attempt 8 WEB-CGI search.cgi access
8 WEB-ATTACKS cc command attempt 8 (snort_decoder): Short UDP packet, length field payload length
8 RPC portmap mountd request UDP 7 WEB-CGI campus access
6 WEB-MISC /doc/ access 6 WEB-FRONTPAGE shtml.dll access
6 RPC portmap pcnfsd request UDP 6 INFO FTP no password
5 X11 xopen 5 SHELLCODE x86 0xEB0C NOOP
5 RPC rstatd query 5 FTP wu-ftp bad file completion attempt
5 FTP CWD overflow attempt 5 FTP command overflow attempt
5 BACKDOOR NetMetro File List 4 WEB-MISC ?open access
4 MISC source port 53 to <1024 3 WEB-MISC Domino log.nsf access
3 WEB-CGI eXtropia webstore access 2 WEB-MISC .htaccess access
2 WEB-MISC /home/www access 2 WEB-IIS encoding access
2 WEB-CGI phf access 2 WEB-ATTACKS rm command attempt
2 Virus - Possible MyRomeo Worm 2 MISC xdmcp query
2 (http_inspect) OVERSIZE CHUNK ENCODING 2 CHAT IRC message
1 WEB-MISC sadmind worm access 1 WEB-MISC intranet access
1 WEB-MISC ICQ Webfront HTTP DOS 1 WEB-MISC handler access
1 WEB-MISC cross site scripting attempt 1 WEB-MISC apache directory disclosure attempt
1 WEB-IIS CodeRed v2 root.exe access 1 WEB-IIS asp-dot attempt
1 WEB-CGI zsh access 1 Virus - SnowWhite Trojan Incoming
1 SHELLCODE x86 stealth NOOP 1 SHELLCODE x86 0x90 unicode NOOP
1 MISC Source Port 20 to <1024 1 (http_inspect) U ENCODING
1 CHAT AIM receive message 1 ATTACK-RESPONSES id check returned userid
1 ATTACK-RESPONSES id check returned root


A lot of GIAC students have already analyzed these datasets and have published their findings[10]. We do not want to repeat their findings here. We will however provide a short list of the most important activities found in the log data. We will quickly describe the findings, do a severity analysis and give a reference to more information (potentially to other GCIA practicals that have analyzed this type of traffic). In some cases we will do a quick analysis and show that snort generated false positives.

There is worm traffic (e.g., Nimda and Code Red) showing up in the log files. We do not discuss this here, but direct the interested reader to [13]. For a short description of how the severities can be computed see Appendix C.

After all this analysis, it is quite disappointing how many false positives snort generated. And this was after we already sorted out some of the events because we either knew or suspected that they are false positives. Our initial recommendation for having some kind of context along with the intrusion detection system starts to make more and more sense. It would help a great deal to reduce the number of false positives. Another suggestion would be to improve snort such that it is aware of the protocol the traffic represents. In the case of the BACKDOOR NetMetro File List, the rule could be rewritten to not just look for a target port of 5032, but also make sure that the traffic is not FTP, nor HTTP, nor any other known protocol, but some kind of proprietary backdoor traffic.


next up previous contents
Next: Scripted and Automated Activity Up: Investigations Previous: Investigations   Contents
Raffy 2004-12-20