Giter Club home page Giter Club logo

thehive4centos's Introduction

TheHive4Centos

An easy installer for The Hive on Centos

A few prerequisites

Be aware that TheHive and ElasticSearch require some hardware specifications.

TheHive uses ElasticSearch to store data. Both software use a Java VM. We recommend using a virtual machine with 8vCPU, 8 GB of RAM and 60 GB of disk. You can also use a physical machine with similar specifications.

Usage

Simply call the script like so:

./thehive_installer_centos.sh

It will automatically download TheHive and ElasticSearch and install them. However, you will need to setup ElasticSearch and TheHive before working with it.

Setup

ElasticSearch

First, you will need to setup your ElasticSearch so that TheHive can use it properly. To do so, follow the instructions provided here.

We will consider that ElasticSearch and TheHive run on the same environment. Simply edit /etc/elasticsearch/elasticsearch.yml and add the following lines:

network.host: 127.0.0.1
network.port:9200
script.inline: true
cluster.name: hive
thread_pool.index.queue_size: 100000
thread_pool.search.queue_size: 100000
thread_pool.bulk.queue_size: 100000

Then you can enter the following commands:

sudo systemctl enable elasticsearch.service
sudo systemctl start elasticsearch.service
sudo systemctl status elasticsearch.service

Check that the service is running well with the sudo systemctl status elasticsearch.service command. If so, you can check that ElasticSearch is running with the following command:

curl 'http://127.0.0.1:9200/?pretty'

You should get this kind of response. If so, your ElasticSearch is well configured !

{
  "name" : "Tom Foster",
  "cluster_name" : "elasticsearch",
  "version" : {
    "number" : "2.1.0",
    "build_hash" : "72cd1f1a3eee09505e036106146dc1949dc5dc87",
    "build_timestamp" : "2015-11-18T22:40:03Z",
    "build_snapshot" : false,
    "lucene_version" : "5.3.1"
  },
  "tagline" : "You Know, for Search"
}

TheHive

TheHive provides an entire documentation on how to setup it properly. Just follow this guide.

MISP

TheHive needs a link with a MISP instance to analyse attachements. Just follow this guide to install MISP and then this other guide to configure it for TheHive.

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.