SV-280987r1195371_rule
V-280987
SRG-OS-000342-GPOS-00133
RHEL-10-200644
CAT II
10
Configure RHEL 10 to authenticate the remote logging server for off-loading audit logs by setting the following options in "/etc/rsyslog.d/99-forwarding.conf":
streamdriver.authmode="x509/name"
Specify the logserver to prevent man-in-the-middle attacks in the following format:
streamdriver.permittedpeer="rsyslog.server.example.com"
Verify RHEL 10 authenticates the remote logging server for off-loading audit logs with the following command:
$ sudo grep -r -E 'streamdriver.authmode|streamdriver.permittedpeer|tls.authmode|tls.permittedpeer' /etc/rsyslog.conf /etc/rsyslog.d/
/etc/rsyslog.d/99-forwarding.conf: streamdriver.authmode="x509/name"
If the variable name "streamdriver.authmode" is present in an omfwd statement block, this is not a finding. However, if the "streamdriver.authmode" variable is in a module block, this is a finding.
If the value of the "$ActionSendStreamDriverAuthMode" or "streamdriver.authmode" or "tls.authmode" option is not set to "x509/name", or the line is commented out, ask the system administrator to indicate how the audit logs are off-loaded to a different system or media.
Additionally, if the permittedpeer is not specified in either of the following formats, this is a finding:
streamdriver.permittedpeer="rsyslog.server.example.com"
tls.permittedpeer="rsyslog.server.example.com"
If there is no evidence that the transfer of the audit logs being off-loaded to another system or media is encrypted, this is a finding.
V-280987
False
RHEL-10-200644
Verify RHEL 10 authenticates the remote logging server for off-loading audit logs with the following command:
$ sudo grep -r -E 'streamdriver.authmode|streamdriver.permittedpeer|tls.authmode|tls.permittedpeer' /etc/rsyslog.conf /etc/rsyslog.d/
/etc/rsyslog.d/99-forwarding.conf: streamdriver.authmode="x509/name"
If the variable name "streamdriver.authmode" is present in an omfwd statement block, this is not a finding. However, if the "streamdriver.authmode" variable is in a module block, this is a finding.
If the value of the "$ActionSendStreamDriverAuthMode" or "streamdriver.authmode" or "tls.authmode" option is not set to "x509/name", or the line is commented out, ask the system administrator to indicate how the audit logs are off-loaded to a different system or media.
Additionally, if the permittedpeer is not specified in either of the following formats, this is a finding:
streamdriver.permittedpeer="rsyslog.server.example.com"
tls.permittedpeer="rsyslog.server.example.com"
If there is no evidence that the transfer of the audit logs being off-loaded to another system or media is encrypted, this is a finding.
M
5733