WDACConfig

0.2.1


This is an advanced PowerShell module for WDAC (Windows Defender Application Control) and automates a lot of tasks.


🟢 Please see the GitHub page for Full details and everything about the module: https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDACConfig


🛡️ Here is the list of module's cmdlets

✔️ New-WDACConfig: https://github.com/HotCakeX/Har

This is an advanced PowerShell module for WDAC (Windows Defender Application Control) and automates a lot of tasks.


🟢 Please see the GitHub page for Full details and everything about the module: https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDACConfig


🛡️ Here is the list of module's cmdlets

✔️ New-WDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/New-WDACConfig

✔️ New-SupplementalWDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/New-SupplementalWDACConfig

✔️ Remove-WDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Remove-WDACConfig

✔️ Edit-WDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Edit-WDACConfig

✔️ Edit-SignedWDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Edit-SignedWDACConfig

✔️ Deploy-SignedWDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Deploy-SignedWDACConfig

✔️ Confirm-WDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Confirm-WDACConfig

✔️ New-DenyWDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/New-DenyWDACConfig

✔️ Set-CommonWDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Set-CommonWDACConfig

✔️ New-KernelModeWDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/New%E2%80%90KernelModeWDACConfig

✔️ Get-CommonWDACConfig: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Get-CommonWDACConfig

✔️ Invoke-WDACSimulation: https://github.com/HotCakeX/Harden-Windows-Security/wiki/Invoke-WDACSimulation

To get help and syntax on PowerShell console, type:
"Get-Command -Module WDACConfig"
"Get-Help New-WDACConfig"
"Get-Help New-SupplementalWDACConfig"
"Get-Help Remove-WDACConfig"
"Get-Help Edit-WDACConfig"
"Get-Help Edit-SignedWDACConfig"
"Get-Help Deploy-SignedWDACConfig"
"Get-Help Confirm-WDACConfig"
"Get-Help New-DenyWDACConfig"
"Get-Help Set-CommonWDACConfig"
"Get-help New-KernelModeWDACConfig"
"Get-help Get-CommonWDACConfig"
"Get-help Invoke-WDACSimulation"
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 WDACConfig -RequiredVersion 0.2.1

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

Install-PSResource -Name WDACConfig -Version 0.2.1

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) 2023

Package Details

Author(s)

  • HotCakeX

Tags

WDAC Windows-Defender-Application-Control Windows Security Microsoft Application-Control MDAC Application-Whitelisting BYOVD

Cmdlets

New-WDACConfig Remove-WDACConfig Deploy-SignedWDACConfig Confirm-WDACConfig Edit-WDACConfig Edit-SignedWDACConfig New-SupplementalWDACConfig New-DenyWDACConfig Set-CommonWDACConfig New-KernelModeWDACConfig Invoke-WDACSimulation Get-CommonWDACConfig

Functions

New-WDACConfig Remove-WDACConfig Deploy-SignedWDACConfig Confirm-WDACConfig Edit-WDACConfig Edit-SignedWDACConfig New-SupplementalWDACConfig New-DenyWDACConfig Set-CommonWDACConfig New-KernelModeWDACConfig Invoke-WDACSimulation Get-CommonWDACConfig

PSEditions

Core

Dependencies

This module has no dependencies.

Release Notes

     
## Version 0.2.1
1. Added -AllowFileNameFallbacks parameter by default when creating policies. It's a great parameter that helps include files that do not have an OriginalFileName.
2. Fixed the Microsoft recommended Block lists URLs in the code because they were changed and had to be updated
3. Improved code quality (Security, readability, typos in the comments etc.)

## Version 0.2.0
1. Added WDAC Simulation using the new Invoke-WDACSimulation Cmdlet
2. Added Get-CommonWDACConfig Cmdlet dedicated only to querying the User Configs and reading them. Set-CommonWDACConfig Cmdlet is only for storing User Configurations.
3. Eliminated the need for an extra reboot in New-KernelModeWDACConfig Cmdlet. From now on, only one reboot is required and that's only during the Audit mode. For deploying the Enforced mode policy, the module replaces the Audit mode policy with the new enforced mode and it instantly becomes operative.
4. Improved the argument completers of the Set-CommonWDACConfig Cmdlet by showing GUI for file picking.
5. Added new parameter to the New-DenyWDACConfig Cmdlet for creating deny rule for Windows Appx apps
6. Improved the parameter usage logic in New-KernelModeWDACConfig Cmdlet

## Version 0.1.9
Improved the New-WDACConfig -MakePolicyFromAuditLogs by accounting for situations where event viewer logs don't contain any files that are no longer on the disk even though user chooses to include them.
Added new functionality and cmdlet New-KernelModeWDACConfig, capable of providing complete protection against all BYOVD (Bring Your Own Vulnerable Driver) scenarios
Improved the Set-CommonWDACConfig argument completers by showing a file picker GUI when selecting certificates or browsing for custom SignTool.exe path.

## Version 0.1.8
Added Enforced mode SnapBack guarantee for the Edit-WDACConfig and Edit-SignedWDACConfig cmdlets so that even in case of power outage or computer crash, the enforcement will be restored.
Improved the code style for better consistency.
Added Azure source for version check as the backup endpoint.

Full Change log available in GitHub releases: https://github.com/HotCakeX/Harden-Windows-Security/releases

FileList

Version History

Version Downloads Last updated
0.3.8 120 4/28/2024
0.3.7 94 4/21/2024
0.3.6 60 4/16/2024
0.3.5 345 3/16/2024
0.3.4 169 3/2/2024
0.3.4-Beta1 7 3/2/2024
0.3.3 118 2/21/2024
0.3.2 102 2/10/2024
0.3.1 189 1/22/2024
0.3.0 141 1/9/2024
0.2.9 65 1/2/2024
0.2.8 40 12/27/2023
0.2.8-Beta3 9 12/27/2023
0.2.8-Beta2 6 12/27/2023
0.2.8-Beta1 8 12/26/2023
0.2.7 187 12/12/2023
0.2.6 221 10/10/2023
0.2.5 25 10/6/2023
0.2.4 29 9/25/2023
0.2.3 33 9/19/2023
0.2.2 65 9/5/2023
0.2.1 (current version) 120 8/13/2023
0.2.0 82 7/18/2023
0.1.9 46 7/9/2023
0.1.8 96 6/2/2023
0.1.7 14 5/28/2023
0.1.6 11 5/25/2023
0.1.5 37 5/18/2023
0.1.4 11 5/14/2023
0.1.3 5 5/13/2023
0.1.2 26 5/3/2023
0.1.1 7 5/1/2023
0.1.0 24 4/22/2023
0.0.9 14 4/15/2023
0.0.8 6 4/14/2023
0.0.7 17 4/10/2023
0.0.6 18 4/5/2023
0.0.5 14 4/4/2023
0.0.4 13 4/3/2023
0.0.3 7 4/2/2023
0.0.2 21 4/2/2023
0.0.1 6 4/2/2023
Show less