Malwarebytes Windows Firewall Control
User Guide
Version 6.11.0.0
April 22, 2024

Malwarebytes Windows Firewall Control User Guide

1

Notices
Malwarebytes products and related documentation are provided under a license agreement containing restrictions
on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license
agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit,
distribute, exhibit, perform, publish, or display any part, in any form, or by any means. You may copy and use thisdocument for your internal reference purposes only.
This document is provided “as-is.” The information contained in this document is subject to change without notice
and is not warranted to be error-free. If you find any errors, we would appreciate your comments; please report themto us in writing.
The Malwarebytes logo is a trademark of Malwarebytes. Windows is a registered trademark of Microsoft Corporation.
All other trademarks or registered trademarks listed belong to their respective owners.
Copyright © 2024 Malwarebytes. All rights reserved.
Third Party Project Usage
Malwarebytes software is made possible thanks in part to many open source and third party projects. A requirementof many of these projects is that credit is given where credit is due. Information about each third party/open source
project used in Malwarebytes software – as well as licenses for each – are available on the following page.
https://www.malwarebytes.com/support/thirdpartynotices/
Sample Code in Documentation
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent
permitted by law. Malwarebytes does not warrant or guarantee the individual success developers may have in
implementing the sample code on their development platforms. You are solely responsible for testing andmaintaining all scripts.
Malwarebytes does not warrant, guarantee or make any representations regarding the use, results of use, accuracy,
timeliness or completeness of any data or information relating to the sample code. Malwarebytes disclaims all
warranties, express or implied, and in particular, disclaims all warranties of merchantability, fitness for a particularpurpose, and warranties related to the code, or any service or software related thereto.

Malwarebytes Windows Firewall Control User Guide

2

Table of contents
Notices .......................................................................................................................................................................................................................... 2
Third Party Project Usage ...................................................................................................................................................................................... 2
Sample Code in Documentation ........................................................................................................................................................................ 2
System requirements .............................................................................................................................................................................................. 5
Known limitations ..................................................................................................................................................................................................... 6
Program parameters ............................................................................................................................................................................................... 7
Keyboard shortcuts .................................................................................................................................................................................................. 8
Unattended installation ......................................................................................................................................................................................... 9User interface .......................................................................................................................................................................................................... 10
Main Panel................................................................................................................................................................................................................ 11
Profiles tab .......................................................................................................................................................................................................... 13
Is it possible to allow LAN traffic when using High Filtering profile? ..................................................................................... 14
Notifications tab ............................................................................................................................................................................................... 15
How does the notifications system work? ......................................................................................................................................... 17
Windows Firewall notifications .............................................................................................................................................................. 18
How to stop entirely the notifications for a program?................................................................................................................. 19
Why there is no "Allow for now and ask me later" button? ....................................................................................................... 19
Options tab ......................................................................................................................................................................................................... 20
Rules tab .............................................................................................................................................................................................................. 22
How to allow connections only when I'm connected to my VPN?.......................................................................................... 23
How to find which firewall rule blocked or allowed a connection? ........................................................................................ 23
Windows Firewall Control recommended rules .............................................................................................................................. 24
Security tab ......................................................................................................................................................................................................... 26
Tools tab .............................................................................................................................................................................................................. 28
About tab............................................................................................................................................................................................................. 29
Rules Panel ............................................................................................................................................................................................................... 30
Does the program use a different set of firewall rules than Windows Firewall? ................................................................ 35
Can I create a rule for all the files from a folder? ........................................................................................................................... 35
How to allow a program to connect only to the local network? ............................................................................................. 35
How to allow programs located on mounted drives? .................................................................................................................. 36
How to allow Windows Store apps that have a different path after an update? .............................................................. 36
How to create a rule for a program which executes from the temporary folder? ............................................................ 36
Connections Log .................................................................................................................................................................................................... 37

Malwarebytes Windows Firewall Control User Guide

3

Notifications Dialog .............................................................................................................................................................................................. 41
How to create a temporary rule? .......................................................................................................................................................... 42
Properties Dialog ................................................................................................................................................................................................... 43
Troubleshooting..................................................................................................................................................................................................... 44
I have enabled the notifications but I do not see them............................................................................................................... 44
I receive duplicate notifications ............................................................................................................................................................. 45
My antivirus detects this software as a security threat ................................................................................................................ 45
Ping command returns general failure ............................................................................................................................................... 46
The profile changes out of nowhere ................................................................................................................................................... 46
The program does not start automatically at Windows start-up ............................................................................................. 46
The program is locked and I can't remember the password ..................................................................................................... 47
The system tray icon displays an exclamation mark ..................................................................................................................... 47
The system tray icon displays the profile but the context menu does not work ............................................................... 48
The system tray icon is not displayed even if the program appears in Task Manager ................................................... 48
The window size and position is not remembered ........................................................................................................................ 49
Windows Mail can't synchronize folders ........................................................................................................................................... 49
Windows Update does not work .......................................................................................................................................................... 49
When I restart my computer the profile is always set to High Filtering ................................................................................ 50
Connections Log entries are missing .................................................................................................................................................. 50
Uninstall the program .......................................................................................................................................................................................... 51

Malwarebytes Windows Firewall Control User Guide

4

System requirements
Windows Firewall Control is compatible with the x86 and x64 versions of the following operating systems:

•
•
•
•
•
•
•
•
•

Windows 7
Windows 8
Windows 8.1
Windows 10
Windows 11
Windows Server 2012
Windows Server 2016
Windows Server 2019
Windows Server 2022

Windows Firewall Control is developed by using the Windows Presentation Foundation platform and requires .NET
Framework 4.8 or a newer version. It is recommended to install the latest .NET Framework version because newer
releases of the .NET Framework include speed improvements and also bug fixes.
The following Windows services must be enabled and running:•••

Windows Firewall service. Windows Firewall Control is not a firewall by itself and requires Windows Firewall to
be running.
Windows Event Log service is required for logging purposes. If this service is not started, Malwarebytes Windows
Firewall Control service will fail to start.
DNS Client service. This is required for the notifications system to work properly. If you use a router and thisservice is stopped, the remote IP address of the blocked connections will be the IP address of the router insteadof the real IP address. Also, the log entries that are displayed in Connections Log will suffer from the sameproblem. It is recommended to not disable this Windows service.

Unsupported operating systems•••

Windows XP and Windows Server 2003 are not supported and were never supported because Windows Filtering
Platform was first introduced in Windows Vista.
Windows Vista and Windows Server 2008 are not supported.
Hyper-V Server free editions are not supported since they don't have a GUI. However, Windows Server with HyperV role installed is supported since this operating system has a desktop and GUI applications are supported.

Malwarebytes Windows Firewall Control User Guide

5

Known limitations•••

Windows Firewall is incompatible with software proxies, web filtering modules, NDIS drivers, any filtering modules
that intercept network packets. These modules may redirect the network traffic to their proxies and the traffic will
not reach anymore the Windows Firewall filtering driver. In this case, Windows Firewall rules do not apply correctly
because the traffic appears to be made by the proxy, not by the original program. This incompatibility is between
software proxies and Windows Firewall itself, not an incompatibility with Windows Firewall Control which does
not have any control over this behavior.
The notifications system is incompatible with old versions of some encryption programs (BoxCryptor, TrueCrypt)
because they encrypt the file paths and the real paths can't be determined by Windows Firewall Control. If you
use such security programs you have to try for yourself if this problem applies to your configuration or not.
Due to multiple system configurations and software installed there may be incompatibility problems. Please
report them and help to improve Windows Firewall Control.

Windows 10/11•

The keywords Internet, Intranet, PlayTo Renderers, Remote Corp Network which can be set in the Remote
Addresses property of a rule from WFwAS are not visible in Windows Firewall Control. This is a problem causedby Windows Firewall API which does not provide these values at all. Editing or duplicating such rules which havethese keywords set (for example, the rules from the default group named Cast to Device functionality) willremove them. This problem is also visible when exporting/importing partial policy files because this info ismissing. However, when exporting/importing a full policy, this info is preserved.

Malwarebytes Windows Firewall Control User Guide

6

Program parameters
The following command line parameters can be used when launching the file wfcUI.exe. These command line
parameters work if the program is not running and also if it is already executing by sending these parameters to theexisting running instance. Windows Firewall Control is a single instance application which can't be launched multiple
times.

-mp or -mainpanel
Open the Main Panel. This can be also achieved with a global hot key defined in the Options tab.

-rp or -rulespanel
Open the Rules Panel. This can be also achieved with a global hot key defined in the Options tab.

-cl or -connectionslog
Open the Connections Log. This can be also achieved with a global hot key defined in the Options tab.

-x or -exit
Close existing wfcUI.exe instance nicely by unsubscribing from system events and disposing the system tray icon.

-uninstall or -u
Launch the uninstall dialog. This works only if the program is not locked with a password. If the program is lockedwith a password nothing will happen. In this case please unlock the program and then try again to uninstall it.

-en or -enablenotifications
Sets notifications mode to Display notifications if the current active profile is Medium Filtering profile.

-elm or -enablelearningmode
Sets notifications mode to Learning mode if the current active profile is Medium Filtering profile.

-dn or -disablenotifications
Sets notifications mode to Disabled if the current active profile is Medium Filtering profile.
The parameters can be used also in the Run dialog with the following syntax. Windows Firewall Control is registeredunder the App Paths key from Windows Registry, so it can be launched by entering just the exe filename, without thefull path.

