Skip to content
User Guide

Canary Policy

Canaries are passive decoys: they listen for connections and record selected interactions with fake services. They do not scan your network, run commands on remote systems, or authenticate users against production services. Place them where an unexpected connection deserves investigation.

Permissions: app.canaries.read to read policy; app.canaries.write to create, edit, duplicate or reorder; app.canaries.delete to remove custom services and rules. Policy remains readable without a Canary entitlement. Changes require an active Base-or-higher license and Canary capacity.

Open Govern → Canary Policy, immediately after Syslog Policy. Switch between Alerting and Services.

Configure services

  1. Open Services. The 20 built-in services start enabled at the root location. Use the Enabled column to switch any service on or off and View to inspect a built-in. Built-in settings and locations cannot be edited, and built-ins cannot be deleted. Your enabled/disabled choices are preserved.
  2. Choose Duplicate on a template. Give the copy a meaningful name, select its locations, and edit the supported settings. Enable the copy when ready. If it replaces a built-in at the same location, disable the built-in first to avoid conflicting definitions.
  3. Use the location preview to check the effective services before deployment. Then inspect the enrolled Canary in Fabric.

Services apply to each selected location and its descendants. For a service type with one listener, the deepest matching enabled definition wins. Disabling an override restores an enabled ancestor; it does not exclude the subtree. Two different winners at the same depth conflict. TCP Banner definitions combine, up to ten listeners. Conflicting sockets or incompatible HTTP/HTTPS settings are rejected rather than partially applied. Services cannot be assigned directly to individual Canaries.

Supported templates

TemplateDefault portNotes
FTPTCP 21Decoy login
GitTCP 9418Repository request
HTTP / HTTPSTCP 80 / 443Decoy web login; selected shared page settings
HTTP proxyTCP 8080Logs a proxy request; does not proxy traffic
MongoDBTCP 27017Limited handshake/connection emulation
MySQLTCP 3306Decoy authentication
MSSQLTCP 1433Selected server personality and limited login exchange
NTPUDP 123Selected request logging
RDPTCP 3389Limited login exchange; no desktop
RedisTCP 6379Selected command interaction
SIPUDP 5060Selected request logging
SSHTCP 22Decoy login; no production shell
TCP BannerTCP 8008Configurable banner and response
TFTPUDP 69Selected request logging
TelnetTCP 23Decoy login, bounded connection count and timeout
VNCTCP 5900Decoy authentication; no desktop
SNMPUDP 161Selected request logging
SMBTCP 445Bundled read-only decoy files
Passive portscanNo listenerRequires NET_ADMIN on the Canary container

These are selected protocol interactions, not full server implementations. MongoDB and MSSQL do not offer databases or queries. UDP listeners do not promise a response for every request. LLMNR and IPv6 are not supported. Changing a port requires corresponding network reachability; a green management connection does not prove clients can reach every service.

The SSH decoy advertises legacy ssh-rsa and ssh-dss algorithms alongside RSA-SHA2. Use it only as a decoy; its protocol compatibility is not a recommended SSH configuration for production systems.

TCP Banner fields support multiple lines. A textarea line break sends LF, \r sends CR, and \\ sends a literal backslash. Alert matching can be unset (null) or enabled with an empty string; those are distinct settings. The editor shows only settings supported by the selected service.

Service options

The service editor uses selectors for supported skins and server personalities, toggles for logging options, and numeric fields for ports, connection limits and timeouts.

  • HTTP and HTTPS: choose NAS login or Basic login. Their banner, skin and HTTP logging options must match wherever both apply. To change shared settings, disable one definition, update both, then re-enable it. Optional toggles record redirects and unsupported methods.
  • HTTP proxy: choose Squid or Microsoft ISA Server Web Proxy. Both request proxy authentication; the ISA profile returns an empty response body.
  • HTTPS: set a DNS name of up to 64 characters for the self-signed certificate. Changing the name replaces the certificate while retaining its private key.
  • FTP and MySQL: optionally add an event at the start of password authentication or on initial connection, respectively.
  • Git and Redis: configure bounded simultaneous connections and idle timeout in seconds. Redis also allows a logged command/argument text limit and a protocol bulk-string size limit, in bytes. Git allows up to 256 connections and Redis up to 128.
  • MongoDB: set the advertised server version as major.minor.patch.
  • SSH: configure the version identification separately from the optional pre-authentication notice.

Honeycredential matching and TCP keepalive, including its alert-suppression secret, are not supported. Portscan collection is managed by the Canary container. Configure its ignored sources and local/remote ports here; the Canary ignore list and optional Decoy interface also apply.

Decide what happens to an interaction

Alerting evaluates enabled rules in order and uses the first match. Within a selector, values are alternatives; all populated selectors must match. An empty selector means Any. Match Canary, location/subtree, service, event code or source IPv4/CIDR.

  • Log retains the interaction in Canary Log.
  • Notify emits canary.interaction for configured automation triggers.
  • Forward sends the Canary stream to configured security-log destinations. In Settings → System → Log Forwarding, select Canary in the destination’s streams.
  • Discard suppresses all three actions and cannot be combined with them.

Log, Notify and Forward can be combined. A rule with no actions, or no matching rule, discards the interaction. The initial catch-all Log rule is editable. Automation and forwarding retain their own permissions and license requirements. Editing alert rules does not restart listeners.

Events retain the data recorded by the decoy, including submitted credentials and protocol details. Log, Notify and Forward actions use this captured evidence. Malformed or oversized events are rejected; these records are not a packet capture or a complete audit of every attempted action. Delivery and downstream notifications are best effort. An outage, queue limit or interruption during handoff can lose an event or notification. Do not use Canaries as a replacement for your production audit system.

See deploy a Canary for reachability, SMB and scan prerequisites, and Canary Log for investigation.

For large captured records, use TCP/TLS syslog or webhook forwarding; oversized UDP messages contain the event identity and an explicit details-omitted notice. Destination message-size limits can still prevent delivery. Custom notification templates control their presentation. Use HTML escaping (| e) when inserting captured text into an HTML template.