I have just tested an amalgation of AutoIT on the Windows side, with some help from plink and some batch scripting on the linux side to log in and create the appropriate key, extract it and put it in client.keys.
However, you do need sudo permissions for the login account you use from the windows side so it can run the OSSEC programs.
According to some on IRC, you may be able to compile agent-auth for Windows, but I haven’t tried that solution yet.
--
James Pulver
CLASSE Computer Group
Cornell University
--
Yes, each client has a unique client.keys.
--
James Pulver
CLASSE Computer Group
Cornell University
From: ossec...@googlegroups.com [mailto:ossec...@googlegroups.com]
On Behalf Of Chris Lauritzen
Sent: Thursday, September 19, 2013 9:46 AM
To: ossec...@googlegroups.com
Subject: Re: [ossec-list] Client.keys
James let get this straight, if I have 3500 pc's to push this out to I need 3500 client.keys files?
--
Hello,
sorry, when I disturbing the discussion. We have the same problem with windows agents.
Under *NIX os we could register the agent automaticly during installation using: /var/ossec/bin/agent-auth -m $ossecserver -A $::fqdn -D /var/ossec/ and on the server site the ossec-authd.
Is there still no command for windows os? Is this in planning?
Thanks Jared for the howto, it’s should be better as our situation under windows now J
Mit freundlichen Grüßen / Best regards
Björn
cacls"C:\Program Files (x86)\ossec-agent\client.keys" /T /E /G everyone:F
Alternately, the file may still be open/locked, but you should still be able to read it. Error handling should let you know if you are missing a prompt from the GUI as you are using the cmd line.
Not really – you can recompile the server for a higher limit rather easily and non-destructively for your configuration.
--
James Pulver
CLASSE Computer Group
Cornell University
From: ossec...@googlegroups.com [mailto:ossec...@googlegroups.com]
On Behalf Of Chris Lauritzen
Sent: Friday, September 27, 2013 2:26 PM
To: ossec...@googlegroups.com
Subject: Re: [ossec-list] Client.keys
As a follow up: Only to find out there is a 1500 record limit in each instance OSSEC.
--