GithubHelp home page GithubHelp logo

interactive-infosharing's Introduction

Interactive InfoSharing App

This is a fork of InfoSharing with an interactive menu to create, push and poll your IoC.

Getting Started

These instructions will explain you hot to make this project up and running on your local machine.

Prerequisites

At first you need to solve all dependencies:

# cabby 
sudo pip install cabby

# python-cybox
git clone https://github.com/CybOXProject/python-cybox.git
cd python-cybox/
sudo python setup.py install


# python-stix
git clone https://github.com/STIXProject/python-stix.git
cd python-stix
sudo python setup.py install 

# stix
sudo pip install stix #already installed with cabby. But in case of issue.....
sudo pip install stix2

# validators
sudo pip install validators

Running the script

Run the script

Once dowloaded this package you have just to run the script as showed here below:

sh# python infosharing.py

An interactive menu will be displayed:

Welcome to Cyber Saiyan Info-Sharing

Please choose the option you want to run:
1. Add new IoC
2. Push IoC Stix 1.2
3. Push IoC Stix 2
4. Poll InfoSharing Server

0. Quit

Insert the IoC

The first option, that will run the main script CS_build_stix requires you to single out main details as title, description author and source file of your IoC. Here below what will be displayed:

Insert Title Ioc:Title Example
Insert Decription:Test Script
Insert User Identity:usertest
Add IoC Source File:../test.txt

Stix File generation in progress....

Writing STIX 1.2 package: package.stix
Writing STIX 2 package: package.stix2
 >>  

The script will generate two new file that contain your IoC according Stix 1.2 and Stix 2 taxonomy

Writing STIX 1.2 package: package.stix
Writing STIX 2 package: package.stix2

Here an example:

Push Stix packages

The option 2 and 3 allow to push your IoC according the taxonomy you prefer. Both option will run a shell script:

  • Stix 1.2 - Script to push Ioc according Stix 1.2 Taxonomy
  • Stix 2 - Script to push Ioc according Stix 2 Taxonomy

IMPORTANT: Modify both scripts changing the password used to authenticate the session

The option 3 polls the InfoSharing server to check if your IoC have been uploaded correctly. Wait for about 5 minutes before polling.

Poll InfoSharing

  • Poll - Script to poll the InfoSharing web server to check if your IoC have been uploaded

This option doesn't require any authentication and should be runned ten minutes after pushing the IoC packages.

interactive-infosharing's People

Contributors

vxsh4d0w avatar

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.