Skip to content
CyberGemsPublic

About

πŸ›‘οΈ CyberWall is a Windows firewall with real-time per-app rules and prompts for new connections ● Free, open-source and private.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Latest commit

Β 

History

446 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

English Β· EspaΓ±ol

Control which apps can connect

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

LicenseΒ  PlatformΒ  .NETΒ  WikiΒ  Changelog


Choose which apps can connect, review new connections and keep rules you trust.


πŸ“‘ Table of Contents

πŸ”— Related links (outside this README)

πŸ‘‹ Introduction

Every program on your PC can reach the internet the moment it runs, and most firewalls either let it happen silently or ask you about ports and protocols. CyberWall flips that: nothing gets out unless you allow that specific executable. It runs on the Windows Filtering Platform and the built-in Advanced Firewall β€” no third-party kernel driver β€” and turns unknown activity into a simple prompt: allow once, always allow, or block with a persistent rule. The same window shows live connections, traffic statistics, rule management and a clear identity for each app. Built with .NET 10 and WPF.

Free and open source (GPLv3): no ads, no tracking, no telemetry and no analytics SDK. Just enjoy it.

  • Privacy: see PRIVACY.md. CyberWall does not send your data anywhere by itself. The only automatic connections are listed there, and none of them carries personal data.

🌐 The interface supports multiple languages. See Languages and localization for the current list and how to switch.


πŸ–ΌοΈ Screenshots

CyberWall main window with live 60s network traffic graph, Allowed and Blocked rule groups, country flags and active throughput pills

Real-time Windows Filtering Platform dashboard with live upload/download traffic chart, rule toggles, destination country indicators and bandwidth activity badges.

CyberWall Traffic Monitor tab showing live download and upload speed cards, 60s telemetry spline graph, and top bandwidth-consuming apps

Traffic Monitor tab tracking real-time download and upload throughput, session transfer totals, and the top bandwidth-consuming applications.

See the full screenshot gallery on cybergems.org.


πŸ›‘οΈ Why CyberWall?

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

  • Floating Network Traffic Widget: Lightweight companion desktop window with real-time spline throughput graphs, session statistics, compact mode, and always-on-top pinning.
  • Executive Hero Dashboard: Compact single-row layout uniting master protection switch, mode selector, live traffic wave, dynamic scale indicator, and throughput pills with 1m, 5m, and 10m time ranges.
  • Quick Country Filtering: Destination country flags in rule rows with one-click filtering, active filter chips, and multi-country badges.
  • Animated Expandable Search: Real-time keyword highlighting, match counters, and recent search history in the rules header.
  • 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, and the restore is verified by reading the policy back, so a crash can never leave the machine without connectivity. Turning the protection off keeps the core DNS, DHCP, NTP and loopback rules, so applications that use localhost keep working.
  • Integrity-verified updates: A floating notice previews the release notes, shows download progress, and lets you decide when to restart. CyberWall verifies the package against its published SHA-256 checksum before installation.
  • 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.
    • Gray: Refined charcoal and neutral slate with vibrant indigo accents.
    • Light: Crisp slate and pure white with royal blue accents.
  • Network Adapter Selection: Monitor Automatic active traffic or pin a specific network interface across Settings, the Firewall header graph, Traffic Monitor, and the Floating Traffic Widget.
  • Native Windows 11 Chrome: Pure DWM-rounded corners with subpixel anti-aliasing buffers, custom title bar, redesigned navigation icons, and multi-monitor positioning grid.
  • Embedded Notifications & About Tabs: Integrated Notification Center with Date/Type/App sorting, hover card dismiss, and timed alert pauses (15m, 1h, or until restart), alongside an About tab that checks for updates, reports availability, and displays the CyberGems suite bar.
  • Six UI Languages: English, Spanish, German, French, Italian and Portuguese (Brazil), with one JSON catalog per language, automatic system-language detection on first run, and instant switching without restarting.
  • Persistent Rule Store & Verified Backups: Rules are stored atomically in %ProgramData%\CyberWall\rules.json. Built-in automatic and manual .cwbackup snapshots (with SHA-256 integrity checks) back up both rules and preferences on a Daily, Weekly, or On-change schedule, keep between 1 and 7 automatic copies (default 3) in a customizable folder, and create pre-clear / pre-restore safety copies before restoring.
  • 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.

⬇️ Installation

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 and antivirus warnings

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

Some antivirus engines also flag the installer from time to time. This is a known false positive of the heuristics applied to unsigned installers: the application executable and the portable archive are not flagged, and the file you download has to match the SHA256 published in the release notes. You can verify it yourself by comparing the hash, checking the VirusTotal report linked in the release, or building from source.

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 CyberWall-Setup.exe installer. Windows may show the blue "Windows protected your PC" dialog.

