I had some more issues in testing, especially on XP. I want to fix those up
first.
If you want, I can send you just some binaries with only this fix in them
Thanks,
Michael A. Davis
Chief Executive Officer
Savid Technologies, Inc.
Main: 708.243.2850
http://www.savidtech.com
This email may contain confidential and privileged information for the sole
use of the intended recipient. Any review or distribution by others is
strictly prohibited. If you are not the intended recipient, please contact
the sender and delete all copies of this message.
> -----Original Message-----
> From: Compton, Rich [mailto:RCompton_at_chartercom.com]
> Sent: Thursday, October 20, 2005 4:47 PM
> To: Michael A. Davis
> Subject: RE: Problems capturing sebek win32 3.0.3 traffic on
> roo honeywall
>
> Michael,
> What new site were you going to post it to? Is it
> http://www.honeynet.org/tools/sebek/?
>
> Thanks,
> Rich
>
> -----Original Message-----
> From: Michael A. Davis [mailto:mike_at_datanerds.net]
> Sent: Wednesday, October 19, 2005 3:45 PM
> To: 'Edward Balas'; 'Truong, Thanh V.'
> Cc: Compton, Rich; honeypots_at_securityfocus.com
> Subject: RE: Problems capturing sebek win32 3.0.3 traffic on
> roo honeywall
>
> I think I found the problem. Sebek header reports datalen*2 because of
> this:
>
> uiPacketLen += DataLength;
>
> When uiPacketLen already contains the DataLength. Weird that
> it works fine for me here though.
>
> I will repackage a new sebek and get it up to the site later tonight.
>
> Thanks,
> Michael A. Davis
> Chief Executive Officer
> Savid Technologies, Inc.
> Main: 708.243.2850
> http://www.savidtech.com
>
> This email may contain confidential and privileged
> information for the sole use of the intended recipient. Any
> review or distribution by others is strictly prohibited. If
> you are not the intended recipient, please contact the sender
> and delete all copies of this message.
>
> > -----Original Message-----
> > From: Edward Balas [mailto:ebalas_at_iu.edu]
> > Sent: Wednesday, October 19, 2005 10:38 AM
> > To: Truong, Thanh V.
> > Cc: Michael A. Davis; Compton, Rich; honeypots_at_securityfocus.com
> > Subject: Re: Problems capturing sebek win32 3.0.3 traffic on roo
> > honeywall
> >
> > Truong, Thanh V. wrote:
> >
> > >Michael,
> > >I have the same problem. After a little debugging, I found that
> > >pcapheader->caplen is always equal to [(datlen*2) +
> > pkt_head_sz] but in
> > >your "if" statement (in sbk_extract.c) you check to see if
> > >pcapheader->caplen = datlen + pkt_head_sz. That will fail. So, it
> > >will complain about the malformed package.
> > >
> > >After putting that in, it seems to work fine. But I haven't fully
> > >tested to see if all functions work.
> > >
> > >I'm running sebekd-3.0.3 on Fedora 4. I hope that and pcap
> > output from
> > >Rich Compton will help you looking into it.
> > >
> > >
> > >
> > Hey all,
> >
> > This a not the recomended way to work around this.
> > datalen+pkt_head_sz should equal caplen, if it does not then
> > the client is sending malformed records.
> >
> > Looking at Rich's data, we see the following for the first packet.
> >
> > rectype=0
> > caplen=176
> > len=39
> > discrepancy=39
> > data*2=0x4d6963726f736f66742057696e646f7773205850205b566572736
> 96f6e20352e312e323630305d000000000000000000000000000000000000000
> >
> > Firing up this same packet into ethereal or other sniffer
> here is what
>
> > we see.
> >
> > caplength of 176
> > ip total length of 123
> >
> > Ethernet header shows a trailer which should not be there of
> > 35 bytes and another 4 bytes which should be the frame
> check sequence
> > are also null. So at the tail end of the frame we see 39
> null bytes,
> > same as the length of the data.
> >
> > This is a malformed packet. Can you provide details on the client
> > system?
> >
> >
> > Edward
> >
> >
> >
>
Received on Oct 20 2005