HardeningKitty is a PowerShell script that audits and applies Windows hardening settings based on multiple security benchmarks to enhance endpoint security.
HardeningKitty and Windows Hardening Settings
This tool is used by system administrators and security professionals to assess and enforce compliance with Windows security baselines such as Microsoft, CIS Benchmarks, and DoD STIG. It automates the auditing and hardening of Windows configurations to reduce security risks and improve privacy in both private and business environments.
Run the script with administrative privileges to fully access machine settings; user settings should be run with a normal user account. The script was developed for English Windows systems and may produce incorrect results on systems with other languages. Use caution when applying hardening settings as they may affect system usability or infrastructure operations. For environments that require signed scripts, use the stable signed version available from the scip AG repository.
Download HardeningKitty script and accompanying lists from the repository
Copy the script and lists to the target Windows system
Run PowerShell with administrative privileges to access machine settings
Import the HardeningKitty module using Import-Module .\HardeningKitty.psm1
Execute the script with Invoke-HardeningKitty command
Import-Module .\HardeningKitty.psm1
Imports the HardeningKitty PowerShell module into the current session
Invoke-HardeningKitty -EmojiSupport
Runs the HardeningKitty audit and hardening process with emoji support for easier result interpretation