`Check`,`Text`,`Issue`
`INCLUDES ALL AUDIT – False Pre Failures, plus below`,,
`disable_sysctl_ipv4_default_send_redirects`,`To set the runtime status of the net.ipv4.conf.default.send_redirects kernel parameter, run the following command: # sysctl -w net.ipv4.conf.default.send_redirects 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.default.send_redirects 0`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`disable_sysctl_ipv4_ip_forward`,`To set the runtime status of the net.ipv4.ip_forward kernel parameter, run the following command: # sysctl -w net.ipv4.ip_forward 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.ip_forward 0`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_all_accept_source_route`,`To set the runtime status of the net.ipv4.conf.all.accept_source_route kernel parameter, run the following command: # sysctl -w net.ipv4.conf.all.accept_source_route 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.all.accept_source_route 0`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_all_accept_redirects`,`To set the runtime status of the net.ipv4.conf.all.accept_redirects kernel parameter, run the following command: # sysctl -w net.ipv4.conf.all.accept_redirects 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.all.accept_redirects 0`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_all_secure_redirects`,`To set the runtime status of the net.ipv4.conf.all.secure_redirects kernel parameter, run the following command: # sysctl -w net.ipv4.conf.all.secure_redirects 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.all.secure_redirects `,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_all_log_martians`,`To set the runtime status of the net.ipv4.conf.all.log_martians kernel parameter, run the following command: # sysctl -w net.ipv4.conf.all.log_martians 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.all.log_martians 1`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_default_accept_source_route`,`To set the runtime status of the net.ipv4.conf.default.accept_source_route kernel parameter, run the following command: # sysctl -w net.ipv4.conf.default.accept_source_route 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.default.accept_source_route 0`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_default_accept_redirects`,`To set the runtime status of the net.ipv4.conf.default.accept_redirects kernel parameter, run the following command: # sysctl -w net.ipv4.conf.default.accept_redirects 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.default.accept_redirects 0`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_default_secure_redirects`,`To set the runtime status of the net.ipv4.conf.default.secure_redirects kernel parameter, run the following command: # sysctl -w net.ipv4.conf.default.secure_redirects 0 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.default.secure_redirects 0`,`Test incorrectly performing check as parameter is 0 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_icmp_echo_ignore_broadcasts`,`To set the runtime status of the net.ipv4.icmp_echo_ignore_broadcasts kernel parameter, run the following command: # sysctl -w net.ipv4.icmp_echo_ignore_broadcasts 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.icmp_echo_ignore_broadcasts 1`,`Test incorrectly performing check as parameter is 1 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_icmp_ignore_bogus_error_responses`,`To set the runtime status of the net.ipv4.icmp_ignore_bogus_error_responses kernel parameter, run the following command: # sysctl -w net.ipv4.icmp_ignore_bogus_error_responses 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.icmp_ignore_bogus_error_responses 1`,`Test incorrectly performing check as parameter is 1 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_tcp_syncookies`,`To set the runtime status of the net.ipv4.tcp_syncookies kernel parameter, run the following command: # sysctl -w net.ipv4.tcp_syncookies 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.tcp_syncookies 1`,`Test incorrectly performing check as parameter is 1 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_all_rp_filter`,`To set the runtime status of the net.ipv4.conf.all.rp_filter kernel parameter, run the following command: # sysctl -w net.ipv4.conf.all.rp_filter 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.all.rp_filter 1`,`Test incorrectly performing check as parameter is 1 in file and in sysctl.conf and still fails.`
`set_sysctl_net_ipv4_conf_default_rp_filter`,`To set the runtime status of the net.ipv4.conf.default.rp_filter kernel parameter, run the following command: # sysctl -w net.ipv4.conf.default.rp_filter 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: net.ipv4.conf.default.rp_filter 1`,`Test incorrectly performing check as parameter is 1 in file and in sysctl.conf and still fails.`
`set_password_hashing_algorithm`,`The system's default algorithm for storing password hashes in /etc/shadow is SHA-512. In order to ensure the system is still configured to use SHA-512 algorithm, the following line must appear in /etc/login.defs: ENCRYPT_METHOD SHA512 Also ensure that the pam_unix.so module in the password section in /etc/pam.d/system-auth includes the argument sha512. If this is not the case, the following command can be run to fix: # /usr/sbin/authconfig --passalgo=sha512 --update This ensures that when users change their passwords, hashes for the new passwords will be generated using the SHA-512 algorithm.`,`Test incorrectly performing check as all referenced files have correct changes and still fails`
`set_system_login_banner`,`To configure the system login banner: Edit /etc/issue. Replace the default text with a message compliant with the local site policy or a legal disclaimer. The DoD required text is either: You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only. By using this IS (which includes any device attached to this IS), you consent to the following conditions: -The USG routinely intercepts and monitors communications on this IS for purposes including, but not limited to, penetration testing, COMSEC monitoring, network operations and defense, personnel misconduct (PM), law enforcement (LE), and counterintelligence (CI) investigations. -At any time, the USG may inspect and seize data stored on this IS. -Communications using, or data stored on, this IS are not private, are subject to routine monitoring, interception, and search, and may be disclosed or used for any USG-authorized purpose. -This IS includes security measures (e.g., authentication and access controls) to protect USG interests- -not for your personal benefit or privacy. -Notwithstanding the above, using this IS does not constitute consent to PM, LE or CI investigative searching or monitoring of the content of privileged communications, or work product, related to personal representation or services by attorneys, psychotherapists, or clergy, and their assistants. Such communications and work product are private and confidential. See User Agreement for details. or: I've read & consent to terms in IS user agreement.`,`Test incorrectly performing check as all referenced files have correct changes and still fails`
`homedir_perms_no_groupwrite_worldread`,`For each human user USER of the system, view the permissions of the user's home directory: # ls -ld /home/USER Ensure that the directory is not group-writable and that it is not world-readable. If necessary, repair the permissions: # chmod g-w /home/USER # chmod o-rwx /home/USER`,`Test incorrectly performing check as all directories within /home are 700`
`enable_execshield`,`To set the runtime status of the kernel.exec-shield kernel parameter, run the following command: # sysctl -w kernel.exec-shield 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: kernel.exec-shield 1`,`Test incorrectly performing check as parameter is 1 in file and in sysctl.conf and still fails.`
`enable_randomize_va_space`,`To set the runtime status of the kernel.randomize_va_space kernel parameter, run the following command: # sysctl -w kernel.randomize_va_space 1 If this is not the system's default value, add the following line to /etc/sysctl.conf: kernel.randomize_va_space 1`,`Test incorrectly performing check as parameter is 1 in file and in sysctl.conf and still fails.`
