Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix etc path #8024

Open
wants to merge 1 commit into
base: 4.9
Choose a base branch
from
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