Code Monkey home page Code Monkey logo

nyx's Introduction

nyx

Threat Intelligence artifact distribution

The goal of this project is to facilitate distribution of Threat Intelligence artifacts to defensive systems and to enhance the value derrived from both open source and commercial tools. An example usage of this is described on: https://www.sans.org/reading-room/whitepapers/threats/automated-defense-threat-intelligence-augment-35692

Needless to say, this is an experimental project - use at your own risk. Proper Documentation pending - as of right now it was damn hard to write, it should be damn hard to use ;).

How to use this:

  1. install dependencies from requirements.txt

  2. Change the configuration file and put in your systems. You will need either CRITs or Soltra to get started. You will need to create a few things in order to get started:

    • Set up the maps of high versus medium criticality/confidence sets.
    • If you are using CRITs, make sure your intel is properly classified.
    • If you are using Soltra, you will need to set up the searches for high versus medium indicators.
  3. You will also need to set up some of the objects in the various systems:

    • reference sets in QRadar
    • Palo Alto object groups
    • moloch wise configuration
    • bro intel framework
    • web filter custom categories
  4. Run it in a test environment, make sure nothing breaks. Take the time to measure how long it takes to run - it might be useful when you set up the crontab job. Figure out how to deploy your intel files for the systems that don't have an API - store them on apache, use a share, or rsync them.

  5. Run it in production (after you've read all code to know exactly what it does - don't trust me)

  6. Beer - you achieved Threat Intelligence distribution automation, are a pioneer in your industry, and probably made a horde of interns less useful.

The technologies currently coded for are:

nyx's People

Contributors

paulpc 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  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nyx's Issues

Bro Configuration Error

I'm seeing the following error when trying to run nyx to pull indicators from CRITs and output to the bro intel.dat format:

python nyx.py                                                                                                                                                      
Traceback (most recent call last):
  File "nyx.py", line 20, in <module>
    config=read_configs('nyx.conf')    
  File "/home/jbeley/Sources/nyx/common_methods.py", line 183, in read_configs
    set_test+=configs['bro']['indicator_map'].keys()
UnboundLocalError: local variable 'set_test' referenced before assignment

I'm running Python 2.7.6 on Ubuntu 14.04. My nyx.conf is below.

[crits]
url = http://MYCRITSIP:8880/api/v1/
username = MYCRITSUSERNAME
api_key = MYCRITSAPI
offset = 100


[bro]
filename = intel.dat
indicator_map = {"A": "Intel::DOMAIN", "Address - ipv4-addr": "Intel::ADDR", "filename": "Intel::FILE_NAME", "email": "Intel::EMAIL", "md5": "Intel::FILE_HASH"}

problem to install nyx

Hi,
when I install the dependencies from requirements.txt, the command return me the following error:
" Could not find a version that satisfies the requirement Nyx (from -r requirements.txt (line 1)) (from versions: )
No matching distribution found for Nyx (from -r requirements.txt (line 1))"

Any suggestion?

Thanks

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.