Snort Analyser
First select your Wireshark trace:
Trace name: /log/wc.zip
Snort Output
Click here for the Pcap file. The Snort output is:
alert.ids: [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:19.484251 192.168.116.172:445 -> 192.168.116.149:49608 TCP TTL:128 TOS:0x0 ID:333 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xD8C0114A Ack: 0x8869C791 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:21.130265 192.168.116.172:445 -> 192.168.116.149:49608 TCP TTL:128 TOS:0x0 ID:379 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xD8C0117F Ack: 0x8869C7C6 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:25.786015 192.168.116.143:445 -> 192.168.116.149:49767 TCP TTL:128 TOS:0x0 ID:21444 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x406C2A46 Ack: 0x3BFB879F Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:26.316396 192.168.116.143:445 -> 192.168.116.149:49767 TCP TTL:128 TOS:0x0 ID:21445 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x406C2A7B Ack: 0x3BFB87D4 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:27.462730 192.168.116.143:445 -> 192.168.116.149:49767 TCP TTL:128 TOS:0x0 ID:21494 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x406C2AB0 Ack: 0x3BFB8809 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:27.963824 192.168.116.143:445 -> 192.168.116.149:49767 TCP TTL:128 TOS:0x0 ID:21497 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x406C2AE5 Ack: 0x3BFB9877 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:40.293141 192.168.116.143:445 -> 192.168.116.149:50069 TCP TTL:128 TOS:0x0 ID:21619 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xEEDCE5C8 Ack: 0x2351850C Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:41.965190 192.168.116.143:445 -> 192.168.116.149:50069 TCP TTL:128 TOS:0x0 ID:21691 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xEEDCE659 Ack: 0x23527898 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:42.150152 192.168.116.143:445 -> 192.168.116.149:50069 TCP TTL:128 TOS:0x0 ID:21694 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xEEDCE68E Ack: 0x23528906 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:47.047976 192.168.116.138:445 -> 192.168.116.149:50240 TCP TTL:128 TOS:0x0 ID:423 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x73F2F082 Ack: 0xFE3FABEC Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:12:48.703788 192.168.116.138:445 -> 192.168.116.149:50240 TCP TTL:128 TOS:0x0 ID:469 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x73F2F0B7 Ack: 0xFE3FAC21 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:04.394538 192.168.116.172:445 -> 192.168.116.149:50742 TCP TTL:128 TOS:0x0 ID:468 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x49DF81BE Ack: 0xF42ECCF3 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:06.058897 192.168.116.172:445 -> 192.168.116.149:50742 TCP TTL:128 TOS:0x0 ID:514 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x49DF81F3 Ack: 0xF42ECD28 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:09.230573 192.168.116.143:445 -> 192.168.116.149:50919 TCP TTL:128 TOS:0x0 ID:21910 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xEF788ABB Ack: 0xF25C145A Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:10.933665 192.168.116.143:445 -> 192.168.116.149:50919 TCP TTL:128 TOS:0x0 ID:21956 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xEF788AF0 Ack: 0xF25C148F Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:24.268481 192.168.116.172:445 -> 192.168.116.149:51495 TCP TTL:128 TOS:0x0 ID:593 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x695C43C Ack: 0xF198AEED Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:26.038082 192.168.116.172:445 -> 192.168.116.149:51495 TCP TTL:128 TOS:0x0 ID:649 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x695C471 Ack: 0xF198AF22 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:29.846456 192.168.116.149:445 -> 192.168.116.138:1366 TCP TTL:128 TOS:0x0 ID:7131 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0x7EE15B1 Ack: 0xDD741D3E Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:31.521482 192.168.116.172:445 -> 192.168.116.138:1440 TCP TTL:128 TOS:0x0 ID:727 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xC22399FA Ack: 0x97268E25 Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:40.627247 192.168.116.149:445 -> 192.168.116.138:1586 TCP TTL:128 TOS:0x0 ID:7238 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xA796D04B Ack: 0x234D0FEE Win: 0xFB TcpLen: 20 [**] [1:2024218:1] ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response [**] [Priority: 0] 05/18-08:13:42.512483 192.168.116.149:445 -> 192.168.116.138:1586 TCP TTL:128 TOS:0x0 ID:7511 IpLen:20 DgmLen:93 DF ***AP*** Seq: 0xA796D080 Ack: 0x234D1023 Win: 0xFB TcpLen: 20 |
Rules file
alert tcp any any -> any any (msg:"ET EXPLOIT Possible ETERNALBLUE MS17-010 Heap Spray"; flow:to_server,established; content:"|ff|SMB|33 00 00 00 00 18 07 c0 00 00 00 00 00 00 00 00 00 00 00 00 00|"; offset:4; depth:25; content:"|08 ff fe 00 08 41 00 09 00 00 00 10|"; within:12; fast_pattern; content:"|00 00 00 00 00 00 00 10|"; within:8; content:"|00 00 00 10|"; distance:4; within:4; pcre:"/^[a-zA-Z0-9+/]{1000,}/R"; threshold: type threshold, track by_src, count 12, seconds 1; sid:2024217; rev:1;) alert tcp any any -> any any (msg:"ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Request (set)"; flow:to_server,established; content:"|00 00 00 31 ff|SMB|2b 00 00 00 00 18 07 c0|"; depth:16; fast_pattern; content:"|4a 6c 4a 6d 49 68 43 6c 42 73 72 00|"; distance:0; flowbits:set,ETPRO.ETERNALBLUE; flowbits:noalert; sid:2024220; rev:1;) alert tcp any any -> any any (msg:"ET EXPLOIT Possible ETERNALBLUE MS17-010 Echo Response"; flow:from_server,established; content:"|00 00 00 31 ff|SMB|2b 00 00 00 00 98 07 c0|"; depth:16; fast_pattern; content:"|4a 6c 4a 6d 49 68 43 6c 42 73 72 00|"; distance:0; flowbits:isset,ETPRO.ETERNALBLUE; sid:2024218; 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.