Malwarebytes Windows Firewall Control User Guide

7

Keyboard shortcuts
The following keyboard shortcuts are defined and accepted by the program:

ESC or Middle Mouse Button Click
Close the active window or dialog. The difference between a window and a dialog is that a window can be resized
and moved while a dialog has a fixed location and size.

CTRL + TAB
Switch between the Rules Panel and Connections Log. If the other window is not yet displayed it will be opened.

F5 or CTRL + R
Refresh the firewall rules displayed in the Rules Panel or the log entries from the Connections Log.

CTRL + F
Move the focus to the search box in Rules Panel or Connections Log.

ENTER
Open the Properties Dialog for the selected entry in Rules Panel and Connections Log.

F1
Open the user manual. Available in Main Panel, Rules Panel, Connections Log, Notification Dialog.

The following keyboard shortcuts are available in Notification Dialog:

CTRL + RIGHT
Switch to the next notification.

CTRL + LEFT
Switch to the previous notification.

CTRL + SHIFT + A
Create a generic allow rule for the current displayed notification.

CTRL + SHIFT + Q
Create a generic block rule for the current displayed notification.

CTRL + ALT + A
Create a temporary allow rule that expires on WFC restart, for the current displayed notification.

CTRL + ALT + Q
Create a temporary block rule that expires on WFC restart, for the current displayed notification.

CTRL + SHIFT + E
Add the file name from the displayed notification in the Notifications exceptions list.

Malwarebytes Windows Firewall Control User Guide

8Unattended installation
The following command line parameters can be used when launching the installer wfc6setup.exe to install/update
Windows Firewall Control without requiring any user input. These command line parameters work only if the installer
is launched with administrative privileges, otherwise they will be ignored. The parameters can be used in any orderand some of them are optional.

-install or -i
This will launch the installation without asking the user any input. If the program is already installed and this parameteris used, it will be ignored. The installer will install Windows Firewall Control into the default folder, which is
C:\Program Files\Malwarebytes\Windows Firewall Control.

-update or -uThis will automatically launch the update process without asking the user any input. If the program is not installed
and this parameter is used, it will be ignored.

-run or -r (optional)
When using the parameters -i or -u, the installer window will remain open when the process completes. Use thisparameter if you want to automatically launch wfcUI.exe and close the installer window.

-close or -c (optional)
When using the parameters -i or -u, the installer window will remain open when the process completes. Use thisparameter if you want also to close the installer window without executing wfcUI.exe.

-noshortcuts (optional)
When -install parameter is used, use this to disable the creation of Windows Firewall Control shortcuts on Desktop
and Start Menu.

-noautostart (optional)
When -install parameter is used, use this to disable the creation of Windows Firewall Control entry in the Startup listof Windows.

-norules (optional)
When -install parameter is used, use this to disable the creation of Windows Firewall Control recommended rules.
To install Windows Firewall Control into a different folder than the default one, for example in C:\Program Files\
WFC, you can also specify a custom path:wfc6setup.exe -i -r "C:\Program Files\WFC" -noshortcuts

o The path must be enclosed in double quotes if it contains empty spaces.
o The folder that you specify doesn't have to exist, it will be created by the installer. However, if the provided pathois not valid, the installer will append the provided path to the current execution folder and you may end up
installing the program into a sub folder of the current path. So, make sure that the path is valid.
To proceed with the installation into the default C:\Program Files\Malwarebytes\Windows Firewall Control
folder, do not specify any folder in the parameters list. Just call: wfc6setup.exe -i

To silently update Windows Firewall Control and automatically launch it, use the following syntax:
wfc6setup.exe -update -run or wfc6setup.exe -u -r

Malwarebytes Windows Firewall Control User Guide

9

User interface
Windows Firewall Control is a system tray application which sits in the notification area, next to the system clock. The
icon of the system tray application displays the current profile that is set in the application.

Pressing the left mouse button on the icon will launch the Main Panel window.
Pressing the right mouse button on the icon will open the context menu below.

ProfilesCan be used to switch between the filtering profiles of the application.

Main PanelCan be used to launch the Main Panel window.

Rules PanelCan be used to launch the Rules Panel window.

Connections Log
Can be used to launch the Connections Log window.

User manual
Can be used to open the online user guide. This context menu item is available only if the system tray application
can't connect to Windows Firewall Control service.

Request elevation
This context menu item is displayed only if the software runs under a standard user account and requires elevation.
Standard user accounts have limited read only access to certain settings and actions.

Exit
Can be used to exit the system tray application. This will close the process wfcUI.exe. This does not affect the process
wfcs.exe which is the background Windows service of Windows Firewall Control.

Malwarebytes Windows Firewall Control User Guide

10

Main Panel
Main Panel is the main place where Windows Firewall Control can be configured. The first tab that is displayed is the
Dashboard tab which displays the state of Windows Firewall, the status of inbound and outbound connections andthe location to which Windows Firewall is located.

The layout of this window contains:• a list of available tabs on the left side
• buttons on the lower left part of the window• the content of the active tab on the right side
The following properties are saved when Main Panel window is closed and reused when the window is opened again:• the size and the location of the window• the vertical splitter position

Malwarebytes Windows Firewall Control User Guide

11

The buttons
This will open the Rules Panel.

This will open the Connections Log.

This will open the lock dialog which can be used to lock the program. By locking the program the following items will
become unavailable:

o
o
o
o

the Windows Firewall Control interface
the Windows Firewall Control Panel applet
the management console snap-in for Windows Firewall with Advanced Security
the uninstall dialog of Windows Firewall Control

Note that these will be unavailable even if Windows Firewall Control is closed. While the program is locked with apassword do not attempt to force the uninstall of Windows Firewall Control by using a 3rd party software because
you will not be able to access Windows Firewall interface any more. If you have forgotten your password, read the
topic The program is locked and I can't remember the password from the Troubleshooting section.
Recommendation: Before setting your password, you can view it in plain text by checking the Show password checkbox. In this way you can be sure that you typed the password correctly.
While the application is in locked mode, instead of the default icons that reflect the profiles, the lock icons will be
displayed.

Malwarebytes Windows Firewall Control User Guide

12

Profiles tab
The Profiles tab can be used to configure the current filtering level.

Filtering level
The filtering level specifies which connections should be allowed or blocked. Windows Firewall Control does not do
any packet filtering and this means it does not allow or block any connection. This is done by Windows Firewall basedon the firewall rules that are defined.
Inbound connections
In Windows Firewall inbound connections are by default blocked. A program can accept incoming connections only
if it has an explicit inbound allow rule that permits the incoming connections to it. Otherwise they are blocked if norule is defined. Changing the profile in Windows Firewall Control does not affect the filtering of inbound connections.
Outbound connections
When the profile is changed in Windows Firewall Control, only the outbound filtering capabilities of Windows Firewall
is changed.
The following profiles are available in the Profiles tab. The profile can be also changed from the context menu of thesystem tray icon.

High Filteringo All outbound and inbound connections are blocked. This profile blocks all attempts to connect to and from youro

computer.
Windows Firewall does not contain this mode. To achieve this, when this profile is set in WFC, two new firewall
rules are added to the firewall, named High Filtering profile - Block inbound connections and High Filteringprofile - Block outbound connections. These two rules are defined to block all connections for all programs.
These are two special rules and cannot be deleted from the Rules Panel. When the profile is switched to anotherprofile, these two rules are automatically removed.

Medium Filtering (recommended mode)

o
o
o
o
o

Outbound connections that do not match a rule are blocked.
Inbound connections that do not match a rule are blocked.
Only the programs that have an allow rule can initiate outbound connections.
When this profile is enabled the outbound filtering from Windows Firewall is enabled.
When this profile is enabled the user must define an allow rule for each program that he wants to allow to connect
to the Internet.

Low Filtering (default Windows Firewall operational mode)

o
o
o
o
o

Outbound connections that do not match a rule are allowed.
Inbound connections that do not match a rule are blocked.
Only the programs that have a block rule are blocked from initiating outbound connections.
When this profile is enabled the outbound filtering from Windows Firewall is disabled and all programs without
a block rule can connect to the Internet.
When this profile is enabled the user must define a block rule for each program that he wants to block fromconnecting to the Internet.

No Filteringo Windows Firewall filtering is turned off.
Malwarebytes Windows Firewall Control User Guide

13

o All programs can connect to the Internet because the inbound and outbound filtering is disabled. This includes
programs phoning home, including malware, telemetry traffic, etc.

o Avoid using this profile unless you have another firewall running on your computer.

Revert profile

There are situations when the user may want to disable temporarily the firewall protection:o While installing a new software without the hassle of creating a new firewall rule for the installer that may
download some files from the Internet.
o While debugging connectivity problems to see if the reason why a software can't connect is the firewall or thesoftware itself which can't connect.
Windows Firewall Control can set an internal timer which can revert the Medium Filtering or High Filtering profile
after a predefined period of time which can be set between 1 and 300 minutes. The timer is activated when the checkbox is checked or when the profile is switched. In the example above, if the profile is switched after 20 minutes, thetimer will start again to count to 30 minutes. Also, if the process wfcUI.exe is restarted, this timer is considered to beelapsed immediately because the program doesn't know how much time it was closed.

