CIS Oracle Linux 6 Benchmark
Total Page:16
File Type:pdf, Size:1020Kb
CIS Oracle Linux 6 Benchmark v1.0.0 - 06-02-2016 This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License. The link to the license terms can be found at https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode To further clarify the Creative Commons license related to CIS Benchmark content, you are authorized to copy and redistribute the content for use by you, within your organization and outside your organization for non-commercial purposes only, provided that (i) appropriate credit is given to CIS, (ii) a link to the license is provided. Additionally, if you remix, transform or build upon the CIS Benchmark(s), you may only distribute the modified materials if they are subject to the same license terms as the original Benchmark license and your derivative will no longer be a CIS Benchmark. Commercial use of CIS Benchmarks is subject to the prior approval of the Center for Internet Security. 1 | P a g e Table of Contents Overview ............................................................................................................................................................... 12 Intended Audience ........................................................................................................................................ 12 Consensus Guidance ..................................................................................................................................... 12 Typographical Conventions ...................................................................................................................... 13 Scoring Information ..................................................................................................................................... 13 Profile Definitions ......................................................................................................................................... 14 Acknowledgements ...................................................................................................................................... 15 Recommendations ............................................................................................................................................. 16 1 Initial Setup .................................................................................................................................................. 16 1.1 Filesystem Configuration ............................................................................................................... 16 1.1.1.1 Ensure mounting of cramfs filesystems is disabled (Scored) .............................. 17 1.1.1.2 Ensure mounting of freevxfs filesystems is disabled (Scored)............................ 19 1.1.1.3 Ensure mounting of jffs2 filesystems is disabled (Scored) ................................... 20 1.1.1.4 Ensure mounting of hfs filesystems is disabled (Scored) ...................................... 21 1.1.1.5 Ensure mounting of hfsplus filesystems is disabled (Scored) ............................. 22 1.1.1.6 Ensure mounting of squashfs filesystems is disabled (Scored) .......................... 23 1.1.1.7 Ensure mounting of udf filesystems is disabled (Scored) ..................................... 24 1.1.1.8 Ensure mounting of FAT filesystems is disabled (Scored) ................................... 25 1.1.2 Ensure separate partition exists for /tmp (Scored) .................................................... 26 1.1.3 Ensure nodev option set on /tmp partition (Scored) ................................................. 28 1.1.4 Ensure nosuid option set on /tmp partition (Scored) ................................................ 29 1.1.5 Ensure noexec option set on /tmp partition (Scored) ............................................... 30 1.1.6 Ensure separate partition exists for /var (Scored) ..................................................... 31 1.1.7 Ensure separate partition exists for /var/tmp (Scored) ........................................... 32 1.1.8 Ensure nodev option set on /var/tmp partition (Scored) ........................................ 33 1.1.9 Ensure nosuid option set on /var/tmp partition (Scored) ....................................... 34 1.1.10 Ensure noexec option set on /var/tmp partition (Scored) .................................... 35 2 | P a g e 1.1.11 Ensure separate partition exists for /var/log (Scored) .......................................... 36 1.1.12 Ensure separate partition exists for /var/log/audit (Scored) ............................. 37 1.1.13 Ensure separate partition exists for /home (Scored) .............................................. 38 1.1.14 Ensure nodev option set on /home partition (Scored) ........................................... 39 1.1.15 Ensure nodev option set on /dev/shm partition (Scored) .................................... 40 1.1.16 Ensure nosuid option set on /dev/shm partition (Scored) ................................... 41 1.1.17 Ensure noexec option set on /dev/shm partition (Scored) .................................. 42 1.1.18 Ensure nodev option set on removable media partitions (Not Scored) ........... 43 1.1.19 Ensure nosuid option set on removable media partitions (Not Scored) .......... 44 1.1.20 Ensure noexec option set on removable media partitions (Not Scored) ......... 45 1.1.21 Ensure sticky bit is set on all world-writable directories (Scored) .................... 46 1.1.22 Disable Automounting (Scored) ....................................................................................... 47 1.2 Configure Software Updates ......................................................................................................... 49 1.2.1 Ensure package manager repositories are configured (Not Scored) ................... 49 1.2.2 Ensure GPG keys are configured (Not Scored) .............................................................. 50 1.2.3 Ensure gpgcheck is globally activated (Scored) ........................................................... 51 1.3 Filesystem Integrity Checking ...................................................................................................... 52 1.3.1 Ensure AIDE is installed (Scored) ...................................................................................... 52 1.3.2 Ensure filesystem integrity is regularly checked (Scored) ....................................... 54 1.4 Secure Boot Settings ........................................................................................................................ 55 1.4.1 Ensure permissions on bootloader config are configured (Scored) ..................... 55 1.4.2 Ensure bootloader password is set (Scored) ................................................................. 56 1.4.3 Ensure authentication required for single user mode (Scored) ............................. 57 1.4.4 Ensure interactive boot is not enabled (Scored) .......................................................... 58 1.5 Additional Process Hardening ..................................................................................................... 59 1.5.1 Ensure core dumps are restricted (Scored) ................................................................... 59 1.5.2 Ensure XD/NX support is enabled (Not Scored) .......................................................... 61 1.5.3 Ensure address space layout randomization (ASLR) is enabled (Scored) ......... 63 1.5.4 Ensure prelink is disabled (Scored) .................................................................................. 64 1.6 Mandatory Access Control ............................................................................................................. 64 3 | P a g e 1.6.1.1 Ensure SELinux is not disabled in bootloader configuration (Scored) ............ 67 1.6.1.2 Ensure the SELinux state is enforcing (Scored) ........................................................ 68 1.6.1.3 Ensure SELinux policy is configured (Scored) ........................................................... 69 1.6.1.4 Ensure SETroubleshoot is not installed (Scored) ..................................................... 70 1.6.1.5 Ensure the MCS Translation Service (mcstrans) is not installed (Scored) ..... 71 1.6.1.6 Ensure no unconfined daemons exist (Scored) ......................................................... 72 1.6.2 Ensure SELinux is installed (Scored) ................................................................................ 73 1.7 Warning Banners............................................................................................................................... 73 1.7.1.1 Ensure message of the day is configured properly (Scored) ............................... 75 1.7.1.2 Ensure local login warning banner is configured properly (Not Scored) ....... 77 1.7.1.3 Ensure remote login warning banner is configured properly (Not Scored) .. 79 1.7.1.4 Ensure permissions on /etc/motd are configured (Not Scored) ....................... 81 1.7.1.5 Ensure permissions on /etc/issue are configured (Scored) ................................ 82 1.7.1.6 Ensure permissions on /etc/issue.net are configured (Not Scored) ................ 83 1.7.2 Ensure GDM login banner is configured (Scored) ........................................................ 84 1.8 Ensure updates, patches, and additional security software are installed (Not Scored) ..................................................................................................................................................... 86