Hello Felipe,
The ossec.conf
file of the Windows agent already adds the System32
directory line. It looks like the first image that you attached here corresponds with the ossec.conf
of a Linux agent.
In a Windows agent, a clean ossec.conf
which has not been configured must look exactly like this. Did you modify the content of the file or did you paste the content of the Linux ossec.conf
?
You can try by uninstalling the Windows agent and then install it again, the ossec.conf file should be restored.
Regarding your second question, the directories are not being duplicated, one line has /usr/bin
and /usr/sbin
and the other has /bin
and /sbin
. They’re different directories.
I hope this helps, let me know if you’re still having trouble.
Regards,
Manuel
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To post to this group, send email to wa...@googlegroups.com.
Visit this group at https://groups.google.com/group/wazuh.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/C5C17234-F05A-4979-B20B-593BDB55E661%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
<PastedGraphic-3.png><PastedGraphic-2.png><PastedGraphic-3.png><PastedGraphic-3.png>
El 16-11-2018, a las 15:16, Manuel Jiménez <manuel....@wazuh.com> escribió:
Hello Felipe,
It seems that the value of the crypto_method
field is not correct. According to the documentation, that field can only contain these certain values: blowfish, aes
.
Please check your ossec.conf
at that point or try to find any wrong XML notation on it. Also, and if you didn’t yet, you could try to completely remove that corrupted ossec.conf
file and create it again with the content of the attached file
If that doesn’t fix your problem, and in order to provide a better assistance for you, it’d be helpful if you please attach here the full content of the ossec.conf
file of your Windows
agent. In the case that it contains sensible information, please hide it by writing ‘*‘. Additionally, please indicate the version of Windows you’re working on.
Regarding your other question, we’ve checked that the ossec.conf
template used by our ansible playbooks are currently incomplete, that’s why you did not see the default ignored directories. There already is an issue for approaching this, you can keep track of it here.
I hope this helps. Don’t hesitate to write here again if you need it.
Regards,
Manuel
<PastedGraphic-4.png><PastedGraphic-4.png>
<PastedGraphic-5.png><PastedGraphic-5.png>
Hello again, Felipe,
The reason why your Ansible playbook for the Windows agent is installing the v3.3.1 is that maybe you took the playbooks from the master
branch of the wazuh-ansible
repository. You can get the latest version of the roles and playbooks from the 3.7 branch. You can check this Pull Request where the changes for installing the latest version of the Wazuh agent in Windows were made. Please, try to deploy the Wazuh agent again using the updated playbooks.
I hope it helps.
Regards,
Manuel
<PastedGraphic-1.png><PastedGraphic-2.png><PastedGraphic-2.png><PastedGraphic-2.png>
Hello Felipe,
In order to install the v3.6.1 agent in Windows with Ansible, you can modify the vars
block of the wazuh-agent playbook
, so that the package to be installed must be the v3.6.1. Please, edit the wazuh-agent.yml
playbook and add the following content to it:
...
vars:
...
wazuh_winagent_config:
install_dir: 'C:\wazuh-agent\'
version: '3.6.1'
revision: '1'
repo: https://packages.wazuh.com/3.x/windows/
md5: adea07f0b575b63f0328b49eb09f2173
Additionally, we created an issue for the current installation directory in Windows. As you said, it's not being installed in C:\Program Files(x86)\ossec-agent as the documentation indicates. You can keep a track of it here.
Regards,
Manuel
Hello Felipe,
In order to install the v3.6.1 agent in Windows with Ansible, you can modify the
vars
block of thewazuh-agent playbook
, so that the package to be installed must be the v3.6.1. Please, edit thewazuh-agent.yml
playbook and add the following content to it:
<PastedGraphic-3.png><PastedGraphic-3.png>