Contents
- Two Standards, Two Very Different Origins
- Levels and Severities: What the Tiers Actually Mean
- Baseline First, Harden Second
- Scanning: OpenSCAP, SCC, and CIS-CAT Pro
- Windows Remediation: Security Compliance Toolkit and LGPO
- Automating Remediation with Ansible
- When Hardening Breaks Things
- The Exception Process That Keeps You Honest
- Drift Detection and Continuous Compliance
- Mapping Hardening to Audit Frameworks
- A Rollout Plan That Survives Production
- The Bottom Line
Two Standards, Two Very Different Origins
A fresh install of Windows Server 2022 has roughly 400 findings against the DISA STIG. A default Red Hat Enterprise Linux 9 image scanned against the CIS Level 2 Server profile lands in a similar range. Nobody remediates 400 findings in an afternoon, and the teams that try are the ones who take down authentication for the whole site on a Tuesday morning. The gap between "we should harden our systems" and "our systems are hardened and still working" is almost entirely process, not technology.
The two dominant baselines come from different worlds. CIS Benchmarks are published by the Center for Internet Security, a non-profit that builds them through a volunteer consensus process — vendors, practitioners, and government participants argue over each recommendation until it ships.[1] There are over 100 benchmarks covering operating systems, cloud platforms, browsers, databases, and container runtimes. The PDF benchmarks are free to download under a license that permits internal use; the automated assessment tooling and remediation build kits sit behind CIS SecureSuite membership.
DISA STIGs — Security Technical Implementation Guides — come from the Defense Information Systems Agency and are the configuration standard for U.S. Department of Defense systems. They are published on the DoD Cyber Exchange on a roughly quarterly cadence, are entirely free with no membership, and derive from Security Requirements Guides (SRGs) that translate policy requirements into technology-neutral controls.[2] Where a CIS Benchmark reads like advice from a room full of engineers, a STIG reads like a compliance obligation, because for DoD systems that is exactly what it is.
Note: CIS also publishes "STIG profiles" for several benchmarks — a CIS Benchmark profile aligned to the corresponding STIG requirements. If you are a defense contractor who prefers CIS tooling but is contractually held to STIG content, this is the bridge. Verify with your assessor before assuming it satisfies the requirement.
The practical differences matter more than the philosophical ones. STIGs ship as XCCDF content — a standard machine-readable checklist format that a scanner can evaluate rule by rule without a human reading the text — with a stable identifier scheme (V-IDs and Rule IDs), a defined severity model, and an official checklist file that the STIG Viewer application opens. CIS Benchmarks ship as prose PDFs with numbered recommendations, plus machine-readable content for members. If your auditor asks for evidence, STIG checklists (.ckl / .cklb) are a recognized artifact; CIS evidence usually means a CIS-CAT Pro HTML or CSV report.
Levels and Severities: What the Tiers Actually Mean
CIS splits recommendations into Level 1 and Level 2 profiles. Level 1 is the "should not break anything" tier: settings with broad applicability and minimal impact on functionality. Level 2 is defense-in-depth for high-security environments, and CIS explicitly warns that Level 2 items may reduce functionality.[1] Some benchmarks add profile variants — Server versus Workstation, or a separate BitLocker/Next Generation Windows Security profile.
STIGs use severity categories instead. CAT I findings are those that may result directly in loss of confidentiality, availability, or integrity — think anonymous access, default credentials, or disabled authentication. CAT II findings may result in such loss indirectly. CAT III findings degrade the measures that protect against loss.[2] Severity is about the consequence of not fixing the item, not about how likely the fix is to break your application — which is the single most common misreading in the field.
| Dimension | CIS Level 1 | CIS Level 2 | DISA STIG |
|---|---|---|---|
| Rigor | Baseline hygiene; broadly applicable defaults | Defense-in-depth; assumes security outweighs convenience | Prescriptive and mandatory; ~equivalent to L2 with added DoD-specific policy |
| Typical finding count (Windows Server) | ~200–250 recommendations | ~350–400 recommendations | ~280–400 rules depending on release |
| Breakage risk | Low. Most shops apply it fleet-wide with few exceptions | Moderate to high. Expect exceptions for legacy apps, imaging, and management tooling | High. FIPS mode, session limits, and crypto policy routinely surface application defects |
| Cost of entry | PDFs free; CIS-CAT Pro and build kits require SecureSuite membership | Free — content, SCC scanner, and STIG Viewer all public | |
| Update cadence | Per-benchmark, typically 1–3 revisions per year | Quarterly release cycle | |
| Best fit | Commercial fleets, PCI DSS scope, general enterprise baseline | Regulated data, DMZ and internet-facing hosts, jump servers, domain controllers | DoD systems, defense contractors under CMMC, federal integrators |
Rule of Thumb: Apply CIS Level 1 everywhere as the floor, Level 2 or STIG to the systems that would end your week if compromised — domain controllers, jump hosts, certificate authorities, hypervisor management, and anything internet-facing. Chasing Level 2 on every developer laptop buys far less risk reduction than hardening the twelve boxes that own your identity plane.
Baseline First, Harden Second
The failure pattern is always the same: someone runs a remediation script against a production host, the application breaks, and nobody can tell which of 180 changed settings caused it. Prevent that with sequencing.
Start by scanning without remediating. A read-only scan of your existing fleet tells you the real starting position, which is usually better than expected on Level 1 items and far worse than expected on auditing, crypto, and legacy protocol settings. Group results by finding rather than by host — if 900 servers all fail the same three rules, that is three changes, not 2,700.
Then build the baseline in a lab that actually resembles production. A hardened Windows Server with no domain join, no SQL, and no backup agent proves nothing. The lab needs the application, the monitoring agent, the backup client, the EDR sensor, and the deployment tooling, because those four categories generate the majority of hardening incidents. Run the application's own functional test suite against a hardened host before it ever meets a user.
Measure impact, do not guess it. Hardening has real performance cost in specific places: enabling detailed audit policy generates substantially more Security event log volume, which matters if you forward everything to a SIEM priced by ingest. Forcing SMB signing adds CPU overhead to file transfer paths. FIPS-mode crypto can change the cipher negotiation on high-throughput TLS endpoints. Capture before-and-after numbers for event volume, transaction latency, and file transfer throughput on at least one representative host.
Scanning: OpenSCAP, SCC, and CIS-CAT Pro
SCAP — the Security Content Automation Protocol — is the NIST-maintained specification that makes machine-readable baselines possible, combining XCCDF checklists with OVAL definitions for the actual checks.[3] Three scanners dominate practice.
OpenSCAP (oscap) is the open-source Linux scanner, packaged in RHEL, Rocky, Alma, Ubuntu, and SUSE. Its content comes from the SCAP Security Guide (scap-security-guide), which is the ComplianceAsCode project's output and ships both CIS and STIG profiles for most enterprise distributions.
# List available profiles in the shipped RHEL 9 content oscap info --profiles /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml # Evaluate the DISA STIG profile, write HTML + XCCDF results, # and generate a machine-readable ARF for the compliance archive sudo oscap xccdf eval \ --profile xccdf_org.ssgproject.content_profile_stig \ --results-arf /var/log/scap/$(hostname -s)-arf.xml \ --report /var/log/scap/$(hostname -s)-$(date +%F).html \ /usr/share/xml/scap/ssg/content/ssg-rhel9-ds.xml # Exit codes: 0 = all pass, 1 = error, 2 = one or more rules failed. # Wrap accordingly in CI so a scan "failure" does not kill the pipeline. # Generate a remediation script from the results instead of # letting the scanner change the system in place oscap xccdf generate fix \ --fix-type bash \ --result-id "" \ /var/log/scap/$(hostname -s)-arf.xml > remediate-review-me.sh
Note the last command. oscap supports --remediate, which applies fixes during the scan. Do not use it on production. Generating the script and reading it takes twenty minutes and is the difference between a controlled change and an outage.
SCAP Compliance Checker (SCC) is the DoD's free scanner, distributed through the Cyber Exchange for Windows, Linux, macOS, Solaris, and AIX. It consumes DISA's benchmark bundles directly and emits results in the checklist format that STIG Viewer opens, which is what makes it the default choice when your deliverable is an official checklist. STIG Viewer 3 imports those results, lets you annotate each finding with a status and comment, and exports the .cklb file your assessor expects.
CIS-CAT Pro Assessor is the CIS equivalent, requiring SecureSuite membership. Its advantage is coverage of the full CIS Benchmark catalog including applications and cloud services, plus CIS-CAT Pro Dashboard for trending. Its disadvantage is that it is not free and the licensing is per-organization.
Note: Scanner disagreement is normal and is not always a bug. A rule that checks a registry value will report compliant even when a conflicting Group Policy will overwrite it at the next refresh. Always re-scan after a full policy refresh cycle — gpupdate /force plus a reboot on Windows — before you trust a result.
Windows Remediation: Security Compliance Toolkit and LGPO
On Windows, Microsoft publishes its own security baselines through the Security Compliance Toolkit (SCT), which bundles GPO backups, a Policy Analyzer tool, and LGPO.exe for applying policy to non-domain-joined machines.[4] Microsoft's baselines are close to but not identical to CIS or STIG content; Policy Analyzer's real value is diffing three baselines against your effective local policy in one grid so you can see exactly where they disagree.
REM --- Back up current local policy BEFORE touching anything ---
LGPO.exe /b C:\Hardening\Backup /n "Pre-baseline %COMPUTERNAME%"
REM --- Apply a Microsoft baseline GPO backup by its GUID ---
LGPO.exe /g "C:\SCT\Windows Server 2022 Security Baseline\GPOs\{A1B2C3D4-...}"
REM --- Apply a single delta as a text file, useful for exceptions ---
REM Format: scope / key / value name / type / data
REM Computer
REM SYSTEM\CurrentControlSet\Control\Lsa\FipsAlgorithmPolicy
REM Enabled
REM DWORD:0
LGPO.exe /t C:\Hardening\exception-fips-off.txt
REM --- Parse the resulting local policy back out for evidence ---
LGPO.exe /parse /m C:\Windows\System32\GroupPolicy\Machine\Registry.pol > machine-policy.txt
gpupdate /force
For domain-joined fleets, import the baseline GPO backups into Group Policy Management, link them to a pilot OU, and use security filtering or WMI filters to control scope. This gives you the one thing a script cannot: unlinking a GPO reverts the settings on the next refresh. A remediation script that wrote registry values directly has no such undo, and "we restored from backup" is a much worse incident summary than "we unlinked the policy."
Automating Remediation with Ansible
On Linux, the two mainstream automation paths are the ComplianceAsCode-generated Ansible playbooks that ship alongside the SCAP content, and the community ansible-lockdown roles maintained by MindPoint Group, which cover RHEL, Ubuntu, and Windows CIS and STIG baselines. Both are heavily variable-driven, which is the point — every control should be individually switchable so an exception is a variable change, not a fork.
---
# roles/stig/tasks/rhel9-audit.yml
# RHEL 9 STIG V-257936 / CIS 4.1.3.x — audit the use of privileged commands
- name: "MEDIUM | RHEL-09-654100 | Ensure auditd logs sudo elevation"
ansible.builtin.lineinfile:
path: /etc/audit/rules.d/99-stig.rules
line: "-w /etc/sudoers -p wa -k identity"
create: true
owner: root
group: root
mode: "0640"
when:
- rhel9stig_cat2 # severity gate
- rhel9stig_654100 # per-rule gate for exceptions
notify: restart auditd
tags:
- CAT2
- V-257936
- auditd
- name: "HIGH | RHEL-09-611045 | Disallow empty passwords over SSH"
ansible.builtin.lineinfile:
path: /etc/ssh/sshd_config
regexp: '^\s*PermitEmptyPasswords'
line: "PermitEmptyPasswords no"
validate: "/usr/sbin/sshd -t -f %s" # never ship a config that fails validation
when: rhel9stig_cat1
notify: restart sshd
tags:
- CAT1
- V-257984
Three habits make this survivable. Use validate: on every task that edits a config a daemon must parse — a malformed sshd_config applied fleet-wide is how you lose remote access to everything at once. Tag every task with its rule ID so you can run or skip individual controls. And keep a separate variables file per environment so the exception for a legacy host is visible in Git rather than buried in someone's inventory.
Rule of Thumb: Run the playbook against production in Ansible's dry-run mode first — --check --diff changes nothing on the hosts and instead prints, line by line, what each file it manages would have looked like afterwards. Read that output. If it surprises you on even one host, your inventory grouping is wrong, and applying for real would have surprised you on a hundred.
When Hardening Breaks Things
Every experienced operator has a list. These five account for a large share of hardening incidents, and all of them are predictable enough to test for.
FIPS mode breaking applications. The Windows setting "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" does not make a system FIPS compliant — Microsoft says so explicitly. What it does is force .NET and Schannel to reject non-validated algorithms, which means any application calling MD5CryptoServiceProvider or a non-validated implementation throws an exception at runtime rather than degrading gracefully.[5] Legacy .NET line-of-business apps, some Java runtimes with their own crypto providers, and older backup agents are the usual casualties. On RHEL, fips-mode-setup --enable plus the FIPS crypto policy will similarly break SSH keys and TLS clients that rely on excluded algorithms. Test the application, not the OS.
SMB signing and legacy storage. Requiring SMB signing on both client and server is a CIS and STIG staple, and Windows 11 24H2 made it the default. It also breaks scan-to-folder on older multifunction printers, legacy NAS appliances with dated Samba builds, and embedded systems whose SMB stacks predate SMB2 signing. The symptom is a generic access-denied or "network path not found," which sends people hunting through NTFS permissions for a day. Inventory every non-Windows SMB client before you flip this, and be honest that "we will upgrade the copier firmware" is a real project with a real budget line.
TLS cipher and protocol removal. Disabling TLS 1.0/1.1 and stripping CBC or RSA key-exchange ciphers is correct and will break something. The predictable victims are out-of-band management interfaces (older iDRAC, iLO, and IPMI web UIs), embedded industrial and building-automation controllers, database drivers that were never updated, and any Java 7 client. Deploy in monitor mode first: enable TLS 1.2/1.3 alongside the old protocols, log negotiated versions at the load balancer for two weeks, then remove what nothing is using.
PowerShell Constrained Language Mode. When Windows Defender Application Control (WDAC) or AppLocker enforcement puts PowerShell into Constrained Language Mode, scripts are cut off from the parts of the language that let them load and run arbitrary code of their own: Add-Type, arbitrary New-Object against .NET types, and most COM instantiation all stop working, and a script that depends on any of them fails at the line that calls it. This is exactly the point — it is a strong anti-tampering control — but it silently breaks vendor installers, monitoring scripts, and half the automation your team wrote over five years. Audit-mode the application control policy for a full month and read the logs before enforcing. Signed scripts from a trusted publisher continue to run in full language mode, so code signing is the escape hatch, not an exception request.
Inactivity lockout on kiosks and service accounts. A 15-minute machine inactivity limit is a reasonable requirement for a desk. Applied via a machine-scoped GPO, it also locks the NOC video wall, the conference room display, and the badge-printing kiosk in the lobby. The related account-policy settings — password expiry, account lockout thresholds, and "log on as a service" restrictions — regularly take out service accounts that nobody documented. Put kiosks in their own OU with an explicit, risk-accepted exception and compensating physical controls; do not disable the setting fleet-wide because one lobby screen went dark.
The controls that break things are usually the controls that were doing the most work. The answer is a documented exception with an expiry date, not a quietly deleted line in the playbook.
The Exception Process That Keeps You Honest
Exceptions are not failures. An undocumented exception is. Every deviation needs five fields, and if your process cannot produce them, it is not a process:
- The rule identifier — V-ID, CIS recommendation number, or both. Not "the SMB thing."
- The affected scope — specific hosts or an OU, never "some servers."
- The technical justification — what breaks, with the error and the vendor case number if one exists.
- The compensating control — network segmentation, additional monitoring, restricted access. "We accept the risk" alone is not a compensating control.
- An expiry date and an accountable owner — a name, not a team alias, and a date no more than 12 months out.
The expiry date is the one people skip and the one that matters most. Without it, the exception granted for a 2019 application migration is still suppressing a CAT I finding in 2026 and nobody remembers why. Review exceptions on a fixed calendar and force each one to be re-justified or closed. Track the count as a metric: a slowly growing exception register is a signal that hardening is losing to operational pressure.
Drift Detection and Continuous Compliance
Configuration drifts. An administrator troubleshooting at 2 a.m. disables a setting to prove a theory and never re-enables it. A vendor installer flips a registry value. A new server is built from a golden image that predates the last three baseline revisions. Point-in-time scans catch this months later; continuous checks catch it in a day.
Practical implementations, in rough order of effort:
- Scheduled scans with diffing. A weekly oscap or SCC run writing results to a central share, with a script comparing pass/fail counts to the previous run. Crude, cheap, and catches most drift.
- Configuration management enforcement. Ansible in a scheduled pull, Chef, or Puppet running in enforce mode. The desired state is reapplied on every run, which converts drift into a logged change instead of a finding. Watch out for two systems that both believe they own the same setting: each run reverts what the other just wrote, the value flips back and forth on every cycle, and the change log fills with churn that buries the drift you actually care about.
- Platform-native posture tools. Microsoft Defender for Cloud security baselines, AWS Config conformance packs, and Azure Machine Configuration all evaluate CIS-derived rules continuously and surface deviation in a dashboard your leadership already looks at.
- Image-level enforcement. Bake the baseline into the golden image with Packer, scan the image in CI, and fail the build on new CAT I findings. This is the only approach that prevents drift instead of detecting it, and it is the reason immutable infrastructure teams have an easier time here.
Rule of Thumb: Scan monthly at minimum, weekly for internet-facing and identity infrastructure, and always within 30 days of a new STIG quarterly release or CIS Benchmark revision. Budget one engineer-week per quarter per major platform just to absorb baseline updates — that work does not disappear, and pretending it will is how baselines go stale by three revisions.
Mapping Hardening to Audit Frameworks
Hardening is rarely funded on its own merit; it is funded because an auditor asked. The good news is that a documented, scanned, exception-managed baseline satisfies several frameworks at once.
NIST SP 800-53 Rev. 5 addresses this directly in the Configuration Management family. CM-6 (Configuration Settings) requires establishing and documenting configuration settings using organization-defined common secure configurations, and its discussion explicitly points at security configuration checklists such as those in the National Checklist Program — which is where both CIS and DISA content is published.[6] CM-2 (Baseline Configuration), CM-3 (Change Control), and CM-7 (Least Functionality) round out the story, and your exception register is the evidence for CM-6's deviation-approval requirement.
CMMC Level 2 assessments evaluate the 110 security requirements of NIST SP 800-171, which includes the same configuration-management requirements in derived form. Defense contractors handling CUI generally find STIG content the path of least resistance, because the assessor already knows how to read a checklist.
PCI DSS v4.0 Requirement 2.2.1 calls for system configuration standards to be developed consistently with industry-accepted hardening standards, and CIS is named as an acceptable source. Requirement 2.2 broadly covers removing unnecessary services, changing defaults, and documenting the standard — a CIS Level 1 baseline with per-system exceptions maps almost line for line.
HIPAA is the outlier. The Security Rule is deliberately non-prescriptive and does not name a configuration baseline; the required artifact is a risk analysis and the safeguards that follow from it. A CIS baseline is a defensible way to demonstrate reasonable and appropriate technical safeguards, but the documentation that ties the baseline to your risk analysis matters more to an OCR investigator than the baseline itself.
Keep a single mapping spreadsheet from your baseline rules to framework controls. It takes a day to build, it makes audit prep a filter operation rather than a fire drill, and it is the artifact that lets you answer "which control does this setting satisfy?" without a meeting.
A Rollout Plan That Survives Production
A phased rollout that has worked repeatedly, on a roughly 90-day clock per platform:
- Weeks 1–2 — Assess. Scan the entire fleet read-only. Group findings by rule. Identify the twenty rules that account for most of the failures.
- Weeks 3–5 — Lab. Build the baseline against a representative stack including the application, agents, and backup. Run functional tests. Record every setting you had to relax and why.
- Weeks 6–7 — Pilot. Five to ten production hosts across different roles, with owners who have agreed to be pilot users and know how to reach you. One week minimum, covering a full business cycle including month-end if that is a thing in your environment.
- Weeks 8–11 — Waves. Roll out in rings of increasing blast radius — non-production, then low-criticality production, then tier 1. Never more than one ring per week. Keep the previous ring under observation while the next one goes.
- Week 12 — Close. Final scan, exception register signed, drift detection scheduled, documentation updated with the actual settings applied rather than the ones you intended to apply.
Two rules make the difference between this working and not. Every phase needs a tested rollback — unlinking a GPO, reverting an LGPO backup, or re-running the playbook with the control gates flipped off. And CAT I findings get fixed regardless of inconvenience, because a rule that says anonymous SMB enumeration is allowed is not a settings preference, it is an open door. Everything below CAT I is a negotiation between risk and operations, and that negotiation should be visible in the exception register where everyone can see what was traded away.
The Bottom Line
CIS Benchmarks and DISA STIGs provide the industry-standard technical control baselines for secure system configuration. Neither is a substitute for a risk-based decision process — applying every control blindly will break applications and generate exception requests faster than the security team can process. The effective approach is to select a benchmark tier appropriate to your environment (Level 1 for general-purpose, Level 2 for high-security), baseline your systems, measure compliance gaps, and implement an exception workflow that requires documented business justification and compensating controls. Automation tools like OpenSCAP and the Microsoft Security Compliance Toolkit make the scanning and reporting cycle repeatable at scale.
References
- Center for Internet Security — "CIS Benchmarks" and CIS Benchmark profile definitions (Level 1 / Level 2). cisecurity.org, accessed 2026.
- Defense Information Systems Agency — "Security Technical Implementation Guides (STIGs)" and STIG severity category definitions. DoD Cyber Exchange, public.cyber.mil, accessed 2026.
- NIST — "Security Content Automation Protocol (SCAP)" and the National Checklist Program Repository. NIST Computer Security Resource Center.
- Microsoft — "Microsoft Security Compliance Toolkit 1.0" (Policy Analyzer, LGPO.exe, security baselines). Microsoft Learn.
- Microsoft — "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" security policy setting, and FIPS 140 validation guidance. Microsoft Learn.
- NIST — SP 800-53 Rev. 5, Security and Privacy Controls for Information Systems and Organizations, control CM-6 (Configuration Settings), 2020.