Hi Demetri,
Currently, the communication between agent and manager works the following way:
- For the registration process: as you said, TLS can be used to verify the agent. Once it’s verified, both manager and agent share a key (client.keys) to exchange messages with a symmetric encryption method (AES or Blowfish).
- This key is permanent (in the client.keys file) and its access is restricted to root. Every agent is identified by its IP direction (unless the agent is registered with ip=any).
If we used TLS for message exchanging:
- The manager should have a certificate (instead of the keys) and in every session, a handshake should happen between agent and manager.
- This and the fact that we would have to manage expiring certificates could make Wazuh have some performance issues.
In summary, both methods are somehow alike. The main difference is that we’re keeping a permanent AES (or Blowfish) encryption key and TLS would change it every session.
Anyway, this is a very good question and we acknowledged the possible security issues in our actual message exchange process. This will be definitely discussed in our team in the near future. We will let you know our decision when it’s been discussed.
Best regards,
David Vidriales
--
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/60fb2d2f-eacb-439a-974d-9f86e6f05ce2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
We are going to be setting up consul connect for our inter service coms soon. It would be nice if we had the option to use that for manager-agent coms. Then wazuh wouldn't have to do any work.
--
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/d146e8f0-e26a-4ab3-a0e2-6f899ca5e41f%40googlegroups.com.
Hi Demetri,
Currently, the communication between agent and manager works the following way:
- For the registration process: as you said, TLS can be used to verify the agent. Once it’s verified, both manager and agent share a key (client.keys) to exchange messages with a symmetric encryption method (AES or Blowfish).
- This key is permanent (in the client.keys file) and its access is restricted to root. Every agent is identified by its IP direction (unless the agent is registered with ip=any).
If we used TLS for message exchanging:
- The manager should have a certificate (instead of the keys) and in every session, a handshake should happen between agent and manager.
- This and the fact that we would have to manage expiring certificates could make Wazuh have some performance issues.
In summary, both methods are somehow alike. The main difference is that we’re keeping a permanent AES (or Blowfish) encryption key and TLS would change it every session.
Anyway, this is a very good question and we acknowledged the possible security issues in our actual message exchange process. This will be definitely discussed in our team in the near future. We will let you know our decision when it’s been discussed.
Best regards,
David Vidriales
On Fri, Nov 30, 2018 at 7:23 PM Demetri <demetri...@gmail.com> wrote:
Hi,--We have this link in the documentation: https://documentation.wazuh.com/current/development/message-format.html#secure-message-formatWould the community be opposed to adding TLS for the communication between agents and managers? I'm unsure if there has been any discussion regarding this. I know TLS is used during the registration process.Thanks.
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+unsubscribe@googlegroups.com.