WDACConfig
0.0.8
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 parameters the module supports
✔️ New-WDACConfig [-GetBlockRules]
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 parameters the module supports
✔️ New-WDACConfig [-GetBlockRules] [-SkipVersionCheck]
✔️ New-WDACConfig [-GetDriverBlockRules] [-SkipVersionCheck]
✔️ New-WDACConfig [-MakeAllowMSFTWithBlockRules] [-Deployit] [-TestMode] [-RequireEVSigners] [-SkipVersionCheck]
✔️ New-WDACConfig [-DeployLatestDriverBlockRules] [-SkipVersionCheck]
✔️ New-WDACConfig [-SetAutoUpdateDriverBlockRules] [-SkipVersionCheck]
✔️ New-WDACConfig [-PrepMSFTOnlyAudit] [-LogSize <Int64>] [-SkipVersionCheck]
✔️ New-WDACConfig [-MakePolicyFromAuditLogs] [-Deployit] [-TestMode] [-RequireEVSigners] [-Debugmode] [-Levels <String>] [-Fallbacks <String[]>] [-LogSize <Int64>] [-SkipVersionCheck]
✔️ New-WDACConfig [-MakeLightPolicy] [-Deployit] [-TestMode] [-RequireEVSigners] [-SkipVersionCheck]
✔️ New-WDACConfig [-MakeSupplementalPolicy] -ScanLocation <String> -SuppPolicyName <String> -PolicyPath <String> [-Deployit] [-Levels <String>] [-Fallbacks <String[]>] [-SkipVersionCheck]
✔️ New-WDACConfig [-MakeDefaultWindowsWithBlockRules] [-Deployit] [-TestMode] [-RequireEVSigners] [-SkipVersionCheck]
✔️ Remove-WDACConfig [-RemoveSignedPolicies] -PolicyPaths <String[]> [-SignToolPath <String>] -CertCN <String> [-SkipVersionCheck]
✔️ Remove-WDACConfig [-RemovePolicies] [-PolicyIDs <String[]>] [-PolicyNames <String[]>] [-SkipVersionCheck]
✔️ Edit-WDACConfig [-AllowNewAppsAuditEvents] -SuppPolicyName <String> -PolicyPaths <String[]> [-Debugmode] [-Levels <String>] [-Fallbacks <String[]>] [-LogSize <Int64>] [-SkipVersionCheck]
✔️ Edit-WDACConfig [-AllowNewApps] -SuppPolicyName <String> -PolicyPaths <String[]> [-Levels <String>] [-Fallbacks <String[]>] [-SkipVersionCheck]
✔️ Edit-WDACConfig [-MergeSupplementalPolicies] -SuppPolicyName <String> -PolicyPaths <String[]> -SuppPolicyPaths <String[]> [-SkipVersionCheck]
✔️ Edit-WDACConfig [-UpdateBasePolicy] -CurrentBasePolicyName <String[]> -NewBasePolicyType <String> [-RequireEVSigners] [-SkipVersionCheck]
✔️ Edit-SignedWDACConfig [-AllowNewAppsAuditEvents] -CertPath <String> -SuppPolicyName <String> -PolicyPaths <String[]> [-SignToolPath <String>] -CertCN <String> [-Debugmode] [-LogSize <Int64>] [-Levels <String>] [-Fallbacks <String[]>] [-SkipVersionCheck]
✔️ Edit-SignedWDACConfig [-AllowNewApps] -CertPath <String> -SuppPolicyName <String> -PolicyPaths <String[]> [-SignToolPath <String>] -CertCN <String> [-Levels <String>] [-Fallbacks <String[]>] [-SkipVersionCheck]
✔️ Edit-SignedWDACConfig [-MergeSupplementalPolicies] -CertPath <String> -SuppPolicyName <String> -PolicyPaths <String[]> [-SignToolPath <String>] -CertCN <String> -SuppPolicyPaths <String[]> [-SkipVersionCheck]
✔️ Edit-SignedWDACConfig [-UpdateBasePolicy] -CertPath <String> -SignToolPath <String> -CertCN <String> -CurrentBasePolicyName <String[]> -NewBasePolicyType <String> [-RequireEVSigners] [-SkipVersionCheck]
✔️ Confirm-WDACConfig [-ListActivePolicies] [-OnlyBasePolicies] [-OnlySupplementalPolicies] [-SkipVersionCheck]
✔️ Confirm-WDACConfig [-VerifyWDACStatus] [-SkipVersionCheck]
✔️ Confirm-WDACConfig [-CheckSmartAppControlStatus] [-SkipVersionCheck]
To get help and syntax on PowerShell console, type:
"Get-Command -Module WDACConfig"
"Get-Help Confirm-WDACConfig"
"Get-Help Deploy-SignedWDACConfig"
"Get-Help Edit-SignedWDACConfig"
"Get-Help Edit-WDACConfig"
"Get-Help New-WDACConfig"
"Get-Help Remove-WDACConfig"
Minimum PowerShell version
7.3
Installation Options
Owners
Copyright
(c) 2023
Package Details
Author(s)
- HotCakeX
Tags
WDAC Windows-Defender-Application-Control Windows Security Microsoft Application-Control MDAC
Cmdlets
New-WDACConfig Remove-WDACConfig Deploy-SignedWDACConfig Confirm-WDACConfig Edit-WDACConfig Edit-SignedWDACConfig
Functions
New-WDACConfig Remove-WDACConfig Deploy-SignedWDACConfig Confirm-WDACConfig Edit-WDACConfig Edit-SignedWDACConfig
PSEditions
Dependencies
This module has no dependencies.
Release Notes
## Version
0.0.8 New features: Added the last base policy type, DefaultWindows, to the available base policy options to be used for the cmdlets of this module.
New features: Added -UpdateBasePolicy parameter for the Edit-SignedWDACConfig cmdlet, so you can seamlessly change the base policy type or update block rules in it without changing or redeploying supplemental policies.
All cmdlets and parameters that create a supplemental policy by scanning now allow optional granular controls over levels and fallback levels, giving user full control over that process.
Removed underscore (_) from parameter names and now using camel case for all of them.
Changed parameter set names from generic Set1,Set2 etc. to proper names that can easily identify which parameter they belong to.
Added [-OnlyBasePolicies] and [-OnlySupplementalPolicies] switches to "Confirm-WDACConfig [-ListActivePolicies]".
The module now has a total of 23 distinct parameters/features to help easily manage advanced WDAC and Application Whitelisting tasks.
0.0.7 New feature: Edit-WDACConfig -UpdateBasePolicy It can rebootlessly change the type of the deployed base policy. It can update the recommended block rules and/or change policy rule options in the deployed base policy.
Used Begin and Process blocks in module functions to organize everything properly. Added a lot of parameter validations.
0.0.6 New feature: Confirm-WDACConfig -CheckSmartAppControlStatus.
Checks the status of Smart App Control and reports the results on the console.
Improved Confirm-WDACConfig -ListActivePolicies by showing the number of deployed non-system WDAC policies and base policies on the console.
0.0.5 New feature: Edit-SignedWDACConfig -Merge_SupplementalPolicies. It can merge multiple deployed Signed supplemental policies into 1 and deploy it, remove the individual ones, all happening automatically.
Very useful to keep Supplemental policies below 32 since that's the limit.
0.0.4 New feature: Merge multiple deployed Supplemental policies into 1 and deploy it, remove the individual ones, all happening automatically. Very useful to keep Supplemental policies below 32 since that's the limit.
0.0.3 Completed self-updating feature. Changed icon, added syntaxes.
0.0.2 Testing self updating procedure with the new PowerShell gallery repo
0.0.1 Renamed the previous repository in order to comply with proper nested modules and improve the readability and mangement of the module.
Added 2 new features too, rebootlessly add new apps to non-signed deployed WDAC policies. You could do it with Signed policies, now you can do the same with non-signed policies.
FileList
- WDACConfig.nuspec
- Edit-SignedWDACConfig.psm1
- Confirm-WDACConfig.psm1
- Edit-WDACConfig.psm1
- New-WDACConfig.psm1
- Deploy-SignedWDACConfig.psm1
- Remove-WDACConfig.psm1
- WDACConfig.psd1
Version History
Version | Downloads | Last updated |
---|