技能 编程开发 Canarytoken 欺骗式检测

Canarytoken 欺骗式检测

v20260317
implementing-deception-based-detection-with-canarytoken
通过 Thinkst Canary API 自动部署网页、DNS、文档及 AWS 密钥类型的 Canary 令牌,监控触发警报并生成欺骗覆盖报告,辅助入侵检测。
获取技能
172 次下载
概览

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.

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

  1. Authenticate to the Canary Console API using auth_token
  2. Create web bug (HTTP) tokens for embedding in documents and web pages
  3. Create DNS tokens for monitoring DNS resolution attempts
  4. Create MS Word document tokens for file share deployment
  5. List all active tokens and their trigger history
  6. Query recent alerts for triggered token events
  7. 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
信息
Category 编程开发
Name implementing-deception-based-detection-with-canarytoken
版本 v20260317
大小 9.19KB
更新时间 2026-03-18
语言