Skip to main content

DeaconGuard documentation

Find what's vulnerable, misconfigured or compromised, across your Linux servers, Kubernetes clusters and container images, from one dashboard you host.

On Linux machines, DeaconGuard finds vulnerable packages, tampered system files, signs of compromise and risky configuration. It checks images in registries and pipelines without running them, Dockerfiles and Kubernetes manifests before they are deployed, running Kubernetes clusters through their API, read-only, and TLS, open ports and web sites on networks you own, from the outside.

It checks installed packages and the running kernel against each distribution's own security data: Canonical's OVAL feeds for Ubuntu, the Debian Security Tracker, the OVAL feeds of Red Hat, AlmaLinux, Oracle and SUSE, the errata of Rocky Linux and Fedora, and Amazon Linux's ALAS bulletins. It also tells you when a release no longer gets security fixes. Optional checks add system file integrity, malware and compromise indicators, security configuration, a hardening audit, host changes since the previous scan, attack paths to root and readable secrets, and an antivirus scan with ClamAV, or ClamAV and YARA rules. Between scans, live detection watches each machine, its containers and Kubernetes nodes as attacks happen: programs started from temporary folders, shells started by web servers, crypto miners, and changes to accounts, sudo rules, SSH keys and scheduled jobs. Server audits map to NIST 800-53, PCI DSS, HIPAA, ISO 27001 and, on Ubuntu and RHEL, the DISA STIG.

The dashboard: five hosts, what to fix now by severity, how many vulnerabilities are known to be exploited, and the most exposed hosts.The dashboard: five hosts, what to fix now by severity, how many vulnerabilities are known to be exploited, and the most exposed hosts.

How it works​

One binary does two jobs, and they are kept apart on purpose:

  • Server: the HTTPS dashboard, with server audits graded A to F, compliance views and branded PDF reports, sign-in (passkeys, two-step with any authenticator app, or single sign-on with OpenID Connect), Admin, Operator and Viewer roles, and an audit log. It stores results and checks packages against the advisories. It faces the network, so it runs without root, as the deaconguard user.
  • Agent: runs on each machine to scan, as root, so every check sees everything. It listens on nothing: it enrolls once with a token, then connects out to the server, runs the scans the server asks for and sends back the results. Scanned machines need no open ports and no internet access.

The server never scans a machine from inside. Every machine, the server's own included, is scanned by its own agent. The install script gives the server's machine an agent too, and the dashboard shows it as This server.

The server runs without root and serves the dashboard. Every machine, the server's own included, runs an agent as root that asks the server for work and sends back results. The server downloads the distributions' advisories.The server runs without root and serves the dashboard. Every machine, the server's own included, runs an agent as root that asks the server for work and sends back results. The server downloads the distributions' advisories.
ComponentRuns asListens onReaches
deaconguard-serverthe deaconguard user, no root0.0.0.0:8443 for people, 0.0.0.0:8444 for agents (HTTPS)the distributions' advisory feeds and OSV; registries and network targets only when you add them
deaconguard-agentrootnothingonly its server

Why they are split, and how they trust each other: Architecture.

For a single machine, local mode gives you a dashboard on 127.0.0.1 without any accounts.

Principles​

  • Read-only. Every command DeaconGuard runs on a machine is a fixed, read-only string in its source code. Scans never install software or change the system; the only third-party engines they run are ClamAV and YARA-X, for the antivirus scan. The install script installs them and the other tools the checks use, once.
  • Honest results. A skipped, partial or failed check is never shown as clean, and missing or stale advisory data is never reported as "no vulnerabilities".
  • The server decides. Agents send the package list; the server evaluates it against the advisories. A modified agent can lie about its check results, but it cannot hand the server its own vulnerability verdicts.
  • Self-hosted and open source. You run the server, and your results stay with you. DeaconGuard is MIT licensed, and every release is signed with Sigstore.

Where to go next​

  • Quick start: a server and a first agent in a few minutes.
  • Installation: every install option, upgrades and uninstalling.
  • Architecture: how the server, agents and certificate pinning fit together.