Is it possible to allow LAN traffic when using High Filtering profile?
High Filtering profile is achieved by creating two generic block rules named High Filtering profile - Block inboundconnections and High Filtering profile - Block outbound connections. These two special rules are removed
automatically when the High Filtering profile is changed to a different profile. To allow the LAN traffic while High
Filtering profile is enabled it is possible to modify the remote addresses of these two rules from Rules Panel. Notethat only the Remote Addresses property of these rules can be modified, while other properties are read only.
Let's say the local network uses IP addresses from the following IP range 192.168.0.1-192.168.0.254. We have to set
the remote IP addresses of these two rules with the following two IP ranges:
1.1.1.1-192.168.0.0,192.168.0.255-255.255.255.255
This means that the IP addresses from the excluded IP range 192.168.0.1-192.168.0.254 will not be blocked because
they are not contained in the block rule, meaning that the LAN traffic will be still allowed while any other connections
will be blocked.
The custom IP ranges defined for these two rules are reused when High Filtering is switched on and off until they are
updated again.

Malwarebytes Windows Firewall Control User Guide

14

Notifications tab
The Notifications tab can be used to configure the notifications system.

Notifications mode
The notifications mode sets which blocked connections will generate notifications that will be displayed to the user.
Since Windows Firewall Control displays notifications only for outbound blocked connections, the Connections Log
can be used to debug connectivity problems if an inbound rule is also required.
The following notifications modes are available in the Notifications tab:

Display notifications•

A new notification is displayed for a blocked outbound connection if there is no matching firewall rule for the
program that was blocked. Read below what a matching firewall rule means.

Learning mode

•

•
•
•

When this notification level is used and a digitally signed program is blocked, Windows Firewall Control willautomatically create an allow rule which will allow all connections of it. The program must retry the connectionin order to connect after the allow rule is created. Most programs have a reconnect mechanism which is triggered
automatically but some of them don't. If the program does not reconnect automatically, refreshing or restarting
the program will make it to try again to connect.
If a blocked connection is generated by a program that is not digitally signed or the signature is not valid, a new
notification will be displayed to the user.
It is not recommended to leave this notification level enabled for a long time. Use it for a limited period of time
to automatically have created allow rules for the programs that are digitally signed.
If the program is in the notifications exceptions list, then a new outbound allow rule will not be created whenusing this mode.

Disabled••

The notifications are not displayed to the user. The user has to create manually a new allow rule for each programthat he wants to allow to connect to the network.
When the notifications are disabled and some programs are blocked, the Connections Log can be used to debug
connectivity problems. Use Connections Log to see the recently blocked connections. This will help to make anidea of what rules are still required based on the processes that were recently blocked.

Notifications exceptions
Outbound connections of svchost.exe and System are generated by the operating system and are related to different
functionalities of the operating system, like: Core Networking, File and Printer Sharing, Network Discovery, Telemetry,
Windows Update, etc. Because svchost.exe is used by all Microsoft Windows services to connect to the network, it
may generate endless connections attempts in a very short period of time. Most users are interested in notifications
for their custom programs and don't want to be bothered with system notifications. For this reason, certain users may
want to disable the notifications of svchost.exe, System or the notifications of programs which are installed in acertain folder.
Wildcards (*) are not supported. The current algorithm checks if the path of the program that was blocked starts orends with one of the strings defined in the notifications exceptions list.

Malwarebytes Windows Firewall Control User Guide

15

Notifications options
Automatic close a notification
When the notification dialog is displayed on the screen it has a timeout that will automatically close the dialog if there
is no user intervention. This timeout is displayed in the Block for now and ask me later button from the notification
dialog.

This timeout can be set between 1 and 999 seconds. The timeout is automatically removed if the user moves themouse cursor over the notification dialog or if the timer is set to 0. If the computer is idle for a long period of time
and the user wants to see all notifications that have occurred while he was away from the computer, this timer canbe set to 0 to avoid the automatic closing of the notification dialog. However, this is not recommended. Programs
that were blocked in the past will be blocked in the future too since they have no rule. These notifications will be
displayed again.

Custom timeout for temporary rules
From the notification dialog the user can create a temporary rule that will be automatically removed when it expires.
Creating a temporary rule can be made by pressing on the right side button and choosing one of the options fromthe context menu that appears. Notice that there is a full button on the left and a small button with a mouse image
on it on the right. The small button on the right has extra actions available which are different than the button on theleft.

A temporary rule can be set to expire when Windows Firewall Control is restarted, after 60, 10 or 5 minutes. There isalso this custom timeout which can be set between 1 and 60 minutes.

Display notifications on top of other windows
A program window is displayed by default with the same priority like any other windows. By having this option
enabled, the notification dialog will be displayed on screen on top of the other windows. This includes a full screen
video that is playing, a game or an application that is running, etc. This setting does not work for metro style
applications because they are running on a different screen than the regular desktop. This setting works for desktop
application.

Play a sound when a new notification is generated
It is possible to have an acoustic alert when a new notification is displayed. This can be useful when using metro style
applications because the notification dialog can't be displayed on top of metro style applications. The program canplay a default sound or a custom sound which must be in .wav format. The notification sound can be also played bypressing on the corresponding radio buttons.

Malwarebytes Windows Firewall Control User Guide

16

Advanced notifications settings
When a new connection is blocked, the notifications system searches through the existing firewall block rules to see
if there is a matching block rule for the same file path, which may have blocked the connection. If a matching block
rule is found a new notification dialog is not displayed because it means that the user already blocked that connection
by a firewall rule and does not want to see again a new notification for it. If a matching rule is not found then a new
notification is displayed. The advanced notifications settings can be used to specify which rules should be used whensearching for matching rules.

Use allow rules
All blocked connections are logged into the same Security event log of the system. A blocked connection can beblocked by Windows Firewall, by an external program like PeerBlock, by a custom hosts file, etc. Because all blocked
connections are logged into the same place and the source is not available, the notification system doesn't know why
a connection was blocked. It just receives a blocked connection event and then it searches if there is a firewall rulethat is matching the blocked connection. If an allow rule that matches the blocked connection is found a new
notification should not be displayed. This setting is useful for scenarios where blocked connections can be generated
from multiple sources.

Use generic block rules
When searching for a matching block rule, the notifications system searches through the firewall rules that have thesame path as the program that was blocked. But the blocked connection could be a result of a firewall block rule thatis applied for all programs. By enabling this setting, the notifications system will extend the search for a matching rulealso through the firewall block rules that apply to all programs.

Use disabled rules
This setting will extend the search for matching rules through the disabled rules too. Note that the disabled rules are
not applied by Windows Firewall unless they are enabled.

How does the notifications system work?
Windows Firewall Control doesn't do any packet filtering to inspect the network traffic. This is done by Windows
Filtering Platform. Each time a network packet is dropped, Windows Firewall generates a new event in the Security
event log of the system. Windows Firewall Control is subscribed to these events and based on the existing firewall
rules it decides if a new notification should be displayed or not. This is done by searching through the existing firewall
rules to see if there is a rule that matches the blocked connection that was recorded in the Security event log. The
events about a blocked outbound connection are raised after the connection is blocked. This means that a notification
dialog is displayed for an already blocked connection, not for a paused connection, therefore the notification dialog
can't have an Allow for now and ask me later option. After creating an allow rule, the program that was blocked
must retry the connection in order to connect based on the newly created allow rule.
The notifications displayed by Windows Firewall Control are for outbound blocked connections and they work only
when Medium Filtering profile is used. When enabling Medium Filtering profile, the outbound filtering is enabled in
Windows Firewall and this means that all programs without an allow rule are blocked by default. The Connections
Log contains the entries filtered from the Security log of the system. The same entries are the source of notifications
displayed by Windows Firewall Control.

Malwarebytes Windows Firewall Control User Guide

17

Windows Firewall notifications
Windows Firewall itself displays security alerts for programs, other than Windows services, that attempt to listen for
unsolicited incoming traffic and the incoming traffic is blocked. These security alerts can be disabled from Windows
Firewall and are not configurable from Windows Firewall Control.

Malwarebytes Windows Firewall Control User Guide

18

Pressing the Allow access button will create a new inbound allow rule, while pressing the Cancel button will create
a new inbound block rule.

How to stop entirely the notifications for a program?
Let's say that we have a program for which we already defined an allow rule for a specific IP range only. When thisprogram connects to a different IP a new notification will be displayed for it which is correct. But we don't want tosee a new notification for this program because we wanted to allow just a specific IP range and that's all. To disable
the unwanted notifications for a program, add a new exception in the notifications exceptions list available in the
Notifications tab.

In the example above, all blocked connections that have the path starting with C:\Program Files\Intel or ending withsvchost.exe or System will not generate a new notification.
Adding a new notification exception can be done also from the notification dialog by pressing the small button on
the right (the one with the mouse image on it):

*Experimental feature (version 6.9.x.x)
Use uppercase notifications exceptions to automatically create allow rules for programs that you want to always allow.
For example, define a notification exception C:\PROGRAM FILES\MICROSOFT OFFICE\ROOT\OFFICE16 toautomatically allow any executable that is executed from this path. Or use MS-TEAMS.EXE to automatically create
an allow rule for this executable file no matter from which folder it is executed.
Please use with caution. Do not create such rules for System, Temporary or Downloads folder.

