Harden-Windows-Security-Module

0.0.8


✅ This is a PowerShell module for Harden Windows Security script.
✅ It offers System Compliance checking in addition to hardening.
✅ You can check and validate a system to see whether it conforms to the Harden Windows Security guidelines or not.

💠 The module generates a nice output on the screen as well as giving users an option to export the results in a CSV

✅ This is a PowerShell module for Harden Windows Security script.
✅ It offers System Compliance checking in addition to hardening.
✅ You can check and validate a system to see whether it conforms to the Harden Windows Security guidelines or not.

💠 The module generates a nice output on the screen as well as giving users an option to export the results in a CSV file.

💠 If you use the "Protect-WindowsSecurity" Cmdlet, it will download and run the Harden Windows Security PowerShell script from the official repository

🟡 Refer to this GitHub repository for more info: https://github.com/HotCakeX/Harden-Windows-Security

🏴 Module's documentation: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Harden%E2%80%90Windows%E2%80%90Security%E2%80%90Module

💎 If you have any questions, requests, suggestions etc. about this module, please open a new Discussion or Issue on GitHub

Show more

Minimum PowerShell version

7.3.4

There is a newer prerelease version of this module available.
See the version list below for details.

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Harden-Windows-Security-Module -RequiredVersion 0.0.8

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Harden-Windows-Security-Module -Version 0.0.8

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) HotCakeX. All rights reserved.

Package Details

Author(s)

  • HotCakeX

Tags

Harden-Windows-Security Harden Windows Security Compliance Validation Baseline Security-Score Benchmark Group-Policy

Cmdlets

Confirm-SystemCompliance Protect-WindowsSecurity

Functions

Confirm-SystemCompliance Protect-WindowsSecurity

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes


## Version 0.0.8
The compliance checking module now uses registry instead of group policy, this was done because group policies are different in different languages and locales so the old method couldn't be used by users using non-English system locales.
This also saves about 1000 lines of code, makes compliance checking faster and generates more detailed output.
Overall it's a very positive change.

## Version 0.0.7
Changed the Hyper-V Administrators security group members detection from using name to SID to make it compatible with non-English system locales.
Improved the code security and readability by adding explicit types to many variables and using single quotes instead of double quotes wherever possible.

## Version 0.0.6
Fixed the URL for Group-Policies.json

## Version 0.0.5
Small update to improve the auto-updating mechanism

## Version 0.0.4
Updated the Compliance checks to include changes in the following Harden Windows Security update:
https://github.com/HotCakeX/Harden-Windows-Security/releases/tag/v2023.08.08
Changed Windows Firewall category from using cmdlets to Group policy xml parsing

## Version 0.0.3
Updated the Compliance checks to include changes in the following Harden Windows Security update:
https://github.com/HotCakeX/Harden-Windows-Security/releases/tag/v2023.08.04

## Version 0.0.2
Added self-updating mechanism
Added all the missing categories such as Optional Windows Features category and Top Security category
Added Bitlocker DMA protection check
Fixed the CSV output to stop repeating the headers for each category
Improved the ASCII arts and their colors
Added Total number of checks to the output
Improved the displayed output to include checks that do not output bool value by adding an extra property called Compliant to each item
Improved the module's PowerShell gallery page (Description, image)
Added a new optional parameter called "-DetailedDisplay" to show the output in a detailed list instead of the default table format

## Version 0.0.1
First release

FileList

Version History

Version Downloads Last updated
0.4.1 0 5/11/2024
0.4.0 466 5/4/2024
0.3.9 1,138 4/24/2024
0.3.8 776 4/14/2024
0.3.7 315 4/9/2024
0.3.6 269 4/3/2024
0.3.5 626 3/22/2024
0.3.4 1,092 3/7/2024
0.3.3 317 3/4/2024
0.3.2 806 2/24/2024
0.3.1 1,927 1/25/2024
0.3.0 650 1/15/2024
0.3.0-Beta3 5 1/15/2024
0.3.0-Beta2 7 1/15/2024
0.3.0-Beta1 5 1/15/2024
0.2.9 411 1/9/2024
0.2.8 64 1/9/2024
0.2.8-Beta2 7 1/8/2024
0.2.8-Beta1 6 1/8/2024
0.2.7 1,219 12/15/2023
0.2.6 346 11/23/2023
0.2.5 116 11/18/2023
0.2.4 129 11/8/2023
0.2.3 29 11/6/2023
0.2.2 50 11/3/2023
0.2.1 14 11/3/2023
0.2.0 187 10/19/2023
0.1.9 52 10/17/2023
0.1.8 52 10/12/2023
0.1.7 117 10/4/2023
0.1.6.1 104 9/26/2023
0.1.6 6 9/26/2023
0.1.5 34 9/24/2023
0.1.4 186 9/12/2023
0.1.3 40 9/7/2023
0.1.2 242 8/24/2023
0.1.1 51 8/21/2023
0.1.0 67 8/18/2023
0.0.9 30 8/17/2023
0.0.8 (current version) 71 8/11/2023
0.0.7 51 8/9/2023
0.0.6 25 8/9/2023
0.0.5 9 8/9/2023
0.0.4 15 8/9/2023
0.0.3 77 8/5/2023
0.0.2 48 8/2/2023
0.0.1 74 7/29/2023
Show less