Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Security Apps
Other security for Windows, Mac, Linux
Advanced Windows hardening with WDAC - Windows Defender Application Control
Message
<blockquote data-quote="SpyNetGirl" data-source="post: 1029534" data-attributes="member: 98858"><p>I've created a Mega WDAC module and put it on the GitHub here:</p><p>[URL unfurl="true"]https://github.com/HotCakeX/Harden-Windows-Security/blob/main/WDAC-Module.ps1[/URL]</p><p></p><p>It automates a lot of things. I've updated a few Wiki posts so far and will update all of them soon. It organizes everything, no more long scripts in the Wiki posts and it's well formatted so easy to understand, verify and Trust.</p><p></p><p>You can use it like this:</p><p></p><p>[CODE]Invoke-WebRequest -Uri "https://raw.githubusercontent.com/HotCakeX/Harden-Windows-Security/main/WDAC-Module.ps1" -OutFile "WDAC-Module.ps1"</p><p>Import-Module .\WDAC-Module.ps1 -Force[/CODE]</p><p></p><p>And after that, just type "New-ConfigWDAC -" in the PowerShell console and press tab, it has tab completion to you don't have to type the parameters <img class="smilie smilie--emoji" loading="lazy" alt="🙂" title="Slightly smiling face :slight_smile:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f642.png" data-shortname=":slight_smile:" /></p><p></p><p>Here are the parameters: (I will add these to the Wiki posts too)</p><p></p><ul> <li data-xf-list-type="ul">Get_Recommended_Block_Rules | (Downloads the <a href="https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-block-rules" target="_blank">Microsoft Recommended block list</a> and saves it on the current working directory)</li> <li data-xf-list-type="ul">Get_Recommended_Driver_Block_Rules | (Downloads the <a href="https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-driver-block-rules" target="_blank">Microsoft Recommended driver block list</a> and saves it on the current working directory)</li> <li data-xf-list-type="ul">Merge_Both_Block_Rules_With_Allow_Microsoft | (Downloads the 2 Microsoft recommended block lists and merges them with AllowMicrosoft template policy)</li> <li data-xf-list-type="ul">Install_Latest_Driver_BlockRules | (<a href="https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-driver-block-rules#steps-to-download-and-apply-the-vulnerable-driver-blocklist-binary" target="_blank">Installs/Deploys the latest Microsoft recommended driver block rules</a>)</li> <li data-xf-list-type="ul">Create_Scheduled_Task_Auto_Driver_BlockRules_Updat | (Creates a scheduled task that runs every 7 days<a href="https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-driver-block-rules#steps-to-download-and-apply-the-vulnerable-driver-blocklist-binary" target="_blank"> to download and update the Microsoft recommended driver block rules</a>)</li> <li data-xf-list-type="ul">Create_WDAC_Policy_From_Audit_Logs | (For the Wiki post <a href="https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Fully-Managed-Devices" target="_blank">WDAC for Fully Managed Devices</a>)</li> <li data-xf-list-type="ul">Prep_System_For_MSFT_Only_Audit | (For Audit section of this Wiki post <a href="https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Fully-Managed-Devices" target="_blank">WDAC for Fully Managed Devices</a>)</li> <li data-xf-list-type="ul">Create_Lightly_Managed_WDAC_Policy | (For this wiki post <a href="https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Lightly-Managed-Devices" target="_blank">WDAC for Lightly Managed Devices</a>)</li> <li data-xf-list-type="ul">Deploy_Lightly_Managed_WDAC_Policy | (Deploys the <a href="https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Lightly-Managed-Devices" target="_blank">WDAC for Lightly Managed Devices</a>)</li> </ul><p></p><p>Let me know if there is any more steps that can be automated.</p></blockquote><p></p>
[QUOTE="SpyNetGirl, post: 1029534, member: 98858"] I've created a Mega WDAC module and put it on the GitHub here: [URL unfurl="true"]https://github.com/HotCakeX/Harden-Windows-Security/blob/main/WDAC-Module.ps1[/URL] It automates a lot of things. I've updated a few Wiki posts so far and will update all of them soon. It organizes everything, no more long scripts in the Wiki posts and it's well formatted so easy to understand, verify and Trust. You can use it like this: [CODE]Invoke-WebRequest -Uri "https://raw.githubusercontent.com/HotCakeX/Harden-Windows-Security/main/WDAC-Module.ps1" -OutFile "WDAC-Module.ps1" Import-Module .\WDAC-Module.ps1 -Force[/CODE] And after that, just type "New-ConfigWDAC -" in the PowerShell console and press tab, it has tab completion to you don't have to type the parameters 🙂 Here are the parameters: (I will add these to the Wiki posts too) [LIST] [*]Get_Recommended_Block_Rules | (Downloads the [URL='https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-block-rules']Microsoft Recommended block list[/URL] and saves it on the current working directory) [*]Get_Recommended_Driver_Block_Rules | (Downloads the [URL='https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-driver-block-rules']Microsoft Recommended driver block list[/URL] and saves it on the current working directory) [*]Merge_Both_Block_Rules_With_Allow_Microsoft | (Downloads the 2 Microsoft recommended block lists and merges them with AllowMicrosoft template policy) [*]Install_Latest_Driver_BlockRules | ([URL='https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-driver-block-rules#steps-to-download-and-apply-the-vulnerable-driver-blocklist-binary']Installs/Deploys the latest Microsoft recommended driver block rules[/URL]) [*]Create_Scheduled_Task_Auto_Driver_BlockRules_Updat | (Creates a scheduled task that runs every 7 days[URL='https://learn.microsoft.com/en-us/windows/security/threat-protection/windows-defender-application-control/microsoft-recommended-driver-block-rules#steps-to-download-and-apply-the-vulnerable-driver-blocklist-binary'] to download and update the Microsoft recommended driver block rules[/URL]) [*]Create_WDAC_Policy_From_Audit_Logs | (For the Wiki post [URL='https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Fully-Managed-Devices']WDAC for Fully Managed Devices[/URL]) [*]Prep_System_For_MSFT_Only_Audit | (For Audit section of this Wiki post [URL='https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Fully-Managed-Devices']WDAC for Fully Managed Devices[/URL]) [*]Create_Lightly_Managed_WDAC_Policy | (For this wiki post [URL='https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Lightly-Managed-Devices']WDAC for Lightly Managed Devices[/URL]) [*]Deploy_Lightly_Managed_WDAC_Policy | (Deploys the [URL='https://github.com/HotCakeX/Harden-Windows-Security/wiki/WDAC-for-Lightly-Managed-Devices']WDAC for Lightly Managed Devices[/URL]) [/LIST] Let me know if there is any more steps that can be automated. [/QUOTE]
Insert quotes…
Verification
Post reply
Top