Go to file
CyberMind-FR 2d06be1f8d feat(mitmproxy): Add WebUI filters page
Add filters.html page for managing WAF rule categories:
- Grid layout displaying all 14 WAF categories
- Toggle switches for enable/disable with immediate API calls
- Severity color coding (critical=red, high=orange, medium=yellow)
- Pattern count and hit count display per category
- Category descriptions for all rule types
- Summary bar showing totals (categories, enabled, patterns, hits)
- Follows SecuBox CRT-light styling conventions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-03 08:28:13 +02:00
.claude docs(history): Document Session 89 methodology emancipation 2026-05-03 07:10:02 +02:00
.github/workflows fix(multiboot): Ensure kernel files are properly copied to EFI partition 2026-04-27 19:29:09 +02:00
.superpowers/brainstorm/1465198-1777214258 fix(eye-remote): Fix route parameter naming and logic issues 2026-04-26 17:39:56 +02:00
.vscode feat: Add 15 new SecuBox-Deb modules and VM configuration 2026-03-27 10:08:05 +01:00
board fix(network): Fix x64-live netplan for real AMD64 hardware 2026-05-01 06:44:08 +02:00
cache/repo docs: Add modules architecture documentation 2026-04-10 10:47:35 +02:00
common feat(eye-remote): Add multi-mode display system v1.9.0 2026-04-29 10:24:02 +02:00
daemon Add c3box mesh dashboard theme variables to sidebar.js 2026-03-26 06:50:43 +01:00
docs docs(plan): Add mitmproxy WAF migration implementation plan 2026-05-03 07:48:38 +02:00
hardware feat(eye-remote): Add display state machine with splash and fallback modes 2026-04-28 14:48:00 +02:00
image fix(slipstream): Filter packages by architecture during image build 2026-05-02 17:26:37 +02:00
packages feat(mitmproxy): Add WebUI filters page 2026-05-03 08:28:13 +02:00
redroid Add ReDroid (Android in Container) LXC setup scripts 2026-03-26 16:05:11 +01:00
remote-ui fix(net-detect): Separate VirtualBox VM handling from baremetal x64 2026-05-01 17:33:31 +02:00
repo Update secubox-full metapackage to v1.2.0 with 49 modules 2026-03-25 05:30:53 +01:00
scripts fix(deploy): Remove --delete from www rsync to prevent module conflicts 2026-05-02 18:13:16 +02:00
templates docs: Add VirtualBox quick start guide and VM creation script 2026-04-04 10:31:21 +02:00
tools feat(eye-remote): Add multi-mode display system v1.9.0 2026-04-29 10:24:02 +02:00
vm feat(eye-remote): Add display state machine with splash and fallback modes 2026-04-28 14:48:00 +02:00
wiki docs(faq): Mark issue #34 as resolved 2026-04-29 12:45:35 +02:00
.gitignore fix(eye-remote): Use legacy DPI mode for HyperPixel on Pi Zero W 2026-04-21 22:00:20 +02:00
build-eye-remote-full.sh feat(eye-remote): v2.3.0 - Auto-fallback dashboard with splash 2026-04-28 16:39:59 +02:00
CLAUDE.md fix(network): Fix x64-live netplan for real AMD64 hardware 2026-05-01 06:44:08 +02:00
PROMPT_SYSTEM.md feat: Add 15 new SecuBox-Deb modules and VM configuration 2026-03-27 10:08:05 +01:00
README.md docs: Rewrite README for end-users, move tech details to collapsible 2026-04-15 09:28:14 +02:00
REPORT-2026-04-10.md fix(ui): Add sidebar navigation to 11 modules 2026-04-10 13:20:24 +02:00
secubox.conf.example feat(remote-ui): Add HyperPixel 2.1 Round dashboard for RPi Zero W 2026-04-15 17:54:09 +02:00
setup-dev.sh Initial commit: SecuBox-DEB migration from OpenWrt to Debian 2026-03-21 09:41:06 +01:00
TOOLS.md feat(console): Standalone mode + tools documentation 2026-04-01 07:22:30 +02:00

SecuBox

Your Network Security Appliance — Plug, Protect, Peace of Mind

Build Status Version License

SecuBox transforms any compatible device into a complete network security appliance with VPN, firewall, intrusion detection, and web dashboard — all preconfigured and ready to use.


What You Get

  • VPN Server — WireGuard with QR codes for mobile devices
  • Intrusion Detection — CrowdSec IDS/IPS with automatic threat blocking
  • Network Monitoring — Real-time traffic analysis and bandwidth control
  • Web Dashboard — Modern dark-themed interface accessible from any browser
  • Automatic Updates — Security patches applied automatically

Quick Start

Option 1: VirtualBox (Try It Now)

Download and run in VirtualBox — no hardware required:

# Download the image
wget https://github.com/CyberMind-FR/secubox-deb/releases/latest/download/secubox-live-amd64-bookworm.img.gz

# Extract
gunzip secubox-live-amd64-bookworm.img.gz

# Create VM (requires VBoxManage)
./scripts/create-secubox-vm.sh secubox-live-amd64-bookworm.img

Access: Open https://localhost:9443 in your browser Login: admin / secubox

Option 2: Live USB (Any PC)

