Guide · Canary tokens and honeytokens

Self-hosted vs hosted canary tokens.

A canary token is a planted credential, file or link that alerts when it is used. Where the service behind it runs decides who can recognise it, where the evidence lives and how much work it takes.

What is a canary token?

A canary token is a planted item that raises an alert when it is used. It can be a credential, a document, a link, an API key or a configuration entry. Nobody legitimate touches it, so any use is a strong signal. TechTarget notes that honey tokens have low false-positive rates, which is why they rarely add to alert fatigue.

Every canary token depends on a service that notices the use and sends the alert. That service either runs on someone else’s infrastructure (hosted) or on yours (self-hosted). The choice affects three things: who can recognise the token, where the evidence lives, and how much operating work you take on. For the token types, free options and alternatives, see canary tokens, explained.

  1. PlantedA credential, document, link or configuration entry is placed where nobody legitimate goes.
  2. UsedSomeone, or something, opens or tries it.
  3. NoticedThe service behind the token records the use: the provider's, or yours.
  4. AlertThe security team hears about it, by e-mail, webhook or SIEM.

Is a canary token the same as a honeypot?

No. A honeypot is a whole decoy system or service that an attacker interacts with; a canary token is a single planted item, such as one credential or one document. Tokens are cheap and can be spread widely across laptops, repositories and cloud accounts. Honeypots show more of what happens after contact but take more work to make believable. A deception platform combines the two: planted items lead to synthetic services that keep the trail going.

What are hosted canary tokens good at?

Hosted canary tokens are good at getting a signal quickly with almost no effort. You generate a token on a website, plant it, and alerts arrive by e-mail or webhook. Thinkst’s free Canarytokens service is the best-known example, and it is a good tool: it has introduced many teams to deception at no cost.

Hosted tokens suit:

  • A first experiment with deception.
  • Small teams without spare time to run infrastructure.
  • Low-stakes placements where a quick signal is the whole goal.

What are their limits?

Their limits come from the shared infrastructure behind them. Lenny Zeltser points out that researchers have catalogued known fingerprints of Thinkst-hosted Canarytokens, which could let a sophisticated attacker recognise and skip them. For high-stakes deployments he recommends self-hosting, or at least surrounding the bait with realistic content so it does not stand out.

Two other limits matter for security teams in regulated sectors. Together with fingerprinting, they are the three reasons teams move beyond hosted tokens:

Recognisable infrastructureShared, well-known domains and formats can be catalogued, and a careful attacker can skip them.
Alert data leaves your networkWhere the token was used from, and what was requested, is recorded by the hosted service first.
The trail ends at the alertA hosted token tells you it was used. It gives the visitor nowhere believable to go next, so you learn little about what they wanted.

What does self-hosting change?

Self-hosting puts the service on your domains and your infrastructure. Canarytokens is open source, and Thinkst publishes a Docker setup for running your own. You choose domains that match your naming, the alert data stays with you, and the shared fingerprints no longer apply.

The cost is operations. You run the service, keep it patched, watch its health, and make sure tokens keep working as the estate changes. A decoy that quietly stops working is worse than none, because the team believes it is covered.

Hosted

  1. The token points at the provider's shared infrastructure.
  2. The provider records the use first.
  3. An alert arrives by e-mail or webhook. Nothing to run.

Self-hosted

  1. The token points at your own domains.
  2. The use is recorded inside your network.
  3. You run, patch and watch the service, and keep every token working.

Hosted, self-hosted or a customer-hosted platform?

Hosted tokens Self-hosted tokens Customer-hosted deception platform
Time to first signal Minutes Hours to days Days, with an evaluation
Recognisable infrastructure Shared and catalogued Your own domains Your own naming, fictional names
Where alert data lives The provider Your network Your network
What happens after first use The alert The alert The trail continues into synthetic services
Linking later steps Manual Manual Through material the platform issued
Lifecycle and health Per token, by hand Per token, by hand Placements with a lifecycle and health view
SIEM delivery Webhook or e-mail What you build Built-in integrations
Operating effort Lowest Highest Shared with the vendor

None of these is wrong. Many teams start with hosted tokens, move important placements in-house, and adopt a platform when the number of placements, the need for evidence, or regulation makes per-token handling impractical.

  1. Hosted tokensA first experiment: a quick signal at almost no cost.
  2. Self-hosted tokensImportant placements move to your own domains; alert data stays in.
  3. Customer-hosted platformPlacements with a lifecycle, a trail that continues, findings in your SIEM.

Where does FalseTrail fit?

FalseTrail is a customer-hosted deception platform: available today on-prem, in a private cloud or hybrid. The control plane, decoy services and evidence run inside the customer’s network, and sensitive evidence stays local. See deployment.

What it adds over a token:

  • Placements with a lifecycle. Each placement moves through Learning, Armed and Retired. The customer’s own tooling, for example Group Policy, Intune or MDM, Ansible, Kubernetes or infrastructure as code, puts placement bundles in place and records a receipt. No agent on every endpoint.
  • A trail that continues. The Deception Runtime gives a followed trail somewhere believable to lead: a real MCP server, an auth service, an admin API with a decision point of five synthetic opportunities, and an optional Kubernetes cluster API. They issue material that only works inside the synthetic world and hold no real data.
  • Cloud canaries. AWS access keys with no permissions and decoy secrets in AWS Secrets Manager, read from the customer’s CloudTrail.
  • Investigation-ready findings. The first interaction opens a finding naming the exact placement. Later steps join it only through material FalseTrail issued; correlated activity is shown separately as context. See the evidence model.
  • Your SIEM. Built-in integrations for Splunk, IBM QRadar, Microsoft Sentinel, Cortex XSIAM and XSOAR, and FortiSIEM. See integrations.

A checklist for choosing

  1. What is at stake? For high-value targets, avoid infrastructure an attacker could recognise.
  2. Where must evidence live? If regulation or policy keeps security data in your network, hosted alerts may not fit.
  3. Do you need the next step? If knowing what the visitor wanted matters, you need a trail that continues, not only an alert.
  4. How many placements? Dozens of tokens by hand is manageable; hundreds across laptops, CI and cloud needs a lifecycle.
  5. Who keeps them working? Decide who checks that every decoy still exists and still alerts.
  6. Where do alerts go? Findings should land in the SIEM or SOAR your SOC already uses.

For specific placement types, read MCP servers as decoys and detecting AI agents with decoy credentials. For what FalseTrail places and how it runs, see the platform.

Questions

What is a canary token?

A canary token, also called a honeytoken or honey credential, is a planted item such as a credential, document, link or configuration entry that no legitimate user or job touches. When it is used, it raises an alert.

Are hosted canary tokens good enough?

For many teams, yes, especially to start. Hosted services are free or cheap and quick. The trade-off is that tokens served from shared, well-known infrastructure can be recognised by a careful attacker, and alert data leaves your network.

Where does FalseTrail fit?

FalseTrail is a customer-hosted deception platform. The control plane, decoy services and evidence run inside your network; placements are deployed by your own tooling, and findings go to the SIEM you already run.

Sources

  1. Lenny Zeltser, Plant Honeytokens to Detect Intrusions
  2. Thinkst, canarytokens-docker: Docker configuration to quickly set up your own Canarytokens
  3. TechTarget, How honey tokens support cyber deception strategies

See the next attempt at access at its first use.

On-prem, your cloud or hybrid. Zero outbound connections; raw evidence stays in your environment.