Re: New Analyzer

TQ <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <CAM2MKSr+g27Cu56UPea+4g0Cz5PbiUPc1Fd=YGhp0mcnTB3oBg@mail.gmail.com>
Hi Aaron,

Silly question, but did you tell it to listen to port 47808 in your
main.zeek script?  Probably something like this:

## define listening ports
const ports = { 47808/udp };
redef likely_server_ports += { ports };

I do have a working analyzer and could walk you through if you could share
what you have so far.

Thanks,

On Wed, Jul 10, 2019 at 12:00 PM <[email protected]> wrote:

> Send Zeek mailing list submissions to
>         [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
> or, via email, send a message with subject or body 'help' to
>         [email protected]
>
> You can reach the person managing the list at
>         [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Zeek digest..."
>
>
> Today's Topics:
>
>    1. New Analyzer (Aaron Heller)
>    2. R:  New Analyzer (Palumbo Mauro)
>    3. Re: Issues with Intel::FILE_NAME not working. (Jan Grash?fer)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 9 Jul 2019 21:44:35 -0400
> From: Aaron Heller <[email protected]>
> Subject: [Zeek] New Analyzer
> To: [email protected]
> Message-ID:
>         <CABepR1fBc3SXZ9FjRc3n4HZy=
> [email protected]>
> Content-Type: text/plain; charset="utf-8"
>
>  Hi everyone,
> I'm working on a BACnet protocol analyzer for Zeek and am having problems
> getting the analyzer to fire.  I've been working with Zeek version 2.6.2
> and the analyzer was created using binpac_quickstart.
>
> BACnet is a UDP based building automation and control protocol (think
> furnaces, security/access systems, lighting, etc.).
>
> Not sure what info would be most helpful, if anyone is willing to lend some
> insight as why the analyzer isn't firing off? The analyzer is supposed to
> be signature based and bro -N shows it as built-in and active.  If bro -s
> option is used to specify the signature file then the analyzer will fire
> off appropriately, but I'm looking for it to auto-magically be included in
> the UDP analyzer tree.
>
> Greatly appreciate any help or thought for where to look first,
> Aaron
>
> <
> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> Virus-free.
> www.avg.com
> <
> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20190709/a8579081/attachment-0001.html
>
> ------------------------------
>
> Message: 2
> Date: Wed, 10 Jul 2019 07:30:18 +0000
> From: Palumbo Mauro <[email protected]>
> Subject: [Zeek] R:  New Analyzer
> To: Aaron Heller <[email protected]>, "[email protected]" <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Aaron,
>    not sure what you have done so far, but maybe you are missing something
> on the script side?
>
> To activate signature recognition for analyzers, you must write a script
> with the proper signature (usually called dpd.sig) and load it (usually
> with @load-sigs ./dpd.sig in the main.zeek script for the analyzer).
>
> Have a look at the script side of some other analyzers to see some
> examples.
>
> Mauro
>
>
>
>
> Da: [email protected] [mailto:[email protected]] Per conto di
> Aaron Heller
> Inviato: mercoled? 10 luglio 2019 03:45
> A: [email protected]
> Oggetto: [Zeek] New Analyzer
>
> Hi everyone,
> I'm working on a BACnet protocol analyzer for Zeek and am having problems
> getting the analyzer to fire.  I've been working with Zeek version 2.6.2
> and the analyzer was created using binpac_quickstart.
>
> BACnet is a UDP based building automation and control protocol (think
> furnaces, security/access systems, lighting, etc.).
>
> Not sure what info would be most helpful, if anyone is willing to lend
> some insight as why the analyzer isn't firing off? The analyzer is supposed
> to be signature based and bro -N shows it as built-in and active.  If bro
> -s option is used to specify the signature file then the analyzer will fire
> off appropriately, but I'm looking for it to auto-magically be included in
> the UDP analyzer tree.
>
> Greatly appreciate any help or thought for where to look first,
> Aaron
>
> [Immagine rimossa dal mittente.]<
> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
>
> Virus-free. www.avg.com<
> http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
> >
>
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20190710/e3119293/attachment-0001.html
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: image001.jpg
> Type: image/jpeg
> Size: 362 bytes
> Desc: image001.jpg
> Url :
> http://mailman.ICSI.Berkeley.EDU/pipermail/zeek/attachments/20190710/e3119293/attachment-0001.jpg
>
> ------------------------------
>
> Message: 3
> Date: Wed, 10 Jul 2019 12:03:36 +0200
> From: Jan Grash?fer <[email protected]>
> Subject: Re: [Zeek] Issues with Intel::FILE_NAME not working.
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Hi William,
>
> the script seen/file-names.zeek [1] defines how file names are reported
> to the intel framework. To match, the indicator has to be identical to
> f$info$filename.
>
> Jan
>
> [1]
>
> https://github.com/zeek/zeek/blob/master/scripts/policy/frameworks/intel/seen/file-names.zeek
>
> On 09/07/2019 20:27, William Dieterich wrote:
> > Using the Intel Framework I cannot get Intel::FILE_NAME to fire.  It
> > is working with any other type so my script and read file is good.
> >
> > I am loading the following scripts
> >
> > Policy/frameworks/intel/seen
> > policy/frameworks/intel/do_notice
> > frameworks/file/hash-all-files.bro
> > base/frameworks/intel/files.bro
> >
> > Loading hash-all-files.bro is there so that Intel::FILE_HASH works, is
> > there a better way?
> >
> > I am taking filenames from both my files.log and http.log files so I
> > know the files exist.  I am getting no errors in recorder.log and am
> > running from the command line and no errors are there.  Any ideas on
> > what I am doing wrong?
> > _______________________________________________
> > Zeek mailing list
> > [email protected]
> > http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
> >
>
>
> ------------------------------
>
> _______________________________________________
> Zeek mailing list
> [email protected]
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
>
>
> End of Zeek Digest, Vol 159, Issue 8
> ************************************
>

_______________________________________________
Zeek mailing list
[email protected]
http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/zeek
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.