Skip to content

Guide to the Secure Configuration of Red Hat Enterprise Linux 8

Rules, Groups, and Values defined within the XCCDF Benchmark

  • Enable HTTPD Error Logging

    ErrorLog should be enabled and set to the following in /etc/httpd/conf/httpd.conf:
    ErrorLog "logs/error_log"
    Rule Medium Severity
  • Enable HTTPD LogLevel

    <code>LogLevel</code> should be enabled and set to <xccdf-1.2:sub idref="xccdf_org.ssgproject.content_value_var_httpd_loglevel" use="legacy"></xccd...
    Rule Medium Severity
  • Enable HTTPD System Logging

    <code>CustomLog</code> should be enabled and set to the following in <code>/etc/httpd/conf/httpd.conf</code>: <pre>CustomLog "logs/access_log" comb...
    Rule Medium Severity
  • The web server password(s) must be entrusted to the SA or Web Manager

    Normally, a service account is established for the web server. This is because a privileged account is not desirable and the server is designed to ...
    Rule Medium Severity
  • A public web server, if hosted on the NIPRNet, must be isolated in an accredited DoD DMZ extension

    To minimize exposure of private assets to unnecesarry risk by attackers, public web servers must be isolated from internal systems. Logically relo...
    Rule Medium Severity
  • Installation of a compiler on production web server is prohibited

    The presence of a compiler on a production server facilitates the malicious user's task of creating custom versions of programs and installing Troj...
    Rule Medium Severity
  • A private web server must be located on a separate controlled access subnet

    Private web servers, which host sites that serve controlled access data, must be protected from outside threats in addition to insider threats. Is...
    Rule Medium Severity
  • Public web server resources must not be shared with private assets

    It is important to segregate public web server resources from private resources located behind the DoD DMZ in order to protect private assets.
    Rule Medium Severity
  • Backup interactive scripts on the production web server are prohibited

    Copies of backup files will not execute on the server, but they can be read by the anonymous user if special precautions are not taken.
    Rule Medium Severity
  • Configure Operating System to Protect Web Server

    The following configuration steps should be taken on the system which hosts the web server, in order to provide as safe an environment as possible ...
    Group
  • Scan All Uploaded Content for Malicious Software

    Install anti-virus software on the system and set it to automatically scan new files that are introduced to the web server.
    Rule Medium Severity
  • Configure firewall to Allow Access to the Web Server

    By default, <code>iptables</code> blocks access to the ports used by the web server. To configure <code>iptables</code> to allow port 80 traffic, ...
    Rule Low Severity
  • Ensure Remote Administrative Access Is Encrypted

    Ensure that the SSH server service is enabled. The <code>sshd</code> service can be enabled with the following command: <pre>$ sudo systemctl enab...
    Rule High Severity
  • Run httpd in a chroot Jail if Practical

    Running <code>httpd</code> inside a <code>chroot</code> jail is designed to isolate the web server process to a small section of the filesystem, li...
    Group
  • Restrict File and Directory Access

    Minimize access to critical httpd files and directories.
    Group
  • Set Permissions on the /var/log/httpd/ Directory

    Ensure that the permissions on the web server log directory is set to 700:
    $ sudo chmod 700 /var/log/httpd/
    This is its default setting.
    Rule Medium Severity
  • Set Permissions on All Configuration Files Inside /etc/httpd/conf.d/

    To properly set the permissions of /etc/http/conf.d/*, run the command:
    $ sudo chmod 0640 /etc/http/conf.d/*
    Rule Unknown Severity
  • Set Permissions on All Configuration Files Inside /etc/httpd/conf/

    To properly set the permissions of /etc/http/conf/*, run the command:
    $ sudo chmod 0640 /etc/http/conf/*
    Rule Unknown Severity
  • Set Permissions on All Configuration Files Inside /etc/httpd/conf.modules.d/

    To properly set the permissions of /etc/http/conf.modules.d/*, run the command:
    $ sudo chmod 0640 /etc/http/conf.modules.d/*
    Rule Unknown Severity
  • HTTPD Log Files Must Be Owned By Root

    All <code>httpd</code> logs must be owned by root user and group. By default, the path for httpd logs is <code>/var/log/httpd/</code> To properly ...
    Rule Medium Severity

The content of the drawer really is up to you. It could have form fields, definition lists, text lists, labels, charts, progress bars, etc. Spacing recommendation is 24px margins. You can put tabs in here, and can also make the drawer scrollable.

Capacity
Modules