Hello,
You are right, the issue here is the lack of this specific decoder. Wazuh has only the follow decoders as default:
http://www.wazuh.com/resources/Wazuh_Ruleset.pdfI could see that you are using centralized configuration because you have written agent.config, Am I right?. If this is the case I deduce that you have this configuration in agent.config:
<localfile>
<frequency>3600</frequency>
<log_format>full_command</log_format>
<command>rkhunter -c --rwo</command>
</localfile>
In the following link you can see all fields available for the
"localfile" tag:
https://documentation.wazuh.com/current/user-manual/reference/ossec-conf/localfile.html?highlight=localfile.
I'd suggest applying some custom rules to see alert on manager, you can do this adding rules on
/var/ossec/etc/rules/local_rules.xml file. Let me show me an example of this:
<rule id="100001" level="3">
<if_sid>530</if_sid>
<match>^ossec: output: 'rkhunter -c --rwo':</match>
<regex>Warning:</regex>
<check_diff />
<description>RK Hunter Warning</description>
<group>rkhunter,</group>
</rule>
In the following link you can see a deeper explanation of each field's purpose. With this rule created the alert only will trigger when really has a change on logs