Sub topic 1
What the CIS Benchmarks Are and How They Are Organized
Prerequisites
Assume you can use a Linux shell, edit configuration files, run systemctl and journalctl, inspect file permissions, and use sudo. You should also understand basic TCP/IP concepts, ports, and firewall rules. Practice on a disposable virtual machine rather than a production server.
What a CIS Benchmark does
The Center for Internet Security (CIS) publishes security configuration guidance called CIS Benchmarks. A benchmark is a set of recommendations for configuring a particular technology, such as a Linux distribution, database, cloud service, or web server.
Each recommendation describes a desired state and usually includes:
- The security reason for the recommendation.
- A way to check whether the setting is correct.
- A remediation procedure.
- Notes about exceptions or operational impact.
A benchmark is a baseline, not a complete security program. It does not replace patch management, vulnerability handling, access reviews, monitoring, or application security. It gives you a consistent starting point and a way to measure configuration drift.
How benchmarks are organized
A benchmark normally targets a product and version. For example, a RHEL 9 benchmark is different from an Ubuntu 24.04 benchmark because their package managers, default services, security tools, and configuration paths differ.
Benchmarks commonly divide recommendations into profiles or levels:
| Classification | Typical purpose | Usual trade-off |
|---|---|---|
| Level 1 | Basic, low-impact hardening | Smaller security gain, fewer compatibility problems |
| Level 2 | Defense-in-depth hardening | Stronger controls, greater operational impact |
| Server or Workstation | Role-specific configuration | Recommendations match the system's intended use |
The exact names depend on the benchmark. Some content separates server and workstation profiles. Other content uses only Level 1 and Level 2. Read the benchmark's scope and profile definitions instead of assuming that every recommendation applies to every host.
Level 1 is often a reasonable starting point for a general-purpose server. Level 2 may be appropriate for sensitive systems, but it can disable features that a workload needs. A profile is a selection of recommendations. Choosing a profile does not automatically make the host compliant.
Automated and manual recommendations
Tools can evaluate many technical settings automatically. They can inspect file permissions, package states, kernel parameters, services, firewall rules, and authentication configuration. Other recommendations require human judgment, such as confirming that an exception is documented or that a service is required.
A result of pass means the measured condition matched the rule. A result of fail means it did not. A not applicable result means the rule does not apply to that host. A manual result requires review and evidence from an administrator.
Benchmark relationships
Choosing a starting point
Identify the operating system, version, server role, data sensitivity, availability requirements, and approved software before selecting a profile. Confirm that the benchmark content matches the platform. A recommendation written for one major release may use different paths or defaults on another.
Start with assessment in report-only mode. Review failures with the service owner, then remediate in small groups. This separates security improvements from accidental outages and gives you a traceable baseline for later chapters.
Exercise
A production Linux server fails a Level 2 rule that disables a protocol required by its application. Should you apply the rule immediately because the benchmark reports a failure?
Show answer
No. Verify that the benchmark and profile fit the host, confirm the application dependency, record the risk and compensating controls, and obtain an approved exception or a planned remediation.