-
-
Notifications
You must be signed in to change notification settings - Fork 308
Windows Firewall
-
Sets the Network Location of all connections to Public; Public network means less trust to other network devices.
-
Enables notifications in all 3 profile types to be displayed to the user when an application is blocked from listening on a port.
CSP
CSP
CSP
-
Enables Windows Firewall logging for Domain, Private and Public profiles, sets the log file size for each of them to the max 32.767 MB. Defines separate log files for each of the firewall profiles. Logs only dropped packets for Private and Public profiles, Logs both dropped and successful packets for Domain profile.
CSP
CSP
CSP
CSP
CSP
CSP
CSP
CSP
CSP
-
Disables Multicast DNS (mDNS) UDP-in Firewall Rules for all 3 Firewall profiles, This might interfere with Miracast screen sharing, which relies on the Public profile, and homes where the Private profile is not selected, but it does add an extra measure of security in public places, like a coffee shop.
- The domain name
.localwhich is used in mDNS (Multicast DNS) is a special-use domain name reserved by the Internet Engineering Task Force (IETF) so that it may not be installed as a top-level domain in the Domain Name System (DNS) of the Internet.
- The domain name
The Management tab provides an interface for creating, viewing, and deleting Windows Firewall rules created by the Harden System Security app. This feature is designed to give you granular control over network traffic for specific applications and directories.
Before creating rules, use this menu to set your preferences or view the defaults to confirm they are what you desire.
-
Direction: Choose
Inbound,Outbound, orBoth. This will determine whether the rule applies to incoming traffic, outgoing traffic, or both. -
Action: Choose to
AlloworBlockthe connection. -
Select Programs: Browse for specific
.exefile(s). -
Select Folders: Browse for folder(s). The app will recursively scan the selected folders and any sub-folders in them and detect all
.exefiles.
Any file you select is added to a pending list. To view or modify this list:
-
Right-click (or Tap & Hold) the Configure button.
-
A context menu will appear showing the selected files. You can review the list, remove individual items from it or click Clear to remove all selections.
Once you have configured your settings and selected your files, click or tap on the Create button. The app will iterate through every file in your pending list and create a firewall rule for each one based on your selected direction and action. After rules have been created, the ListView at the bottom will be refreshed to display the latest status of the Firewall rules created by this app.
It is located within the flyout of the Create button. This specialized function proactively blocks network access for high-risk dual-use system binaries often abused by attackers for downloading payloads or exfiltrating data. When you use this button, an inbound and outbound rule with the action set to Block will be created for every one of the programs in the list below:
View Full List of Blocked Dual-Use Programs
C:\Windows\System32\bitsadmin.exe
C:\Windows\System32\certreq.exe
C:\Windows\System32\certutil.exe
C:\Windows\System32\cmstp.exe
C:\Windows\System32\cmd.exe
C:\Windows\System32\cscript.exe
C:\Windows\System32\forfiles.exe
C:\Windows\hh.exe
C:\Windows\System32\mshta.exe
C:\Windows\System32\msiexec.exe
C:\Windows\System32\netsh.exe
C:\Windows\System32\presentationhost.exe
C:\Windows\System32\reg.exe
C:\Windows\System32\regsvr32.exe
C:\Windows\System32\rundll32.exe
C:\Windows\System32\schtasks.exe
C:\Windows\System32\wscript.exe
C:\Windows\System32\wmic.exe
C:\Windows\System32\xwizard.exe
C:\Windows\SysWOW64\bitsadmin.exe
C:\Windows\SysWOW64\certreq.exe
C:\Windows\SysWOW64\certutil.exe
C:\Windows\SysWOW64\cmstp.exe
C:\Windows\SysWOW64\cmd.exe
C:\Windows\SysWOW64\cscript.exe
C:\Windows\SysWOW64\forfiles.exe
C:\Windows\SysWOW64\hh.exe
C:\Windows\SysWOW64\mshta.exe
C:\Windows\SysWOW64\msiexec.exe
C:\Windows\SysWOW64\netsh.exe
C:\Windows\SysWOW64\presentationhost.exe
C:\Windows\SysWOW64\reg.exe
C:\Windows\SysWOW64\regsvr32.exe
C:\Windows\SysWOW64\rundll32.exe
C:\Windows\SysWOW64\schtasks.exe
C:\Windows\SysWOW64\wscript.exe
C:\Windows\SysWOW64\wmic.exe
C:\Windows\SysWOW64\xwizard.exe
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Click or tap on this button to load the current state of rules managed by this application. You will be able to search through them or sort them based on different available properties. You can also right-click or tap & hold on one or more rules and delete them if you wish.
Note
- All firewall rules created by this application are stored in the Group Policy store rather than the standard local store.
- Persistence: These rules are not affected by local rule merges, ensuring your security configurations remain active.
-
Organization: All rules are tagged with the
HardenSystemSecuritygroup, making them easy to identify and manage exclusively through this application without cluttering the default Windows Firewall list.
-
This button offers additional features you could use. Except for the 2 export options, the rest display a confirmation dialog before proceeding with the action to prevent accidental clicks/taps:
-
Export Local Rules: Back up your current local firewall configuration to a
.wfwfile for safekeeping or migration. -
Export GPO Rules: Export firewall rules enforced by Group Policy Objects to a
.wfwfile for backup. -
Import Local Rules: Restore a previously saved configuration to your local firewall policy (replaces existing rules) by selecting a
.wfwfile. -
Import GPO Rules: Load a saved configuration into the Group Policy firewall store (replaces existing rules) by selecting a
.wfwfile. -
Restore Defaults: Reset the local firewall configuration to the original Windows default state, removing all custom rules.
-
Delete All Rules: Completely wipe the local firewall policy, removing every rule including the default OS rules.
-
- Create AppControl Policy
- Create Supplemental Policy
- System Information
- Configure Policy Rule Options
- Policy Editor
- Simulation
- Allow New Apps
- Build New Certificate
- Create Policy From Event Logs
- Create Policy From MDE Advanced Hunting
- Create Deny Policy
- Merge App Control Policies
- Deploy App Control Policy
- Get Code Integrity Hashes
- Get Secure Policy Settings
- Update
- Sidebar
- Validate Policies
- View File Certificates
- Microsoft Graph
- Firewall Sentinel
- Protect
- Microsoft Security Baselines
- Microsoft Security Baselines Overrides
- Microsoft 365 Apps Security Baseline
- Microsoft Defender
- Attack Surface Reduction
- Bitlocker
- Device Guard
- TLS Security
- Lock Screen
- User Account Control
- Windows Firewall
- Optional Windows Features
- Windows Networking
- Miscellaneous Configurations
- Windows Update
- Edge Browser
- Certificate Checking
- Country IP Blocking
- Non Admin Measures
- Group Policy Editor
- Manage Installed Apps
- File Reputation
- Audit Policies
- Cryptographic Bill of Materials
- Intune
- Configuration Service Provider (CSP)
- Service Manager
- Duplicate Photos Finder
- EXIF Manager
- Bootable Drive Maker
- Introduction
- How To Generate Audit Logs via App Control Policies
- How To Create an App Control Supplemental Policy
- The Strength of Signed App Control Policies
- How To Upload App Control Policies To Intune Using AppControl Manager
- How To Create and Maintain Strict Kernel‐Mode App Control Policy
- How to Create an App Control Deny Policy
- App Control Notes
- How to use Windows Server to Create App Control Code Signing Certificate
- Fast and Automatic Microsoft Recommended Driver Block Rules updates
- App Control policy for BYOVD Kernel mode only protection
- EKUs in App Control for Business Policies
- App Control Rule Levels Comparison and Guide
- Script Enforcement and PowerShell Constrained Language Mode in App Control Policies
- How to Use Microsoft Defender for Endpoint Advanced Hunting With App Control
- App Control Frequently Asked Questions (FAQs)
- System Integrity Policy Transformations | XML to CIP and Back
- About Code Integrity Policy Signing
- How To Install Microsoft Store Apps Completely Offline
- Create Bootable USB flash drive with no 3rd party tools
- Event Viewer
- Group Policy
- How to compact your OS and free up extra space
- Hyper V
- Git GitHub Desktop and Mandatory ASLR
- Signed and Verified commits with GitHub desktop
- About TLS, DNS, Encryption and OPSEC concepts
- Things to do when clean installing Windows
- Comparison of security benchmarks
- BitLocker, TPM and Pluton | What Are They and How Do They Work
- How to Detect Changes in User and Local Machine Certificate Stores in Real Time Using PowerShell
- Cloning Personal and Enterprise Repositories Using GitHub Desktop
- Only a Small Portion of The Windows OS Security Apparatus
- Rethinking Trust: Advanced Security Measures for High‐Stakes Systems
- Clean Source principle, Azure and Privileged Access Workstations
- How to Securely Connect to Azure VMs and Use RDP
- Basic PowerShell tricks and notes
- Basic PowerShell tricks and notes Part 2
- Basic PowerShell tricks and notes Part 3
- Basic PowerShell tricks and notes Part 4
- Basic PowerShell tricks and notes Part 5
- How To Access All Stream Outputs From Thread Jobs In PowerShell In Real Time
- PowerShell Best Practices To Follow When Coding
- How To Asynchronously Access All Stream Outputs From Background Jobs In PowerShell
- Powershell Dynamic Parameters and How to Add Them to the Get‐Help Syntax
- RunSpaces In PowerShell
- How To Use Reflection And Prevent Using Internal & Private C# Methods in PowerShell