Decoys and sinkholes
Canary token
A planted file, credential or URL that is never used legitimately, so any use of it signals an intruder.
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.
Read next
- Honeypot A decoy host or service nobody legitimate uses, so any touch of it is a high-confidence alert.
- Indicators of compromise (IOC) Concrete artifacts of an attack — an address, a file path, a hash — that you block and hunt for everywhere.
- Banner grabbing Reading the greeting a service sends on connect, to learn the real software and version behind a port.