Check: UBTU-20-010035
Canonical Ubuntu 20.04 LTS STIG:
UBTU-20-010035
(in version v1 r12)
Title
The Ubuntu operating system must use strong authenticators in establishing nonlocal maintenance and diagnostic sessions. (Cat II impact)
Discussion
Nonlocal maintenance and diagnostic activities are those activities conducted by individuals communicating through a network, either an external network (e.g., the internet) or an internal network. Local maintenance and diagnostic activities are those activities carried out by individuals physically present at the information system or information system component and not communicating across a network connection. Typically, strong authentication requires authenticators that are resistant to replay attacks and employ multifactor authentication. Strong authenticators include, for example, PKI where certificates are stored on a token protected by a password, passphrase, or biometric.
Check Content
Verify the Ubuntu operating system is configured to use strong authenticators in the establishment of nonlocal maintenance and diagnostic maintenance. Verify that "UsePAM" is set to "yes" in "/etc/ssh/sshd_config: $ sudo /usr/sbin/sshd -dd 2>&1 | awk '/filename/ {print $4}' | tr -d '\r' | tr '\n' ' ' | xargs sudo grep -iH '^\s*usepam' UsePAM yes If "UsePAM" is not set to "yes", this is a finding. If conflicting results are returned, this is a finding.
Fix Text
Configure the Ubuntu operating system to use strong authentication when establishing nonlocal maintenance and diagnostic sessions. Add or modify the following line to /etc/ssh/sshd_config: UsePAM yes
Additional Identifiers
Rule ID: SV-238211r951464_rule
Vulnerability ID: V-238211
Group Title: SRG-OS-000125-GPOS-00065
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000877 |
The organization employs strong authenticators in the establishment of nonlocal maintenance and diagnostic sessions. |
Controls
Number | Title |
---|---|
MA-4 |
Nonlocal Maintenance |