Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
I

IndicatorOfCanary

> 安全
Open source

Canary Detection

199 stars0 likes1 views
WebsiteGitHub

About

Canary Detection

Indicator of Canary

The Indicator of Canary is a collection of PoCs from research on identifying canaries in various file formats. It focuses on identifying known IoCs(Indicator of Canary) and unknown callback URLs in places they shouldn't be. Ultimately, this will give operators better awareness and make more informed decisions, preferably by automating similar checks in implants and other tools.

There are other examples of tools on GitHub that perform regex searches for *.canarytoken.org; however, this doesn't represent a robust strategy for self-hosted or other vendors' canary documents. These scripts aim to raise known bad as red and potentially suspect as yellow, along with metadata to compare to other documents in the environment.

Also included is a script to convert AWS Access keys to Account IDs to emphasize further that if you have access to multiple access keys, you can potentially find outliers with uncommon account IDs, which might require additional scrutiny to validate. Canary providers also often use the same account ID across their canary fleet.

Files

Folder\File name Description
sample_data Samples from 4 Canary providers
aws_id_convert.py Convert AWS Key to AWS Account ID(compare to known Account IDs)
docx_canary.py Extract .docx canaries
docx_patch.py Overwrite .docx canaries
mysql_canary.py Extract MySQL dump canaries
pdf_canary.notes Extract .pdf canaries im lazy
pptx_canary.py Extract .pptx canaries
static_iocs.txt IoCs from various vendors
xlsx_canary.py Extract .xlsx canaries

Screenshots

Additional Details

The PoCs will work against multiple vendors canary solutions

======= Extension of this Gist from 2022 - https://gist.github.com/HackingLZ/0285d248f648f5dd216758c3fbf78c97

Issues· 1 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Pythoncanary-detectiondocument-analysishoneytokensopsec

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category安全
PricingOpen source

> Related tools

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.