Giter Site home page Giter Site logo

ventz / docker-cif Goto Github PK

View Code? Open in Web Editor NEW
13.0 4.0 3.0 17 KB

CIFv3 Ubuntu 16.04 Docker Container (Bearded Avenger)

Home Page: http://csirtgadgets.org/

License: Mozilla Public License 2.0

Shell 100.00%
cifs security threat-sharing threat-hunting intelligence intel forensics forensic-analysis

docker-cif's Introduction

Latest Version: 3.0.0b4

CIFv3 Ubuntu 16.04 Docker Container (Bearded Avenger)

https://github.com/csirtgadgets/bearded-avenger-deploymentkit/wiki

https://github.com/csirtgadgets/bearded-avenger-deploymentkit/releases

How to run CIFv3 Docker Container?

C=$(docker run --name cifv3 -it -d \
-p 443:443 \
-p 5000:5000 \
ventz/docker-cif)

Get an interactive shell onto the container:

docker exec -it $C /bin/bash

Test Setup

Once you have a shell, become the cif user:

# su cif

and do a sanity check to verify that everything works:

$ cif -p

You can do this as "root" too, but it's not recommended.

For a full suite of tests, you can also run:

/root/test.sh

Docker Volumes/Overrides

Configuration Data:
/etc/cif
Log Files:
/var/log/cif
SQLite DB:
/var/lib/cif

Docker Maintainer:

Ventz Petkov (@ventz) Dylan Jacob (@dylanjacob)

COPYRIGHT AND LICENSE

Copyright (C) 2017-2018 the CSIRT Gadgets Foundation

See: LICENSE

docker-cif's People

Contributors

dylanjacob avatar ventz avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

docker-cif's Issues

Container does not bootstrap configurations

Hi all,

Upon bringing up a container using docker-compose, there are no configurations available to the CIF instance (i.e., ./etc/cif is missing cif-router.yml and csirtg-smrt.yml) nor is there an empty database.

Unless you have something before then, or if this is actually an error, I'll try to come up with some code to bootstrap configs if there are none available at start time.

docker-compose.yml:

version: '2'
services:
  cif:
    image: ventz/cif:latest
    volumes:
      - ./etc/cif:/etc/cif
      - ./var/lib/cif:/var/lib/cif
      - ./var/log/cif:/var/log/cif
    ports:
      - "443:443"
      - "5000:5000"

MILESTONE: 3.0.0 rc

This issue is meant to be a "master" issue to discuss the remaining items to be resolved in order to bring us up to speed with bearded avenger release candidate.

I believe, at this point we are able to achieve a successful Ansible build (or will be able to once csirtgadgets.cif 0.0.9 is available from Ansible Galaxy), however, there are some glaring issues that make the resulting container unusable.

The main issue seems to revolve around the .cif.yml file and the token contained within. When running any command, such as a query or ping, an error is thrown saying "Unauthorized".

Lets start here and see where we end up, shall we?

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.