[ { type: install message: < syslog /var/log/userlog 7) Vulnerability detector and Indexer connector are disabled by default. If you want to use them, don't forget to configure and enable them from /var/ossec/etc/ossec.conf file. Also, you will need download vd database file to Wazuh tmp directory. # cd /var/ossec/tmp && fetch http://packages.wazuh.com/deps/vulnerability_model_database/vd_1.0.0_vd_4.13.0.tar.xz # chmod 640 /var/ossec/tmp/vd_1.0.0_vd_4.13.0.tar.xz # chown wazuh:wazuh /var/ossec/tmp/vd_1.0.0_vd_4.13.0.tar.xz Take on mind, a valid certificate is necessary to connect Indexer connector (Wazuh manager) to Wazuh indexer (OpenSearch). 8) Save Wazuh indexer username and password into the Wazuh keystore. # export WAZUH_HOME=/var/ossec # echo '' | /var/ossec/bin/wazuh-keystore -f indexer -k username # echo '' | /var/ossec/bin/wazuh-keystore -f indexer -k password By default, INDEXER_USERNAME and INDEXER_PASSWORD are admin and admin. 9) Use a certificate generated previously. For example, you can use logstash certificates. Otherwise, you can use a simplified certificates generator script for this task. Download it from the following url: https://people.freebsd.org/~acm/ports/wazuh/wazuh-gen-certs.tar.gz 10) The sysctl 'kern.hostuuid' is used as a serial number. If you are in a jail, you should have at least started the 'hostid' rc script to uniquely identify this device. 11) Add Wazuh manager to /etc/rc.conf # sysrc wazuh_manager_enable="YES" or # service wazuh-manager enable 12) Don't forget mount procfs before of start wazuh-manager, please do the following: # mount -t procfs proc /proc To make it permanent, you need the following lines in /etc/fstab: proc /proc procfs rw 0 0 13) Start Wazuh manager # service wazuh-manager start 14) Enjoy it ;) EOM } ]