Disable Kerberos by removing host keytab
An XCCDF Rule
Description
Kerberos is not an approved key distribution method for Common Criteria. To prevent using Kerberos by system daemons, remove the Kerberos keytab files, especially/etc/krb5.keytab
.
Rationale
The key derivation function (KDF) in Kerberos is not FIPS compatible.
- ID
- xccdf_org.ssgproject.content_rule_kerberos_disable_no_keytab
- Severity
- Medium
- References
- Updated
Remediation Templates
A Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel; then
rm -f /etc/*.keytab
else
>&2 echo 'Remediation is not applicable, nothing was done'
fi
An Ansible Snippet
- name: Gather the package facts
package_facts:
manager: auto
tags:
- CCE-84221-1
- DISA-STIG-RHEL-09-611205