Skip to content

Latest commit

 

History

History
96 lines (63 loc) · 5.11 KB

File metadata and controls

96 lines (63 loc) · 5.11 KB

CHAPS: Configuration Hardening Assessment PowerShell Scripts

CHAPS logo

CHAPS is a set of read-only scripts for checking Windows system security configuration where additional assessment software (such as Microsoft Policy Analyzer or commercial tools) cannot be installed. It is designed for Industrial Control System (ICS) and operational technology environments — engineer/operator workstations, HMI systems, historians, and management servers — but runs on any Windows system.


CHAPS is not a replacement for the Microsoft Security Compliance Toolkit and Policy Analyzer. Use those when you can install software on the target. Use CHAPS when you can't.

Scripts

CHAPS ships three script variants that all perform the same 59 checks in the same order. Pick the one that matches the target system:

Script Path Use when
PowerShell 3+ PowerShellv3/chaps_PSv3.ps1 PowerShell 3.0 or later is available (Windows 8 / Server 2012 and newer)
PowerShell 2 PowerShellv2/chaps_PSv2.ps1 Only PowerShell 2.0 is available (Windows 7 / Server 2008 R2)
CMD batch CMD/chaps.bat PowerShell is locked down or unavailable

All three write Markdown to stdout. The operator redirects to a file:

.\chaps_PSv3.ps1 > mysystem-report.md

See docs/USAGE.md for full running instructions.

Quick Start

Open a PowerShell window or Command Prompt as Administrator on the target system, then run one of:

# PowerShell 3+
Set-ExecutionPolicy Bypass -Scope Process
.\chaps_PSv3.ps1 > $env:COMPUTERNAME-chaps.md
# PowerShell 2
Set-ExecutionPolicy Bypass -Scope Process
.\chaps_PSv2.ps1 > $env:COMPUTERNAME-chaps.md
REM CMD
chaps.bat > %COMPUTERNAME%-chaps.md

The report is a plain Markdown file. Copy it off the target system for review and delete the local copy.

Analyzing Reports

Pass a CHAPS report through tools/chaps-analyze.ps1 (PowerShell 3.0+, no external dependencies) to get a structured Markdown analysis with findings, recommendations, and MITRE ATT&CK mappings:

.\tools\chaps-analyze.ps1 -InputReport <target>-chaps.md > <target>-analysis.md

The analysis output is structured for direct human review or for ingestion into AI reporting and threat-modeling tools. See docs/ANALYSIS.md for details.

Documentation

  • docs/USAGE.md — Detailed running instructions, permissions, output handling, non-admin behavior, troubleshooting.
  • docs/CHECKS.md — All 63 checks in canonical order with a brief description of what each verifies.
  • docs/INTERPRETING_REPORTS.md — How to read the status prefixes ([+] / [-] / [*] / [x]), what each category means, how to triage findings.
  • docs/REMEDIATION.md — Per-check remediation guidance for negative findings: registry keys, Group Policy paths, commands, and references.
  • docs/ANALYSIS.md — How to use the chaps-analyze.ps1 tool and how to extend the knowledge base.

References

The check set and thresholds draw from:

Per-check references are included inline in docs/REMEDIATION.md.

Collaborators

Project License

CHAPS is dual-licensed.

Open Source: GNU General Public License v3.0 -- you may run, modify, and redistribute CHAPS under the terms of GPL v3. Consulting use, internal organizational use, and academic use are all permitted; reports produced by running CHAPS are not derivative works and carry no GPL obligation.

Commercial: Organizations that need to incorporate CHAPS into proprietary products or services without complying with GPL v3 (for example, embedding CHAPS in a closed-source assessment appliance, commercial toolkit, or SaaS offering that redistributes the scripts) may obtain a commercial license. Contact Cutaway Security, LLC at info@cutawaysecurity.com for terms.

See the NOTICE file for the full dual-license statement, permitted-use details, and attribution requirements.