Windows Firewall Control (WFC) by BiniSoft.org

Discussion in 'other firewalls' started by alexandrud, May 20, 2013.

  1. Mr.X

    Mr.X Registered Member

    Joined:
    Aug 10, 2013
    Posts:
    4,807
    Location:
    .
    Yes I'm reading this post onwards. Thank you.
     
  2. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    Due to lack of free time, that project is still in its alpha state. Nothing new to share about it.
     
  3. gdrgd4g

    gdrgd4g Registered Member

    Joined:
    Jan 8, 2023
    Posts:
    2
    Location:
    earth
    I don't update. It is blocked... guess how. It wasn't that.
     
  4. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    A Windows crash or another kind of failure at OS level may determine the operating system to restore default permissions on HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy key which will reset the state of these settings in WFC. At this time, there is no mechanism in WFC that reapplies limited permissions in case they were reset.
     
  5. solitarios

    solitarios Registered Member

    Joined:
    Mar 28, 2016
    Posts:
    230
    Hello @alexandrud, with SAC enabled, WFC can be installed, but it cannot be executed or made to run. Could that be solved? Thank you very much in advance. All the best.
     
  6. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    What is SAC? Did you check the Event Log to see why WFC does not run? Is the service wfcs.exe or wfc.exe the one that fails during the startup? Please give more details.
     
  7. Rules

    Rules Registered Member

    Joined:
    Mar 3, 2009
    Posts:
    704
    Location:
    EU
  8. solitarios

    solitarios Registered Member

    Joined:
    Mar 28, 2016
    Posts:
    230
  9. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    Interesting,
    Smart App Control from Windows 11 sucks. It blocks WFC even if it is signed with an EV code signing certificate just because it does not have a lot of downloads so that they can build a reputation of it based on number of downloads.
    This is from above: There is currently no way to bypass Smart App Control protection for individual apps. You can turn Smart App Control off, or (better yet), contact the developer of the app and encourage them to sign their app with a valid signature.
    If the Malwarebytes EV code signing certificate is not good enough, what can I say? Unless you use WFC version 5.3.x.x which is not digitally signed at all. In both cases, Smart App Control, still sucks :)
     
  10. solitarios

    solitarios Registered Member

    Joined:
    Mar 28, 2016
    Posts:
    230
    https://aka.ms/AAj63c5

    If someone wants to help me so that SAC does not block WFC anymore, here is the feedback link.
     
  11. AmigaBoy

    AmigaBoy Registered Member

    Joined:
    Sep 12, 2015
    Posts:
    223
    Haven't really changed anything in my Windows 10 setup, but it's a few days that I cannot change the Filtering profile. It's stuck on Medium. If I manually set it to Low/High/No, it'll just go instantly back to Medium. Tray icon always stays green.

    Tried uninstall/reinstall. Tried fully uninstalling my A/V (its own firewall -ESET- was permanently disabled in any case). Tried toggling Secure Rules/Profile and restarting the WFC service. Nothing seems to work.

    W10 22H2 19045.2486
     
  12. AmigaBoy

    AmigaBoy Registered Member

    Joined:
    Sep 12, 2015
    Posts:
    223
    I used Windows Repair to "reset" the Windows Firewall. It has worked and WFC works normally again. Will post back if it happens again.
     
  13. solitarios

    solitarios Registered Member

    Joined:
    Mar 28, 2016
    Posts:
    230
    SAC Error.

    SAC WFC ERROR.jpg
     
  14. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    Nothing I can do about experimental features from Microsoft. You will have to make a choice, SAC or WFC.
     
  15. solitarios

    solitarios Registered Member

    Joined:
    Mar 28, 2016
    Posts:
    230
    https://www.microsoft.com/en-us/wdsi/submission/4a94ea8d-98f4-48c7-9bd4-3cdf41e1e15b

    Send some files to Microsoft, but according to the result of the analysis of the MS it tells me not to block it SAC, I do not understand anything. All the best.

    "This channel is dedicated for Smart App Control Response and we don't see any block on this file from Smart App's side. In case this is not a Smart App Control issue, kindly resend the file through submission and make sure to choose the correct product.

    Thank you for contacting Microsoft."
     
  16. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    At least you got an answer, even if it does not help you. I sent to Microsoft several Windows Firewall bug reports and never got any reply :(
     
  17. solitarios

    solitarios Registered Member

    Joined:
    Mar 28, 2016
    Posts:
    230
  18. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    Windows Firewall Control v.6.9.0.0

    Change log:
    - New: Added support to change the notifications mode from the system tray context menu and from CMD line. They are available only when Medium Filtering profile is the current selected profile.
    - New: Added support for negative search in Rules Panel and Connections Log. Use "!" in front of a search term to exclude it.
    - Fixed: Locking/unlocking the application does not work correctly on Windows 11.

    SHA1: a207a66cdd2227815176964d2813d7ed441cc6cf
    SHA256: 09eb5f860cb480b158e7f8b376da24a65966f4add3f485993c4e15888e2f79e5

    Since allowing wildcards is the most requested feature from the past years, there is also one experimental feature that is not included in the official changelog. Take a look at the screenshot below:

    upload_2023-2-4_15-14-20.png

    Creating an UPPER CASE notification exception will instruct WFC to auto create firewall rules for the specified exceptions:
    - First rule BRUN.EXE translates to: if a file is blocked and the file ends with brun.exe, then create automatically an allow rule for it.
    - Second rule C:\PROGRAM FILES\MICROSOFT OFFICE\ROOT\OFFICE16 translates to: if a file is blocked and its path starts with this path, then create automatically an allow rule for it.
    - This works also when the notifications mode is set to disabled.
    - All other exceptions work the same as they used to work. Just the UPPER CASE ones are treated differently.
    - This is an experimental feature, please use it with caution. Do not create any exception for TEMP folders or for folders where you download a lot of programs.
    - This feature uses the existing infrastructure, without requiring big changes in the code base. Please let me know if it needs to be tweaked.

    Thank you for your support,
    Alexandru Dicu

    P.S. Please let me know if Windows 11 Smart App Control still creates problems with this new version. It is signed with a new EV certificate which may help with that problem. Since I don't use that Windows feature, I could not test it on my side.
     
  19. aldist

    aldist Registered Member

    Joined:
    Nov 8, 2017
    Posts:
    1,114
    Location:
    Lunar module
    Bug detected! When changing the interface language (any to any) in the system tray menu you get a mixture of two languages. The menu is normalized upon restarting WFC. There was no such bug in all previous versions. In the screenshot I changed DE to EN.
    02.png
     
  20. aldist

    aldist Registered Member

    Joined:
    Nov 8, 2017
    Posts:
    1,114
    Location:
    Lunar module
    Bug detected! Running with the -cp key does not work.
     
  21. n8chavez

    n8chavez Registered Member

    Joined:
    Jul 19, 2003
    Posts:
    3,349
    Location:
    Location Unknown
    Does Malwarebytes still own WFC? I hope not. I'm like to see WFC revert its gui back to before the gui was god-awful.
     
  22. TairikuOkami

    TairikuOkami Registered Member

    Joined:
    Oct 10, 2005
    Posts:
    3,434
    Location:
    Slovakia
    Who do you think paid for the EV certificate? It is not cheap, besides it is called Malwarebytes WFC.
     

    Attached Files:

  23. AmigaBoy

    AmigaBoy Registered Member

    Joined:
    Sep 12, 2015
    Posts:
    223
    Thank you for the very interesting experimental feature!

    About the BRUN.EXE example, not sure which of these apply:

    1. A file named BRUN.exe anywhere on the PC (even multiple locations).
    2. A file named BRUN.exe and/or GOBRUN.exe etc. (i.e. *BRUN.exe) anywhere on the PC (even multiple locations).
     
  24. alexandrud

    alexandrud Developer

    Joined:
    Apr 14, 2011
    Posts:
    2,444
    Location:
    Romania
    Fixed. I forgot updating the strings there too. It will be included in the next release. Not a big deal since a WFC restart fixes it and changing the language is not something that you do on a daily basis.
    Not a bug. I updated it to -cl or -connectionslog. I updated all supported parameters on page 7: https://binisoft.org/pdf/guides/Malwarebytes-WFC-User-Guide.pdf#page=7
    Still owned by Malwarebytes and I also work for Malwarebytes since 2018.
    Good question. WFC does two checks, if the file path of the blocked connection starts with or ends with the string provided as an exclusion. Yes, there will be a match for BRUN.EXE, GOBRUN.EXE, BRUNBRUN.EXE, located anywhere on disk since the path ends with BRUN.EXE. For this reason, for files located in paths like this C:\ProgramData\Microsoft\Windows Defender\Platform\4.18.2211.5-0\MpCmdRun.exe it is safer to create C:\PROGRAMDATA\MICROSOFT\WINDOWS DEFENDER\PLATFORM to auto allow version 4.19, 4.20, etc, instead of MPCMDRUN.EXE.

    In a future version it will be also possible to specify wildcards, like %ProgramData%\Microsoft\Windows Defender\Platform\*\MpCmdRun.exe. However, this requires more coding and a final UI for this feature. Based on the feedback of the current implementation I will make a decision. Unfortunately, big changes in WFC require a lot of development time (for example: dark mode support, reordering the rules in Rules Panel, etc) which I do not have. WFC was mainly developed between 2010-2018. Major changes will take weeks/months of work.
     
  25. AmigaBoy

    AmigaBoy Registered Member

    Joined:
    Sep 12, 2015
    Posts:
    223
    Did a quick test of the new Path/auto-create rule feature, and it worked as expected. :thumb:

    Created this "exception": C:\USERS\USERNAME\APPDATA\LOCAL\WHATSAPP

    Opened a newer WhatsApp version (previous was still present, by design...) and it connected normally. This rule was automatically created:

    WFC2.png

    The actual WhatsApp.exe process is located within each version-numbered folder (app-2.2304.7, app-2.2305.7). It's not the one seen here (below Update.exe). Don't know why they keep doing this convoluted installation mess: (Electron? :isay:)​

    WFC1.png

    A nice feature would be to automatically delete the previously auto-created rule (related to the particular "exception") but it may complicate things of course.
     
    Last edited: Feb 4, 2023
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.