R: New Analyzer

Palumbo Mauro <[email protected]>
Newsgroups gmane.comp.security.detection.bro
Message-ID <[email protected]>
Hi Aaron,
   I can confirm the binpac quickstart is a bit out of date. I tried to use it a couple of months ago and run into some issues. You can still use it but then have to edit some files manually.

Mauro

Da: Aaron Heller [mailto:[email protected]]
Inviato: giovedì 11 luglio 2019 03:12
A: Justin Azoff <[email protected]>
Cc: Palumbo Mauro <[email protected]>; [email protected]
Oggetto: Re: [Zeek] New Analyzer

I did try running with the bacnet plugin specified and it didn't work, so I'll give the init-plugin a shot tomorrow.

Thanks much all for the thoughts and help,
Aaron

On Wed, Jul 10, 2019 at 9:01 PM Justin Azoff <[email protected]<mailto:[email protected]>> wrote:
Oh, looking at this closer you probably want to use

zeek/aux/zeek-aux/plugin-support/init-plugin

to create the plugin skeleton.  the binpac quickstart I think is a bit
out of date at this point for how to setup an external plugin+package.
The binpac parts it genrates should still be fine though.

so I would use init-plugin to make a new package and copy your
existing code over it.  that should give you a working self-contained
external package that you can install.  It also takes advantage of the
new bro-config bits which make building and installing the plugin work
without the full source checkout.

On Wed, Jul 10, 2019 at 8:51 PM Justin Azoff <[email protected]<mailto:[email protected]>> wrote:
>
> did you run that with --plugin?
>
> On Wed, Jul 10, 2019 at 8:39 PM Aaron Heller <[email protected]<mailto:[email protected]>> wrote:
> >
> > Hi Justin,
> > I started off using the binpac_quickstart script, which I thought created an external plugin?
> >
> > Thanks,
> > Aaron
> >
> > On Wed, Jul 10, 2019 at 8:20 PM Justin Azoff <[email protected]<mailto:[email protected]>> wrote:
> >>
> >> On Wed, Jul 10, 2019 at 8:16 PM Aaron Heller <[email protected]<mailto:[email protected]>> wrote:
> >>>
> >>>  Maybe that and the analyzer not automatically firing off indicates an issue with the bacnet script not being called appropriately?  I'm grasping at straws, so any thoughts are greatly appreciated!
> >>
> >>
> >> I don't think you are loading the scripts at all..  which is also why the sigs aren't loaded.
> >>
> >> Are you building this as an in-tree analyzer or as an external plugin?
> >>
> >> --
> >> Justin
>
>
>
> --
> Justin



--
Justin

_______________________________________________
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.