GithubHelp home page GithubHelp logo

jacob-tate / soarlab Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weslambert/dinosoarlab

0.0 1.0 0.0 102 KB

Security Onion + Automation + Response Lab including n8n and Velociraptor

License: GNU General Public License v3.0

Shell 48.54% Python 5.19% SaltStack 42.83% YARA 1.21% Jinja 2.23%

soarlab's Introduction

SOARLab

Security Onion + Automation + Response Lab including n8n and Velociraptor

SOARLab

This repo was created to work in conjunction with the blog article here:

https://wlambertts.medium.com/zero-dollar-detection-and-response-orchestration-with-n8n-security-onion-thehive-and-10b5e685e2a1

NOTE: The above article has since been deprecated, as TheHive has been removed from Security Onion (as of version 2.3.100) -- a new article is currently in development to address these changes.

The primary difference with the updated implementation is that instead of adding an observable to TheHive, it should be added to a case within Security Onion Cases. From there, an Elastalert rule will watch for new observable additions, then perform an HTTP POST to the webhook used for automating Hunts for Velociraptor.

Feature parity updates (in progress):

  • Mark case with label/tag (and/or create an alert inside Security Onion console) once a host is quarantined

NOTE

This is NOT an officially supported Security Onion integration, so usage is at your own risk.

Prerequisites

It is assumed that Security Onion is already running and configured as a standalone, manager, or managersearch node.

To install Security Onion, consult the documentation here:

https://docs.securityonion.net/en/latest/installation.html

After Security Onion is installed, proceed to the lab installation steps.

Installation

git clone https://github.com/weslambert/SOARLab
cd SOARLab 
sudo ./install_lab

Once setup is complete:

  • Velociraptor GUI can be accessed via https://$securityonion/velociraptor
  • n8n can be access via https://$securityonion/n8n

Firewall

To add a firewall exception for a particular IP or range of IPs (for Velociraptor clients), you can use the so-firewall script, like so:

sudo so-firewall includehost velociraptor <IP/CIDR>

sudo salt-call state.apply firewall queue=True

Velociraptor Clients

Original Velociraptor client binaries and repacked client binaries can be found in /opt/so/conf/velociraptor/clients.

The client configuration file can be found in /opt/so/conf/velociraptor.

soarlab's People

Contributors

weslambert avatar jacob-tate avatar t-0-m-1-3 avatar

Watchers

James Cloos 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.