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
- Updated
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if rpm --quiet -q kernel; then
rm -f /etc/*.keytab
else
Remediation - Ansible
- name: Gather the package facts
package_facts:
manager: auto
tags:
- DISA-STIG-RHEL-08-010161
- disable_strategy