selora / detectionlab Goto Github PK
View Code? Open in Web Editor NEWThis project forked from clong/detectionlab
Vagrant & Packer scripts to build a lab environment complete with security tooling and logging best practices
License: MIT License
This project forked from clong/detectionlab
Vagrant & Packer scripts to build a lab environment complete with security tooling and logging best practices
License: MIT License
Please verify that you are building from an updated Master branch before filing an issue.
While building vagrant libvirt machines, I'm running into the following error message that causes the vagrant up to stop:
logger: Cloning into 'suricata-update'...
logger: running install
logger: running build
logger: running build_py
logger: creating build
logger: creating build/lib.linux-x86_64-2.7
logger: creating build/lib.linux-x86_64-2.7/suricata
logger: copying suricata/init.py -> build/lib.linux-x86_64-2.7/suricata
logger: creating build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/net.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/matchers.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/util.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/init.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/revision.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/maps.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/rule.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/exceptions.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/sources.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/config.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/loghandler.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/version.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/engine.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/extract.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/notes.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/main.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/parsers.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: copying suricata/update/osinfo.py -> build/lib.linux-x86_64-2.7/suricata/update
logger: creating build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/checkversions.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/init.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/removesource.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/listsources.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/updatesources.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/disablesource.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/enablesource.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: copying suricata/update/commands/addsource.py -> build/lib.linux-x86_64-2.7/suricata/update/commands
logger: creating build/lib.linux-x86_64-2.7/suricata/update/configs
logger: copying suricata/update/configs/init.py -> build/lib.linux-x86_64-2.7/suricata/update/configs
logger: creating build/lib.linux-x86_64-2.7/suricata/update/compat
logger: copying suricata/update/compat/ordereddict.py -> build/lib.linux-x86_64-2.7/suricata/update/compat
logger: copying suricata/update/compat/init.py -> build/lib.linux-x86_64-2.7/suricata/update/compat
logger: creating build/lib.linux-x86_64-2.7/suricata/update/compat/argparse
logger: copying suricata/update/compat/argparse/init.py -> build/lib.linux-x86_64-2.7/suricata/update/compat/argparse
logger: copying suricata/update/compat/argparse/argparse.py -> build/lib.linux-x86_64-2.7/suricata/update/compat/argparse
logger: creating build/lib.linux-x86_64-2.7/suricata/update/data
logger: copying suricata/update/data/update.py -> build/lib.linux-x86_64-2.7/suricata/update/data
logger: copying suricata/update/data/init.py -> build/lib.linux-x86_64-2.7/suricata/update/data
logger: copying suricata/update/data/index.py -> build/lib.linux-x86_64-2.7/suricata/update/data
logger: copying suricata/update/configs/enable.conf -> build/lib.linux-x86_64-2.7/suricata/update/configs
logger: copying suricata/update/configs/disable.conf -> build/lib.linux-x86_64-2.7/suricata/update/configs
logger: copying suricata/update/configs/drop.conf -> build/lib.linux-x86_64-2.7/suricata/update/configs
logger: copying suricata/update/configs/modify.conf -> build/lib.linux-x86_64-2.7/suricata/update/configs
logger: copying suricata/update/configs/update.yaml -> build/lib.linux-x86_64-2.7/suricata/update/configs
logger: copying suricata/update/configs/threshold.in -> build/lib.linux-x86_64-2.7/suricata/update/configs
logger: running build_scripts
logger: creating build/scripts-2.7
logger: copying and adjusting bin/suricata-update -> build/scripts-2.7
logger: changing mode of build/scripts-2.7/suricata-update from 644 to 755
logger: running install_lib
logger: creating /usr/local/lib/python2.7/dist-packages/suricata
logger: creating /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/net.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/matchers.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/util.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/init.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/revision.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: creating /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/checkversions.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/init.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/removesource.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/listsources.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/updatesources.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/disablesource.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/enablesource.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/commands/addsource.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/commands
logger: copying build/lib.linux-x86_64-2.7/suricata/update/maps.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/rule.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: creating /usr/local/lib/python2.7/dist-packages/suricata/update/compat
logger: copying build/lib.linux-x86_64-2.7/suricata/update/compat/ordereddict.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/compat
logger: copying build/lib.linux-x86_64-2.7/suricata/update/compat/init.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/compat
logger: creating /usr/local/lib/python2.7/dist-packages/suricata/update/compat/argparse
logger: copying build/lib.linux-x86_64-2.7/suricata/update/compat/argparse/init.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/compat/argparse
logger: copying build/lib.linux-x86_64-2.7/suricata/update/compat/argparse/argparse.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/compat/argparse
logger: creating /usr/local/lib/python2.7/dist-packages/suricata/update/data
logger: copying build/lib.linux-x86_64-2.7/suricata/update/data/update.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/data
logger: copying build/lib.linux-x86_64-2.7/suricata/update/data/init.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/data
logger: copying build/lib.linux-x86_64-2.7/suricata/update/data/index.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/data
logger: copying build/lib.linux-x86_64-2.7/suricata/update/exceptions.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/sources.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/config.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/loghandler.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/version.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/engine.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: creating /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/configs/update.yaml -> /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/configs/threshold.in -> /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/configs/init.py -> /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/configs/enable.conf -> /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/configs/disable.conf -> /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/configs/drop.conf -> /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/configs/modify.conf -> /usr/local/lib/python2.7/dist-packages/suricata/update/configs
logger: copying build/lib.linux-x86_64-2.7/suricata/update/extract.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/notes.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/main.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/parsers.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/update/osinfo.py -> /usr/local/lib/python2.7/dist-packages/suricata/update
logger: copying build/lib.linux-x86_64-2.7/suricata/init.py -> /usr/local/lib/python2.7/dist-packages/suricata
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/net.py to net.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/matchers.py to matchers.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/util.py to util.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/init.py to init.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/revision.py to revision.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/checkversions.py to checkversions.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/init.py to init.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/removesource.py to removesource.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/listsources.py to listsources.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/updatesources.py to updatesources.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/disablesource.py to disablesource.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/enablesource.py to enablesource.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/commands/addsource.py to addsource.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/maps.py to maps.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/rule.py to rule.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/compat/ordereddict.py to ordereddict.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/compat/init.py to init.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/compat/argparse/init.py to init.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/compat/argparse/argparse.py to argparse.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/data/update.py to update.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/data/init.py to init.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/data/index.py to index.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/exceptions.py to exceptions.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/sources.py to sources.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/config.py to config.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/loghandler.py to loghandler.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/version.py to version.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/engine.py to engine.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/configs/init.py to init.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/extract.py to extract.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/notes.py to notes.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/main.py to main.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/parsers.py to parsers.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/update/osinfo.py to osinfo.pyc
logger: byte-compiling /usr/local/lib/python2.7/dist-packages/suricata/init.py to init.pyc
logger: running install_scripts
logger: copying build/scripts-2.7/suricata-update -> /usr/local/bin
logger: changing mode of /usr/local/bin/suricata-update to 755
logger: running install_egg_info
logger: Writing /usr/local/lib/python2.7/dist-packages/suricata_update-1.2.0.egg-info
logger: Adding the YAML header to /etc/suricata/suricata.yaml
logger: 13/1/2021 -- 08:21:11 - -- Suricata test failed, aborting.
logger: 13/1/2021 -- 08:21:11 - -- Restoring previous rules.
logger: 13/1/2021 -- 08:21:04 - -- Using data-directory /var/lib/suricata.
logger: 13/1/2021 -- 08:21:04 - -- Using Suricata configuration /etc/suricata/suricata.yaml
logger: 13/1/2021 -- 08:21:04 - -- Using /etc/suricata/rules for Suricata provided rules.
logger: 13/1/2021 -- 08:21:04 - -- Found Suricata version 6.0.1 at /usr/bin/suricata.
logger: 13/1/2021 -- 08:21:04 - -- Loading /etc/suricata/disable.conf.
logger: 13/1/2021 -- 08:21:04 - -- Loading /etc/suricata/suricata.yaml
logger: 13/1/2021 -- 08:21:04 - -- Disabling rules for protocol http2
logger: 13/1/2021 -- 08:21:04 - -- Disabling rules for protocol modbus
logger: 13/1/2021 -- 08:21:04 - -- Disabling rules for protocol enip
logger: 13/1/2021 -- 08:21:04 - -- Disabling rules for protocol dnp3
logger: 13/1/2021 -- 08:21:04 - -- No sources configured, will use Emerging Threats Open
logger: 13/1/2021 -- 08:21:04 - -- Fetching https://rules.emergingthreats.net/open/suricata-6.0.1/emerging.rules.tar.gz.
logger: 13/1/2021 -- 08:21:07 - -- Done.
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/app-layer-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/decoder-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/dhcp-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/dnp3-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/dns-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/files.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/http-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/ipsec-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/kerberos-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/modbus-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/nfs-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/ntp-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/smb-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/smtp-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/stream-events.rules
logger: 13/1/2021 -- 08:21:07 - -- Loading distribution rule file /etc/suricata/rules/tls-events.rules
logger: 13/1/2021 -- 08:21:08 - -- Ignoring file rules/emerging-deleted.rules
logger: 13/1/2021 -- 08:21:09 - -- Loaded 28740 rules.
logger: 13/1/2021 -- 08:21:10 - -- Disabled 625 rules.
logger: 13/1/2021 -- 08:21:10 - -- Enabled 0 rules.
logger: 13/1/2021 -- 08:21:10 - -- Modified 0 rules.
logger: 13/1/2021 -- 08:21:10 - -- Dropped 0 rules.
logger: 13/1/2021 -- 08:21:10 - -- Enabled 243 rules for flowbit dependencies.
logger: 13/1/2021 -- 08:21:10 - -- Creating directory /var/lib/suricata/rules.
logger: 13/1/2021 -- 08:21:10 - -- Backing up current rules.
logger: 13/1/2021 -- 08:21:10 - -- Writing rules to /var/lib/suricata/rules/suricata.rules: total: 28740; enabled: 20801; added: 28740; removed 0; modified: 0
logger: 13/1/2021 -- 08:21:10 - -- Writing /var/lib/suricata/rules/classification.config
logger: 13/1/2021 -- 08:21:10 - -- Testing with suricata -T.
logger: 13/1/2021 -- 08:21:11 - -- Suricata test failed, aborting.
logger: 13/1/2021 -- 08:21:11 - -- Restoring previous rules.
logger: Suricata attempted to start but is not running. Exiting
==> logger: Removing domain...
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
It seems suricate no start after suricate-update. Thanx for help.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.