Why there is no "Allow for now and ask me later" button?
The notifications are displayed for blocked connections, not for paused connections. It is not possible to resume aconnection at Windows Firewall Control level because it doesn't do any packet filtering. The program is blocked, anotification is displayed. If an allow rule is created on the next connection attempt of the program, it will connect
based on the newly created allow rule.

Malwarebytes Windows Firewall Control User Guide

19

Options tab
The Options tab can be used to set various program options.

Shell Integration
This setting will add two new entries into the context menu of the executable files and the context menu of shortcuts
to the executable files.

Through these two context menu options, the user can create easily a new allow or block rule when browsing throughMy Computer or from the desktop shortcuts. Multiple files can be selected but not more than 15 files. If more than
15 files are selected, the operating system hides these entries from the context menu. This setting is applied for alluser accounts.
When a new rule is created through the shell context menu, a confirmation dialog is displayed above the system
clock. If multiple files were selected, the confirmation dialog will be displayed only for the last selected file.

Start automatically at user logon
When this option is checked a new entry is created for wfcUI.exe in Windows Registry under the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
This entry is available to all Windows user accounts and will launch the program for all user accounts.

User interface language
This can be used to change the user interface language. The combo box loads and displays all valid files with theextension .lng which are found in the lang subfolder. Please note that some translation files may be outdated.
Windows Firewall Control installer contains the last versions of the translations that were received from WFC users.
The English version (wfcEN.lng) is always the most updated. If you have an updated translation file, please send it to
support@binisoft.org and it will be included in the next release.

Global Hot-Keys
The global hot keys are keyboard shortcuts that can be used from any program to launch a specific action. They canbe used while having no program open on desktop or while other programs are running and have the focus.

Malwarebytes Windows Firewall Control User Guide

20

A global hotkey must use at least a modifier key (Alt, Ctrl, Shift) or a combination of them. The global hot keys aredefined for the current user account only.
A special note for the global hotkey that toggles the profiles. There is a 2 seconds delay between the press of the
hotkey and the actual profile set. Each press starts a new delay of 2 seconds. This allows enough time to select thedesired profile before the actual profile is set. If you change the profile and the system tray icon does not show thedesired profile, press again until you stop on the profile you want to set. It will be set after 2 seconds.

User settings
Windows Firewall Control stores the program settings in Windows Registry. From the Options tab the user can:Import user settings from a file
A settings file with the extension .wfs must be provided. Importing a settings file will restart the program in order toreload all the global and user settings.

Export user settings to a file
This will export the program settings to a file with the .wfs extension. This file uses an XML format and can be edited
in any text editor. Besides the Security tab settings which are global at machine level, all other settings are saved peruser account.

Restore all settings to the default values
This will remove all the global and user settings that are stored in Windows Registry regarding Windows Firewall
Control and will restart the program with the default values.

Malwarebytes Windows Firewall Control User Guide

21

Rules tab
The Rules tab can be used to specify some default properties for the newly created firewall rules and also forimporting and exporting purposes.

Rule direction
A firewall rule can be defined to allow outbound requests for a program which will allow it to connect to the Internet,
or can be defined to allow inbound requests which will allow the connection requests that are sent from the network
to your computer.

Outbound (recommended)
When creating a new firewall rule from Windows Firewall Control it will be created for outbound connections. Thesekind of rules are required if you want to allow a program to connect to the network/Internet.

Inbound
When creating a new firewall rule from Windows Firewall Control it will be created for inbound connections. Avoid tocreate these kind of rules because they allow your computer to be visible and accessible from the network/Internet.
Inbound rules are required when you want to be able to ping your computer from another computer or to make itvisible into the local network.

Outbound and inbound
When creating a new firewall rule for a program, two rules will be created: one outbound rule and one inbound rule.
This is not recommended since not all programs need inbound access. Having an inbound rule for each program thatusually needs outbound access is not required.

Rule location
Windows Firewall supports multiple simultaneously active profiles. Each network adapter card attached to a network
is assigned one of the following locations:

DomainThe domain location applies to a network when a domain controller is detected for the domain to which the local
computer is joined.

PrivateThe private location applies to a network when it is marked private by the computer administrator and it is not adomain network.

PublicThe public location applies to a network when the computer is connected directly to a public network, such as one
available in airports and coffee shops.

Import, export or restore firewall rules
Windows Firewall offers the possibility to export and import all the firewall rules through a proprietary format. This
file format has the .wfw extension. This functionality can be used to export a copy of the firewall rules which can beused on another computer or as a backup copy. The limitation of this import/export is that it works only for the entire
set of firewall rules. From the Rules Panel the user can also export only a custom set of firewall rules instead of all of

Malwarebytes Windows Firewall Control User Guide

22

them. For this, Windows Firewall Control uses a different file format which has the extension .wpw. This is an XML fileformat and it can be edited in any text editor.
In order to support importing/exporting through files located on network shares, the import and the export are madethrough temporary files which are created in the user temporary folder.

Import Windows Firewall rules from a file
Importing a .wpw file will add the firewall rules on top of the existing firewall rules. The existing firewall rules remain
untouched. To import a policy file without keeping the existing firewall rules, the existing firewall rules must be
manually deleted. Ctrl+A in Rules Panel will select all rules which can be deleted all at once. Depending on the existing
number of firewall rules this may take several seconds.

Export Windows Firewall rules to a file
Exporting the Windows Firewall set of rules from this place will generate a .wpw file. It can be used for backup
purposes or for migrating all the firewall rules to another operating system. Making backups from time to time isalways a good idea.

Restore Windows Firewall default set of rules
Restoring Windows Firewall default set of rules will overwrite all of the existing firewall rules. The Windows Firewall
default set of rules includes the firewall rules that are created when the operating system is installed.

Restore Windows Firewall Control recommended rules
This will recreate a minimal set of firewall rules that are known as Windows Firewall Control recommended rules.

How to allow connections only when I'm connected to my VPN?
Regarding VPN only connections, you can create your rules and play with the Location property of the rules. Usually,
when the VPN connects, your Location is Public. When you disconnect the VPN you should be back on Private location.
Knowing this, you can create two sets of rules which will apply depending on which Location is set at certain time.
Since the connect/disconnect of the VPN will change the Location, then you can use this to make two different set ofrules which will apply when the VPN is connected/disconnected.

How to find which firewall rule blocked or allowed a connection?
Unfortunately, there is no easy way to say which rule blocked or allowed a connection because when Low Filteringprofile is used, meaning that outbound filtering is disabled, all connections without a block rule are allowed. So, there
is no rule that allowed the connection. The same applies if Medium Filtering profile is used, meaning that outboundfiltering is enabled, all connections without an allow rule are blocked. There is no rule that blocked the connection. In
Windows Firewall, multiple firewall rules may match a blocked or allowed connection, so, is not that easy to find out
which rule actually blocked or allowed a connection.
One way to find out which rule has blocked a connection is the following:
1. Wait for something to be blocked.
2. Execute netsh.exe wfp show netevents D:\netevents.xml
3. Execute netsh.exe wfp show state D:\wfpstate.xml
4. Open netevents.xml and identify the blocked connection. From the XML structure locate the the filterId value:

Malwarebytes Windows Firewall Control User Guide23

<item>...
<classifyDrop><filterId>73053</filterId></classifyDrop>...
</item>5. Open wpfstate.xml and do a search for the filterId value. From the search result, locate the displayData to findout which filter allowed/blocked the connection.
<item><layer>....
<displayData><name></name><description></description></displayData>...
</layer></item>Windows Firewall Control recommended rules
Windows Firewall Control recommended rules is a minimal set of firewall rules which can be used with Windows
Firewall while the following functionalities are still available:

•
•
•
•
•
•

Web browsing. An allow rule for the web browser is still required.
Network discovery - Discover other computers from your network and allow other computers to discover yourcomputer.
Network printing - Allow printing on a printer from your network.
PING other computers and respond to PING command.
Windows time synchronization.
Windows Updates, Windows Store access.

These rules are prefixed with WFC and can be easily distinguished in Rules Panel.

Malwarebytes Windows Firewall Control User Guide

24

•

•
•

This minimal set of rules contain only a few outbound and inbound rules. When only these rules are used, someof the features of the operating system may not work unless other required rules are added. This is a minimal set
of firewall rules that can be used as a starting point. On top of these firewall rules, add new firewall rules for yourcustom programs when they require access. All those hundreds of firewall rules that Windows Firewall has bydefault are not required.
The recommended inbound rules are required if you want to allow other computers from your network to accessyour computer. If you don't want other computers to PING your computer or connect to your shared folders, thenthe inbound rules can be removed.
The firewall rules for ICMPv4 and ICMPv6 protocols are used strictly for PING command. If you don't use thisfunctionality, they can be removed.

Important note about Network Discovery and File and Printer Sharing checkboxes from Windows. When you
check/uncheck those checkboxes, the operating system only enables/disables the rules from these two group names:“File and Printer Sharing” and “Network Discovery”
If these rules were deleted the operating system will not recreate them and the check boxes will remain in theirunchecked state. To restore the functionality of those two check boxes:- first export your custom rules to have a backup of your rules- restore Windows Firewall default set of rules- reimport your custom rules- do not delete the rules from “File and Printer Sharing” and “Network Discovery” groups

Malwarebytes Windows Firewall Control User Guide

25

Security tab
The Security tab can be used to specify the security enhancements that will be enforced by Windows Firewall Control.

