5.1.1.7 Ensure rsyslog is not configured to receive logs from a remote client

Information

RSyslog supports the ability to receive messages from remote hosts, thus acting as a log server. Clients should not receive data from other hosts.

If a client is configured to also receive data, thus turning it into a server, the client system is acting outside its operational boundary.

Solution

Should there be any active log server configuration found in the auditing section, modify those files and remove the specific lines highlighted by the audit. Ensure none of the following entries are present in any of /etc/rsyslog.conf or /etc/rsyslog.d/*.conf

New format

module(load="imtcp")
input(type="imtcp" port="514")

- OR -

Old format

$ModLoad imtcp
$InputTCPServerRun

Restart the service:

# systemctl restart rsyslog

See Also

https://workbench.cisecurity.org/benchmarks/15963

Item Details

Category: AUDIT AND ACCOUNTABILITY, CONFIGURATION MANAGEMENT

References: 800-53|AU-2, 800-53|AU-7, 800-53|AU-12, 800-53|CM-6, 800-53|CM-7, CSCv7|6.2, CSCv7|6.3, CSCv7|9.2

Plugin: Unix

Control ID: e99ba65667909e19b6f91ea3e368b8f774e8f5b0b9db9d190cadf50e9dd2d1a2