STIGQter STIGQter: STIG Summary:

Canonical Ubuntu 18.04 LTS Security Technical Implementation Guide

Version: 2

Release: 3 Benchmark Date: 23 Apr 2021

CheckedNameTitle
SV-219147r610963_ruleUbuntu operating systems booted with a BIOS must require authentication upon booting into single-user and maintenance modes.
SV-219148r610963_ruleUbuntu operating systems booted with United Extensible Firmware Interface (UEFI) implemented must require authentication upon booting into single-user mode and maintenance.
SV-219149r610963_ruleThe Ubuntu operating system must initiate session audits at system startup.
SV-219150r610963_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-219151r610963_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-219152r610963_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-219153r610963_ruleThe Ubuntu operating system audit event multiplexor must be configured to off-load audit logs onto a different system in real time, if the system is interconnected.
SV-219154r610963_ruleThe Ubuntu operating system must have a crontab script running weekly to off-load audit events of standalone systems.
SV-219155r610963_ruleAdvance 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-219156r610963_ruleThe Ubuntu operating system must be configured so that Advance package Tool (APT) removes all software components after updated versions have been installed.
SV-219157r610963_ruleThe Ubuntu operating system must not have the Network Information Service (NIS) package installed.
SV-219158r610963_ruleThe Ubuntu operating system must not have the rsh-server package installed.
SV-219159r610963_ruleThe Ubuntu operating system must deploy Endpoint Security for Linux Threat Prevention (ENSLTP).
SV-219160r610963_ruleThe Ubuntu operating system must be configured to preserve log records from failure events.
SV-219161r610963_ruleThe Ubuntu operating system must have an application firewall installed in order to control remote access methods.
SV-219162r610963_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-219163r610963_ruleThe Ubuntu operating system must be configured such that Pluggable Authentication Module (PAM) prohibits the use of cached authentications after one day.
SV-219164r610963_ruleThe Ubuntu operating system must enforce a delay of at least 4 seconds between logon prompts following a failed logon attempt.
SV-219165r610963_ruleThe Ubuntu operating system must display the date and time of the last successful account logon upon logon.
SV-219166r610963_ruleThe Ubuntu operating system must be configured so that three consecutive invalid logon attempts by a user automatically locks the account until released by an administrator.
SV-219167r610963_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-219168r610963_ruleThe Ubuntu operating system must prevent direct login into the root account.
SV-219169r610963_ruleThe Ubuntu operating system must be configured so that only users who need access to security functions are part of the sudo group.
SV-219170r610963_ruleThe Ubuntu operating system must display the Standard Mandatory DoD Notice and Consent Banner before granting any publically accessible connection to the system.
SV-219172r610963_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one upper-case character be used.
SV-219173r610963_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one lower-case character be used.
SV-219174r610963_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one numeric character be used.
SV-219175r610963_ruleThe Ubuntu operating system must require the change of at least 8 characters when passwords are changed.
SV-219176r610963_ruleThe Ubuntu operating system must encrypt all stored passwords with a FIPS 140-2 approved cryptographic hashing algorithm.
SV-219177r610963_ruleThe Ubuntu operating system must not have the telnet package installed.
SV-219178r610963_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-219179r610963_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-219180r610963_ruleThe Ubuntu operating system must prohibit password reuse for a minimum of five generations.
SV-219181r610963_ruleThe Ubuntu operating system must enforce a minimum 15-character password length.
SV-219182r610963_ruleThe Ubuntu operating system must employ a FIPS 140-2 approved cryptographic hashing algorithms for all created and stored passwords.
SV-219183r610963_ruleThe Ubuntu operating system must allow the use of a temporary password for system logons with an immediate change to a permanent password.
SV-219184r610963_ruleThe Ubuntu operating system must prevent the use of dictionary words for passwords.
SV-219185r610963_ruleThe Ubuntu operating system must require users to re-authenticate for privilege escalation and changing roles.
SV-219186r610963_ruleThe Ubuntu Operating system must be configured so that when passwords are changed or new passwords are established, pwquality must be used.
SV-219187r610963_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-219188r610963_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-219189r610963_ruleThe Ubuntu operating system must configure the /var/log directory to be group-owned by syslog.
SV-219190r610963_ruleThe Ubuntu operating system must configure the /var/log directory to be owned by root.
SV-219191r610963_ruleThe Ubuntu operating system must configure the /var/log directory to have mode 0750 or less permissive.
SV-219192r610963_ruleThe Ubuntu operating system must configure the /var/log/syslog file to be group-owned by adm.
SV-219193r610963_ruleThe Ubuntu operating system must configure /var/log/syslog file to be owned by syslog.
SV-219194r610963_ruleThe Ubuntu operating system must configure /var/log/syslog file with mode 0640 or less permissive.
SV-219195r610963_ruleThe Ubuntu operating system must configure audit tools with a mode of 0755 or less permissive.
SV-219196r610963_ruleThe Ubuntu operating system must configure audit tools to be owned by root.
SV-219197r610963_ruleThe Ubuntu operating system must configure the audit tools to be group-owned by root.
SV-219198r610963_ruleThe Ubuntu operating system library files must have mode 0755 or less permissive.
SV-219199r610963_ruleThe Ubuntu operating system library directories must have mode 0755 or less permissive.
SV-219200r610963_ruleThe Ubuntu operating system library files must be owned by root.
SV-219201r610963_ruleThe Ubuntu operating system library directories must be owned by root.
SV-219202r610963_ruleThe Ubuntu operating system library files must be group-owned by root.
SV-219203r610963_ruleThe Ubuntu operating system library directories must be group-owned by root.
SV-219204r610963_ruleThe Ubuntu operating system must have system commands set to a mode of 0755 or less permissive.
SV-219205r610963_ruleThe Ubuntu operating system must have directories that contain system commands set to a mode of 0755 or less permissive.
SV-219206r610963_ruleThe Ubuntu operating system must have system commands owned by root.
SV-219207r610963_ruleThe Ubuntu operating system must have directories that contain system commands owned by root.
SV-219208r648688_ruleThe Ubuntu operating system must have system commands group-owned by root.
SV-219209r610963_ruleThe Ubuntu operating system must have directories that contain system commands group-owned by root.
SV-219210r610963_ruleThe Ubuntu operating system must enforce password complexity by requiring that at least one special character be used.
SV-219211r610963_ruleThe Ubuntu Operating system must disable the x86 Ctrl-Alt-Delete key sequence if a graphical user interface is installed.
SV-219212r610963_ruleThe Ubuntu Operating system must disable the x86 Ctrl-Alt-Delete key sequence.
SV-219213r610963_ruleThe Ubuntu operating system must generate audit records for the use and modification of the tallylog file.
SV-219214r610963_ruleThe Ubuntu operating system must generate audit records for the use and modification of faillog file.
SV-219215r610963_ruleThe Ubuntu operating system must generate audit records for the use and modification of the lastlog file.
SV-219216r610963_ruleThe Ubuntu operating system must generate audit records for privileged activities or other system-level access.
SV-219217r610963_ruleThe Ubuntu operating system must generate audit records for the /var/log/wtmp file.
SV-219218r610963_ruleThe Ubuntu operating system must generate audit records for the /var/run/wtmp file.
SV-219219r610963_ruleThe Ubuntu operating system must generate audit records for the /var/log/btmp file.
SV-219220r610963_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/passwd.
SV-219221r610963_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/group.
SV-219222r610963_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/gshadow.
SV-219223r610963_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/shadow.
SV-219224r610963_ruleThe Ubuntu operating system must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/security/opasswd.
SV-219225r610963_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-219226r610963_ruleThe Ubuntu operating system must alert the ISSO and SA (at a minimum) in the event of an audit processing failure.
SV-219227r610963_ruleThe Ubuntu operating system must shut down by default upon audit failure (unless availability is an overriding concern).
SV-219228r610963_ruleThe Ubuntu operating system must be configured so that audit log files cannot be read or write-accessible by unauthorized users.
SV-219229r610963_ruleThe Ubuntu operating system must permit only authorized accounts ownership of the audit log files.
SV-219230r610963_ruleThe Ubuntu operating system must permit only authorized groups to own the audit log files.
SV-219231r610963_ruleThe Ubuntu operating system must be configured so that the audit log directory is not write-accessible by unauthorized users.
SV-219232r610963_ruleThe Ubuntu operating system must allow only authorized accounts to own the audit log directory.
SV-219233r610963_ruleThe Ubuntu operating system must ensure only authorized groups can own the audit log directory and its underlying files.
SV-219234r610963_ruleThe Ubuntu operating system must be configured so that audit configuration files are not write-accessible by unauthorized users.
SV-219235r610963_ruleThe Ubuntu operating system must permit only authorized accounts to own the audit configuration files.
SV-219236r610963_ruleThe Ubuntu operating system must permit only authorized groups to own the audit configuration files.
SV-219237r610963_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-219238r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the su command.
SV-219239r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chfn command.
SV-219240r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the mount command.
SV-219241r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the umount command.
SV-219242r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the ssh-agent command.
SV-219243r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the ssh-keysign command.
SV-219244r648689_ruleThe Ubuntu operating system must generate audit records for any usage of the setxattr system call.
SV-219245r648690_ruleThe Ubuntu operating system must generate audit records for any usage of the lsetxattr system call.
SV-219246r610963_ruleThe Ubuntu operating system must generate audit records for any usage of the fsetxattr system call.
SV-219247r648692_ruleThe Ubuntu operating system must generate audit records for any usage of the removexattr system call.
SV-219248r610963_ruleThe Ubuntu operating system must generate audit records for any usage of the lremovexattr system call.
SV-219249r610963_ruleThe Ubuntu operating system must generate audit records for any usage of the fremovexattr system call.
SV-219250r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chown system call.
SV-219251r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchown system call.
SV-219252r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchownat system call.
SV-219253r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the lchown system call.
SV-219254r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chmod system call.
SV-219255r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchmod system call.
SV-219256r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the fchmodat system call.
SV-219257r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the open system call.
SV-219261r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the openat system call.
SV-219262r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the open_by_handle_at system call.
SV-219263r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the sudo command.
SV-219264r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the sudoedit command.
SV-219265r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chsh command.
SV-219266r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the newgrp command.
SV-219267r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chcon command.
SV-219268r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the apparmor_parser command.
SV-219269r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the setfacl command.
SV-219270r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chacl command.
SV-219271r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the passwd command.
SV-219272r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the unix_update command.
SV-219273r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the gpasswd command.
SV-219274r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the chage command.
SV-219275r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the usermod command.
SV-219276r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the crontab command.
SV-219277r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the pam_timestamp_check command.
SV-219279r610963_ruleThe Ubuntu operating system must generate audit records for successful/unsuccessful uses of the finit_module syscall.
SV-219281r610963_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-219284r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use fsetxattr system call.
SV-219285r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use the removexattr system call.
SV-219286r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use the lremovexattr system call.
SV-219287r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful use of unlink system call.
SV-219288r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful use of unlinkat system call.
SV-219289r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful use of rename system call.
SV-219290r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful use of renameat system call.
SV-219291r610963_ruleThe Ubuntu operating system must generate audit records when loading dynamic kernel modules.
SV-219293r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful uses of the truncate system call.
SV-219294r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful uses of the ftruncate system call.
SV-219295r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful uses of the creat system call.
SV-219296r648693_ruleThe Ubuntu operating system must generate records for successful/unsuccessful uses of init_module or finit_module syscalls.
SV-219297r648694_ruleThe Ubuntu operating system must generate records for successful/unsuccessful uses of delete_module syscall and when unloading dynamic kernel modules.
SV-219298r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use modprobe command.
SV-219299r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use the kmod command.
SV-219300r610963_ruleThe Ubuntu operating system must generate audit records when successful/unsuccessful attempts to use the fdisk command.
SV-219301r610963_ruleThe Ubuntu operating system must limit the number of concurrent sessions to ten for all accounts and/or account types.
SV-219302r610963_ruleThe Ubuntu operating system must retain a users session lock until that user reestablishes access using established identification and authentication procedures.
SV-219303r610963_ruleThe Ubuntu operating system must initiate a session lock after a 15-minute period of inactivity for all connection types.
SV-219304r610963_ruleThe Ubuntu operating system must be configured for users to directly initiate a session lock for all connection types.
SV-219306r610963_ruleThe Ubuntu operating system must monitor remote access methods.
SV-219307r610963_ruleThe Ubuntu operating system must implement DoD-approved encryption to protect the confidentiality of remote access sessions.
SV-219308r610963_ruleThe Ubuntu operating system must enforce SSHv2 for network access to all accounts.
SV-219309r610963_ruleThe Ubuntu operating system must use strong authenticators in establishing nonlocal maintenance and diagnostic sessions.
SV-219310r610963_ruleThe Ubuntu operating system must immediately terminate all network connections associated with SSH traffic after a period of inactivity.
SV-219311r610963_ruleThe Ubuntu operating system must automatically terminate all network connections associated with SSH traffic at the end of the session or after 10 minutes of inactivity.
SV-219312r610963_ruleThe Ubuntu operating system must configure the SSH daemon to only use Message Authentication Codes (MACs) employing FIPS 140-2 approved cryptographic hash algorithms to protect the integrity of nonlocal maintenance and diagnostic communications.
SV-219313r610963_ruleThe Ubuntu operating system must use SSH to protect the confidentiality and integrity of transmitted information unless otherwise protected by alternative physical safeguards, such as, at a minimum, a Protected Distribution System (PDS).
SV-219314r610963_ruleThe Ubuntu operating system must not allow unattended or automatic login via ssh.
SV-219315r610963_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-219316r610963_ruleThe Ubuntu operating system must map the authenticated identity to the user or group account for PKI-based authentication.
SV-219317r610963_ruleThe Ubuntu operating system must implement smart card logins for multifactor authentication for access to accounts.
SV-219318r610963_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-219319r610963_ruleThe Ubuntu operating system must accept Personal Identity Verification (PIV) credentials.
SV-219320r610963_ruleThe Ubuntu operating system must implement certificate status checking for multifactor authentication.
SV-219321r610963_ruleThe Ubuntu operating system must only allow the use of DoD PKI-established certificate authorities for verification of the establishment of protected sessions.
SV-219322r610963_rulePam_Apparmor must be configured to allow system administrators to pass information to any other Ubuntu operating system administrator or user, change security attributes, and to confine all non-privileged users from executing functions to include disabling, circumventing, or altering implemented security safeguards/countermeasures.
SV-219323r610963_ruleThe Ubuntu operating system must be configured to use AppArmor.
SV-219324r610963_ruleThe Apparmor module must be configured to employ a deny-all, permit-by-exception policy to allow the execution of authorized software programs and limit the ability of non-privileged users to grant other users direct access to the contents of their home directories/folders.
SV-219325r610963_ruleThe Ubuntu operating system must uniquely identify interactive users.
SV-219326r610963_ruleThe Ubuntu operating system must disable account identifiers (individuals, groups, roles, and devices) after 35 days of inactivity.
SV-219327r610963_ruleThe Ubuntu operating system must automatically remove or disable emergency accounts after 72 hours.
SV-219328r610963_ruleThe Ubuntu operating system default filesystem permissions must be defined in such a way that all authenticated users can only read and modify their own files.
SV-219329r610963_ruleThe Ubuntu operating system must provision temporary user accounts with an expiration time of 72 hours or less.
SV-219330r610963_ruleThe Ubuntu operating system must be configured to use TCP syncookies.
SV-219331r610963_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-219332r610963_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-219333r610963_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-219334r610963_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-219335r610963_ruleKernel core dumps must be disabled unless needed.
SV-219336r610963_ruleThe Ubuntu operating system must use cryptographic mechanisms to protect the integrity of audit tools.
SV-219337r610963_ruleThe Ubuntu operating system must enable and run the uncomplicated firewall(ufw).
SV-219338r610963_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-219339r610963_ruleThe Ubuntu operating system must disable automatic mounting of Universal Serial Bus (USB) mass storage driver.
SV-219340r610963_ruleThe Ubuntu operating system must configure the uncomplicated firewall to rate-limit impacted network interfaces.
SV-219341r610963_ruleThe Ubuntu operating system must implement non-executable data to protect its memory from unauthorized code execution.
SV-219342r610963_ruleThe Ubuntu operating system must implement address space layout randomization to protect its memory from unauthorized code execution.
SV-219343r610963_ruleThe Ubuntu operating system must use a file integrity tool to verify correct operation of all security functions.
SV-219344r610963_ruleThe Ubuntu operating system must be configured so that a file integrity tool verifies the correct operation of security functions every 30 days.
SV-219346r610963_ruleThe Ubuntu operating system must disable all wireless network adapters.
SV-233779r610963_ruleThe Ubuntu operating system must be configured so that remote X connections are disabled, unless to fulfill documented and validated mission requirements.
SV-233780r610963_ruleThe Ubuntu operating system SSH daemon must prevent remote hosts from connecting to the proxy display.
SV-237768r648736_ruleAll local interactive user home directories defined in the /etc/passwd file must exist.
SV-237769r648743_ruleAll local interactive user home directories must have mode 0750 or less permissive.
SV-237770r648742_ruleAll local interactive user home directories must be group-owned by the home directory owners primary group.