Secure Boot
Secure boot will attempt to set High Filtering profile when a system shut down event is detected by the program. The
network connections will be blocked at Windows start-up until the user manually changes the profile to anotherfiltering profile. While the High Filtering profile is enabled, when Windows Firewall Control is started, a notification
will be displayed informing the user about this.

*Depending on the number of running processes and the system load at shut down time, this feature may not work
if the operating system abruptly closes WFC service before it has time to react to system shut down event. This issomething which the operating system decides. If the shutdown takes longer than expected, the OS may decide tokill existing Windows services without any prior notice. Not ideal, but WFC can’t change this OS behavior.

Secure Profile
In Windows, a software executed with administrative privileges can import a custom policy file and modify outboundand inbound filtering settings of the firewall, or can even disable Windows Firewall. Windows Firewall Control can
prevent these external changes. When this feature is enabled, changing the filtering mode of Windows Firewall canbe done only through the Windows Firewall Control user interface, from the Profiles tab. This feature is automaticallydisabled when Windows Firewall Control is uninstalled.

Secure Rules
In Windows, all programs executed with administrative privileges can add Windows Firewall rules. There is no way toprevent this in Windows Firewall. One way to protect against this is to have UAC enabled which will inform the user
each time an application requires elevated privileges.
Windows Firewall Control is notified when a new firewall rule is added and can delete or disable any unauthorized
rule that is being added by other programs. Any rule which is created with the group name different than the defined
authorized group names is considered to be an unauthorized rule. Based on the user choice, these unwanted firewall
rules will be deleted or disabled. Disabling the rules instead of deleting them is useful for reviewing purposes because
the user has the opportunity to see which programs have this hidden behavior. Usually, a software should not add

Malwarebytes Windows Firewall Control User Guide26

new firewall rules without asking the user, but unfortunately there are programs that try to enforce their own createdfirewall rules no matter what. One example is Steam service.
The list of authorized groups contain the following predefined group names which can't be removed:••

Windows Firewall Control - This group name is used by default for all firewall rules created from Windows
Firewall Control.
Temporary Rules - This group name is used when creating temporary rules from the notification dialog.

When Secure Rules is set to disable unauthorized rules, Windows Firewall Control will automatically disable theserules and will add the "U - " prefix to the rule description. This applies to the newly created firewall rules and toexisting ones.
Allow Windows Store rules - Ensures that Windows Store apps are excluded from the logic of Secure Rules. The
firewall rules created when a new Windows Store application is installed will not be disabled or deleted.

Import group names from the current existing rules
The group names from the existing firewall rules that are displayed in Rules Panel will be added in alphabetical orderto the list of the authorized group names.

Malwarebytes Windows Firewall Control User Guide

27

Tools tab
The Tools tab can be used to launch various system tools and to specify the online services that are used by the
program.

System utilities
The existing shortcuts can be used to launch various system utilities. The following tools are available:

Windows Firewall with Advanced Security
This will launch the management console snap-in which provides access to Windows Firewall advanced options. Thisis the integrated user interface of Windows Firewall.

Windows Firewall Control Panel applet
This will launch the control panel applet of Windows Firewall.

Event Viewer
This is a component of the operating system that lets administrators and users view the event logs on a local or
remote machine.

Resource Monitor
This is an utility from Windows that displays information about the use of hardware (CPU, memory, disk and network)and software (file handles and modules) resources in real time. This utility can display the current active network
connections, which is a feature often requested by Windows Firewall Control users. This is already available and there
is no plan to implement this functionality in Windows Firewall Control.

Online services
The user can configure several online services that are used from the Notifications Dialog, Rules Panel orConnections Log. Since there are not many alternatives for these online services, all of them are already defined andthe user can only choose which one to use. Custom providers can't be defined by the user.

Malwarebytes Windows Firewall Control User Guide

28

About tab
The About tab, besides the regular info about the program, can be used to update the program.

Check now if a new version is available
This button can be used to check online if a new version of the program is available. This will connect to an XML filefrom the website and will compare the version specified in that file with the current version of the program. Whileusing Medium Filtering profile, to be able to check for an updated version, a firewall rule for wfcUI.exe is required.
This rule should allow all connections on TCP protocol and remote ports 80,443. Windows Firewall Control
recommended rules contain a rule named WFC - Windows Firewall Control Updater for this purpose.

Automatic check for updates
When this option is enabled, the program will check automatically if a new version is available. This is done only once,a minute after the program is started.

Use proxy configuration
This will open a proxy configuration dialog where the user can enter the proxy address, port, username and password.
If no proxy configuration is required, leave this check box unchecked.

Malwarebytes Windows Firewall Control User Guide

29

Rules Panel
Rules Panel offers an integrated an easier way to manage Windows Firewall rules. The firewall rules displayed are thesame firewall rules that Windows Firewall uses. There are three color codes used for the firewall rules: green rules
represent active allow rules, red rules represent active block rules, gray rules represent the rules that are disabled.
Disabled rules are not used until they are enabled. Invalid rules are displayed with red text color and temporary rules
are displayed with blue text color.

The layout of this window contains:o a data grid on the left side which displays the firewall ruleso a toolbox area on the right side which contains the available actions
The following properties are saved when Rules Panel window is closed and reused when the window is opened again:o the size and the location of the windowo the columns size, order and visibilityo the last values of the toolbox combo boxeso the toolbox width

Malwarebytes Windows Firewall Control User Guide

30

Data grid columns
The columns header have a context menu which can be opened by right mouse click. Reset sorting menu item canbe used to remove any existing sorting. Freeze first column menu item can be used to keep always visible the firstcolumn. The other menu items can be used to show or hide the data grid columns.

A special mention must be made for the Extended properties check box column. A rule with this check box checked
informs the user that the rule contains some extra properties which can't be configured from Windows Firewall
Control. These extra properties can be found for some Windows 10 firewall rules. These properties can beimported/exported from Windows Firewall Control but they can't be modified.

Rules entries context menu
Each entry from the data grid has a context menu which can be opened by right mouse click. The context menu isavailable also when selecting multiple entries but based on the selection, some menu items may be disabled or
enabled.

Malwarebytes Windows Firewall Control User Guide

31

Allow
This action will change the selected rules to allow connections. This menu item is disabled if the selected rule is alreadyan allow rule.

BlockThis action will change the selected rules to block connections. This menu item is disabled if the selected rule isalready a block rule.

EnableThis action will enable the selected rules. This menu item is disabled if the selected rule is already enabled.

DisableThis action will disable the selected rules. This menu item is disabled if the selected rule is already disabled.

Properties
This action will open the Properties dialog which can be used to customize an existing rule. This menu item is disabled
if multiple rules are selected.

Create duplicate
This action will create a new copy of each of the selected rules.

Malwarebytes Windows Firewall Control User Guide

32

Merge rules
This action will open the Merge rules dialog which can be used to review the rule before the merge. Merging multiple
rules is available only for similar rules. The selected rules must have the same: Program, Direction, Action, Protocol.

DeleteThis action will delete the selected rules.

Open file location
This action will open and select the file from the Program column in My Computer.

Check this file
This action will check the file from the Program column based on the SHA256 checksum. The check is made with theonline service set in the Tools tab.

Add to group
This action will set the group name for the selected rules. The list contains all the group names from the current
existing firewall rules and all authorized groups names which are defined in the Security tab. The first entry is anempty group name which can be used to unset the group name.

Authorize group
This action will add the group of the selected rule to the list of authorized groups names which are defined in the
Security tab and will enable the selected rule.

Import rules from a file
This action will import a policy file which contains firewall rules. You can read more about the supported file formats
in the Rules tab section.

Export all rules
This action will export a full policy file in the .wpw format. This file will contain all the firewall rules.

Export selected rules
This action will export a partial policy file in the .wpw format. This file will contain only the selected firewall rules.

Restore default rules
This action will restore Windows Firewall default set of rules. This will overwrite all of the existing firewall rules.

Restore recommended rules
This action will the Windows Firewall Control recommended firewall rules. You can read more about these rules in theRules tab section.

Toolbox controls
Refresh list button
Based on the applied filters it requests the firewall rules from the Windows Firewall Control service.

Show invalid rules button
Can be used to automatically find and select invalid rules. Invalid rules are considered the rules for which the program
does not exist on the disk anymore.

Malwarebytes Windows Firewall Control User Guide

33

Show duplicate rules button
Can be used to find duplicate rules. The search for duplicate rules is made on the following columns: Program,
Location, Action, Direction, Local addresses, Local ports, Remote ports, Remote addresses, Protocol, Service,
Edge traversal, ICMP settings, Interface types. The following columns are not taken into consideration during thesearch: Name, Group, Description, Enabled. The results contain only the rules for which at least two similar rules
were found.

Display combo box
Can be used to filter the firewall rules based on their direction. The user can choose between displaying inboundrules, outbound rules or all rules.

Filter combo box
Can be used to filter the firewall in order to display the rules which are enabled or the ones that are disabled. User
created rules are considered the rules created in the group named Windows Firewall Control.

Search text box
Can be used to search a string through the firewall rules. The search is made in the following columns: Name,
Program, Group, Local ports, Local addresses, Remote ports, Remote addresses, Service. Use ! in front of thesearch string to negate the search and find the entries which do not contain the search string.