Boot from USB on any x86_64 computer:

# Download
wget https://github.com/CyberMind-FR/secubox-deb/releases/latest/download/secubox-live-amd64-bookworm.img.gz

# Flash to USB (replace /dev/sdX with your USB device)
zcat secubox-live-amd64-bookworm.img.gz | sudo dd of=/dev/sdX bs=4M status=progress

Boot from USB, then access the dashboard at https://<device-ip>/

Option 3: Dedicated Hardware

For 24/7 operation, flash to dedicated hardware:

Device Best For Image
Raspberry Pi 4/5 Home use secubox-rpi-arm64-*.img.gz
ESPRESSObin Small office secubox-espressobin-v7-*.img.gz
MOCHAbin Enterprise secubox-mochabin-*.img.gz
Any x86_64 PC Repurposed hardware secubox-live-amd64-*.img.gz

Features

Security Dashboard

Central control panel showing system health, active threats, and quick actions.

VPN (WireGuard)

Create VPN connections with one click. Scan QR codes on mobile devices.

Intrusion Detection (CrowdSec)

Automatic threat detection and IP blocking with community threat intelligence.

Network Control

  • Bandwidth management (QoS)
  • Device access control
  • Deep packet inspection
  • Virtual hosts with SSL

System Management

  • Service control
  • Log viewer
  • Automatic backups
  • Easy updates

Default Credentials

Service Username Password
Web Dashboard admin secubox
SSH root secubox

Change these immediately after first login!


Support


License

Apache-2.0 © 2026 CyberMind · Gérald Kerma


Technical Reference (Click to Expand)

Architecture

OpenWrt / LuCI                   →    Debian bookworm
─────────────────────────────────────────────────────────
RPCD shell backend               →    FastAPI + Uvicorn (Unix socket)
UCI config /etc/config/          →    TOML /etc/secubox/secubox.conf
luci-app-*/htdocs/ (JS/CSS/HTML) →    Conservé + XHR réécrits
OpenWrt packages (.ipk)          →    Paquets Debian (.deb)
opkg                             →    apt + repo apt.secubox.in

Supported Hardware

Board SoC RAM Network Profile
MOCHAbin Armada 7040 Quad 1.8GHz 4 GB 2× SFP+ 10GbE + 4× GbE Pro
ESPRESSObin v7 Armada 3720 Dual 1.2GHz 12 GB WAN + 2× LAN DSA Lite
ESPRESSObin Ultra Armada 3720 Dual 1.2GHz 2 GB WAN PoE + 4× LAN + Wi-Fi Lite+
Raspberry Pi 4/400 BCM2711 Quad 1.5-1.8GHz 2-8 GB GbE + USB Lite
Raspberry Pi 5 BCM2712 Quad 2.4GHz 4-8 GB GbE + USB Full
VM x86_64 Any 2+ GB Virtio/NAT Full

Packages (126 modules)

Core: secubox-core, secubox-hub, secubox-portal, secubox-system

Security: secubox-crowdsec, secubox-wireguard, secubox-auth, secubox-nac, secubox-waf, secubox-users

Network: secubox-netmodes, secubox-dpi, secubox-qos, secubox-vhost, secubox-haproxy

Monitoring: secubox-netdata, secubox-mediaflow, secubox-cdn

DNS/Email: secubox-dns, secubox-mail, secubox-webmail

Publishing: secubox-droplet, secubox-streamlit, secubox-metablogizer, secubox-publish

API Reference

All modules expose REST APIs at /api/v1/<module>/

# Login
curl -X POST https://localhost/api/v1/portal/login \
  -H 'Content-Type: application/json' \
  -d '{"username":"admin","password":"secubox"}'

# Use token
curl https://localhost/api/v1/hub/status \
  -H 'Authorization: Bearer <token>'

Key Endpoints:

  • GET /api/v1/hub/dashboard — Dashboard data
  • GET /api/v1/crowdsec/decisions — Active bans
  • POST /api/v1/crowdsec/ban — Ban IP
  • GET /api/v1/wireguard/peers — VPN peers
  • GET /api/v1/wireguard/qrcode/{peer} — Peer QR code

Configuration

Main config: /etc/secubox/secubox.conf (TOML)

[general]
hostname = "secubox"
timezone = "Europe/Paris"

[auth]
jwt_secret = "your-secret-key"
session_timeout = 86400

[network]
wan_interface = "eth0"
lan_interface = "eth1"

Development

# Setup
bash setup-dev.sh && source .venv/bin/activate

# Run module API
cd packages/secubox-crowdsec
uvicorn api.main:app --reload --port 8001

# Build package
dpkg-buildpackage -us -uc -b

# Build image
sudo bash image/build-image.sh --board vm-x64 --vdi

UI Design Guidelines

Color Palette (Cyberpunk/Hermetic):

Variable Color Usage
--cosmos-black #0a0a0f Background
--gold-hermetic #c9a84c Accents, titles
--cinnabar #e63946 Alerts, errors
--matrix-green #00ff41 Success
--void-purple #6e40c9 Links
--cyber-cyan #00d4ff Info, hover
--text-primary #e8e6d9 Main text

Typography: Cinzel (titles), IM Fell English (body), JetBrains Mono (code)

Documentation