CEF Syslog Feedback

The broker component can be configured to send a CEF syslog summary string to any endpoint via TCP or UDP.

The CEF syslog feedback is generated and sent to the configured endpoint when the main transform task and all its subtasks are in a final processing state.

To modify the syslog feedback configuration:

Step #1 - Open /home/sandbox/sandbox/broker.cfg in a text editor

Step #2 - Add or modify the following properties (no need to overwrite default values):

broker.cfg
Copy

Step #3 - Save the file and restart the sandbox service

Property details

Property NameDefault ValueDescription
cefSyslogEnabledfalseMain switch to enable / disable CEF syslog feedback
cefSyslogHost-Host name or IP address of the log server
cefSyslogPort514Port of the log server
cefSyslogProtocoltcpConnection protocol to use: tcp or udp
cefSyslogTimeoutMs10 secondsConnection timeout used for TCP sockets
cefSyslogUseSSLfalseSwitch to enable / disable SSL verification for TCP sockets
syslogHeaderPrivalFacility16Facility value used in the syslog header
syslogHeaderPrivalSeverity6Severity value used in the syslog header
syslogHeaderHost-The hostname value is used in the syslog header. If not configured, the application will try to detect and use the local hostname.

Since the broker is running in a dockerized environment, the detected hostname might not be useful, therefore it is possible to set a user defined hostname which will be used in the syslog header.

Example CEF syslog message:

message
Copy

Scan verdict and CEF severity mapping

Scan verdictCEF severity
BENIGN0
NO_THREAT1
SUSPICIOUS3
LIKELY_MALICIOUS6
MALICIOUS9
UNKNOWN0

Test syslog integration

The syslog integration can be tested with the help of a commonly used syslog server like syslog-ng. You can find an example syslog-ng configuration file below, accepting messages on tcp or udp and storing them to a local file.

Example syslog-ng test configuration
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard