Skip to content
CyberGemsPublic

About

πŸ›‘οΈ CyberWall is a user-friendly Windows firewall with real-time per-app rules powered by the WFP kernel engine ● Free, open-source and private.

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

Β 

History

220 Commits

Folders and files

Repository files navigation

English Β· EspaΓ±ol

CyberWall, per-application network control for Windows

Download Latest ReleaseWindows 10/11 (64-bit) Β All ReleasesChangelog

LicenseΒ  PlatformΒ  .NETΒ  Wiki


What is CyberWall?

CyberWall is a modern, lightweight per-application firewall for Windows, built on the Windows Filtering Platform (WFP) and the Windows Advanced Firewall that ship with the operating system. Its default-deny model intercepts unknown network activity and asks whether each executable should be allowed once, always allowed, or blocked with a persistent rule. Real-time prompts, connection monitoring, rule management, traffic statistics, and clear application identity make outbound access easier to understand and control without installing a third-party kernel driver.

Free and open source (GPLv3): no ads, no tracking, and no data collection. Just enjoy it.


πŸ›‘οΈ Why CyberWall? Real-World Threat Protection

Most traditional firewalls either let everything out silently or bombard you with complex IP/port questions. CyberWall takes a simpler, much more effective approach: nothing accesses the internet unless you explicitly allow that specific program.

Here is how CyberWall protects your computer against real-world threats in plain terms:

Threat Category Protection Level What CyberWall Does
Spyware & Keyloggers 🟒 10 / 10 Total Exfiltration Lock: Even if malware ends up on your disk, it cannot upload your passwords, keystrokes, or documents to an attacker's server without an explicit prompt.
Ransomware & C2 Beacons 🟒 10 / 10 Communication Blackout: Blocks unauthorized background scripts and payloads from contacting their command servers or downloading encryption keys.
Silent CLI & Script Attacks 🟒 9.5 / 10 Instant Interception: Catches terminal tools (curl, powershell, ssh, git) within milliseconds if they attempt unexpected outbound network transfers.
Unsolicited Inbound Probes 🟒 10 / 10 Automatic Rejection: External scanners and probes on local networks are dropped cold at the kernel layer.
Reverse Shells & Remote Access 🟒 9.5 / 10 Channel Severance: Hackers attempting to open a remote interactive backdoor find their outbound connection stuck in kernel limbo.

Tip

Zero Stability Risk: Unlike other firewalls that install invasive third-party kernel drivers (often causing Blue Screens / BSODs after Windows updates), CyberWall does not install any driver at all. It detects blocked traffic through the WFP audit events and enforces the decisions with the firewall engine already built into Windows, so there is nothing to break after an update.


✨ Key Features

  • Real-Time WFP Drop Detection: Event-driven kernel drop detection through the Windows Filtering Platform audit events (Event ID 5157). Accurately intercepts short-lived CLI processes (git, curl, dotnet, ssh) within milliseconds.
  • Native Firewall Enforcement: Decisions are applied as per-application rules in the Windows Advanced Firewall (HNetCfg.FwPolicy2), with netsh and PowerShell as fallbacks. No custom filter or driver is ever installed.
  • Crash-Safe Default Deny: The default-deny profile policy is restored by a scheduled task if CyberWall stops unexpectedly, so a crash can never leave the machine without connectivity.
  • Smart Toolchain & Suite Rules: Automatically resolves and authorizes companion helper executables for developer suites like Git (git.exe, git-remote-https.exe, git-remote-http.exe, ssh.exe, etc.).
  • Default-Deny / Whitelist Architecture: Enforces a strict inbound and outbound block-by-default policy, allowing only user-authorized applications.
  • GlassWire-Style Toast Alerts: Sleek "First Network Activity" notification toasts with graphic direction badges (↑ Outbound / ↓ Inbound).
  • Dedicated Connection Log Viewer: Real-time event log with instant filtering (by program, IP, port, or PID), one-click clipboard copying, and direct log file access.
  • Visual Theme Engine (ThemeCard): Interactive visual cards with live UI previews and instant switching:
    • CyberWall: Deep obsidian/navy with electric neon cyan and emerald accents.
    • Dark: Refined charcoal and neutral slate with vibrant indigo accents.
    • Light: Crisp slate and pure white with royal blue accents.
  • Native Windows 11 Chrome: Pure DWM-rounded corners with subpixel anti-aliasing buffers, custom title bar, and multi-monitor positioning grid.
  • Built-in Auto-Update System: One-click GitHub Releases update checker with live download progress tracking, SHA256 verification of the downloaded installer, and silent installer execution.
  • Dedicated About Modal: Interactive product overview, update manager, and direct access to CyberGems community channels.
  • Fully Bilingual (EN / ES): Complete UI localization in English and Spanish with instant language switching.
  • Persistent Rule Store: Rules are stored persistently in %ProgramData%\CyberWall\rules.json, written atomically so a crash never truncates them.
  • System Tray & Background Daemon: System tray integration, minimize-to-tray, and optional support for running as a background Windows Service (SYSTEM). Only one host owns the firewall engine at a time: the open window takes precedence and the service resumes protection when it closes.

