Skip to content

Deploying agents

These are Halberd agents — the breach-and-attack-simulation (BAS) fleet that turns a foothold into measured detection coverage (see Distributed BAS for how they fit the platform). They are lightweight endpoints you drop into a segment, site, or cloud you control, and they poll the control plane outbound through NAT — no inbound ports, no firewall changes. Installing an agent on a host is the consent for running adversary-emulation on that host.

Consent boundary

Only install an agent on endpoints you own or are explicitly authorized to test. The agent runs ATT&CK techniques; on a host you don't control, that isn't testing.

Agents are native and self-contained — no Docker, no external registry. Daedalus serves the agent build itself, so the only thing that ever leaves your infrastructure is the agent's outbound poll to your own control plane.

Enroll from the console

Open the Agents tab → Enroll agent. Enrollment generates a scoped API key and the exact one-liner for the platform you pick (Linux · macOS · Windows). The console shows the real command for your tenant; the shapes below use https://<your-daedalus> as a placeholder for your control-plane hostname.

Linux / macOS (native)

A single script installs a Python virtual environment, pip-installs the agent wheel (served by Daedalus), and registers a service that starts on boot — systemd on Linux, launchd on macOS. No container runtime:

sudo bash install.sh          # Linux
bash install-macos.sh         # macOS

The server URL and API key are filled in by the enrollment view and embedded in the script.

Windows (native)

Windows agents download a native executable and register a boot Scheduled Task that runs as the system account — no Python or container runtime needed:

powershell -ExecutionPolicy Bypass -File install.ps1

Heartbeat & versioning

Every agent polls on a 5-minute heartbeat that doubles as a connectivity signal (so your egress firewall sees a steady, predictable pattern) and reports its version. In the Agents table each endpoint shows its version, an online / stale / offline status from its last check-in, and a per-row Upgrade button when it's behind the latest build.

Uninstall — leave the host as you found it

Uninstall reverses exactly what enrollment added — the service (systemd unit / launchd job / Scheduled Task), the virtual environment or executable, and the agent's working directory:

sudo bash uninstall.sh        # Linux
bash uninstall-macos.sh       # macOS
powershell -ExecutionPolicy Bypass -File uninstall.ps1

Nothing else on the host is touched.

Verify

After enrollment the agent appears under the Agents tab with its version, status, and last-seen time. From there you can scope a project to a zone and, from the BAS view, queue techniques against it — dry-run by default.