Hi Wazuh Community,
I’ve successfully installed Sysmon on 5 Windows endpoints and integrated them with Wazuh. To centrally manage the Sysmon config.xml file, I created a new group in the Wazuh manager and mapped all 5 agents under it. I then saved the config.xml file at /var/ossec/etc/shared/sysmon_windows, which allows me to push centralized changes to all agents.
However, the issue I'm facing is that, after modifying the config.xml centrally in Wazuh, I still need to manually access each endpoint to run the following command for the configuration update to apply:
sysmon64.exe -c "C:\Program Files (x86)\ossec-agent\shared\sysmonconfig.xml".
Is there a way to automate this command execution using Wazuh’s FIM module or active response feature? If so, what steps do I need to follow to achieve this?
Wazuh version: 4.7.3
I’d appreciate any help or guidance ASAP on how to streamline this process!
Thanks,
Fazeen Alan
Thank you for sharing this information.
My specific requirement is to have the Sysmon command execute automatically on the endpoints only when a modification is made to the config.xml file. How can I configure this process so that the command runs on the endpoints and applies the changes without manual intervention?
Looking forward to your suggestions.
Regards,
Fazeen Alan
<command>
<name>sysmon_exec</name>
<executable>command.bat</executable>
<timeout_allowed>no</timeout_allowed>
</command>
<active-response>
<command>sysmon_exec</command>
<location>local</location>
<rules_id>100100</rules_id>
</active-response>
I followed the five steps mentioned, but the active response is not triggering for me.
Could you provide any guidance on what might be going wrong or if there are additional configurations I need to check?