STIGQter STIGQter: STIG Summary:

Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide

Version: 1

Release: 1 Benchmark Date: 10 Mar 2021

CheckedNameTitle
SV-238196r653763_ruleThe Ubuntu operating system must provision temporary user accounts with an expiration time of 72 hours or less.
SV-238197r653766_ruleThe Ubuntu operating system must enable the graphical user logon banner to display the Standard Mandatory DoD Notice and Consent Banner before granting local access to the system via a graphical user logon.
SV-238198r653769_ruleThe Ubuntu operating system must display the Standard Mandatory DoD Notice and Consent Banner before granting local access to the system via a graphical user logon.
SV-238199r653772_ruleThe Ubuntu operating system must retain a user's session lock until that user reestablishes access using established identification and authentication procedures.
SV-238200r653775_ruleThe Ubuntu operating system must allow users to directly initiate a session lock for all connection types.
SV-238201r653778_ruleThe Ubuntu operating system must map the authenticated identity to the user or group account for PKI-based authentication.
SV-238202r653781_ruleThe Ubuntu operating system must enforce 24 hours/1 day as the minimum password lifetime. Passwords for new users must have a 24 hours/1 day minimum password lifetime restriction.
SV-238203r653784_ruleThe Ubuntu operating system must enforce a 60-day maximum password lifetime restriction. Passwords for new users must have a 60-day maximum password lifetime restriction.
SV-238204r653787_ruleUbuntu operating systems when booted must require authentication upon booting into single-user and maintenance modes.
SV-238205r653790_ruleThe Ubuntu operating system must uniquely identify interactive users.
SV-238206r653793_ruleThe Ubuntu operating system must ensure only users who need access to security functions are part of sudo group.
SV-238207r653796_ruleThe Ubuntu operating system must automatically terminate a user session after inactivity timeouts have expired.
SV-238208r653799_ruleThe Ubuntu operating system must require users to reauthenticate for privilege escalation or when changing roles.
SV-238209r653802_ruleThe Ubuntu operating system default filesystem permissions must be defined in such a way that all authenticated users can read and modify only their own files.
SV-238210r653805_ruleThe Ubuntu operating system must implement smart card logins for multifactor authentication for local and network access to privileged and non-privileged accounts.
SV-238211r653808_ruleThe Ubuntu operating system must use strong authenticators in establishing nonlocal maintenance and diagnostic sessions.
SV-238212r653811_ruleThe Ubuntu operating system must immediately terminate all network connections associated with SSH traffic after a period of inactivity.
SV-238213r653814_ruleThe Ubuntu operating system must immediately terminate all network connections associated with SSH traffic at the end of the session or after 10 minutes of inactivity.
SV-238214r653817_ruleThe Ubuntu operating system must display the Standard Mandatory DoD Notice and Consent Banner before granting any local or remote connection to the system.
SV-238215r653820_ruleThe Ubuntu operating system must use SSH to protect the confidentiality and integrity of transmitted information.
SV-238216r654316_ruleThe Ubuntu operating system must configure the SSH daemon to use Message Authentication Codes (MACs) employing FIPS 140-2 approved cryptographic hashes to prevent the unauthorized disclosure of information and/or detect changes to information during transmission.
SV-238217r653826_ruleThe Ubuntu operating system must configure the SSH daemon to use FIPS 140-2 approved ciphers to prevent the unauthorized disclosure of information and/or detect changes to information during transmission.
SV-238218r653829_ruleThe Ubuntu operating system must not allow unattended or automatic login via SSH.
SV-238219r653832_ruleThe Ubuntu operating system must be configured so that remote X connections are disabled, unless to fulfill documented and validated mission requirements.
SV-238220r653835_ruleThe Ubuntu operating system SSH daemon must prevent remote hosts from connecting to the proxy display.
SV-238221r653838_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one upper-case character be used.
SV-238222r653841_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one lower-case character be used.
SV-238223r653844_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one numeric character be used.
SV-238224r653847_ruleThe Ubuntu operating system must require the change of at least 8 characters when passwords are changed.
SV-238225r653850_ruleThe Ubuntu operating system must enforce a minimum 15-character password length.
SV-238226r653853_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one special character be used.
SV-238227r653856_ruleThe Ubuntu operating system must prevent the use of dictionary words for passwords.
SV-238228r653859_ruleThe Ubuntu operating system must be configured so that when passwords are changed or new passwords are established, pwquality must be used.
SV-238229r653862_ruleThe Ubuntu operating system, for PKI-based authentication, must validate certificates by constructing a certification path (which includes status information) to an accepted trust anchor.
SV-238230r653865_ruleThe Ubuntu operating system must implement multifactor authentication for remote access to privileged accounts in such a way that one of the factors is provided by a device separate from the system gaining access.
SV-238231r653868_ruleThe Ubuntu operating system must accept Personal Identity Verification (PIV) credentials.
SV-238232r653871_ruleThe Ubuntu operating system must electronically verify Personal Identity Verification (PIV) credentials.
SV-238233r653874_ruleThe Ubuntu operating system for PKI-based authentication, must implement a local cache of revocation data in case of the inability to access revocation information via the network.
SV-238234r685225_ruleThe Ubuntu operating system must prohibit password reuse for a minimum of five generations.
SV-238235r653880_ruleThe Ubuntu operating system must automatically lock an account until the locked account is released by an administrator when three unsuccessful logon attempts have been made.
SV-238236r653883_ruleThe Ubuntu operating system must be configured so that the script which runs each 30 days or less to check file integrity is the default one.
SV-238237r653886_ruleThe Ubuntu operating system must enforce a delay of at least 4 seconds between logon prompts following a failed logon attempt.
SV-238238r653889_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/passwd.
SV-238239r653892_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/group.
SV-238240r653895_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/shadow.
SV-238241r653898_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/gshadow.
SV-238242r653901_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/opasswd.
SV-238243r653904_ruleThe Ubuntu operating system must alert the ISSO and SA (at a minimum) in the event of an audit processing failure.
SV-238244r653907_ruleThe Ubuntu operating system must shut down by default upon audit failure (unless availability is an overriding concern).
SV-238245r653910_ruleThe Ubuntu operating system must be configured so that audit log files are not read or write-accessible by unauthorized users.
SV-238246r653913_ruleThe Ubuntu operating system must be configured to permit only authorized users ownership of the audit log files.
SV-238247r653916_ruleThe Ubuntu operating system must permit only authorized groups ownership of the audit log files.
SV-238248r653919_ruleThe Ubuntu operating system must be configured so that the audit log directory is not write-accessible by unauthorized users.
SV-238249r653922_ruleThe Ubuntu operating system must be configured so that audit configuration files are not write-accessible by unauthorized users.
SV-238250r653925_ruleThe Ubuntu operating system must permit only authorized accounts to own the audit configuration files.
SV-238251r653928_ruleThe Ubuntu operating system must permit only authorized groups to own the audit configuration files.
SV-238252r653931_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the su command.
SV-238253r653934_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chfn command.
SV-238254r653937_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the mount command.
SV-238255r653940_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the umount command.
SV-238256r653943_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the ssh-agent command.
SV-238257r653946_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the ssh-keysign command.
SV-238258r653949_ruleThe Ubuntu operating system must generate audit records for any use of the setxattr system call.
SV-238259r653952_ruleThe Ubuntu operating system must generate audit records for any use of the lsetxattr system call.
SV-238260r653955_ruleThe Ubuntu operating system must generate audit records for any use of the fsetxattr system call.
SV-238261r653958_ruleThe Ubuntu operating system must generate audit records for any use of the removexattr system call.
SV-238262r653961_ruleThe Ubuntu operating system must generate audit records for any use of the lremovexattr system call.
SV-238263r653964_ruleThe Ubuntu operating system must generate audit records for any use of the fremovexattr system call.
SV-238264r653967_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chown system call.
SV-238265r653970_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchown system call.
SV-238266r653973_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchownat system call.
SV-238267r653976_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the lchown system call.
SV-238268r653979_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chmod system call.
SV-238269r653982_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchmod system call.
SV-238270r653985_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchmodat system call.
SV-238271r653988_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the open system call.
SV-238272r653991_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the truncate system call.
SV-238273r653994_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the ftruncate system call.
SV-238274r653997_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the creat system call.
SV-238275r654000_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the openat system call.
SV-238276r654003_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the open_by_handle_at system call.
SV-238277r654006_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the sudo command.
SV-238278r654009_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the sudoedit command.
SV-238279r654012_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chsh command.
SV-238280r654015_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the newgrp command.
SV-238281r654018_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chcon command.
SV-238282r654021_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the apparmor_parser command.
SV-238283r654024_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the setfacl command.
SV-238284r654027_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chacl command.
SV-238285r654030_ruleThe Ubuntu operating system must generate audit records for the use and modification of the tallylog file.
SV-238286r654033_ruleThe Ubuntu operating system must generate audit records for the use and modification of faillog file.
SV-238287r654036_ruleThe Ubuntu operating system must generate audit records for the use and modification of the lastlog file.
SV-238288r654039_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the passwd command.
SV-238289r654042_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the unix_update command.
SV-238290r654045_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the gpasswd command.
SV-238291r654048_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chage command.
SV-238292r654051_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the usermod command.
SV-238293r654054_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the crontab command.
SV-238294r654057_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the pam_timestamp_check command.
SV-238295r654060_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the init_module syscall.
SV-238296r654063_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the finit_module syscall.
SV-238297r654066_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the delete_module syscall.
SV-238298r654069_ruleThe Ubuntu operating system must produce audit records and reports containing information to establish when, where, what type, the source, and the outcome for all DoD-defined auditable events and actions in near real time.
SV-238299r654072_ruleThe Ubuntu operating system must initiate session audits at system start-up.
SV-238300r654075_ruleThe Ubuntu operating system must configure audit tools with a mode of 0755 or less permissive.
SV-238301r654078_ruleThe Ubuntu operating system must configure audit tools to be owned by root.
SV-238302r654081_ruleThe Ubuntu operating system must configure the audit tools to be group-owned by root.
SV-238303r654084_ruleThe Ubuntu operating system must use cryptographic mechanisms to protect the integrity of audit tools.
SV-238304r654087_ruleThe Ubuntu operating system must prevent all software from executing at higher privilege levels than users executing the software and the audit system must be configured to audit the execution of privileged functions.
SV-238305r654090_ruleThe Ubuntu operating system must allocate audit record storage capacity to store at least one weeks' worth of audit records, when audit records are not immediately sent to a central audit record storage facility.
SV-238306r654093_ruleThe Ubuntu operating system audit event multiplexor must be configured to off-load audit logs onto a different system or storage media from the system being audited.
SV-238307r654096_ruleThe Ubuntu operating system must immediately notify the SA and ISSO (at a minimum) when allocated audit record storage volume reaches 75% of the repository maximum audit record storage capacity.
SV-238308r654099_ruleThe Ubuntu operating system must record time stamps for audit records that can be mapped to Coordinated Universal Time (UTC) or Greenwich Mean Time (GMT).
SV-238309r654102_ruleThe Ubuntu operating system must generate audit records for privileged activities, nonlocal maintenance, diagnostic sessions and other system-level access.
SV-238310r654105_ruleThe Ubuntu operating system must generate audit records for any successful/unsuccessful use of unlink system call.
SV-238311r654108_ruleThe Ubuntu operating system must generate audit records for any successful/unsuccessful use of unlinkat system call.
SV-238312r654111_ruleThe Ubuntu operating system must generate audit records for any successful/unsuccessful use of rename system call.
SV-238313r654114_ruleThe Ubuntu operating system must generate audit records for any successful/unsuccessful use of renameat system call.
SV-238314r654117_ruleThe Ubuntu operating system must generate audit records when loading dynamic kernel modules.
SV-238315r654120_ruleThe Ubuntu operating system must generate audit records for the /var/log/wtmp file.
SV-238316r654123_ruleThe Ubuntu operating system must generate audit records for the /var/run/wtmp file.
SV-238317r654126_ruleThe Ubuntu operating system must generate audit records for the /var/log/btmp file.
SV-238318r654129_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use modprobe command.
SV-238319r654132_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use the kmod command.
SV-238320r654135_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use the fdisk command.
SV-238321r654138_ruleThe Ubuntu operating system must have a crontab script running weekly to offload audit events of standalone systems.
SV-238322r654141_ruleThe Ubuntu operating system must generate records for successful/unsuccessful uses of delete_module syscall.
SV-238323r654144_ruleThe Ubuntu operating system must limit the number of concurrent sessions to ten for all accounts and/or account types.
SV-238324r654147_ruleThe Ubuntu operating system must monitor remote access methods.
SV-238325r654150_ruleThe Ubuntu operating system must encrypt all stored passwords with a FIPS 140-2 approved cryptographic hashing algorithm.
SV-238326r654153_ruleThe Ubuntu operating system must not have the telnet package installed.
SV-238327r654156_ruleThe Ubuntu operating system must not have the rsh-server package installed.
SV-238328r654159_ruleThe Ubuntu operating system must be configured to prohibit or restrict the use of functions, ports, protocols, and/or services, as defined in the PPSM CAL and vulnerability assessments.
SV-238329r654162_ruleThe Ubuntu operating system must prevent direct login into the root account.
SV-238330r654165_ruleThe Ubuntu operating system must disable account identifiers (individuals, groups, roles, and devices) after 35 days of inactivity.
SV-238331r654168_ruleThe Ubuntu operating system must automatically remove or disable emergency accounts after 72 hours.
SV-238332r654171_ruleThe Ubuntu operating system must set a sticky bit on all public directories to prevent unauthorized and unintended information transferred via shared system resources.
SV-238333r654174_ruleThe Ubuntu operating system must be configured to use TCP syncookies.
SV-238334r654177_ruleThe Ubuntu operating system must disable kernel core dumps so that it can fail to a secure state if system initialization fails, shutdown fails or aborts fail.
SV-238335r654180_ruleUbuntu operating systems handling data requiring "data at rest" protections must employ cryptographic mechanisms to prevent unauthorized disclosure and modification of the information at rest.
SV-238336r654183_ruleThe Ubuntu operating system must deploy Endpoint Security for Linux Threat Prevention (ENSLTP).
SV-238337r654186_ruleThe Ubuntu operating system must generate error messages that provide information necessary for corrective actions without revealing information that could be exploited by adversaries.
SV-238338r654189_ruleThe Ubuntu operating system must configure the /var/log directory to be group-owned by syslog.
SV-238339r654192_ruleThe Ubuntu operating system must configure the /var/log directory to be owned by root.
SV-238340r654195_ruleThe Ubuntu operating system must configure the /var/log directory to have mode 0750 or less permissive.
SV-238341r654198_ruleThe Ubuntu operating system must configure the /var/log/syslog file to be group-owned by adm.
SV-238342r654201_ruleThe Ubuntu operating system must configure /var/log/syslog file to be owned by syslog.
SV-238343r654204_ruleThe Ubuntu operating system must configure /var/log/syslog file with mode 0640 or less permissive.
SV-238344r654207_ruleThe Ubuntu operating system must have directories that contain system commands set to a mode of 0755 or less permissive.
SV-238345r654210_ruleThe Ubuntu operating system must have directories that contain system commands owned by root.
SV-238346r654213_ruleThe Ubuntu operating system must have directories that contain system commands group-owned by root.
SV-238347r654216_ruleThe Ubuntu operating system library files must have mode 0755 or less permissive.
SV-238348r654219_ruleThe Ubuntu operating system library directories must have mode 0755 or less permissive.
SV-238349r654222_ruleThe Ubuntu operating system library files must be owned by root.
SV-238350r654225_ruleThe Ubuntu operating system library directories must be owned by root.
SV-238351r654228_ruleThe Ubuntu operating system library files must be group-owned by root.
SV-238352r654231_ruleThe Ubuntu operating system library directories must be group-owned by root.
SV-238353r654234_ruleThe Ubuntu operating system must be configured to preserve log records from failure events.
SV-238354r654237_ruleThe Ubuntu operating system must have an application firewall installed in order to control remote access methods.
SV-238355r654240_ruleThe Ubuntu operating system must enable and run the uncomplicated firewall(ufw).
SV-238356r654317_ruleThe Ubuntu operating system must, for networked systems, compare internal information system clocks at least every 24 hours with a server which is synchronized to one of the redundant United States Naval Observatory (USNO) time servers, or a time server designated for the appropriate DoD network (NIPRNet/SIPRNet), and/or the Global Positioning System (GPS).
SV-238357r654246_ruleThe Ubuntu operating system must synchronize internal information system clocks to the authoritative time source when the time difference is greater than one second.
SV-238358r654249_ruleThe Ubuntu operating system must notify designated personnel if baseline configurations are changed in an unauthorized manner. The file integrity tool must notify the System Administrator when changes to the baseline configuration or anomalies in the oper
SV-238359r654319_ruleThe Ubuntu operating system's Advance Package Tool (APT) must be configured to prevent the installation of patches, service packs, device drivers, or Ubuntu operating system components without verification they have been digitally signed using a certificate that is recognized and approved by the organization.
SV-238360r654255_ruleThe Ubuntu operating system must be configured to use AppArmor.
SV-238361r654258_ruleThe Ubuntu operating system must allow the use of a temporary password for system logons with an immediate change to a permanent password.
SV-238362r654261_ruleThe Ubuntu operating system must be configured such that Pluggable Authentication Module (PAM) prohibits the use of cached authentications after one day.
SV-238363r654320_ruleThe Ubuntu operating system must implement NIST FIPS-validated cryptography to protect classified information and for the following: to provision digital signatures, to generate cryptographic hashes, and to protect unclassified information requiring confidentiality and cryptographic protection in accordance with applicable federal laws, Executive Orders, directives, policies, regulations, and standards.
SV-238364r654267_ruleThe Ubuntu operating system must only allow the use of DoD PKI-established certificate authorities for verification of the establishment of protected sessions.
SV-238365r654270_ruleUbuntu operating system must implement cryptographic mechanisms to prevent unauthorized modification of all information at rest.
SV-238366r654273_ruleUbuntu operating system must implement cryptographic mechanisms to prevent unauthorized disclosure of all information at rest.
SV-238367r654276_ruleThe Ubuntu operating system must configure the uncomplicated firewall to rate-limit impacted network interfaces.
SV-238368r654279_ruleThe Ubuntu operating system must implement non-executable data to protect its memory from unauthorized code execution.
SV-238369r654282_ruleThe Ubuntu operating system must implement address space layout randomization to protect its memory from unauthorized code execution.
SV-238370r654285_ruleThe Ubuntu operating system must be configured so that Advance Package Tool (APT) removes all software components after updated versions have been installed.
SV-238371r654288_ruleThe Ubuntu operating system must use a file integrity tool to verify correct operation of all security functions.
SV-238372r654318_ruleThe Ubuntu operating system must notify designated personnel if baseline configurations are changed in an unauthorized manner. The file integrity tool must notify the System Administrator when changes to the baseline configuration or anomalies in the operation of any security functions are discovered.
SV-238373r654294_ruleThe Ubuntu operating system must display the date and time of the last successful account logon upon logon.
SV-238374r654297_ruleThe Ubuntu operating system must have an application firewall enabled.
SV-238375r654300_ruleThe Ubuntu operating system must disable all wireless network adapters.
SV-238376r654303_ruleThe Ubuntu operating system must have system commands set to a mode of 0755 or less permissive.
SV-238377r654306_ruleThe Ubuntu operating system must have system commands owned by root.
SV-238378r654309_ruleThe Ubuntu operating system must have system commands group-owned by root.
SV-238379r654312_ruleThe Ubuntu operating system must disable the x86 Ctrl-Alt-Delete key sequence if a graphical user interface is installed.
SV-238380r654315_ruleThe Ubuntu operating system must disable the x86 Ctrl-Alt-Delete key sequence.