Git Product home page Git Product logo

dinosoarlab's People

Contributors

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

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

dinosoarlab's Issues

n8n container does not auto start on boot

Hi,
I have successfully set up DinoSOARLab on my SO instance but after a reboot the n8n container does not seem to start. I have to manually start it to get it working. Please help!

  • SO Version: 2.3.181
  • Distributed setup with one mangesearch node and two sensor nodes
  • Installed on physical machine

Regards,
John.

https for n8n-slack integration

Hi wes!
Is it posible to create a https connection to n8n instead of http? The thing is slack does not accepts http any more for api connections. Or mybe a https -> http redirect.
what do you think?

so-cases and soarlab

hi all,
I just wondering how can I do to trigger a new event from so cases to n8n, after an observable is created. Which file must be edited to call the api?
Thnks
Mariano

Distributed velociratpor

Do you know if velociraptor supports distributed installs? For example the security onion manager runs on a segmented network with no access while a sensor runs with a leg into the server network which will facilitate the velociraptor communications.

image

unable to so-start-soc after reboot

THANK YOU this has made getting people interesting in SO a lot of fun.

I ran into this with my home build, tore things down and rebuilt the lab. the socconfig file is having a jinja parsing error, i originally thought it was from me yanking and pasting the velociraptor json in the file, but am not as sure now after starting from scratch.

  • The output from so-soc-restart
          ID: socconfig
    Function: file.managed
        Name: /opt/so/conf/soc/soc.json
      Result: False
     Comment: Unable to manage file: Jinja syntax error: Unable to load json from ,{ "name": "Velociraptor", "description": "Velociraptor Client Pivot", "icon": "fa-external-link-alt", "target": "_blank","links": ["/velociraptor/app/index.html?#/search/{:client.id}"]}]; line 1
              
              ---
              {%- set MANAGERIP = salt['pillar.get']('global:managerip', '') %}    <======================
              {%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %}
              {%- set THEHIVEKEY = salt['pillar.get']('global:hivekey', '') %}
              {%- set PLAYBOOK = salt['pillar.get']('manager:playbook', '0') %}
              {%- set THEHIVE = salt['pillar.get']('manager:thehive', '0') %}
              {%- set FLEETMANAGER = salt['pillar.get']('global:fleet_manager', False) %}
              [...]
              ---
     Started: 02:51:19.582218
    Duration: 809.165 ms
     Changes:   

The larger python traceback

Starting soc...

This could take a while if another Salt job is running. 
Run this command with --force to stop all Salt jobs before proceeding.
=========================================================================
[ERROR   ] Rendering exception occurred
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/salt/utils/jinja.py", line 1042, in load_json
    return salt.utils.json.loads(value)
  File "/usr/lib/python3.6/site-packages/salt/utils/json.py", line 89, in loads
    return json_module.loads(s, **kwargs)
  File "/usr/lib64/python3.6/json/__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "/usr/lib64/python3.6/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib64/python3.6/json/decoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/salt/utils/templates.py", line 502, in render_jinja_tmpl
    output = template.render(**decoded_context)
  File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 1090, in render
    self.environment.handle_exception()
  File "/usr/lib/python3.6/site-packages/jinja2/environment.py", line 832, in handle_exception
    reraise(*rewrite_traceback_stack(source=source))
  File "/usr/lib/python3.6/site-packages/jinja2/_compat.py", line 28, in reraise
    raise value.with_traceback(tb)
  File "<template>", line 1, in top-level template code
  File "/usr/lib/python3.6/site-packages/salt/utils/jinja.py", line 1044, in load_json
    raise TemplateRuntimeError("Unable to load json from {}".format(value))
jinja2.exceptions.TemplateRuntimeError: Unable to load json from ,{ "name": "Velociraptor", "description": "Velociraptor Client Pivot", "icon": "fa-external-link-alt", "target": "_blank","links": ["/velociraptor/app/index.html?#/search/{:client.id}"]}]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/salt/utils/templates.py", line 261, in render_tmpl
    output = render_str(tmplstr, context, tmplpath)
  File "/usr/lib/python3.6/site-packages/salt/utils/templates.py", line 520, in render_jinja_tmpl
    "Jinja syntax error: {}{}".format(exc, out), line, tmplstr
salt.exceptions.SaltRenderError: Jinja syntax error: Unable to load json from ,{ "name": "Velociraptor", "description": "Velociraptor Client Pivot", "icon": "fa-external-link-alt", "target": "_blank","links": ["/velociraptor/app/index.html?#/search/{:client.id}"]}]; line 1

---
{%- set MANAGERIP = salt['pillar.get']('global:managerip', '') %}    <======================
{%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %}
{%- set THEHIVEKEY = salt['pillar.get']('global:hivekey', '') %}
{%- set PLAYBOOK = salt['pillar.get']('manager:playbook', '0') %}
{%- set THEHIVE = salt['pillar.get']('manager:thehive', '0') %}
{%- set FLEETMANAGER = salt['pillar.get']('global:fleet_manager', False) %}
[...]
---
[ERROR   ] Unable to manage file: Jinja syntax error: Unable to load json from ,{ "name": "Velociraptor", "description": "Velociraptor Client Pivot", "icon": "fa-external-link-alt", "target": "_blank","links": ["/velociraptor/app/index.html?#/search/{:client.id}"]}]; line 1

---
{%- set MANAGERIP = salt['pillar.get']('global:managerip', '') %}    <======================
{%- set SENSORONIKEY = salt['pillar.get']('global:sensoronikey', '') %}
{%- set THEHIVEKEY = salt['pillar.get']('global:hivekey', '') %}
{%- set PLAYBOOK = salt['pillar.get']('manager:playbook', '0') %}
{%- set THEHIVE = salt['pillar.get']('manager:thehive', '0') %}
{%- set FLEETMANAGER = salt['pillar.get']('global:fleet_manager', False) %}
[...]
---
local:
  • output from salt-call state.highstate might have a type in it as well with veloiraptor
[root@seconionone t0m]# sudo salt-call state.highstate
local:
    Data failed to compile:
----------
    No matching sls found for 'veloiraptor' in env 'base'

Any help is much appreciated

Connection Time Out Error While Connecting to Velociraptor Server

I just installed velociraptor server on my manager node(ubuntu 20.04) and using the velociraptor_client_repacked file trying to connect to the server from client which is a sensor node(ubuntu 20.04) .
I already added the sensor node ip in the so-firewall velociraptor hostgroups and my ufw firewall is disabled in manager,still my velociraptor client is not connecting to the server,

after running,
	 ./velcoiraptor_client_repacked client -v 
it is showing an connection timeout error,

Screenshot from 2023-06-01 16-41-23
y its showing like this ,please help if some solution is there?

many Red alerts

local:
Data failed to compile:

Pillar failed to render with the following messages:

Rendering SLS 'minions.securityonion_eval' failed. Please see master log for details.

more than 10 of these red errors

Will there be a new version of DinoSOAR that will work with SO2.3.100?

Hi!
I read your notes in the readme :

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.

So,Will there be a new version of DinoSOAR that will work with SO2.3.100 or later?
Thank you very much!

Question: How to update Velociraptor and N8N versions

Hello Wes,

Thank you for your brilliant SOAR lab idea.

I've a question regarding updating VR and N8N, currently the installed version for your SOAR lab is 6.0.1, how do we update velociraptor to latest version and n8n as well.

I checked your velo docker yml file and I can see you check always for the latest release
(curl -s https://api.github.com/repos/velocidex/velociraptor/releases/latest

However when I tried the installation today, it installed VR version 6.0 not 6.1 !!

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.