STIGhubSTIGhub
STIGsSearchCompareAbout

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • VPAT
  • DISA STIG Library
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to STIGs

Canonical Ubuntu 22.04 LTS Security Technical Implementation Guide

Version

V2R8

Benchmark ID

CAN_Ubuntu_22-04_LTS_STIG

Total Checks

188

Tags

linux
CAT I: 16CAT II: 155CAT III: 17

This Security Technical Implementation Guide is published as a tool to improve the security of Department of Defense (DOD) information systems. The requirements are derived from the National Institute of Standards and Technology (NIST) 800-53 and related documents. Comments or proposed revisions to this document should be sent via email to the following address: disa.stig_spt@mail.mil.

Export CKLExport CSVExport JSON

Checks (188)

V-260469HIGHUbuntu 22.04 LTS must disable the x86 Ctrl-Alt-Delete key sequence.V-260470HIGHUbuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes.V-260471MEDIUMUbuntu 22.04 LTS must initiate session audits at system startup.V-260472LOWUbuntu 22.04 LTS must restrict access to the kernel message buffer.V-260473MEDIUMUbuntu 22.04 LTS must disable kernel core dumps so that it can fail to a secure state if system initialization fails, shutdown fails or aborts fail.V-260474MEDIUMUbuntu 22.04 LTS must implement address space layout randomization to protect its memory from unauthorized code execution.V-260475MEDIUMUbuntu 22.04 LTS must implement nonexecutable data to protect its memory from unauthorized code execution.V-260476LOWUbuntu 22.04 LTS must be configured so that the Advance Package Tool (APT) prevents the installation of patches, service packs, device drivers, or operating system components without verification they have been digitally signed using a certificate that is recognized and approved by the organization.V-260477MEDIUMUbuntu 22.04 LTS must be configured so that the Advance Package Tool (APT) removes all software components after updated versions have been installed.V-260478MEDIUMUbuntu 22.04 LTS must have the "libpam-pwquality" package installed.V-260479LOWUbuntu 22.04 LTS must have the "chrony" package installed.V-260480LOWUbuntu 22.04 LTS must not have the "systemd-timesyncd" package installed.V-260481LOWUbuntu 22.04 LTS must not have the "ntp" package installed.V-260482HIGHUbuntu 22.04 LTS must not have the "rsh-server" package installed.V-260483HIGHUbuntu 22.04 LTS must not have the "telnet" package installed.V-260484MEDIUMUbuntu 22.04 LTS must implement cryptographic mechanisms to prevent unauthorized disclosure and modification of all information that requires protection at rest.V-260485MEDIUMUbuntu 22.04 LTS must have directories that contain system commands set to a mode of "755" or less permissive.V-260486MEDIUMUbuntu 22.04 LTS must have system commands set to a mode of "755" or less permissive.V-260487MEDIUMUbuntu 22.04 LTS library files must have mode "755" or less permissive.V-260488MEDIUMUbuntu 22.04 LTS must configure the "/var/log" directory to have mode "755" or less permissive.V-260489MEDIUMUbuntu 22.04 LTS must generate error messages that provide information necessary for corrective actions without revealing information that could be exploited by adversaries.V-260490MEDIUMUbuntu 22.04 LTS must generate system journal entries without revealing information that could be exploited by adversaries.V-260491MEDIUMUbuntu 22.04 LTS must configure "/var/log/syslog" file with mode "640" or less permissive.V-260492MEDIUMUbuntu 22.04 LTS must configure audit tools with a mode of "755" or less permissive.V-260493MEDIUMUbuntu 22.04 LTS must have directories that contain system commands owned by "root".V-260494MEDIUMUbuntu 22.04 LTS must have directories that contain system commands group-owned by "root".V-260495MEDIUMUbuntu 22.04 LTS must have system commands owned by "root" or a system account.V-260496MEDIUMUbuntu 22.04 LTS must have system commands group-owned by "root" or a system account.V-260497MEDIUMUbuntu 22.04 LTS library directories must be owned by "root".V-260498MEDIUMUbuntu 22.04 LTS library directories must be group-owned by "root".V-260499MEDIUMUbuntu 22.04 LTS library files must be owned by "root".V-260500MEDIUMUbuntu 22.04 LTS library files must be group-owned by "root".V-260501MEDIUMUbuntu 22.04 LTS must configure the directories used by the system journal to be owned by "root".V-260502MEDIUMUbuntu 22.04 LTS must configure the directories used by the system journal to be group-owned by "systemd-journal".V-260503MEDIUMUbuntu 22.04 LTS must configure the files used by the system journal to be owned by "root".V-260504MEDIUMUbuntu 22.04 LTS must configure the files used by the system journal to be group-owned by "systemd-journal".V-260505MEDIUMUbuntu 22.04 LTS must be configured so that the "journalctl" command is owned by "root".V-260506MEDIUMUbuntu 22.04 LTS must be configured so that the "journalctl" command is group-owned by "root".V-260507MEDIUMUbuntu 22.04 LTS must configure audit tools to be owned by "root".V-260508MEDIUMUbuntu 22.04 LTS must configure the "/var/log" directory to be owned by "root".V-260509MEDIUMUbuntu 22.04 LTS must configure the "/var/log" directory to be group-owned by "syslog".V-260510MEDIUMUbuntu 22.04 LTS must configure "/var/log/syslog" file to be owned by "syslog".V-260511MEDIUMUbuntu 22.04 LTS must configure the "/var/log/syslog" file to be group-owned by "adm".V-260512MEDIUMUbuntu 22.04 LTS must be configured so that the "journalctl" command is not accessible by unauthorized users.V-260513MEDIUMUbuntu 22.04 LTS must set a sticky bit on all public directories to prevent unauthorized and unintended information transferred via shared system resources.V-260514MEDIUMUbuntu 22.04 LTS must have an application firewall installed in order to control remote access methods.V-260515MEDIUMUbuntu 22.04 LTS must enable and run the Uncomplicated Firewall (ufw).V-260516MEDIUMUbuntu 22.04 LTS must have an application firewall enabled.V-260517MEDIUMUbuntu 22.04 LTS must configure the Uncomplicated Firewall (ufw) to rate-limit impacted network interfaces.V-260518MEDIUMUbuntu 22.04 LTS 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.V-260519LOWUbuntu 22.04 LTS must, for networked systems, compare internal information system clocks at least every 24 hours with a server 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).V-260520LOWUbuntu 22.04 LTS must synchronize internal information system clocks to the authoritative time source when the time difference is greater than one second.V-260521LOWUbuntu 22.04 LTS must record time stamps for audit records that can be mapped to Coordinated Universal Time (UTC).V-260522MEDIUMUbuntu 22.04 LTS must be configured to use TCP syncookies.V-260523HIGHUbuntu 22.04 LTS must have SSH installed.V-260524HIGHUbuntu 22.04 LTS must use SSH to protect the confidentiality and integrity of transmitted information.V-260525MEDIUMUbuntu 22.04 LTS must display the Standard Mandatory DOD Notice and Consent Banner before granting any local or remote connection to the system.V-260526HIGHUbuntu 22.04 LTS must not allow unattended or automatic login via SSH.V-260527MEDIUMUbuntu 22.04 LTS must be configured so that all network connections associated with SSH traffic terminate after becoming unresponsive.V-260528MEDIUMUbuntu 22.04 LTS must be configured so that all network connections associated with SSH traffic are terminated after 10 minutes of becoming unresponsive.V-260529HIGHUbuntu 22.04 LTS must be configured so that remote X connections are disabled, unless to fulfill documented and validated mission requirements.V-260530MEDIUMUbuntu 22.04 LTS SSH daemon must prevent remote hosts from connecting to the proxy display.V-260531MEDIUMUbuntu 22.04 LTS must configure the SSH daemon to use FIPS 140-3-approved ciphers to prevent the unauthorized disclosure of information and/or detect changes to information during transmission.V-260532MEDIUMUbuntu 22.04 LTS must configure the SSH daemon to use Message Authentication Codes (MACs) employing FIPS 140-3-approved cryptographic hashes to prevent the unauthorized disclosure of information and/or detect changes to information during transmission.V-260533MEDIUMUbuntu 22.04 LTS SSH server must be configured to use only FIPS-validated key exchange algorithms.V-260534MEDIUMUbuntu 22.04 LTS must use strong authenticators in establishing nonlocal maintenance and diagnostic sessions.V-260535MEDIUMUbuntu 22.04 LTS 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.V-260536MEDIUMUbuntu 22.04 LTS must display the Standard Mandatory DOD Notice and Consent Banner before granting local access to the system via a graphical user logon.V-260537MEDIUMUbuntu 22.04 LTS must retain a user's session lock until that user reestablishes access using established identification and authentication procedures.V-260538MEDIUMUbuntu 22.04 LTS must initiate a graphical session lock after 15 minutes of inactivity.V-260539HIGHUbuntu 22.04 LTS must disable the x86 Ctrl-Alt-Delete key sequence if a graphical user interface is installed.V-260540MEDIUMUbuntu 22.04 LTS must disable automatic mounting of Universal Serial Bus (USB) mass storage driver.V-260541MEDIUMUbuntu 22.04 LTS must disable all wireless network adapters.V-260542MEDIUMUbuntu 22.04 LTS must prevent direct login into the root account.V-260543MEDIUMUbuntu 22.04 LTS must uniquely identify interactive users.V-260545MEDIUMUbuntu 22.04 LTS must enforce 24 hours/one day as the minimum password lifetime. Passwords for new users must have a 24 hours/one day minimum password lifetime restriction.V-260546MEDIUMUbuntu 22.04 LTS must enforce a 60-day maximum password lifetime restriction. Passwords for new users must have a 60-day maximum password lifetime restriction.V-260547MEDIUMUbuntu 22.04 LTS must disable account identifiers (individuals, groups, roles, and devices) after 35 days of inactivity.V-260548MEDIUMUbuntu 22.04 LTS must automatically expire temporary accounts within 72 hours.V-260549LOWUbuntu 22.04 LTS must automatically lock an account until the locked account is released by an administrator when three unsuccessful logon attempts have been made.V-260550LOWUbuntu 22.04 LTS must enforce a delay of at least four seconds between logon prompts following a failed logon attempt.V-260552LOWUbuntu 22.04 LTS must limit the number of concurrent sessions to ten for all accounts and/or account types.V-260553MEDIUMUbuntu 22.04 LTS must allow users to directly initiate a session lock for all connection types.V-260554MEDIUMUbuntu 22.04 LTS must automatically exit interactive command shell user sessions after 15 minutes of inactivity.V-260555MEDIUMUbuntu 22.04 LTS default filesystem permissions must be defined in such a way that all authenticated users can read and modify only their own files.V-260556MEDIUMUbuntu 22.04 LTS must have the "apparmor" package installed.V-260557MEDIUMUbuntu 22.04 LTS must be configured to use AppArmor.V-260558MEDIUMUbuntu 22.04 LTS must require users to reauthenticate for privilege escalation or when changing roles.V-260559HIGHUbuntu 22.04 LTS must ensure only users who need access to security functions are part of sudo group.V-260560MEDIUMUbuntu 22.04 LTS must enforce password complexity by requiring at least one uppercase character be used.V-260561MEDIUMUbuntu 22.04 LTS must enforce password complexity by requiring at least one lowercase character be used.V-260562MEDIUMUbuntu 22.04 LTS must enforce password complexity by requiring that at least one numeric character be used.V-260563MEDIUMUbuntu 22.04 LTS must enforce password complexity by requiring that at least one special character be used.V-260564MEDIUMUbuntu 22.04 LTS must prevent the use of dictionary words for passwords.V-260565MEDIUMUbuntu 22.04 LTS must enforce a minimum 15-character password length.V-260566MEDIUMUbuntu 22.04 LTS must require the change of at least eight characters when passwords are changed.V-260567MEDIUMUbuntu 22.04 LTS must be configured so that when passwords are changed or new passwords are established, pwquality must be used.V-260569MEDIUMUbuntu 22.04 LTS must store only encrypted representations of passwords.V-260570HIGHUbuntu 22.04 LTS must not allow accounts configured with blank or null passwords.V-260571HIGHUbuntu 22.04 LTS must not have accounts configured with blank or null passwords.V-260572MEDIUMUbuntu 22.04 LTS must encrypt all stored passwords with a FIPS 140-3-approved cryptographic hashing algorithm.V-260573MEDIUMUbuntu 22.04 LTS 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.V-260574MEDIUMUbuntu 22.04 LTS must accept personal identity verification (PIV) credentials.V-260575MEDIUMUbuntu 22.04 LTS must implement smart card logins for multifactor authentication for local and network access to privileged and nonprivileged accounts.V-260576MEDIUMUbuntu 22.04 LTS must electronically verify personal identity verification (PIV) credentials.V-260577MEDIUMUbuntu 22.04 LTS, for PKI-based authentication, must validate certificates by constructing a certification path (which includes status information) to an accepted trust anchor.V-260578MEDIUMUbuntu 22.04 LTS for PKI-based authentication, must implement a local cache of revocation data in case of the inability to access revocation information via the network.V-260579HIGHUbuntu 22.04 LTS must map the authenticated identity to the user or group account for PKI-based authentication.V-260580MEDIUMUbuntu 22.04 LTS must use DOD PKI-established certificate authorities for verification of the establishment of protected sessions.V-260581LOWUbuntu 22.04 LTS must be configured such that Pluggable Authentication Module (PAM) prohibits the use of cached authentications after one day.V-260582MEDIUMUbuntu 22.04 LTS must use a file integrity tool to verify correct operation of all security functions.V-260583MEDIUMUbuntu 22.04 LTS must configure Advanced Intrusion Detection Environment (AIDE) to perform file integrity checking on the file system.V-260584MEDIUMUbuntu 22.04 LTS 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.V-260585MEDIUMUbuntu 22.04 LTS must be configured so that the script that runs each 30 days or less to check file integrity is the default.V-260586MEDIUMUbuntu 22.04 LTS must use cryptographic mechanisms to protect the integrity of audit tools.V-260587LOWUbuntu 22.04 LTS must have a crontab script running weekly to offload audit events of standalone systems.V-260588MEDIUMUbuntu 22.04 LTS must be configured to preserve log records from failure events.V-260589MEDIUMUbuntu 22.04 LTS must monitor remote access methods.V-260590MEDIUMUbuntu 22.04 LTS must have the "auditd" package installed.V-260591MEDIUMUbuntu 22.04 LTS 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.V-260592LOWUbuntu 22.04 LTS audit event multiplexor must be configured to offload audit logs onto a different system from the system being audited.V-260593LOWUbuntu 22.04 LTS must alert the information system security officer (ISSO) and system administrator (SA) in the event of an audit processing failure.V-260594MEDIUMUbuntu 22.04 LTS must shut down by default upon audit failure.V-260595LOWUbuntu 22.04 LTS 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.V-260596LOWUbuntu 22.04 LTS must immediately notify the system administrator (SA) and information system security officer (ISSO) when the audit record storage volume reaches 25 percent remaining of the allocated capacity.V-260597MEDIUMUbuntu 22.04 LTS must be configured so that audit log files are not read- or write-accessible by unauthorized users.V-260598MEDIUMUbuntu 22.04 LTS must be configured to permit only authorized users ownership of the audit log files.V-260599MEDIUMUbuntu 22.04 LTS must permit only authorized groups ownership of the audit log files.V-260600MEDIUMUbuntu 22.04 LTS must be configured so that the audit log directory is not write-accessible by unauthorized users.V-260601MEDIUMUbuntu 22.04 LTS must be configured so that audit configuration files are not write-accessible by unauthorized users.V-260602MEDIUMUbuntu 22.04 LTS must permit only authorized accounts to own the audit configuration files.V-260603MEDIUMUbuntu 22.04 LTS must permit only authorized groups to own the audit configuration files.V-260604MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the apparmor_parser command.V-260605MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the chacl command.V-260606MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the chage command.V-260607MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the chcon command.V-260608MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the chfn command.V-260609MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the chsh command.V-260610MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the crontab command.V-260611MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful attempts to use the fdisk command.V-260612MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the gpasswd command.V-260613MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful attempts to use the kmod command.V-260614MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful attempts to use modprobe command.V-260615MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the mount command.V-260616MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the newgrp command.V-260617MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the pam_timestamp_check command.V-260618MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the passwd command.V-260619MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the setfacl command.V-260620MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the ssh-agent command.V-260621MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the ssh-keysign command.V-260622MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the su command.V-260623MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the sudo command.V-260624MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the sudoedit command.V-260625MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the umount command.V-260626MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the unix_update command.V-260627MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the usermod command.V-260628MEDIUMUbuntu 22.04 LTS must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/group.V-260629MEDIUMUbuntu 22.04 LTS must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/gshadow.V-260630MEDIUMUbuntu 22.04 LTS must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/opasswd.V-260631MEDIUMUbuntu 22.04 LTS must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/passwd.V-260632MEDIUMUbuntu 22.04 LTS must generate audit records for all account creations, modifications, disabling, and termination events that affect /etc/shadow.V-260633MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the chmod, fchmod, and fchmodat system calls.V-260634MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the chown, fchown, fchownat, and lchown system calls.V-260635MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the creat, open, openat, open_by_handle_at, truncate, and ftruncate system calls.V-260636MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the delete_module system call.V-260637MEDIUMUbuntu 22.04 LTS must generate audit records for successful/unsuccessful uses of the init_module and finit_module system calls.V-260638MEDIUMUbuntu 22.04 LTS must generate audit records for any use of the setxattr, fsetxattr, lsetxattr, removexattr, fremovexattr, and lremovexattr system calls.V-260639MEDIUMUbuntu 22.04 LTS must generate audit records for any successful/unsuccessful use of unlink, unlinkat, rename, renameat, and rmdir system calls.V-260640MEDIUMUbuntu 22.04 LTS must generate audit records for all events that affect the systemd journal files.V-260641MEDIUMUbuntu 22.04 LTS must generate audit records for the /var/log/btmp file.V-260642MEDIUMUbuntu 22.04 LTS must generate audit records for the /var/log/wtmp file.V-260643MEDIUMUbuntu 22.04 LTS must generate audit records for the /var/run/utmp file.V-260644MEDIUMUbuntu 22.04 LTS must generate audit records for the use and modification of faillog file.V-260645MEDIUMUbuntu 22.04 LTS must generate audit records for the use and modification of the lastlog file.V-260646MEDIUMUbuntu 22.04 LTS must generate audit records when successful/unsuccessful attempts to modify the /etc/sudoers file occur.V-260647MEDIUMUbuntu 22.04 LTS must generate audit records when successful/unsuccessful attempts to modify the /etc/sudoers.d directory occur.V-260648MEDIUMUbuntu 22.04 LTS 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.V-260649MEDIUMUbuntu 22.04 LTS must generate audit records for privileged activities, nonlocal maintenance, diagnostic sessions and other system-level access.V-260650HIGHUbuntu 22.04 LTS 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.V-274860MEDIUMUbuntu 22.04 LTS must require users to provide a password for privilege escalation.V-274861MEDIUMThe operating system must restrict privilege elevation to authorized personnel.V-274862MEDIUMUbuntu 22.04 LTS must audit any script or executable called by cron as root or by any privileged user.V-274864MEDIUMUbuntu 22.04 LTS must have the "SSSD" package installed.V-274865MEDIUMUbuntu 22.04 LTS must map the authenticated identity to the user or group account for PKI-based authentication.V-274866MEDIUMUbuntu 22.04 LTS must use the "SSSD" package for multifactor authentication services.V-274867MEDIUMUbuntu 22.04 LTS must ensure SSSD performs certificate path validation, including revocation checking, against a trusted anchor for PKI-based authentication.V-278951HIGHUbuntu 22.04 LTS must be a vendor-supported release.V-279937HIGHUbuntu 22.04 LTS must not have the nfs-kernel-server package installed.