Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Agents secret keys are not secret at all #2

Open
jvehent opened this issue Jun 6, 2013 · 0 comments
Open

Agents secret keys are not secret at all #2

jvehent opened this issue Jun 6, 2013 · 0 comments

Comments

@jvehent
Copy link

jvehent commented Jun 6, 2013

I was looking at your module to manage our ossec infrastructure, and one aspect I am particularly concerned about is key management.

The default ossec-authd doesn't provide enrollment security: any server can contact the authd server and join the ossec infrastructure, which isn't great.

I was hoping that your module would provide a more secure way of dealing with keys. But it seems that you generate them by calculating two md5 strings from non-secret information. There is no random, except for a seed stored in manifests/agentkey.pp that is statically defined. My understanding of your module is that any intruder that has access to the seed can guess all the agent keys fairly easily.

I, unfortunately, do not have a proposal to fix this, other than extracting the key management outside of the module itself.

Please confirm. If I had missed something, and your module is in fact secure, then I'd love to use it in our environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant