How to use
We describe the steps on how to use our SIEM platform. We describe how to start using the application in a few steps.
Requirements
- Have an account on securityspectrum.io.
- Must have fluent-bit (log-shipper) with
encryptfilter plugin andkafkaoutput installed on the device which parses and encrypt logs. - Get the fluent-bit with
encryptplugin from https://github.com/securityspectrum/fluent-bit/releases - Please note that Windows OS is not supported at the moment.
- The following Operating Systems are supported:
- ubuntu
- centos
- amazonlinux
- debian
- raspbian
- Must have at least one of the supported security agents installed that will monitor and generate the logs in JSON. At the current moment, we only support:
- Zeek
- OSSEC
- OpenVAS
- Suricata
Quickstart
In this section, we describe how to start receiving event logs generated by Zeek and shipped with fluent-bit with encrypted PIIs.
1. Generate encryption keys and configuration file for fluent-bit
- Create an account on securityspectrum.io
- Login and create a first organization. Mark that organization as default.
- Go to
Settings->Application Settings->Setup Encryption Keyand Click onSetup encryption keybutton to generate encryption keys. - Verify and review selected
PII fieldswith theencryption mechanismsby accessingPrivacyview.
2. Installing and configuring Zeek
- Install Zeek
- Stop Zeek with
zeekctl stop -
Go to
/opt/zeek/share/zeek/site/local.zeekand append the following configuration at the end of the file:# @load packages # Output to JSON format load policy/tuning/json-logs.zeek -
Restart Zeek:
zeekctl deploy -
Verify that the logs are generated in JSON format:
tail -f /opt/zeek/logs/current/conn.log
3. Installing and configuring fluent-bit
- Install fluent-bit with
encryptfilter plugin available from here: https://github.com/securityspectrum/fluent-bit/releases -
After installation, verify that fluent-bit binary works as expected with
encryptplugin with the following command:fluent-bit -v ... -
Create a file
fluent-bit-parsers.confwith the following contents:[PARSER] Name json-parser Format json
-
From the view
Settings->Application settings->Log Shippers. - If there is no fluent-bit configuration present in the view, click on
Add Tokenbutton on top right to generate new. - Create a new configuration file
fluent-bit.confwith the generated fluent-bit configuration sample. You can click on the middle iconCopy configuration
. -
Click on the icon
Download certificates
and extract the three files from it. Make sure that they match the following path:rdkafka.ssl.ca.location /opt/log-shippers/fluent-bit/.certs/kafka-client-cacert.crt rdkafka.ssl.certificate.location /opt/log-shippers/fluent-bit/.certs/kafka-client.crt rdkafka.ssl.key.location /opt/log-shippers/fluent-bit/.certs/kafka-client.key -
Make sure to update the attribute
Master_Enc_Keyvalue influent-bit.confwith theMaster Keyvalue which was generated in the 3rd step. -
Test fluent-bit with
fluent-bit -c fluent-bit.conf