πŸš€ Getting Started

Install (Recommended)

  1. Download the latest installer from Releases
  2. Run the .exe installer and follow the setup wizard
  3. Launch CyberWall. No .NET SDK needed to run it.

Note: Real kernel-level network filtering and firewall rule enforcement require Administrator privileges.

πŸ›‘οΈ Windows SmartScreen

Windows may show a SmartScreen warning the first time you run the CyberWall installer: this is an unsigned hobby app, so Windows hasn't built reputation for the file yet. This is expected; the source is public so you can inspect exactly what it does.

To continue:

See how to run the installer (step by step)

Windows shows this warning for any installer without a paid code-signing certificate; it does not mean the file is unsafe. Do not click "Don't run":

  1. Run the installer. Windows may show the blue "Windows protected your PC" dialog.

Windows SmartScreen warning

  1. Click the small More info link.

SmartScreen dialog after More info

  1. Click Run anyway. The installer starts normally.

You can verify the file independently: compare the SHA with the GitHub release, scan it on VirusTotal, or build from source. More details: SmartScreen guide on the website.


πŸ› οΈ Tech Stack & Architecture

  • Platform: Windows 10 / 11 (x64)
  • Framework: .NET 10 + WPF (Native UI)
  • Filtering Core: fwpuclnt.dll (WFP User-Mode API), Windows Advanced Firewall (HNetCfg.FwPolicy2), and Security Audit Event Log (EventLogWatcher).
CyberWall.slnx
β”œβ”€β”€ src/CyberWall.Common/   -> Core models (AppRule, ConnectionEvent), I18n strings, settings
β”œβ”€β”€ src/CyberWall.Service/  -> WfpEngine, WfpBlockWatcher, RealFirewall, ConnectionMonitor, RuleStore
β”œβ”€β”€ src/CyberWall.UI/       -> Frameless WPF UI, ThemeCard controls, ConnectionPopup, TrayService, Dialogs
└── tests/CyberWall.Tests/  -> Unit tests for rules, packages, settings, translations and rule names

Building from Source (Developers)

Only needed if you want to work on CyberWall or build it yourself; regular users can skip this section.

Prerequisites

  • Windows 10/11 (x64)
  • .NET 10 SDK

Building & Running

# Build solution
dotnet build

# Run the tests
dotnet test

# Run with Administrator privileges (Real WFP filtering)
.\dev-admin.ps1

# Run standard dev session (Simulated filtering if non-elevated)
.\dev.ps1

Note: Real kernel-level network filtering and firewall rule enforcement require Administrator privileges.