Blank ruleThis will open the Create new rule dialog allowing the user to define a new rule from scratch.

Browse to allow
This will launch an open file dialog which will create a generic* allow rule for each of the selected files. The following
file types are supported: .exe, .dll, .bin, .setup, .scr, .tmp.

Click to allow
This will open a dialog which will wait for the user to click on a program's window in order to create a new generic*allow rule for the program that was clicked.

Browse to block
This will launch an open file dialog which will create a generic* block rule for each of the selected files. Multiple files
are supported.

Click to block
This will open a dialog which will wait for the user to click on a program's window in order to create a new generic*block rule for the program that was clicked.

Allow button
The same as the context menu item.

Block button
The same as the context menu item.

Enable button
The same as the context menu item.

Disable button
Malwarebytes Windows Firewall Control User Guide

34

The same as the context menu item.

Properties button
The same as the context menu item.

Create duplicate button
The same as the context menu item.

Merge rules button
The same as the context menu item.

Delete button
The same as the context menu item.

Open file location button
The same as the context menu item.

Check this file button
The same as the context menu item.
*A generic rule means a rule for a program that is defined for all locations, all local and remote ports, all local andremote IP addresses, all protocols. A custom rule means a rule that is customized with specific values.

Does the program use a different set of firewall rules than Windows Firewall?
Windows Firewall Control is not a firewall by itself. It is just a front end for Windows Firewall which makes things easier
and also adds some new extra features. The rules that you see in Rules Panel are the same rules that Windows Firewall
uses. These rules are applied even if Windows Firewall Control is not running.

Can I create a rule for all the files from a folder?
No. Windows Firewall does not support wildcards. Because the Windows Firewall rules are applied per path basis you
have to create a rule for each program that you want to allow or block. From Windows Firewall Control you canbrowse for the files for which you want to create a new rule and you can select multiple files at once. This will create
a new rule for each file that was selected.

How to allow a program to connect only to the local network?
Define a firewall rule for the required program and open the Properties Dialog to edit the rule. Set the Remoteaddresses field to Custom Addresses and use the keyword LocalSubnet. Many default Windows Firewall rules use
the LocalSubnet keyword to allow only local network connections. LocalSubnet is a special keyword which represents
the local network based on the IP Address and the Subnet Mask configuration.

Malwarebytes Windows Firewall Control User Guide35

To restrict the allowed connections even more, you can specify an IP range. For example, if your network has IP
addresses only in the following range 192.168.0.100-192.168.0.200, you can specify this IP range in the Remoteaddresses field.

How to allow programs located on mounted drives?
Unfortunately, this is not possible. This is a problem of Windows Firewall itself with the way it handles the actual paths.
While outbound filtering is enabled in Windows Firewall, you can't define a working rule for a file located in a mounted
drive. This kind of rules can be created, however, they won't work. There is nothing that Windows Firewall Control
could fix/extend to support this. The solution is to store the programs for which you want to create working firewall
rules on a volume that has a drive letter, otherwise the rules won't work. The fix must come from Microsoft.

How to allow Windows Store apps that have a different path after an update?
When a new version of a Windows Store application that you have installed is receiving an update, the path of theexecutable file changes. Because Windows Firewall rules are applied per path basis, after such an update a new rule
is required. This can become very annoying especially if an application is updated very often. This is how Windows
Firewall works and this is not something that Windows Firewall Control can change.
As a workaround, instead of creating a firewall rule for a specific executable file:o Create a rule that applies to all programs and set an empty group name for this rule. Setting an empty groupname is important for the next step.

o Launch Windows Firewall with Advanced Security (wf.msc) and edit your newly created rule.
o In the Programs and Services tab, press on the Settings button under the Application Packages group box,
select your specific application package and save the rule. Now you will have a working firewall rule, even if the
program gets updated and the path changes. Now, you can add this firewall rule in any Group you want.
Note: The rules with a group name set can't be modified from Windows Firewall with Advanced Security. Also, theapplication package can't be set from Windows Firewall Control. You need to use both tools. However, when a
Windows Store app/game is installed it will automatically create the required firewall rules for its own package. If
Secure Rules is used, make sure that Allow Windows Store rules is checked so that these firewall rules are notdisabled/removed.

How to create a rule for a program which executes from the temporary folder?
Windows Firewall rules are applied per path basis, so even if you create a rule for an executable file, if this file is
executed from a different path (different folder or filename in the temporary folder), a new rule is required for eachfile path. This is how Windows Firewall works and this is not something that Windows Firewall Control can change.
For this scenario the only solution is to use Low Filtering profile when such software is used. You may try to see if you
can configure this software to use only a specific port, for example 44444. Then you can create a rule that apply to all
programs but which allows only the connections for local port 44444. In this way you can define a working rule forsuch programs.

Malwarebytes Windows Firewall Control User Guide

36

Connections Log
Connections Log offers an integrated and easier way to view the Windows Firewall log. The entries are retrieved fromthe Security event log of the system and contain only Windows Firewall related entries. Depending on the log size
(default 20 MB) and the recently network traffic the log can contain entries from the past minutes or from the pastdays. When the maximum log size is reached, older entries will be overwritten with newer entries. Note that thisfunctionality will display past connections and is not intended to display the current active connections. To see thecurrent network activity, the operating system already contains a tool named Resource Monitor which can belaunched by executing resmon.exe.

The layout of this view contains:o a data grid on the left side which displays the log entries
o a toolbox area on the right side which contains the available actions
The following properties are saved when Connections Log window is closed and reused when the window is opened
again:o the size and the location of the windowo the columns size, order and visibilityo the last values of the toolbox combo boxeso the toolbox width

Malwarebytes Windows Firewall Control User Guide

37

Data grid columns
The columns header have a context menu which can be opened by right mouse click. Reset sorting menu item canbe used to remove any existing sorting. Freeze first column menu item can be used to keep always visible the firstcolumn. The other menu items can be used to show or hide the data grid columns.

Log entries context menu
Each entry from the data grid has a context menu which can be opened by right mouse click. The context menu isavailable also when selecting multiple entries but based on the selection, some menu items may be disabled or
enabled.

Allow this programThis action will create a generic* allow rule which for the program that is selected.

Malwarebytes Windows Firewall Control User Guide

38

Block this programThis action will create a generic* block rule which for the program that is selected.

Customize and create
This action will open the Customize and create dialog which can be used to customize the rule before creating it. If
multiple entries are selected, all of them must be for the same Program, Direction, Protocol, otherwise this option will
be disabled.

Open file location
This action will open and select the file from the Program column in My Computer.

Check this file
This action will check the file from the Program column based on the SHA256 checksum. The check is made with theonline service set in the Tools tab.

Start a WHOIS query
This action will start a WHOIS query for the Remote addresses column of the log entry. The check is made with theonline service set in the Tools tab.

Verify this IP addressThis action will check online the Remote addresses column of the log entry. The check is made with the online service
set in the Tools tab.

Search rules
This action will open Rules Panel and will automatically search for rules defined for the path displayed in the Program
column.

Copy
This action will open a submenu which can be used to copy the details of the selected entry to clipboard. This can beused when selecting multiple entries too. For example, to copy all remote addresses from 10 different entries.
*A generic rule means a rule for a program that is defined for all locations, all local and remote ports, all local andremote IP addresses, all protocols. A custom rule means a rule that is customized with specific values.

Toolbox controls
Refresh list button
Based on the applied filters it requests the log entries from the Windows Firewall Control service. This can take a few
seconds or a few minutes, depending on the filters that are used and on the log size.

Clear log button
Can be used to clear the existing entries from the Security log of the system.

Auto refresh on open check box
Enable or disable automatic refresh of the data grid when the window is opened. The last used filters will be used.

Allowed connections check box
Malwarebytes Windows Firewall Control User Guide

39

Enable or disable the logging of allowed connections in Windows Firewall.

Blocked connections check box
Enable or disable the logging of blocked connections in Windows Firewall. Disabling the logging of blocked
connections will also disable the notifications system.

Connections combo box
Can be used to filter the log entries based on the recently allowed or recently blocked connections.

Direction combo box
Can be used to filter the log entries based on the direction of the connections which can be inbound, outbound or
both.

Display combo box
Can be used to choose how many log entries to process from the Security event log. Less entries means fasterprocessing.

Entries combo box
Can be used to filer the log entries to display only the last entry of each program that is found or all of them.

Search text box
Can be used to search a string through the log entries. The search is made in the following columns: Name, Program,
Source port, Source address, Destination port, Destination address, Service.

Allow this program button
The same as the context menu item.

Block this program button
The same as the context menu item.

Customize and create button
The same as the context menu item.

Open file location button
The same as the context menu item.

Check this file button
The same as the context menu item.

Start a WHOIS query button
The same as the context menu item.

Verify this IP address button
The same as the context menu item.

Malwarebytes Windows Firewall Control User Guide

40

Notifications Dialog
When the notifications system is enabled and a program without a matching rule is blocked, Windows Firewall Control
will display a new notification.
There are several shortcuts available by clicking on the Program, Source, Remote, Process ID and the program Icon.
Just move the mouse cursor over them and check the info from the tool tips that will appear.

Customize this rule before creating it
By default, by choosing one of the options from the notification dialog, a new generic* rule will be created. By using
this functionality, the user can customize the rule details (right screenshot) before creating a new rule.

