CIS Ubuntu Linux 18.04 LTS Benchmark

CIS Ubuntu Linux 18.04 LTS Benchmark

CIS Ubuntu Linux 18.04 LTS Benchmark v2.0.1 - 01-03-2020 Terms of Use Please see the below link for our current terms of use: https://www.cisecurity.org/cis-securesuite/cis-securesuite-membership-terms-of-use/ 1 | P a g e Table of Contents Terms of Use ........................................................................................................................................................... 1 Overview ............................................................................................................................................................... 13 Intended Audience ........................................................................................................................................ 13 Consensus Guidance ..................................................................................................................................... 13 Typographical Conventions ...................................................................................................................... 15 Scoring Information ..................................................................................................................................... 15 Profile Definitions ......................................................................................................................................... 16 Acknowledgements ...................................................................................................................................... 17 Recommendations ............................................................................................................................................. 19 1 Initial Setup .................................................................................................................................................. 20 1.1 Filesystem Configuration ............................................................................................................... 21 1.1.1 Disable unused filesystems ................................................................................................... 22 1.1.1.1 Ensure mounting of cramfs filesystems is disabled (Scored) ......................... 23 1.1.1.2 Ensure mounting of freevxfs filesystems is disabled (Scored) ....................... 25 1.1.1.3 Ensure mounting of jffs2 filesystems is disabled (Scored) .............................. 27 1.1.1.4 Ensure mounting of hfs filesystems is disabled (Scored) ................................. 29 1.1.1.5 Ensure mounting of hfsplus filesystems is disabled (Scored) ........................ 31 1.1.1.6 Ensure mounting of squashfs filesystems is disabled (Scored) ..................... 33 1.1.1.7 Ensure mounting of udf filesystems is disabled (Scored) ................................ 35 1.1.1.8 Ensure mounting of FAT filesystems is limited (Not Scored) ......................... 37 1.1.2 Ensure /tmp is configured (Scored) ............................................................................. 39 1.1.3 Ensure nodev option set on /tmp partition (Scored) ............................................ 42 1.1.4 Ensure nosuid option set on /tmp partition (Scored) ........................................... 44 1.1.5 Ensure noexec option set on /tmp partition (Scored) .......................................... 46 1.1.6 Ensure separate partition exists for /var (Scored)................................................. 48 1.1.7 Ensure separate partition exists for /var/tmp (Scored) ...................................... 50 1.1.8 Ensure nodev option set on /var/tmp partition (Scored) ................................... 52 1.1.9 Ensure nosuid option set on /var/tmp partition (Scored) .................................. 53 1.1.10 Ensure noexec option set on /var/tmp partition (Scored) ............................... 54 2 | P a g e 1.1.11 Ensure separate partition exists for /var/log (Scored) ..................................... 55 1.1.12 Ensure separate partition exists for /var/log/audit (Scored) ......................... 57 1.1.13 Ensure separate partition exists for /home (Scored) ......................................... 59 1.1.14 Ensure nodev option set on /home partition (Scored) ...................................... 61 1.1.15 Ensure nodev option set on /dev/shm partition (Scored) ............................... 62 1.1.16 Ensure nosuid option set on /dev/shm partition (Scored) .............................. 64 1.1.17 Ensure noexec option set on /dev/shm partition (Scored) .............................. 66 1.1.18 Ensure nodev option set on removable media partitions (Not Scored) ...... 68 1.1.19 Ensure nosuid option set on removable media partitions (Not Scored) ..... 69 1.1.20 Ensure noexec option set on removable media partitions (Not Scored) ..... 70 1.1.21 Ensure sticky bit is set on all world-writable directories (Scored) ............... 71 1.1.22 Disable Automounting (Scored) .................................................................................. 73 1.1.23 Disable USB Storage (Scored) ....................................................................................... 75 1.2 Configure Software Updates ......................................................................................................... 77 1.2.1 Ensure package manager repositories are configured (Not Scored) ............... 78 1.2.2 Ensure GPG keys are configured (Not Scored) ......................................................... 79 1.3 Configure sudo ................................................................................................................................... 80 1.3.1 Ensure sudo is installed (Scored) .................................................................................. 81 1.3.2 Ensure sudo commands use pty (Scored) .................................................................. 83 1.3.3 Ensure sudo log file exists (Scored) .............................................................................. 84 1.4 Filesystem Integrity Checking ...................................................................................................... 85 1.4.1 Ensure AIDE is installed (Scored) .................................................................................. 86 1.4.2 Ensure filesystem integrity is regularly checked (Scored) .................................. 88 1.5 Secure Boot Settings ........................................................................................................................ 90 1.5.1 Ensure permissions on bootloader config are configured (Scored) ................ 91 1.5.2 Ensure bootloader password is set (Scored) ............................................................ 93 1.5.3 Ensure authentication required for single user mode (Scored) ........................ 96 1.5.4 Ensure interactive boot is not enabled (Not Scored) ............................................. 97 1.6 Additional Process Hardening ..................................................................................................... 98 1.6.1 Ensure XD/NX support is enabled (Scored) .............................................................. 99 3 | P a g e 1.6.2 Ensure address space layout randomization (ASLR) is enabled (Scored) .. 101 1.6.3 Ensure prelink is disabled (Scored) ............................................................................ 103 1.6.4 Ensure core dumps are restricted (Scored) ............................................................ 104 1.7 Mandatory Access Control ........................................................................................................... 106 1.7.1 Configure AppArmor ............................................................................................................. 107 1.7.1.1 Ensure AppArmor is installed (Scored) ................................................................. 107 1.7.1.2 Ensure AppArmor is enabled in the bootloader configuration (Scored).. 109 1.7.1.3 Ensure all AppArmor Profiles are in enforce or complain mode (Scored) .............................................................................................................................................................. 111 1.7.1.4 Ensure all AppArmor Profiles are enforcing (Scored) ..................................... 113 1.8 Warning Banners............................................................................................................................. 115 1.8.1 Command Line Warning Banners .................................................................................... 116 1.8.1.1 Ensure message of the day is configured properly (Scored) ......................... 117 1.8.1.2 Ensure local login warning banner is configured properly (Scored) ......... 119 1.8.1.3 Ensure remote login warning banner is configured properly (Scored).... 121 1.8.1.4 Ensure permissions on /etc/motd are configured (Scored) ......................... 123 1.8.1.5 Ensure permissions on /etc/issue are configured (Scored) ......................... 124 1.8.1.6 Ensure permissions on /etc/issue.net are configured (Scored) .................. 125 1.8.2 Ensure GDM login banner is configured (Scored) ................................................. 126 1.9 Ensure updates, patches, and additional security software are installed (Not Scored) .............................................................................................................................................. 128 2 Services .......................................................................................................................................................

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    522 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us