SV-207546r612253_rule
V-207546
SRG-APP-000125-DNS-000012
BIND-9X-001040
CAT III
10
Configure the "logging" statement to send audit logs to the syslog daemon.
logging {
channel <syslog_channel> {
syslog <syslog_facility>;
};
category <category_name> { <syslog_channel>; };
};
Note: It is recommended to use a local syslog facility (i.e. local0 -7) when configuring the syslog channel.
Restart the BIND 9.x process.
Configure the (r)syslog daemon to send audit logs to a remote server.
Verify that the BIND 9.x server is configured to send audit logs to the syslog service.
Inspect the "named.conf" file for the following:
logging {
channel <syslog_channel> {
syslog <syslog_facility>;
};
category <category_name> { <syslog_channel>; };
If a logging channel is not defined for syslog, this is a finding.
If a category is not defined to send messages to the syslog channel, this is a finding.
Ensure audit records are forwarded to a remote server:
# grep "\*.\*" /etc/syslog.conf |grep "@" | grep -v "^#" (for syslog)
or:
# grep "\*.\*" /etc/rsyslog.conf | grep "@" | grep -v "^#" (for rsyslog)
If neither of these lines exist, this is a finding.
V-207546
False
BIND-9X-001040
Verify that the BIND 9.x server is configured to send audit logs to the syslog service.
Inspect the "named.conf" file for the following:
logging {
channel <syslog_channel> {
syslog <syslog_facility>;
};
category <category_name> { <syslog_channel>; };
If a logging channel is not defined for syslog, this is a finding.
If a category is not defined to send messages to the syslog channel, this is a finding.
Ensure audit records are forwarded to a remote server:
# grep "\*.\*" /etc/syslog.conf |grep "@" | grep -v "^#" (for syslog)
or:
# grep "\*.\*" /etc/rsyslog.conf | grep "@" | grep -v "^#" (for rsyslog)
If neither of these lines exist, this is a finding.
M
2926