STIGQter STIGQter: STIG Summary: Apple OS X 10.15 (Catalina) Security Technical Implementation Guide Version: 1 Release: 4 Benchmark Date: 23 Apr 2021:

The macOS system must be configured so that the sudo command requires smart card authentication.

DISA Rule

SV-225215r610901_rule

Vulnerability Number

V-225215

Group Title

SRG-OS-000480-GPOS-00227

Rule Version

AOSX-15-003052

Severity

CAT II

CCI(s)

Weight

10

Fix Recommendation

Make a backup of the PAM SUDO settings using the following command:

cp /etc/pam.d/login /etc/pam.d/sudo_backup_`date "+%Y-%m-%d_%H:%M"`

Replace the contents of "/etc/pam.d/sudo" with the following:

# sudo: auth account password session
auth sufficient pam_smartcard.so
#auth required pam_opendirectory.so
auth required pam_deny.so
account required pam_permit.so
password required pam_deny.so
session required pam_permit.so

Check Contents

For systems that are not utilizing smart card authentication, this is Not Applicable.

To verify that the "sudo" command has been configured to require smart card authentication, run the following command:

cat /etc/pam.d/sudo | grep -i pam_smartcard.so

If the text that returns does not include the line, "auth sufficient pam_smartcard.so" at the TOP of the listing, this is a finding.

Vulnerability Number

V-225215

Documentable

False

Rule Version

AOSX-15-003052

Severity Override Guidance

For systems that are not utilizing smart card authentication, this is Not Applicable.

To verify that the "sudo" command has been configured to require smart card authentication, run the following command:

cat /etc/pam.d/sudo | grep -i pam_smartcard.so

If the text that returns does not include the line, "auth sufficient pam_smartcard.so" at the TOP of the listing, this is a finding.

Check Content Reference

M

Target Key

4212

Comments