holmes-toolbox

command module
v0.0.0-...-328e9d8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2016 License: Apache-2.0 Imports: 22 Imported by: 0

README

Holmes-Toolbox

Overview

The Holmes-Toolbox provides useful scripts for managing Holmes projects.

Highlights
Folder Project Description
linux-installer All Universal install scripts for convience
start-scripts Holmes-Totem, Holmes-Storage Automatic start up scripts for systemd and upstart
test-scripts Holmes-Totem Directly tasks Holmes-Totem with a series of objects
How to install Holmes-Totem/Storage on Ubuntu/Debian using the install script
  1. git clone https://github.com/HolmesProcessing/Holmes-Toolbox.git
  2. cd Holmes-Toolbox/linux-installer
  3. Execute the installer with -h and read the help: ./universal-installer.sh -h
  4. Examples:
    • Basic Totem Installion (post-install: totem + service configuration required):
      • ./universal-installer.sh --totem
    • Custom Totem Installation (custom configuration):
      • ./universal-installer.sh --totem repo:"https://github.com/your-username/Holmes-Totem.git"
    • Install Storage:
      • ./universal-installer.sh --storage
    • Single Node setup:
      • ./universal-installer.sh --rabbitmq --cassandra --totem repo:YOUR_REPO --storage create-config:local
How to easily move files from CRITs to Holmes-Storage
  1. Adjust the filters in dump.js to match the samples you want to move
  2. mongo crits --quiet dump.js > out.txt
  3. Compile crits-sample-server somewhere
  4. crits-sample-server --mongoServer=10.0.4.51 --dbName=crits --httpBinding=:8019
  5. Make sure your Holmes-Storage is running
  6. go run push_to_holmes.go --file=out.txt
How to easily move files from a local folder to Holmes-Storage
  1. Make sure your Holmes-Storage and your Holmes-Mastergateway are running
  2. e.g. go run push_to_holmes.go --gateway https://127.0.0.1:8090 --user test --pw test --tags '["tag1","tag2"]' --comment "mycomment" --insecure --workers 5 --src virusshare --dir $dir

Alternative way:

  1. Move all you samples to one folder
  2. cd into folder
  3. find pwd -type f > out.txt
  4. Make sure your Holmes-Storage and Gateway are running
  5. e.g. go run push_to_holmes.go --gateway https://127.0.0.1:8090 --user test --pw test --tags '["tag1","tag2"]' --comment "mycomment" --insecure --workers 5 --src virusshare --file out.txt
How to easily task Holmes-Totem:
  1. Create a file containing a line with the SHA256-Sum, the filename, and the source (separated by single spaces) for each sample.
  2. e.g. go run push_to_holmes.go --gateway https://127.0.0.1:8090 --user test --pw test --tags '["tag1","tag2"]' --comment "mycomment" --insecure --tasking --file sampleFile --tasks '{"PEINFO":[], "YARA":[]}'

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
linux-installer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL