Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/proof-of-concept-guide/audit-commands-run-by-user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Perform the following steps to create a CDB list of malicious programs and rules

.. code-block:: xml

<list>etc/lists/suspicious-programs</list>
<list>/etc/lists/suspicious-programs</list>

#. Create a high severity rule to fire when a "red" program is executed. Add this new rule to the ``/var/ossec/etc/rules/local_rules.xml`` file on the Wazuh server.

Expand All @@ -114,7 +114,7 @@ Perform the following steps to create a CDB list of malicious programs and rules
<group name="audit">
<rule id="100210" level="12">
<if_sid>80792</if_sid>
<list field="audit.command" lookup="match_key_value" check_value="red">etc/lists/suspicious-programs</list>
<list field="audit.command" lookup="match_key_value" check_value="red">/etc/lists/suspicious-programs</list>
<description>Audit: Highly Suspicious Command executed: $(audit.exe)</description>
<group>audit_command,</group>
</rule>
Expand Down