Snort mailing list archives

Re: Can snort dump full pcap of alert?


From: Y M <snort () outlook com>
Date: Thu, 19 Dec 2013 16:51:38 +0000

Check the following post-detection keywords from Snort's manual:
logto : http://manual.snort.org/node34.html#SECTION00471000000000000000tag: 
http://manual.snort.org/node34.html#SECTION00475000000000000000, andSession: 
http://manual.snort.org/node34.html#SECTION00472000000000000000
You need to be careful with these to not overwhelm Snort with capturing session data. May be a full packet capture, for 
example using daemonlogger or so, is a better route?
Thanks.YM

From: onno () b00z nl
To: snort-users () lists sourceforge net
Date: Thu, 19 Dec 2013 17:35:50 +0100
Subject: [Snort-users] Can snort dump full pcap of alert?

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.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!
                                          
------------------------------------------------------------------------------
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: