Need to suppress/ignore specific application in Auditd: process ended abnormally

249 views
Skip to first unread message

Dhruvin Shah

unread,
Feb 14, 2023, 1:03:58 PM2/14/23
to Wazuh mailing list
Hi All

I want to stop receiving alerts for /usr/bin/zypper in under Auditd: process ended abnormally. any possibility of doing this from agent.conf ? If not then what would a better way to do it?

Best regards

Henadence Anyam

unread,
Feb 14, 2023, 1:35:30 PM2/14/23
to Wazuh mailing list
Hello Dhruvin!
Thank you for using Wazuh.

To suppress the rule ID: 80711 for the specific process, you can add a child rule with level 0 using the field audit.exe.
To do so, add the following block in the /var/ossec/etc/rules/local_rules.xml file of the Wazuh server:

<group name="audit, suppression,">
    <rule id="150000" level="0"> 
        <if_sid>80711</if_sid> 
        <field name="audit.exe">^/usr/bin/zypper$</field>
        <description>Suppress the $(audit.exe) application failure alert</description>
    </rule>
</group>

Note: The Wazuh server is responsible for analyzing events so perform this on the Wazuh server. The agent.conf file is used for centrally configuring Wazuh agents. 

Let me know if you find this information helpful.

Best regards.

Dhruvin Shah

unread,
Feb 15, 2023, 5:04:54 AM2/15/23
to Wazuh mailing list
Henadence Thank you so much, really appreciate the assistance.

By the way, Is it possible to add another application in the same rule in case another application needs to be suppressed?

Best Regards

Henadence Anyam

unread,
Feb 15, 2023, 7:05:20 AM2/15/23
to Wazuh mailing list
Yes, you can add other applications to the same rule by using the OR (|) operator in the <field> option. 
For example adding /usr/bin/ls to the rule looks like so:

<field name="audit.exe">/usr/bin/zypper$|/usr/bin/ls$</field>

Best regards.

Dhruvin Shah

unread,
Feb 27, 2023, 5:47:37 AM2/27/23
to Wazuh mailing list
Ah great, thank you so much Henadence, really helpful.

Best Regards
Reply all
Reply to author
Forward
0 new messages