Auto-ossec not working

26 views
Skip to first unread message

Daniel Saliba

unread,
Nov 16, 2017, 11:02:07 AM11/16/17
to ossec-list
Hi guys, I am trying to use auto-ossec from binary defense for automatic pairing but when running the auto_ossec.exe (for windows) I get the following;

Client side:
[] Connected to auto enrollment server at IP: 10.18.119.14
[
] Pulled hostname and IP, encrypted data, and now sending to server.
[] We received our new pairing key for OSSEC, closing server connection.
[
] Removing any old keys.
[] Successfully imported the new pairing key.
[
] Stopping the OSSEC service, just in case its running.
[] Overwriting the ossec.conf to incorporate server host IP address.
[
] Finished. Started the OSSEC service. Auto Enrollment for OSSEC is now finish

Server side:
Client connected with ('10.18.139.101', 58745)
new() missing 1 required positional argument: 'mode'
Traceback (most recent call last):
File "auto_server.py", line 164, in handle
data = aescall(secret, data, "decrypt")
File "auto_server.py", line 145, in aescall
cipher = AES.new(secret)
TypeError: new() missing 1 required positional argument: 'mode'
Pairing complete. Terminating connection to client.


But the agent is not being registered and hence no key can be retrieved and added to the agent config. Can you please help?

Reply all
Reply to author
Forward
0 new messages