Hi Radun,
To verify if the script properly works, you can check the logs in Wazuh manager (/var/ossec/logs/ossec.log) or Wazuh Dashboard for any alerts related to the virus detection or the Virustotal integration trigger. For example:
You will probably need to disable your antivirus, as it might catch the file first before the remove-malware script is executed. If the remove-malware.exe was executed, you can check the logs for any successful execution.
Regarding the eicar test file, it is safe to use as it is a harmless file used for testing antivirus software (as shown in the example).
If you have any further questions or concerns, please let us know.
Regards,
Jose Camargo