Allow this program
If it is used directly (left screenshot) a new generic* allow rule will be created. If it is used while customizing the ruledetails (right screenshot) a new customized allow rule will be created.

Block this program
If it is used directly (left screenshot) a new generic* block rule will be created. If it is used while customizing the ruledetails (right screenshot) a new customized block rule will be created.

Block for now and ask me later
This will close the dialog without creating a new rule. This has the same functionality as the Close button of the dialog.
*A generic rule means a rule for a program that is defined for all locations, all local and remote ports, all local andremote IP addresses, all protocols. A custom rule means a rule that is customized with specific values.

Malwarebytes Windows Firewall Control User Guide

41

How to create a temporary rule?
By pressing on the right side buttons in the notification dialog, a context menu will be displayed with multiple options
for creating a new temporary rule. There is no option to allow the current instance of the program because Windows
Firewall Control is not aware of this information, it doesn't monitor processes nor active connections.

Temporary rules are displayed with blue text in Rules Panel.

Malwarebytes Windows Firewall Control User Guide

42

Properties Dialog
The Properties dialog can be used to edit the details of a firewall rule.

The dialog is displayed in:o Rules Panel when editing an existing rule
o Rules Panel when creating a new blank ruleo Connections Log when customizing an entry before creating a new rule

Malwarebytes Windows Firewall Control User Guide

43

Troubleshooting
Due to many system configurations and various programs used, there may be situations when Windows Firewall
Control may not work as expected. The cause may be the program code which may not take into consideration a
specific case or even a different software which may conflict with Windows Firewall Control or with Windows Firewall
itself.
In order to find the problem, try to follow the next steps:
1. Make sure that our software is not blocked by your antivirus or by other security software that you use. Try totemporarily disable them and see if the behavior changes.
2. Try to add wfcUI.exe and wfcs.exe into the white list (exceptions list, allowed list, etc) of your antivirus. Some selfdefense features, anti-executable programs, may block silently our software from execution. Some calls of WFC code
involve the use of system tools netsh.exe and auditpol.exe. Make sure that your antivirus don't block the executionof command line programs that are executed in a CMD window.
3. If you have the possibility, try to install Windows Firewall Control on a different computer or in a virtual machine tosee if you can reproduce the same problem on multiple machines.
4. Try to uninstall and reinstall the latest version of Windows Firewall Control and check if the problem is solved.
5. Make sure that you have the latest version of .NET Framework installed. Windows Firewall Control requires .NET
Framework 4.6.2 or a newer version.
6. Please go to Event Viewer (execute eventvwr.msc). Under Applications and Service logs category, there is asubcategory named WFC. There are logged all errors from Windows Firewall Control. If you see errors logged here,
from the right panel, use the button named Save all events as... to export a .evtx file and send it to us to check it.
7. Also in Event Viewer, under Windows Logs category, there is a subcategory named Application. Here are logged
all errors from all programs. Check in this log if there are error entries regarding the files wfcUI.exe or wfcs.exe. If
so, export a .evtx file of this log too and send it to us to check it. We can find here a .NET Framework problem that is
causing the problem.
8. If you use a program named Rivatuner Statistics Server, open it and set Application detection level to None.
Otherwise, this software may try to determine the FPS for WFC which uses the GPU to render the user interface.
When sending us an email please provide us as many details of the problem that you have. Write down the exact
steps that you did, make a screenshot of the error that you receive, specify your operating system, if it is a virtual
machine or a real machine, what other security software you use on the computer. Providing as many relevant detailsof your scenario will increase the chances to reproduce the problem that you have on our test machines. Then we will
be able to provide a solution.
To report a problem regarding Windows Firewall Control send an email to support@binisoft.org. Thank you.

I have enabled the notifications but I do not see them
Notifications are displayed only when Medium Filtering profile is used. Make sure that you don't have in your rules
list some allow rules that permit all the connections for all programs. These kind of rules will allow anything and there

Malwarebytes Windows Firewall Control User Guide

44

will not be blocked connections. Avoid creating such generic rules. The firewall rules that you create should betargeted to specific files.
To troubleshoot this, make a backup of your rules and then restore Windows Firewall default set of rules. Now you
should have only the default rules. Switch to Medium Filtering profile to enable outbound filtering in Windows Firewall
and start over with the creation of your rules. Do you see now the notifications ? If the answer is yes, then one ormore rules that you had in your previous rules set is responsible for the missing notifications. If you still don't see any
notifications, then this may be a symptom generated by software proxies.

I receive duplicate notifications
A new notification is displayed if a new blocked connection does not match (ports, IP addresses, protocol, location)
an existing allow rule.
If the rules are matching and you still receive duplicate notifications, it may be a symptom that Windows Firewall
filtering does not work correctly. This usually happens when a software proxy from a different security product is used
for filtering purposes. Windows Firewall is incompatible with software proxies, web filtering modules, NDIS drivers,
any filtering modules that intercepts network packets. They redirect the network traffic to the proxy and the problem
is that the traffic does not reach anymore the Windows Firewall filtering driver. In this case, Windows Firewall rules
do not apply correctly because the traffic appears to be made by the proxy, not by the original program. Try to disable
any software proxies, web filtering modules, NDIS drivers from the 3rd party security products that you use in orderto restore the filtering functionality from Windows Firewall. This incompatibility is between software proxies andWindows Firewall, not an incompatibility with Windows Firewall Control which does not have any control over thisbehavior. Known problems between Windows Firewall and various filtering modules were reported for: Avast
WebShield, Avira WebGuard, Kaspersky Internet Security, 360 Total Security, Symantec.
Another source that may cause duplicate notifications to be displayed can be a custom hosts file or a program like
PeerBlock that blocks IP addresses based on a blacklist. All blocked connections are logged in the Security event log
and will generate new notifications even if they weren't blocked by Windows Firewall. Also check your rules forincompatible rules.
Please read also about the advanced notifications settings from the Notifications tab.

My antivirus detects this software as a security threat
An antivirus software is an essential tool that most people need to protect their Windows operating system frommalware. Unfortunately, most antivirus companies goes too far with their Virus/Trojan protection, and in many times
they classify completely legitimate software as Virus/Trojan/Spyware infection. Windows Firewall Control is a
respectable software with a history dating from 2010. If your antivirus detects Windows Firewall Control as a security
threat, it is a false positive. To test that this is a false positive, you can scan the suspicious file online on VirusTotal
website and see the scan results from more than 50 antivirus vendors.
False positives are actually mistakes made by antivirus and sometimes antispyware programs. The companies that aretrying to protect our computers against the threats are under enormous pressure to get the malware identified anda fix created that there isn't enough time except, for very basic testing, before they must release these identifications
and fixes. Add to this fact that the authors of the malware are also using the same program compilers and software
libraries that often a good program may get misidentified as a bad one. Typically, the protection programs quarantine
area that is made to safely hold a malware will allow you to restore these if you don't get impatient and empty it first.
If you report the false positive to your protection company, they will be able to correct their mistake. If users will not

Malwarebytes Windows Firewall Control User Guide45

report a false positive then they cannot be corrected. Please report any false positive regarding Windows Firewall
Control to your antivirus vendor in order to get it removed.
What many people fail to realize with the subject of false positives... is that all antivirus and antispyware programs areprone to these. This is because they must also try and detect unknown malware that has just been released also. Its acase of trying to be safe and making a false detection instead of not being safe and letting the systems get infected.
Another issue that many do not understand and is why a good program may get detected as a malware after an
update is that the authors of the virus's and spyware also use the very same programs and code libraries that normal
program authors are using... So many times regular programs have some of the very same code that malware may
have.
The user has to ask themselves would they rather their protection program be a little bit paranoid and make a false
detection... or would they rather it miss a newly released malware and end up with an infected computer instead.

Ping command returns general failure
A firewall rule is required for SYSTEM to allow outbound connections on ICMPv4 protocol in order to use the PING
command. To be able to ping an IPv6 host, a similar rule for ICMPv6 protocol is also required. Windows Firewall
Control recommended rules contain several rules for the ICMPv4 and ICMPv6 protocols for this purpose.
When the notifications system is used make sure that you can be notified about blocked connections of Systemprocess. If System is added in the notifications exceptions list, then the notification will not be displayed.
To debug connectivity problems, when a software is being blocked, use the Connections Log to see the recently
blocked connections and make an idea of which rule is still required.

The profile changes out of nowhere
This might be a symptom that a 3rd party software changes the outbound filtering in Windows Firewall. To find out
which application modifies the Windows Firewall settings, follow the next steps:o Open Event Viewer, by launching eventvwr.msco Navigate to the following log name: Applications and Services Logs -> Microsoft -> Windows -> WindowsoFirewall With Advanced Security -> Firewall
Select the latest events with ID 2003 and check the Modifying Application. It contains the software thatchanged the outbound filtering in Windows Firewall.

Similar to the event above, you can check the events below to find more info:
Event ID 2004 - A rule has been added to the Windows Firewall
Event ID 2005 - A rule has been modified in the Windows Firewall
Event ID 2006 - A rule has been deleted in the Windows Firewall

The program does not start automatically at Windows start-up
When the Start automatically at user logon option is checked in the Options tab a new entry is created for
wfcUI.exe in Windows Registry under the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run

Malwarebytes Windows Firewall Control User Guide

46

