跳到正文
Skillpedia
安全35k · #8055

implementing-honeytokens-for-breach-detection

它能做什么

这个工具会创建数字“陷阱”,比如假凭据或特殊链接。如果攻击者试图使用这些陷阱,你会立即收到提醒。

适用场景

  • ✓搭建用于发现入侵者的安全系统时。
  • ✓需要尽早获得未授权访问的预警时。
  • ✓测试你的系统安全性时。

技能链接

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeytokens-for-breach-detection/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/implementing-honeytokens-for-breach-detection/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“创建一个假的 AWS 凭据,帮我查出是谁在尝试访问我的系统。”

每周 5 个新技能,1 分钟读完。

工作原理

这个工具会生成特殊的“令牌”,并放置在关键位置。当有人(或攻击者)试图访问或使用这些令牌时,系统会向你发送通知。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Implementing Honeytokens for Breach Detection

When to Use

  • When deploying or configuring implementing honeytokens for breach detection 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

  • Familiarity with security operations concepts and tools
  • Access to a test or lab environment for safe execution
  • Python 3.8+ with required dependencies installed
  • Appropriate authorization for any testing activities

Instructions

Deploy honeytokens across critical systems to detect unauthorized access. Each token type alerts via webhook when triggered by an attacker.

import requests

# Create a DNS canary token via Canarytokens
resp = requests.post("https://canarytokens.org/generate", data={
    "type": "dns",
    "email": "soc@company.com",
    "memo": "Production DB server honeytoken",
})
token = resp.json()
print(f"DNS token: {token['hostname']}")

Token types to deploy:

  1. AWS credential files (~/.aws/credentials) with canary keys
  2. DNS tokens embedded in configuration files
  3. Document beacons (Word/PDF) in sensitive file shares
  4. Database honeytoken records in user tables
  5. Web bugs in internal wiki/documentation pages

Examples

# Generate a fake AWS credentials file with canary token
aws_creds = f"[default]\naws_access_key_id = {canary_key_id}\naws_secret_access_key = {canary_secret}\n"
with open("/opt/backup/.aws/credentials", "w") as f:
    f.write(aws_creds)
常见问题

什么是 honeytokens?

它们是为引诱和发现攻击者而创建的假数据或假文件。它们看起来很真实,但实际上是报警器。

我可以创建哪些陷阱?

你可以创建假的 AWS 凭据、被访问时会发出提醒的 DNS 链接、带有追踪器的文档,甚至是假的数据库记录。

我怎么知道自己是否遭到入侵?

当攻击者与你部署的某个“令牌”发生交互时,工具会向你发送提醒,表明有可疑情况发生。

详情

作者的原始描述

Deploys canary tokens and honeytokens (fake AWS credentials, DNS canaries, document beacons, database records) that trigger alerts when accessed by attackers. Uses the Canarytokens API and custom webhook integrations for breach detection. Use when building deception-based early warning systems for intrusion detection. '

repo: mukul975/Anthropic-Cybersecurity-Skills

热度

GitHub 星标
35k
排名
#8055
许可证
Apache-2.0
更新时间
2026/8/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能