Skip to main content

Requirements

Machines​

  • Linux on amd64 or arm64, running a supported distribution, with systemd for the services.

  • DeaconGuard is a single self-contained binary. The install script also installs the tools its checks use: ClamAV, YARA-X, procps, iproute2, findutils, and on the RHEL family and Fedora needs-restarting (with EPEL enabled on RHEL and its rebuilds for ClamAV). See Install script.

  • The install script needs curl, sha256sum, and root: run it with sudo, or as root.

  • For the antivirus scan: about 110 MB of disk for ClamAV's signatures, and about 1.5 GB of free memory and swap during a scan. The advanced scan adds about 30 MB for YARA-X and, while it runs, about 200 MB of memory for the rules.

  • The server needs at least 1 GB of memory, RAM plus swap. It checks each machine's package list against the distribution's feed, one machine at a time; for an Ubuntu 24.04 machine that briefly needs about 450 MB (1.6 GB before DeaconGuard 0.5.2, so upgrade small servers). It then keeps the parsed feed, up to about 400 MB of feeds, so that later scans of the same release take a fraction of a second instead of tens of seconds; see Parsed feeds. With too little, Linux stops the server mid-scan, and the dashboard says so. To add swap on a small server:

    sudo fallocate -l 2G /swapfile && sudo chmod 600 /swapfile && sudo mkswap /swapfile && sudo swapon /swapfile
    echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

The server can run on any supported distribution. Agents only install on distributions DeaconGuard can scan.

The macOS builds run the server, the CLI and the agent, and scan the Mac they run on: its macOS release and updates, and the macOS baseline.

The server also runs in a container, with Docker or Compose or in Kubernetes, where an agent DaemonSet scans every node. An agent in a container scans its host with the host's own tools, so the host needs them installed as it would for an installed agent.

Accounts​

ComponentRuns asWhy
Server (deaconguard-server)its own deaconguard system userIt only needs its data directory and its port.
Agent (deaconguard-agent)rootA security scanner has to see every process, system file and firewall rule.
Local mode, CLIyour userOptional checks see more when sudo is allowed.

Network​

FromToPortPurpose
BrowsersServer8443/tcpDashboard
AgentsServer8444/tcp, the agent port; 8443/tcp on a server without oneEnrollment, receiving scans, sending results
ServerDistribution advisory feeds (hosts)443/tcpSecurity data, and Fedora's release dates
Serverwww.cisa.gov, raw.githubusercontent.com, epss.empiricalsecurity.com443/tcpExploit data: CISA KEV (from CISA's site, or CISA's copy on GitHub when the site refuses, as it does for some cloud providers) and EPSS
ServerThe registries of the images you add or watch, and of the images your clusters run that no node agent read (1.20.0 and later); hub.docker.com for Docker Hub, api.github.com for GHCR and gitlab.com for registry.gitlab.com (or a self-hosted GitLab's own host), to list repositories and tags; the ECR API (api.ecr.REGION.amazonaws.com) for Amazon ECR443/tcp, or the registry's portImages in registries, Running images
Serverapi.osv.dev443/tcpApplication libraries, when that check runs: only library names and versions are sent
ServerYour mail server, Slack, Teams or webhook addressesTheir ports, such as 587/tcp or 443/tcpNotifications, when you set them up
Serverget.deaconguard.io443/tcpThe newest release's number, once a day (1.34.0 and later). Nothing about the server is sent; off under Settings → New versions
Machines being installedGitHub, get.deaconguard.io443/tcpDownloading the package (install time only)

Agents need no inbound ports and no internet access after installation.