This entry is available to all Windows user accounts and will launch the program for all user accounts.
1. Make sure that you don't have multiple places from where wfcUI.exe is executed. The program should be executed
only from the key above.
2. Make sure that wfcUI.exe is not blocked from being executed by a 3rd party security software, including Windows
Defender.
3. Please verify if the system tray icon is not displayed in the hidden icons area.
4. Check in Task Manager if the process wfcUI.exe is running but the system tray icon is missing or if the process is
not running at all.
5. Make sure that the Run this program as an administrator check box is not checked in the Compatibility tab of
wfcUI.exe file properties. When this check box is checked, UAC will prompt the user if he wants to allow the process
to be executed. This kind of user interaction is not allowed during the Windows startup, therefore the program willbe ignored and will not be started.

The program is locked and I can't remember the password
While the program is locked with a password, do not attempt to force the uninstall of Windows Firewall Control byusing a 3rd party software because you will not be able to access Windows Firewall interface any more. If you forgotten
the password used to lock the program interface, follow the next steps to remove a forgotten password:

•
•
•
•

Open the lock dialog that you normally use to unlock the program.
Press on the following key combination on your keyboard: Ctrl + Alt + U
The lock dialog should close after the key combination was pressed.
Open the lock dialog again and unlock the program with the following password: binisoft

The system tray icon displays an exclamation mark
Windows Firewall Control has two parts. A GUI part which is wfcUI.exe and which runs as a system tray icon in thesystem tray area and a Windows service which is wfcs.exe. These both files can be found in the installation folder ofthe program, usually
C:\Program Files\Malwarebytes\Windows Firewall Control.
If the connections between the GUI part (wfcUI.exe) and the Windows service (wfcs.exe) is not possible, then theicon of the tray application will display an exclamation mark.

There can be multiple causes:
A) The service did not start. Execute services.msc and check the status of Windows Firewall Control service. The
Startup Type should be Automatic and the Status should be Started.

Malwarebytes Windows Firewall Control User Guide

47

For unknown reason, even if the service is set to Automatic startup type, sometimes the service is not started
automatically by the operating system. It happens randomly on our systems with SQL Server service. If you manually
start the service and the status of the service changes to Started, then in a few seconds, the system tray icon should
display the icon of the current profile. Now the GUI part could connect to the service and it should work. If the service
status is not Started, see below.
B) The service did not start because it encountered an error during the startup. In this case it should be an error
logged about this in the event log. Please read the Troubleshooting section.

The system tray icon displays the profile but the context menu does not work
If the system tray does not launch the Main Panel when clicking on it and does not display the context menu on rightmouse click, check the logs from the B). This behavior is usually generated by a different security software whichblocks Windows Firewall Control.
Make sure that you have the latest version of .NET Framework installed. Windows Firewall Control requires .NET
Framework 4.8 or a newer version.

The system tray icon is not displayed even if the program appears in Task
Manager
Try to close the process wfcUI.exe from Task Manager and start it again. If the program appears in Task Manager
but not in the system tray, check the answers above.
Make sure that you have the latest version of .NET Framework installed. Windows Firewall Control requires .NET
Framework 4.8 or a newer version.

Malwarebytes Windows Firewall Control User Guide

48

The window size and position is not remembered
Windows Firewall Control uses its own mechanism that saves the coordinates of a window when it is closed. These
coordinates are restored when the window is reopened. Because the saved coordinates contain absolute values, there
are scenarios when these coordinates can't be restored. The default size and position is restored when:

•
•
•
•

the window is closed and at least one pixel of it was outside of the screen
the screen resolution is changeda different DPI scaling is used
the window is closed when a secondary monitor is used and the monitor is removed

Windows Mail can't synchronize folders
This applies to Windows 10 while Medium Filtering profile is used in Windows Firewall Control.
1. To allow the Windows Mail application to connect and synchronize your email accounts, you must create an
outbound rule for svchost.exe.
2. To send an email you have to create an outbound rule for C:\program
files\windowsapps\microsoft.windowscommunicationsapps_17.6002.42251.0_x64__8wekyb3d8bbwe\hxmail.
exe
3. To be able to add a Google account you have to create an outbound rule for
C:\windows\systemapps\microsoft.accountscontrol_cw5n1h2txyewy\accountscontrolhost.exe and one for
C:\windows\system32\authhost.exe.
When the notifications system is used make sure that you can be notified about blocked connections of svchost.exe
process. If svchost.exe is added in the notifications exceptions list, then the notification will not be displayed.
To debug connectivity problems, when a software is being blocked, use the Connections Log to see the recently
blocked connections and make an idea of which rule is still required.

Windows Update does not work
Windows Firewall Control does not block or allow any connection. Windows Firewall does based on the firewall rulesthat are defined. Windows Update requires an outbound allow rule for C:\Windows\system32\svchost.exe on
remote ports 80,443 and TCP protocol. Windows Firewall Control recommended rules contain a rule named WFC- Windows Update for this purpose. Service based rules for wuauserv service does not work on Windows 10/11
anymore like it used to work on Windows 7/8/8.1. You need to allow unrestricted access for svchost.exe to allow
Windows Update. Windows Store also requires unrestricted access for svchost.exe.
When the notifications system is used make sure that you can be notified about blocked connections of svchost.exe
process. If svchost.exe is added in the notifications exceptions list, then the notification will not be displayed.
To debug connectivity problems, when a software is being blocked, use the Connections Log to see the recently
blocked connections and make an idea of which rule is still required.

Malwarebytes Windows Firewall Control User Guide

49

When I restart my computer the profile is always set to High Filtering
Make sure that you don't have Secure Boot feature enabled in Security tab.
Make sure you don't have the revert profile enabled to automatically set High Filtering profile in Profiles tab.
When High Filtering is set, two new firewall rules are added to the firewall, named High Filtering profile - Blockinbound connections and High Filtering profile - Block outbound connections. These two rules are defined toblock all connections for all programs. When the profile is switched to another profile, these two rules areautomatically removed. Check in Rules Panel if you don't have multiple rules with these names.

Connections Log entries are missing
The entries are retrieved from the Security event log of the system and contain only Windows Firewall related entries.
Events with ID 5156 are logged when a connection is allowed and events with ID 5157 are logged when a connectionis blocked. Depending on the log size (default 20 MB) and the recently network traffic the log can contain entries
from the past minutes or from the past days. When the maximum log size is reached, older entries will be overwrittenwith newer entries.
For example, the user chooses to display recently blocked connections and no entries are shown. If recently there
were many allowed connections, they filled the entire log and older blocked connections were overwritten. In thiscase there is nothing to display in Connections Log since there are no records of blocked connections.
You have two possibilities:•

Disable the logging for allowed connections from Connections Log.

•

Increase the Security log size from Event Viewer. In the Event Viewer (execute eventvwr.msc) select the Security
category and from the right click context menu select Properties. In the dialog that opens, increase theMaximum log size value. Note that an increased log size will make the Connections Log slower since more
entries will have to be processed. For best results regarding the performance, the default Security log size is an
optimal choice.

Malwarebytes Windows Firewall Control User Guide

50

Uninstall the program
Windows Firewall Control should be uninstalled from Programs and Features available in Control Panel. This will
launch the file wfcUI.exe with the -uninstall parameter and will display the following dialog:o Avoid using a different method or a specialized software to uninstall Windows Firewall Control because it will notowork properly. Windows Firewall Control uses a custom installer and other programs will not know how toproperly uninstall it.
If the program is locked with a password, the uninstall will not be allowed by this method. In this case first unlock
the program and then try again to uninstall it. While the program is locked with a password do not attempt toforce the uninstall of Windows Firewall Control because you will not be able to access Windows Firewall interface
any more. If you have forgotten your password, read the following section The program is locked and I can't
remember the password.

If for some reason, the uninstall does not start by using the method described above, follow the next steps to manuallyuninstall the program:a) Close the process wfcUI.exe by exiting the Windows Firewall Control tray icon or by using Task Manager.
b) Run a CMD window with Administrator privileges.
c) Execute the following commands:
sc.exe stop wfcs
sc.exe delete wfcs
reg delete "HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\Windows Firewall Control" /fd) Delete manually the installation folder. Usually this folder is C:\Program Files\Malwarebytes\Windows Firewall
Control.
Now your system should be clean of any WFC installation. You can now start again a clean installation of the latest
version.

Malwarebytes Windows Firewall Control User Guide

51

Uninstall options
Reset to the default Windows Firewall settings
All user created firewall rules and settings will be removed and the default Windows Firewall set of rules will be
restored. The Windows Firewall default set of rules includes the firewall rules that are created when the operating
system is installed.

Restore to the state before installing this program
Before starting the installation, Windows Firewall Control exports the existing firewall rules to a file named
restore.wfw which is located in the installation folder. When this option is used, the firewall rules that existed before
installing Windows Firewall Control will be restored from this file if it exists. The user created firewall rules and theprogram settings will be removed.

Keep the current firewall rules and settings
Only the files from the installation folder are removed. The user created firewall rules and the program settings remain
untouched. Use this option if you plan to reinstall this software.

Disable Windows Firewall logging
By default Windows Firewall does not log any connections. The logging is required for the notifications system andfor displaying purposes in Connections Log. If the program is removed, then the logging is not required anymore
and can be disabled. Windows Firewall logging is automatically enabled when Windows Firewall Control is installed.

Malwarebytes Windows Firewall Control User Guide

52