Hi Ber,
Hope you are doing well. Thank you for using Wazuh.
Can you check on the Wazuh dashboard that alerts with rule ID 60122 fired?
As per the configuration rule id 60122 needs to trigger to initiate the active response command.
If not try to produce alerts to test the active response command.
Check the document for reference:
I hope this helps. Let me know if you need any further assistance.
Regards
Md. Nazmur Sakib
Hi Ber
Active response is not working for your rule. The command you are using firewall-drop is for Linux, macOS, and Unix-based endpoints.
The rule 60122 is triggered for Windows based systems.
Check this document for default active response scripts:
You can find the script for firewall-drop here https://github.com/wazuh/wazuh/blob/v4.6.0/src/active-response/firewalls/default-firewall-drop.c
The default active response scripts for windows are:
You can find information about active response log inside
/var/ossec/logs/active-responses.log
I hope this information helps.
Regards
Md. Nazmur Sakib
Hi Ber,
Check if netsh firewall is active.
You can check the status with this command:
netsh advfirewall show allprofiles
If it is not active, make sure to active the firewall.
I hope this information helps.
Regards
Md. Nazmur Sakib