Hi,
Wazuh v2.0 #Server side via CHANGELOG.md. Master brunch
ossec-agentd -V #Agent side
OSSEC HIDS v2.9.0 - Trend Micro Inc.
oscap -V #Agent side + Server side
OpenSCAP command line tool (oscap) 1.2.10
Copyright 2009--2016 Red Hat Inc., Durham, North Carolina.
==== Supported specifications ====
XCCDF Version: 1.2
OVAL Version: 5.11.1
CPE Version: 2.3
CVSS Version: 2.0
CVE Version: 2.0
Asset Identification Version: 1.1
Asset Reporting Format Version: 1.1
File do present in the /usr/share/xml/scap/ssg folder. I also tried <wodle> inside the <rootcheck> clause too btw (for the sake of troubleshooting) and without filtering by OS, and using a full to xml file path /usr/share/xml/scap/ssg/content/ssg-centos7-ds.xml instead of ssg-centos7-ds.xml.
Below is my /var/ossec/etc/shared/agent.conf
<agent_config os="Linux">
<!-- Policy monitoring -->
<rootcheck>
<disabled>no</disabled>
<check_unixaudit>yes</check_unixaudit>
<check_files>yes</check_files>
<check_trojans>yes</check_trojans>
<check_dev>yes</check_dev>
<check_sys>yes</check_sys>
<check_pids>yes</check_pids>
<check_ports>yes</check_ports>
<check_if>yes</check_if>
<!-- Frequency that rootcheck is executed - every 12 hours -->
<frequency>43200</frequency>
<rootkit_files>/var/ossec/etc/shared/rootkit_files.txt</rootkit_files>
<rootkit_trojans>/var/ossec/etc/shared/rootkit_trojans.txt</rootkit_trojans>
<system_audit>/var/ossec/etc/shared/system_audit_rcl.txt</system_audit>
<system_audit>/var/ossec/etc/shared/system_audit_ssh.txt</system_audit>
<system_audit>/var/ossec/etc/shared/cis_rhel7_linux_rcl.txt</system_audit>
<skip_nfs>yes</skip_nfs>
</rootcheck>
<wodle>
<disabled>no</disabled>
<timeout>1800</timeout>
<interval>7200</interval>
</wodle>
<!-- Log analysis -->
<localfile>
<log_format>syslog</log_format>
<location>/var/ossec/logs/active-responses.log</location>
</localfile>
<localfile>
<log_format>syslog</log_format>
<location>/var/log/messages</location>
</localfile>
<localfile>
<log_format>syslog</log_format>
<location>/var/log/auth.log</location>
</localfile>
<localfile>
<log_format>syslog</log_format>
<location>/var/log/syslog</location>
</localfile>
<localfile>
<log_format>command</log_format>
<command>df -P</command>
<frequency>360</frequency>
</localfile>
<localfile>
<log_format>full_command</log_format>
<command>netstat -tan |grep LISTEN |grep -v 127.0.0.1 | sort</command>
<frequency>360</frequency>
</localfile>
<localfile>
<log_format>full_command</log_format>
<command>last -n 5</command>
<frequency>360</frequency>
</localfile>
<!-- Active response -->
<active-response>
<disabled>no</disabled>
</active-response>
</agent_config>
Once I push this to agent, or just restart agent with existing config, I get
2017/02/28 13:17:15 ossec-logcollector(1202): ERROR: Configuration error at '/var/ossec/etc/shared/agent.conf'. Exiting.
Started ossec-logcollector...
2017/02/28 13:17:15 ossec-syscheckd(1230): ERROR: Invalid element in the configuration: 'wodle'.
2017/02/28 13:17:15 ossec-syscheckd(1202): ERROR: Configuration error at '/var/ossec/etc/shared/agent.conf'. Exiting.
Started ossec-syscheckd...
Thank you