-
Notifications
You must be signed in to change notification settings - Fork 0
Firewall Engine
CyberGems edited this page Aug 30, 2026
·
1 revision
CyberWall uses the Windows Filtering Platform (WFP) for kernel-level network filtering with a default-deny architecture.
CyberWall operates at two levels:
| Layer | Technology | Description |
|---|---|---|
| Kernel | WFP (Windows Filtering Platform) | Intercepts network packets at the network layer |
| User | Windows Firewall COM API | Manages persistent firewall rules |
| Method | Description |
|---|---|
| Event ID 5157 | Real-time WFP drop detection via Security Audit log |
| TCP Polling | 400ms connection polling for comprehensive coverage |
Unknown connections are blocked by default:
- App attempts network connection
- WFP intercepts the connection
- CyberWall checks for existing rules
- If no rule exists → prompt or block
- Your decision becomes a persistent rule
When an unknown app tries to connect:
- A popup prompt appears
- Choose Allow or Deny
- Option to remember the decision
- Auto-block timeout for unanswered prompts
Silently blocks all unknown connections:
- No prompts shown
- Known apps with rules still work
- Maximum security mode
Total network lockdown:
- Blocks all network traffic
- Only manually allowed apps work
- Emergency use
No filtering:
- All connections allowed
- Monitoring still active
- Useful for troubleshooting
Change modes from:
- System tray icon → right-click menu
- Settings window
- Main window toolbar
| Type | Description |
|---|---|
| Allow | Permit all network access for the app |
| Deny | Block all network access for the app |
| Inbound | Allow/deny incoming connections |
| Outbound | Allow/deny outgoing connections |
Rules are created when:
- You respond to a popup prompt
- You manually add a rule in Settings
- You import rules from a backup
CyberWall automatically resolves companion executables:
- Git → Auto-detects git-remote-https, ssh, etc.
- Edge WebView2 → Maps host processes correctly
- Node.js → Detects npm, npx, node processes
Rules are stored in:
%ProgramData%\CyberWall\rules.json
Each rule stores:
| Property | Description |
|---|---|
| App path | Full path to executable |
| App name | Display name |
| Verdict | Allow or Deny |
| Direction | Inbound, Outbound, or Both |
| Protocol | TCP, UDP, or Any |
| Remote address | Specific IP or Any |
| Remote port | Specific port or Any |
| Method | Description |
|---|---|
| File path | Full executable path |
| Package identity | UWP/MSIX package resolution |
| Digital signature | PE file signature verification |
| Product info | Version, company, product name |
Maps Edge WebView2 processes back to their host applications:
- Browser extensions
- Electron apps
- WebView2-based desktop apps
When a prompt is not answered:
- Enabled — Auto-block after timeout
- Duration — 30 seconds to 30 minutes (default: 5 minutes)
- Action — Block the connection
Prevents indefinite prompts:
- If you step away from the computer
- If a prompt appears during a fullscreen app
- Reduces unwanted background connections
The main window shows all rules:
- Search and filter
- Enable/disable individual rules
- Delete rules
- Edit rule properties
Right-click a rule for actions:
| Action | Description |
|---|---|
| Edit | Modify rule properties |
| Disable | Temporarily disable |
| Delete | Remove the rule |
| Open location | Show executable in Explorer |
Backup and restore rules:
- Export to JSON
- Import from JSON
- Share rules between machines