Install Smart Card Packages For Multifactor Authentication
An XCCDF Rule
Description
Configure the operating system to implement multifactor authentication by
installing the required package with the following command:
The openssl-pkcs11
package can be installed with the following command:
$ sudo dnf install openssl-pkcs11
Rationale
Using an authentication device, such as a CAC or token that is separate from
the information system, ensures that even if the information system is
compromised, that compromise will not affect credentials stored on the
authentication device.
Multifactor solutions that require devices separate from
information systems gaining access include, for example, hardware tokens
providing time-based or challenge-response authenticators and smart cards such
as the U.S. Government Personal Identity Verification card and the DoD Common
Access Card.
- ID
- xccdf_org.ssgproject.content_rule_install_smartcard_packages
- Severity
- Medium
- References
- Updated
Remediation - Puppet
include install_openssl-pkcs11
class install_openssl-pkcs11 {
package { 'openssl-pkcs11':
ensure => 'installed',
}
Remediation - Shell Script
# Remediation is applicable only in certain platforms
if [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ] && { ! grep -q s390x /proc/sys/kernel/osrelease; }; then
if ! rpm -q --quiet "openssl-pkcs11" ; then
dnf install -y "openssl-pkcs11"
fi
Remediation - Anaconda Pre-Install Instructions
package --add=openssl-pkcs11
Remediation - OS Build Blueprint
[[packages]]
name = "openssl-pkcs11"
version = "*"
Remediation - Ansible
- name: Ensure openssl-pkcs11 is installed
package:
name: openssl-pkcs11
state: present
when:
- ansible_virtualization_type not in ["docker", "lxc", "openvz", "podman", "container"]