Harden-Windows-Security-Module

0.0.9


✅ 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.9

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.9

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 Unprotect-WindowsSecurity

Functions

Confirm-SystemCompliance Protect-WindowsSecurity Unprotect-WindowsSecurity

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes


## Version 0.0.9
Added Unprotect-WindowsSecurity cmdlet for removing the protections applied by the Protect-WindowsSecurity cmdlet.

## 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.6.9 16,198 11/4/2024
0.6.8 2,948 10/29/2024
0.6.7 5,286 10/16/2024
0.6.6 2,666 10/9/2024
0.6.5 1,689 10/5/2024
0.6.4 567 10/4/2024
0.6.3 5,526 9/18/2024
0.6.2 377 9/18/2024
0.6.1 3,192 9/7/2024
0.6.0 764 9/4/2024
0.5.9 1,176 9/1/2024
0.5.8 1,119 8/28/2024
0.5.7 717 8/26/2024
0.5.6 414 8/25/2024
0.5.5 68 8/25/2024
0.5.4 5,047 8/10/2024
0.5.3 1,905 8/2/2024
0.5.2 1,266 7/29/2024
0.5.1 351 7/28/2024
0.5.0 886 7/21/2024
0.4.9 831 7/15/2024
0.4.8 429 7/14/2024
0.4.7 1,396 7/12/2024
0.4.6 1,263 7/7/2024
0.4.5 2,245 6/14/2024
0.4.4 519 6/10/2024
0.4.3 1,026 5/25/2024
0.4.2 619 5/16/2024
0.4.1 447 5/11/2024
0.4.0 672 5/4/2024
0.3.9 1,141 4/24/2024
0.3.8 779 4/14/2024
0.3.7 318 4/9/2024
0.3.6 272 4/3/2024
0.3.5 629 3/22/2024
0.3.4 1,096 3/7/2024
0.3.3 320 3/4/2024
0.3.2 809 2/24/2024
0.3.1 1,965 1/25/2024
0.3.0 653 1/15/2024
0.3.0-Beta3 8 1/15/2024
0.2.9 414 1/9/2024
0.2.8 68 1/9/2024
0.2.8-Beta2 10 1/8/2024
0.2.8-Beta1 9 1/8/2024
0.2.7 1,225 12/15/2023
0.2.6 349 11/23/2023
0.2.5 119 11/18/2023
0.2.4 132 11/8/2023
0.2.3 32 11/6/2023
0.2.2 54 11/3/2023
0.2.1 17 11/3/2023
0.2.0 190 10/19/2023
0.1.9 55 10/17/2023
0.1.8 55 10/12/2023
0.1.7 121 10/4/2023
0.1.6.1 107 9/26/2023
0.1.6 9 9/26/2023
0.1.5 37 9/24/2023
0.1.4 189 9/12/2023
0.1.3 43 9/7/2023
0.1.2 246 8/24/2023
0.1.1 54 8/21/2023
0.1.0 70 8/18/2023
0.0.9 (current version) 33 8/17/2023
0.0.8 74 8/11/2023
0.0.7 54 8/9/2023
0.0.6 28 8/9/2023
0.0.5 13 8/9/2023
0.0.4 18 8/9/2023
0.0.3 80 8/5/2023
0.0.2 51 8/2/2023
0.0.1 81 7/29/2023
Show less