GithubHelp home page GithubHelp logo

hosom / bro-otx Goto Github PK

View Code? Open in Web Editor NEW
24.0 2.0 16.0 16 KB

Integrate Zeek with Alienvault OTX

License: BSD 3-Clause "New" or "Revised" License

Bro 3.16% Python 96.84%
bro alienvault-otx otx threatintel

bro-otx's Introduction

bro-otx

Integrate Bro with Alienvault OTX

Installation

Unzip the project into your equivalent to /opt/bro/share/bro/site/

Add the following to your local.bro: @load site/otx

Add your api key to the bro-otx.conf configuration file.

Add the bro-otx.py script into the crontab of a user with the ability to write to your bro scripts directories.

bro-otx's People

Contributors

hosom avatar justinazoff avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

bro-otx's Issues

Issue getting bro to load OTX plugin

Hello,

I have installed BRO-OTX as suggested but there is no intel.log file and also in /usr/local/bro/logs/current/loaded_scripts.log there is no record of otx, Am I doing something wrong?

I have installed bro-otx into /usr/local/bro/share/bro/policy/bro-otx and in load.bro I have @load bro-otx

I have ran /usr/local/bro/bin/broctl check and get no errors about otx (and when I make the path wrong it gives me an error).

Im sure its simple, if you can point me in the right direction that would be great!

Daniel

Intel::URL entries need protocol removed

In OTX, URLs are listed including the protocol scheme (http:// ftp:// etc). The Intel::URL indicator type (seen.indicator_type) in bro-otx fails to trigger if the scheme exists.

Example: if otx.dat has an Intel::URL entry "http://example.com/path.txt" Bro will not react. However, if the otx.dat entry is simply "example.com/path.txt", Bro triggers as expected.

Is it possible for bro-otx to strip the protocol scheme from Intel::URL types?

Sources lists only OTX user

Would it be possible to include more info about the OTX pulse in the Sources field?

Currently when using this Bro script when I have an intel hit from OTX it only lists (what I think) is the OTX username that the indicator came from in the Sources field.

I was previously using the AlienVault Bro IDS Connector (https://github.com/AlienVault-Labs/OTX-Apps-Bro-IDS) but switched to this as it seemed like a better implementation. Using the AlienVault Bro IDS Connector the source in Bro's intel log was listed as "AlienVault OTX - [Pulse name] - [Pulse id]"

Error messages from Bro

 0.000000        Reporter::ERROR /opt/bro/share/bro/site/otx/otx.dat/Input::READER_ASCII: could not read first line   (empty)

Seems to be caused by writing the file in place. Should be an easy fix to write it under a temporary name and then move it to the proper name.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.