Concepts / Decoys and sinkholes

Decoys and sinkholes

Canary token

Also called honeytoken, honey file, decoy credential

A planted file, credential or URL that is never used legitimately, so any use of it signals an intruder.

One planted fake that only an intruder opens
One planted fake that only an intruder opens

The canary sits among real files and no real work ever touches it. Opening it fires an alert with the time and often the source.

A canary token is a planted fake, such as a passwords.xlsx, an API key or a database row, that no real work ever touches. When someone opens or uses it, an alert fires with the time and often the source. It is the honeypot idea shrunk to one item: legitimate use is zero, so it raises almost no false positives, and tokens are cheap to scatter widely.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab