CIS Benchmarks: Update Windows 10 to v4.0.0
Goal
| User story |
|---|
| As an endpoint engineer, |
| I want Fleet to support the latest Windows 10 CIS Benchmarks (v.4.0.0) |
| so that I can be sure I'm using the latest version of the benchmarks to meet compliance needs. |
Roadmap item
None. Fleet is committed to maintaining CIS Benchmarks for Windows workstations.
Original requests
None.
Resources
None.
Changes
Product
- [x] CIS policies changes: Update Windows 10 to cover v4.0.0.
- [x] UI changes: No changes.
- [x] CLI (fleetctl) usage changes: No changes.
- [x] YAML changes: No changes.
- [x] REST API changes: No changes.
- [x] Fleet's agent (fleetd) changes: No changes.
- [x] GitOps mode changes: No changes.
- [x] Activity changes: No changes.
- [x] Permissions changes: No changes.
- [x] Changes to paid features or tiers: Fleet Premium
- [x] Transparency changes: No changes.
- [x] First draft of test plan added
- [x] Other reference documentation changes: Already applied to main
- [ ] Once shipped, requester has been notified
- [ ] Once shipped, dogfooding issue has been filed
Engineering
- [x] Test plan is finalized
ℹ️ Please read this issue carefully and understand it. Pay special attention to UI wireframes, especially "dev notes".
QA
Risk assessment
- Requires load testing: No
- Risk level: Low
- Risk description: Risk is limited to the modified queries.
Test plan
Make sure to go through the list and consider all events that might be related to this story, so we catch edge cases earlier.
- [x] Open the PR that updated the CIS policies for Windows 10. For every policy that changed, run this policy on a Windows workstation and verify that the policy passes and fails when expected.
- [ ] Create and link an Google sheet here of all changed and tested benchmarks.
Testing notes
Confirmation
- [ ] Engineer: Added comment to user story confirming successful completion of test plan.
- [x] QA: Added comment to user story confirming successful completion of test plan.
@noahtalerman, I had a quick look into both documents Win 11 v4.0.0 and v5.0.0
v4.0.0 (this ticket)- have more changes than the last typical docs so XS may be a bold estimation. v5.0.0 - has significantly more changes and I marked it as Small.
cc @lukeheath
FYI @lucasmrod @sharon-fdm we moved this CIS story the following CIS story to "Ready to spec":
- https://github.com/fleetdm/fleet/issues/39096
Specing instructions
This task is a classic candidate for AI-assisted work.
A good example of completed work can be found in this closed PR.
One of the most labor-intensive parts of this work is QA. For the previous effort, the AI was also instructed to generate both PASS and FAIL validation scripts.
Running the respective script should cause the generated query to pass or fail, making validation much faster and more repeatable.
@dantecatalfamo is currently working on a similar task. It may be worth documenting the AI prompting techniques and workflow patterns used here so we can reuse them for this and future CIS-related work.
example:
Example generated policy artifact
---
apiVersion: v1
kind: policy
spec:
name: CIS Ubuntu 22.04 - 1.1.1.2 Ensure freevxfs kernel module is not available (Automated)
platforms: linux
platform: linux
description: Ensure freevxfs kernel module is not available (Automated)
resolution: |
Create /etc/modprobe.d/freevxfs.conf with blacklist + install rules to prevent loading freevxfs.
# QA Validation:
# - Where: Run on the audited Ubuntu 22.04 host (use a disposable VM for FAIL).
# - PASS (run):
# - sudo bash -c "printf '%s\n' 'blacklist freevxfs' 'install freevxfs /bin/false' > /etc/modprobe.d/freevxfs.conf"
# - sudo modprobe -r freevxfs 2>/dev/null || true
# - FAIL (run):
# - sudo rm -f /etc/modprobe.d/freevxfs.conf
# - (optional) sudo modprobe freevxfs 2>/dev/null || true
# - Expected:
# - PASS: query returns 1 row
# - FAIL: query returns 0 rows
query: |
SELECT 1
WHERE (SELECT COUNT(*) FROM kernel_modules WHERE name='freevxfs') = 0
AND (SELECT COUNT(*) FROM file_contents
WHERE path LIKE '/etc/modprobe.d/%.conf'
AND contents LIKE '%blacklist freevxfs%'
AND contents NOT LIKE '%#%') >= 1
AND (SELECT COUNT(*) FROM file_contents
WHERE path LIKE '/etc/modprobe.d/%.conf'
AND (contents LIKE '%install freevxfs /bin/false%' OR contents LIKE '%install freevxfs /bin/true%')
AND contents NOT LIKE '%#%') >= 1;
purpose: Informational
tags: compliance, CIS, CIS_Ubuntu_22_04
contributors: sharon-fdm
---
@rachaelshaw, @noahtalerman, given that Win 10 support is ending this Oct, do we still want this done? (We do have the Win11 updated)
given that Win 10 support is ending this Oct, do we still want this done? (We do have the Win11 updated)
@sharon-fdm yes. We support Windows Pro and Enterprise 10 21H2 (E) (LTS)+: https://fleetdm.com/docs/get-started/faq#what-host-operating-systems-does-fleet-support
Why? I think our current customers still use Windows 10 (we can double check w/ usage stats). And, according to endoflife.date, Windows 10 22H2 is getting security updates until 2028:
Pushing this to 4.91 due to environment blockers on getting a Windows 10 Enterprise VM stood up for benchmark testing.
@AndreyKizimenko and I agreed to re-milestone rather than block on this, and revisit once Dante's back and we can sort out Proxmox access or another licensed source for the Enterprise ISO.
We have been able to solve the Window 10 tooling access which will unblock this. However, we will not be able to finish by 4.91.0 so resetting milestone to 4.92.0
QA Summary
Verified the Windows 10 CIS benchmark update to v4.0.0 (issue #35118, PR #48986) on a Windows 10 Pro VM (marcus-windows-10, host 9) enrolled to Fleet rc-minor-fleet-v4.92.0.
All 21 new/changed policies pass and fail exactly as expected;
Results Table
| Check | Result | Notes |
|---|---|---|
| Configure multicast DNS (mDNS) → Disabled | ✅ | fail → 0 rows; pass → 1 row (EnableMDNS=0) |
| Turn off default IPv6 DNS Servers → Enabled | ✅ | fail → 0 rows; pass → 1 row |
| App Installer: Local Archive Malware Scan Override → Disabled | ✅ | fail → 0 rows; pass → 1 row |
| App Installer: MS Store Source Cert Validation Bypass → Disabled | ✅ | fail → 0 rows; pass → 1 row |
| App Installer: Windows Package Manager CLI → Disabled | ✅ | fail → 0 rows; pass → 1 row |
| Mark of the Web not applied to files from insecure sources → Disabled | ✅ | fail → 0 rows; pass → 1 row |
| Control whether exclusions are visible to local users → Enabled | ✅ | fail → 0 rows; pass → 1 row |
| Enable EDR in block mode → Enabled | ✅ | fail → 0 rows; pass → 1 row (worked example) |
| Convert warn verdict to block → Enabled | ✅ | fail → 0 rows; pass → 1 row |
| Real-time protection + Sig updates during OOBE → Enabled | ✅ | fail → 0 rows; pass → 1 row |
| Configure Remote Encryption Protection Mode → Enabled | ✅ | fail → 0 rows; pass → 1 row (data 1 or 2) |
| Configure Brute-Force Protection aggressiveness → Medium+ | ✅ | fail → 0 rows; pass → 1 row |
| How aggressively Remote Encryption Protection blocks → Medium+ | ✅ | fail → 0 rows; pass → 1 row |
| Scan excluded files/dirs during quick scans → Enabled:1 | ✅ | fail → 0 rows; pass → 1 row |
| Trigger a quick scan after X days without scans → Enabled:7 | ✅ | fail → 0 rows; pass → 1 row |
| Turn on Basic feed authentication over HTTP → Disabled | ✅ | fail → 0 rows; pass → 1 row |
| MPR notifications user password (18.10.82.1) → Disabled | ✅ | fail → 0 rows; pass → 1 row |
| WinHTTP Web Proxy Auto-Discovery Service → Disabled | ✅ | fail → 0 rows; pass → 1 row |
| GameInput Service (GameInputSvc) → Disabled | ✅ | fail → 0 rows; pass → 1 row |
Query change (1) — the only existing-policy query modified in the PR
| Check | Result | Notes |
|---|---|---|
| Enable Certificate Padding — REG_DWORD | ✅ | query data = 1 → (data = 1 OR data = '1'); pass → 1 row with DWORD=1 |
| Enable Certificate Padding — REG_SZ | ✅ | pass → 1 row with SZ (new query accepts either type); fails when absent |
Level change (1) — tag only, query unchanged
| Check | Result | Notes |
|---|---|---|
| Enable App Installer — Level 1 → Level 2 | ✅ | CIS_Level1 → CIS_Level2; query identical, evaluates correctly at new level |
Removed (2)
| Check | Result | Notes |
|---|---|---|
| Turn off Microsoft Defender AntiVirus — removed | ✅ | 0 matches on the team's policy set |
| Only display the private store within Microsoft Store — removed | ✅ | 0 matches on the team's policy set |
Renamed-only (2)
| Check | Result | Notes |
|---|---|---|
| Create symbolic links (title → 'Administrators') | ✅ | display-name change only; query unchanged (not toggled) |
| Log on as a service (title → 'Ensure … is configured') | ✅ | display-name change only; query unchanged (not toggled) |