Snort mailing list archives
Re: Can snort dump full pcap of alert?
From: "Lay, James" <james.lay () wincofoods com>
Date: Fri, 20 Dec 2013 08:53:01 -0700
Quick and dirty with Wireshark (non-gui) installed: /usr/local/bin/dumpcap -q -b filesize:409600 -b files:150 -Z none -f "ip and port 80" -i eth2 -w /capture/webtraffic.pcap 400 meg files that will save up to 150 them before removing old ones, file names include timestamp: webtraffic_00595_20131220083146.pcap James From: Kevin Ross [mailto:kevross33 () googlemail com] Sent: Friday, December 20, 2013 8:11 AM To: Onno van der Leun Cc: snort-users () lists sourceforge net Subject: Re: [Snort-users] Can snort dump full pcap of alert? You are better using a tool like these to do full packet capture: openfpc http://www.openfpc.org/ moloch http://blog.alejandronolla.com/2013/04/06/moloch-capturing-and-indexing- network-traffic-in-realtime/ https://github.com/aol/moloch stremdb http://code.google.com/p/streamdb/ Each of these are good choices although right now I use openfpc (although it is broken for me at the moment :( ) but I want to use moloch but the requirements for that because of the indexing of traffic is higher than I can provide it seems. Regards, Kevin On 19 December 2013 16:35, Onno van der Leun <onno () b00z nl> wrote: Hi, Just wondering. I've setup snort and it triggered an alert. The alert is: OS-WINDOWS Microsoft Windows Shell Handler remote code ... sid=1:16414 In snorby it's showing a dump of the payload. But that is only of that specific packet? Dump is like: 0000000: 54 f1 c7 e1 57 2a e3 b3 36 c0 ea aa 17 82 aa 2d f0 0e 51 f3 fb 4a 50 e1 a5 45 T...W*..6......-..Q..JP..E 000001A: c4 7d e9 3f 93 b5 32 cd cd f1 95 41 0d 38 1d 02 d1 6e 01 51 0d d2 8b 7e fa 85 .}.?..2....A.8...n.Q...~.. 0000034: 4a d5 48 71 0e a8 d0 50 45 37 cd 21 ae 53 d1 15 91 9b a4 c4 21 e9 e6 54 6c 25 J.Hq...PE7.!.S......!..Tl% 000004E: 45 95 14 03 c1 ad 5c 38 44 c8 4f 64 22 53 25 56 95 19 a0 5d 42 b3 e0 d5 57 b1 E.....\8D.Od"S%V...]B...W. 0000068: 02 00 2a 0e 61 75 90 49 c0 42 a9 ed 81 6c e3 d0 e1 d7 86 69 fc eb 7f a1 80 2f ..*.au.I.B...l.....i...../ Not really readable. ;o) So I was wondering if snort is able to generate a 'session pcap' when a rule is hit. I'm running snort with barnyard2 (unified2). Options used are: -d and -D (and couple of others for conf, user and -l <dir>) Do I need to add option -b ? (or a complete other program? ;o) ) Regards, Onno. ------------------------------------------------------------------------ ------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clk trk _______________________________________________ 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________ 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://sourceforge.net/mailarchive/forum.php?forum_name=snort-users Please visit http://blog.snort.org to stay current on all the latest Snort news!
Current thread:
- Can snort dump full pcap of alert? Onno van der Leun (Dec 19)
- Re: Can snort dump full pcap of alert? Y M (Dec 19)
- Re: Can snort dump full pcap of alert? Heine Lysemose (Dec 19)
- Re: Can snort dump full pcap of alert? Kevin Ross (Dec 20)
- Re: Can snort dump full pcap of alert? Lay, James (Dec 20)
- Re: Can snort dump full pcap of alert? Y M (Dec 19)