enSilo EDR for DefenseStorm
to pull this repository and submodules:
git clone --recurse-submodules https://github.com/DefenseStorm/ensiloEventLogs.git
- If this is the first integration on this DVM, Do the following:
cp ds-integration/ds_events.conf to /etc/syslog-ng/conf.d
Edit /etc/syslog-ng/syslog-ng.conf and add local7 to the excluded list for filter f_syslog3 and filter f_messages. The lines should look like the following:
filter f_syslog3 { not facility(auth, authpriv, mail, local7) and not filter(f_debug); };
filter f_messages { level(info,notice,warn) and not facility(auth,authpriv,cron,daemon,mail,news,local7); };
Restart syslog-ng service syslog-ng restart
- Copy the template config file and update the settings
cp ensiloEventLogs.conf.template ensiloEventLogs.conf
change the following items in the config file based on your configuration
server_url
# Set the appropriate auth method. "basic" for username/password, "token" for token based auth. You can
# set to basic and use teh "-g" option to generate a token then switch the configuration. None, the token
# will change whenever the user logs into the API.
auth_method
username
password
token
-
Add the following entry to the root crontab so the script will run every 5 minutes
*/5 * * * * cd /usr/local/ensiloEventLogs; ./ensiloEventLogs.py