Hello everyone, this is my first post on this channel.
A week ago I have started working with Wazuh, and it looks like a great tool . My first task has been to integrate sentinelone logs but I have encountered several issues.
I followed the following link
Packages in the syslog-ng installation --> I had to uninstall and reinstall syslog-ng packages syslog-ng-core syslog-ng-mod-* and then change the version number manually
@version: 3.35
@include "scl.conf".
this part solved...great
sudo systemctl status syslog-ng
● syslog-ng.service - LSB: Starting system logging daemon
Loaded: loaded (/etc/init.d/syslog-ng; generated)
Active: active (exited) since Thu 2024-06-20 15:54:25 UTC; 19h ago
Docs: man:systemd-sysv-generator(8)
CPU: 2ms
Jun 20 15:54:25 ip-172-20-10-244 systemd[1]: Starting LSB: Starting system logging daemon...
Jun 20 15:54:25 ip-172-20-10-244 systemd[1]: Started LSB: Starting system logging daemon.
In the integration part of Sentinel One for TLS, the connection is shown as rejected (attached image)
But in logs I do not see any problem
- INFO: Remote syslog allowed from: 'xxx.xxx.xxx.xxx':
- INFO: Started (pid: 522823). Listening on port 514/TCP (syslog).
Configurations madeOssec.conf <remote>
<connection>syslog</connection>
<port>514</port>
<protocol>tcp</protocol>
<allowed-ips>xxx.xxx.xxx.xxx</allowed-ips> #SentinelOne IP
</remote>
syslog-ng.conf#TLS Config
source s_network_tls {
network(
transport("tls")
port(514) # Specify the port to listen on for TLS connections
tls(
key-file("/etc/syslog-ng/key.pem")
cert-file("/etc/syslog-ng/server-cert.pem")
peer-verify(optional-untrusted)
)
);
};
destination d_tls_logs {
file("/var/log/sentinelone.log"); # Path to save the logs received over TLS
};
log { source(s_network_tls); destination(d_tls_logs); };
The protocol indicated is done, and port 514 TCP is open
netstat -tuln | grep :514
Can anyone help me or provide steps to follow, please??
Best regards