Snort Analyser
First select your Wireshark trace:
Trace name: /log/wanna.zip
Snort Output
Click here for the Pcap file. The Snort output is:
alert.ids: [**] [1:999001:1] Wanna Detect 213.61.66.116 [**] [Priority: 0] 05/12-19:33:20.636147 192.168.56.10:49386 -> 213.61.66.116:9003 TCP TTL:128 TOS:0x0 ID:4402 IpLen:20 DgmLen:52 DF ******S* Seq: 0x654FEC4D Ack: 0x0 Win: 0x2000 TcpLen: 32 TCP Options (6) => MSS: 1460 NOP WS: 8 NOP NOP SackOK [**] [1:999002:1] Wanna Detect 171.25.193.9 [**] [Priority: 0] 05/12-19:33:20.638221 192.168.56.10:49387 -> 171.25.193.9:80 TCP TTL:128 TOS:0x0 ID:4403 IpLen:20 DgmLen:52 DF ******S* Seq: 0xB1C4B8A8 Ack: 0x0 Win: 0x2000 TcpLen: 32 TCP Options (6) => MSS: 1460 NOP WS: 8 NOP NOP SackOK [**] [1:999003:1] Wanna Detect 163.172.35.247 [**] [Priority: 0] 05/12-19:33:20.851942 192.168.56.10:49388 -> 163.172.35.247:443 TCP TTL:128 TOS:0x0 ID:4408 IpLen:20 DgmLen:52 DF ******S* Seq: 0xB96B8268 Ack: 0x0 Win: 0x2000 TcpLen: 32 TCP Options (6) => MSS: 1460 NOP WS: 8 NOP NOP SackOK [**] [1:999004:1] Wanna Detect 128.31.0.39 [**] [Priority: 0] 05/12-19:33:20.855110 192.168.56.10:49389 -> 128.31.0.39:9101 TCP TTL:128 TOS:0x0 ID:4409 IpLen:20 DgmLen:52 DF ******S* Seq: 0x5F4C6C96 Ack: 0x0 Win: 0x2000 TcpLen: 32 TCP Options (6) => MSS: 1460 NOP WS: 8 NOP NOP SackOK [**] [1:999003:1] Wanna Detect 163.172.35.247 [**] [Priority: 0] 05/12-19:33:23.919386 192.168.56.10:49388 -> 163.172.35.247:443 TCP TTL:128 TOS:0x0 ID:4551 IpLen:20 DgmLen:52 DF ******S* Seq: 0xB96B8268 Ack: 0x0 Win: 0x2000 TcpLen: 32 TCP Options (6) => MSS: 1460 NOP WS: 8 NOP NOP SackOK [**] [1:999005:1] Wanna Detect 185.97.32.18 [**] [Priority: 0] 05/12-19:33:26.287069 192.168.56.10:49390 -> 185.97.32.18:9001 TCP TTL:128 TOS:0x0 ID:4552 IpLen:20 DgmLen:52 DF ******S* Seq: 0xA097CA4F Ack: 0x0 Win: 0x2000 TcpLen: 32 TCP Options (6) => MSS: 1460 NOP WS: 8 NOP NOP SackOK [**] [1:999006:1] Wanna Detect 178.62.173.203 [**] [Priority: 0] 05/12-19:33:30.204388 192.168.56.10:49391 -> 178.62.173.203:9001 TCP TTL:128 TOS:0x0 ID:4561 IpLen:20 DgmLen:52 DF ******S* Seq: 0x38F85660 Ack: 0x0 Win: 0x2000 TcpLen: 32 TCP Options (6) => MSS: 1460 NOP WS: 8 NOP NOP SackOK [**] [1:999006:1] Wanna Detect 178.62.173.203 [**] [Priority: 0] 05/12-19:33:45.239136 192.168.56.10:49401 -> 178.62.173.203:9001 TCP TTL:128 TOS:0x0 ID:5075 IpLen:20 DgmLen:48 DF ******S* Seq: 0x7981604E Ack: 0x0 Win: 0x2000 TcpLen: 28 TCP Options (4) => MSS: 1460 NOP NOP SackOK [**] [1:999006:1] Wanna Detect 178.62.173.203 [**] [Priority: 0] 05/12-19:34:25.828403 192.168.56.10:49413 -> 178.62.173.203:9001 TCP TTL:128 TOS:0x0 ID:5826 IpLen:20 DgmLen:48 DF ******S* Seq: 0x8F65989F Ack: 0x0 Win: 0x2000 TcpLen: 28 TCP Options (4) => MSS: 1460 NOP NOP SackOK |
Rules file
alert tcp any any -> 213.61.66.116 9003 (flags:S; msg:"Wanna Detect 213.61.66.116";sid:999001;rev:1; ) alert tcp any any -> 171.25.193.9 80 (flags:S; msg:"Wanna Detect 171.25.193.9";sid:999002;rev:1; ) alert tcp any any -> 163.172.35.247 443 (flags:S; msg:"Wanna Detect 163.172.35.247";sid:999003;rev:1; ) alert tcp any any -> 128.31.0.39 9101 (flags:S; msg:"Wanna Detect 128.31.0.39";sid:999004;rev:1; ) alert tcp any any -> 185.97.32.18 9001 (flags:S; msg:"Wanna Detect 185.97.32.18";sid:999005;rev:1; ) alert tcp any any -> 178.62.173.203 9001 (flags:S; msg:"Wanna Detect 178.62.173.203";sid:999006;rev:1; ) # Some additional pre-processor things preprocessor stream5_global: track_tcp yes, \ track_udp yes, \ track_icmp no, \ max_tcp 262144, \ max_udp 131072, \ max_active_responses 2, \ min_response_seconds 5 preprocessor stream5_tcp: policy windows, detect_anomalies, require_3whs 180, \ overlap_limit 10, small_segments 3 bytes 150, timeout 180, \ ports client 21 22 23 25 42 53 70 79 109 110 111 113 119 135 136 137 139 143 \ 161 445 513 514 587 593 691 1433 1521 1741 2100 3306 6070 6665 6666 6667 6668 6669 \ 7000 8181 32770 32771 32772 32773 32774 32775 32776 32777 32778 32779, \ ports both 80 81 82 83 84 85 86 87 88 89 90 110 311 383 443 465 563 591 593 631 636 901 989 992 993 994 995 1220 1414 1830 2301 2381 2809 3037 3057 3128 3443 3702 4343 4848 5250 6080 6988 7907 7000 7001 7144 7145 7510 7802 7777 7779 \ 7801 7900 7901 7902 7903 7904 7905 7906 7908 7909 7910 7911 7912 7913 7914 7915 7916 \ 7917 7918 7919 7920 8000 8008 8014 8028 8080 8085 8088 8090 8118 8123 8180 8222 8243 8280 8300 8500 8800 8888 8899 9000 9060 9080 9090 9091 9443 9999 10000 11371 34443 34444 41080 50000 50002 55555 preprocessor stream5_udp: timeout 180
Examples
You can use Snort as a stand-alone analyser using the "-r" option. The following are the traces that can be used in Snort:
- Trace with Hydra FTP crack/Bad Login: here Test.
- Trace with Hydra Telnet crack: here Test.
- Trace with Port Scan: here Test.
- Trace with SYN Flood (DoS): here Test.
- Trace with FIN Flood (DoS): here Test.
- Trace with PDF file: here Test.
- Trace with GIF file: here Test.
- Trace with PNG file: here Test.
- Trace with email attachments (MIME): here Test.
- Trace with email addresses: here Test.
- Trace with credit card details: here Test.
- Trace with DNS: here Test.
- Trace with Ping sweep: here Test.
- Trace with SNMP: here Test.
- Trace with ARP Spoof: here Test.
- Trace with Heartbleed: here Test.
- Teardrop DoS: here Test.
- Bittorrent: here Test.