implementing-deception-based-detection-with-canarytoken
它能做什么
这个工具会创建名为 Canary Tokens 的“诱饵”。它们就像数字陷阱,一旦入侵者尝试访问,就会触发警报,帮助你及早发现攻击。
适用场景
- ✓当你想设置陷阱,在入侵者造成损害之前将其发现时。
- ✓当你需要展示安全防御对不同区域的覆盖情况时。
- ✓当你正在搭建或改进网络安全时。
技能链接
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-deception-based-detection-with-canarytoken/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个 Word 文档令牌,用来检测是否有人在网络共享位置打开它。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会连接到你的 Thinkst Canary 账号,创建不同类型的陷阱(链接、文件等)。它还会监控这些陷阱是否被触发,并生成一份关于检测结果的报告。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Implementing Deception-Based Detection with Canarytoken
Overview
Canary Tokens are lightweight tripwire mechanisms that alert when an attacker accesses a resource. This skill uses the Thinkst Canary REST API to programmatically create tokens (web bugs, DNS tokens, MS Word documents, AWS API keys), deploy them to strategic locations, monitor for triggered alerts, and generate deception coverage reports.
When to Use
- When deploying or configuring implementing deception based detection with canarytoken capabilities in your environment
- When establishing security controls aligned to compliance requirements
- When building or improving security architecture for this domain
- When conducting security assessments that require this implementation
Prerequisites
- Thinkst Canary Console or canarytokens.org account
- API auth token from Canary Console
- Python 3.9+ with
requests - File system access for deploying document and file tokens
Steps
- Authenticate to the Canary Console API using auth_token
- Create web bug (HTTP) tokens for embedding in documents and web pages
- Create DNS tokens for monitoring DNS resolution attempts
- Create MS Word document tokens for file share deployment
- List all active tokens and their trigger history
- Query recent alerts for triggered token events
- Generate deception coverage report with deployment recommendations
Expected Output
- JSON report listing all deployed Canary Tokens, trigger history, alert details, and coverage analysis
- Deployment map showing token types across network segments
常见问题
什么是 Canary Tokens?
它们是一种警报机制,当未经授权的人访问受保护的资源时就会发出提醒。
我需要 Thinkst Canary 账号吗?
需要。你需要一个 Thinkst Canary Console 或 canarytokens.org 的账号,以及 API 认证令牌。
最终报告会显示什么?
报告会列出所有已创建的令牌、它们何时被触发、警报详情,以及关于还可以在哪些位置放置陷阱的建议。
详情
作者的原始描述
Deploys and monitors Canary Tokens via the Thinkst Canary REST API for deception-based breach detection, programmatically creating web bug, DNS, MS Word document, and AWS API key tokens and generating deception coverage reports from triggered alerts. Use when standing up honeytoken tripwires for early breach detection or building a deception-technology coverage report.
热度
- GitHub 星标
- 35k
- 排名
- #8024
- 许可证
- Apache-2.0
- 更新时间
- 2026/8/31
评论
- …
同一仓库的更多技能
abusing-dpapi-for-credential-access
35k为你的 AI 智能体提供针对特定任务的现成指令,让它完成得更好、更快。
abusing-shadow-credentials-for-privesc
35k教你的 AI 智能体写出清晰、结构良好的文本。
achieving-cmmc-level-2-compliance
35k帮助你的智能体搭建符合 CMMC Level 2 合规要求的环境。它会落实安全要求,并管理必要的文档。
acquiring-disk-image-with-dd-and-dcfldd
35k帮助你的智能体创建硬盘的精确副本。这能确保调查过程中信息不丢失、不被篡改。