Windows SmartScreen warning

  1. Click the small More info link. The expanded dialog shows your installer: CyberWall-Setup.exe.

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.

If the browser or Defender blocks the download

  • Microsoft Edge: open Downloads with Ctrl+J, click the … menu next to the blocked file, choose Keep, then Show more β†’ Keep anyway.
  • Google Chrome: open Downloads with Ctrl+J, click the arrow next to the blocked file and choose Keep.
  • Windows Defender: if the file is quarantined after you keep it, open Windows Security β†’ Virus & threat protection β†’ Protection history, select the CyberWall entry and choose Allow on device.

If the installer is still blocked, the portable archive from the same release contains the same application and is not flagged. False positives can also be reported to Microsoft through the submission form.

πŸ” Code signing policy

Free code signing provided by SignPath.io, certificate by SignPath Foundation.

CyberWall is maintained by CyberGems, who is also the committer, reviewer and approver of every release. Builds are produced by GitHub Actions from tagged commits, and each signing request is approved manually. The full policy, with the signing order, the artifact metadata and the privacy statement, is in the wiki: Code signing policy.

Releases published before the project is approved are unsigned and are identified by the SHA256 in their release notes.


🧭 Using the App

CyberWall runs in the tray and asks before an unknown program reaches the internet; real filtering requires Administrator privileges.

  1. Keep the default Ask to Connect mode and approve the elevation prompt.
  2. When a connection prompt appears, check the app name, path and destination.
  3. Choose Allow always for apps you trust, Block for the rest, or Allow once to test for about ten minutes.

Decisions become Windows Firewall rules stored in %ProgramData%\CyberWall\rules.json. A scheduled task restores the original policy if CyberWall stops unexpectedly, so the machine never stays locked down. You can also configure automatic .cwbackup snapshots (1 to 7 copies, custom destination folder) or restore rules and preferences from Settings β†’ Backups.

See How Do You Use CyberWall? for everyday examples and the full guides.


πŸ› οΈ 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 catalogs and 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

Translations

The interface ships in English, Spanish, German, French, Italian and Portuguese (Brazil). Each language is a JSON catalog in src/CyberWall.Common/I18n/Locales/ holding the same key set, and the language list lives only in src/CyberWall.Common/I18n/Languages.cs; the runtime, the settings selector, the first-run wizard and the installer all read it from there. Before committing a text change, run:

pwsh -File scripts/check-i18n.ps1

It fails on a missing key, an empty value, a mismatched {0} placeholder, a dead key, a hardcoded XAML literal or an installer language without its messages. English is the reference locale and the fallback.

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.

Signing setup: the SignPath onboarding, artifact configurations and workflow steps for maintainers are documented in .github/SIGNING.md. See also the code signing policy.

πŸ” 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.

🌍 Help translate

Found a wording issue or a better translation? Open a pull request against one language catalog in this repository. Change only the translated value, keep one language per pull request, and run the localization check before submitting. See the translation guide or the catalog path and check command.


⌨️ Keyboard Shortcuts

CyberWall is driven by connection prompts and the tray menu. The global shortcuts work from any application; the rest act on the main window's title bar.

Shortcut Action
Alt+Shift+W Show or hide CyberWall from any application (configurable)
Alt+Shift+F2 Show or hide the floating traffic widget from any application (configurable)
F1 Toggle About
Alt+M / Alt+N Open the More menu / notifications
Alt+U / Alt+W Check or apply an update / toggle the floating traffic widget
Ctrl+1 ... Ctrl+4 Switch to Firewall, Traffic, Connections or Statistics
Ctrl+5 or Ctrl+, Open Settings
Win+Up / Win+Down Maximize / restore or minimize (Windows gestures)
Alt+F4 Close the app, even when the X is set to minimize to the tray

Full reference: Settings and Keyboard Shortcuts.


⭐ Give CyberWall a Star

Enjoying CyberWall? Leave a ⭐ on GitHub to support development and help others find it.

Give CyberWall a Star on GitHub


❀️ Donate

CyberWall is 100% free and open source. If it helps you, please consider donating or starring the repo on GitHub to support continued development. Read the full story behind the project. Thank you! πŸ™

Sponsor CyberGems on GitHub

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.

This project uses AI coding assistants. See AI disclosure.

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 Windows firewall with real-time per-app rules and prompts for new connections ● Free, open-source and private.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Contributors

Languages