Sub topic 2
Choosing a Benchmark and Profile for Your Server
Assume that you can use the Linux command line, edit configuration files, and run commands with sudo. You should also know the server's role, operating system version, network exposure, and business requirements before selecting a benchmark.
Start with the server's role
A CIS Benchmark is a security configuration guide for a specific technology. Choose the benchmark that matches the system you are securing, such as:
- A Linux distribution and version, such as RHEL 9, Ubuntu 24.04, or Debian 12.
- A cloud platform image or container platform.
- A database, web server, or Kubernetes installation.
Do not apply a benchmark for a different operating system version. Package names, service defaults, security tools, and configuration paths may differ.
Next, classify the server's role:
- A public web server has an exposed network service and usually needs strict network and SSH controls.
- A database server may require exceptions for database ports, shared memory, or storage mounts.
- A development server may need compilers, debugging tools, and broader access than a production server.
- A jump host needs especially strong authentication and auditing because administrators connect through it.
Understand profiles and levels
A benchmark normally contains profiles. A profile is a selected set of recommendations designed for a particular use case. Common profile names include Server, Workstation, Level 1, and Level 2.
| Profile choice | Typical intent | Main trade-off |
|---|---|---|
| Level 1 | Basic protection with limited operational impact | Fewer controls |
| Level 2 | Defense in depth for higher-risk systems | More compatibility work |
| Server | Services and controls appropriate for server systems | May differ from workstation settings |
| Workstation | Interactive user systems | Not always suitable for headless servers |
Level 1 is usually a practical starting point. Level 2 adds stricter controls and can affect performance, compatibility, or administration. Select the strongest profile that the workload can support, then document approved exceptions.
Inspect profiles before scanning
OpenSCAP content may provide profiles that correspond to CIS-style recommendations. List the available profiles instead of guessing their identifiers:
sudo oscap info /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xmlReview the profile title, description, operating system version, and excluded rules. If your organization requires an official CIS assessment, verify whether CIS-CAT or another approved tool is required. A scan result is useful only when its content, profile, and version match your assessment requirement.
Exercise
A production database server runs RHEL 9 and handles regulated data. Which profile-selection process is appropriate?
Show answer
Use the RHEL 9 server benchmark, compare Level 1 and Level 2 requirements with the workload and regulation, test the selected profile, and obtain approval for documented exceptions.