πŸ” How It Works

  1. Kernel Interception: When an application without an existing rule attempts to make an outbound or inbound connection, Windows Filtering Platform safely holds the connection at the kernel level.
  2. Instant Event Capture: WfpBlockWatcher receives the drop event in real-time, resolves the NT kernel device path (e.g. \device\harddiskvolume3\...) to a standard Win32 file path (C:\...), and debounces duplicate triggers. The audit policy it enables is restored when CyberWall stops.
  3. Interactive Prompt: A non-intrusive frameless popup appears in your chosen monitor corner showing the application icon, name, protocol, destination endpoint, and graphic direction badge (↑ Outbound / ↓ Inbound).
  4. Rule Enforcement: CyberWall applies the selected decision to the pending process as a Windows Firewall rule. Allow always and Block save a persistent rule to rules.json and update the firewall engine, while Allow once keeps the decision for the current session only.
  5. Policy Recovery: While protection is on, a scheduled task watches a heartbeat file. If CyberWall dies, the task restores the original firewall policy and removes the rules it left behind, so the machine never stays locked down.

❀️ Donate

After countless hours building and refining CyberWall for my own use, I recently decided to share it with the world along with my other open-source tools in CyberGems.

If you’d like to support future updates, I’d truly appreciate it. Your donation helps keep development going, roll out new features, speed up updates and bug resolution, and enhance documentation quality. You can also show your support by starring the repo on GitHub. Thank you! πŸ™

Donate via PayPal

Support me on Ko-fi

Buy Me a Coffee

Crypto donations (BTC, ETH, USDT, LTC): click to view addresses
Asset Address QR
BTC
bc1q5mxzz05nmvsheqzx7970euswta3fksxzcfzag4
BTC QR
ETH
0x79b703Ec0f77493679Fcd280aF3b983E20c580B8
ETH QR
USDT (ERC20 / BEP20)
0x79b703Ec0f77493679Fcd280aF3b983E20c580B8
USDT QR
USDT (TRC20)
TSVbSk1HSyZ1NprCnAYiw56ECwXgH887mD
USDT TRC20 QR
LTC
LWGnEHgcFCE2BRkzLnsdPDD8Y8ZeDK577X
LTC QR

⚠️ Send only the selected asset on the indicated network. Using the wrong network will result in permanent loss of funds.


License

CyberWall is distributed under the terms of the GNU General Public License v3.0. See LICENSE for the full license text.

Copyright (C) 2026 CyberGems


❓ FAQ

For frequently asked questions, troubleshooting guides, and detailed configuration instructions, visit the FAQ or the online documentation.


Thanks for using CyberWall! πŸŽ‰

Made by CyberGems

Share on Reddit Β Share on X Β Share on Facebook Β Share by Email Β Share on Telegram Β Share on LinkedIn


πŸ”— See also

More free, open-source, privacy-first apps from CyberGems:

App Description
πŸ•Β CyberClock Desktop clock with analog & digital display, calendar, timer, stopwatch and relaxation module.
πŸ“’Β CyberFeeds High-performance, local-first RSS and Atom reader built for speed, privacy and clean reading.
πŸš€Β CyberLauncher Windows application launcher with hot corners, scheduler, system monitor and integrated terminal.
πŸ’»Β CyberManager Lightweight, high-performance task manager, virtualized and NT-native, a powerful Task Manager alternative.
πŸ“Β CyberNotes Privacy-focused note-taking app with rich text, folders, tabs and bcrypt-protected local storage.
⚑ CyberPaste Privacy-first clipboard manager for text, code, images, HTML and files.
πŸ“ΈΒ CyberSnap Screen capture and annotation suite with vector tools, high-speed OCR, screen recording and color picker.
⭐ CyberTray High-performance tray launcher with hotspots, system monitoring, process manager and PIN-protected file vault.
πŸ’«Β CyberViewer Full-featured image viewer and editor engineered for casual and power users.

➑️ Browse all apps at cybergems.org

About

πŸ›‘οΈ CyberWall is a user-friendly Windows firewall with real-time per-app rules powered by the WFP kernel engine ● Free, open-source and private.

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Contributors

Languages